Practice Exams:

Uncategorized

Python Institute PCAP – Control Flow Part 3

While Loops Now we’re going to talk about the while loop, okay? And this is actually very simple. It basically does exactly what it sounds like. While something is true, do something. So the general syntax is While something is true. So you have a condition here. I’m not going to write any Python code just yet. I’m just going to write some pseudo code, really? While some condition is true, and we talked about conditions with AFL statements and so on, then we’re going to do something else. Do…

Read More

Python Institute PCAP – Control Flow Part 2

For Loops And that’s essentially being able to skip lines. If you don’t want a certain line of code to run based on some logic or some condition being met, then you use the if else statements. If this, then do this, otherwise do that. That’s a way of controlling the flow of the program. Now there’s another way of controlling the flow of the program. And this is very important, just like the lectures before. And this has to do with iteration, meaning doing something over and over again….

Read More

Python Institute PCAP – File IO and Exception Handling in Python Part 4

argv Command Line Arguments and the re Module To do with scripting. So we talked about how we can run a Python program from the command line from a terminal window, right? We did that earlier in the course. So we’re going to be building a utility where we can actually have a Python file and we can use it to do something, something useful, okay? And it’ll have to do with doing things in the directories. And you’re going to get practice working with the OS s Walk method…

Read More

Python Institute PCAP – File IO and Exception Handling in Python Part 3

Traversing Directories Using the OS Module Right here. Now the next thing I want to look at is traversing directories. Now before we traverse the directories, I want to create a directory structure specific. For this example, I’m going to open up my Finder window and go to the desktop and let’s create a well, I have the My folder folder here, and I think from the previous lesson we removed some of the files and folders that was inside of this folder, right? So what I’m going to do…

Read More

Python Institute PCAP – File IO and Exception Handling in Python

Exception Handling And it does exactly what it sounds like. Let’s say you have a user using your application or website or whatever, and they perform some kind of task and all of a sudden there’s some kind of error. Okay? We’d like our application to ideally handle that error in a graceful manner, right? You don’t want the user of your application to get, see, a scary message that exposes the internal code of your application. That’s really bad, right? Poorly designed websites go through this where if there’s…

Read More

Python Institute PCAP – File IO and Exception Handling in Python Part 2

File IO with Exception Handling What we learned about with regards to exception handling and what you would need to do to surround your operations, such as opening files, reading and writing them. You want to surround them with a try and accept block so that you can prevent any program crashes and you can gracefully handle situations where the file doesn’t exist or you may not have permissions to that file or whatever the exception is. You can capture all those exceptions. So let’s try this here. So recall…

Read More

Python Institute PCAP – Control Flow

Control Flow: If & Else Statements So far in the course, we’ve been going line by line, right? We’ve been writing code one line after the next. And the interpreter basically executes everything, all of the lines of code that we have, right? If we have ten lines of code, it runs through all of them. But let’s say we want to control the flow of our program and say that if this happens, then do this, otherwise do this. That decision making process of which line of code needs…

Read More

PMI RMP – RISK MANAGEMENT FOUNDATIONS

INTRODUCTION Hi, and welcome to the Risk Management foundations or the risk management fundamentals. So, before I move to the sections where I’m going to discuss the seven risk management processes, in this section, I’m going to give you an overview of the risk management. What’s the risk management definition? What are the roles of the project risk management? What are the critical success factors? A high level description of the seven risk management processes and principles and terms and concepts which you need to be aware of before we…

Read More

PMI RMP – RISK MANAGEMENT FOUNDATIONS Part 2

GENERAL INPUTS TO RISK MANAGEMENT Hi and welcome back again. So what are the general inputs you need to have before we start performing the risk management activities on the project? Now, for the upcoming seven risk management processes I’m going to explain in this section I will go through the inputs, tools and techniques and the outputs of each one of them. But the ten inputs I’m going to explain right now are the general ones that you need to have before you start the first risk management process….

Read More

PMI RMP – PROJECT MANAGEMENT PROCESSES

DATA, INFORMATION, AND REPORTS Hi and welcome back again. Before we go for the project management knowledge areas one by one, there are few terms I want you to be aware of. Throughout the lifecycle of a project, a significant amount of data is collected, analyzed and transformed. We have three definitions which identify key terminology regarding data and information. First of all, we have the work performance data, initial measurements and details about activities gathered during project work. Examples of the work performance data are reported percentage of work…

Read More