Translates a program into a separate machine language program
What is compiler
The process of creating a program that works correctly
What is the program development cycle
Shape of a decision structure in a flowchart
What is a diamond shape
A loop that uses true/false to control the number of times a loop repeats
What is condition-controlled loop
If x < 20 and x > 40:
print('The value of x is ', x)
What is an error
What is the CPU
A set of well-defined steps that must be taken to perform a task
What is an algorithm
A statement that is used to test and expression
What is an if statement
A test that is performed before the iteration of code in a loop is executed
What is a pre-test
print('You need to read \"Hamlet\")
You need to read "Hamlet"
Type of disk drive that is more reliable than a traditional disk drive
What is a solid state drive
A graphical tool that programmers use to design a program
What is a flowchart
An operator that determines whether a specific relationship exists between two values (> < !=)
What is relational operator
A loop that runs a specific number of times
What is a count-controlled loop
x = 4
y = 5
not (x < y)
False
Type of memory that is volatile
What is RAM
Informal language that has no syntax rules
What is pseudocode
An if statement that has only alternative path of execution
What is a single-alternative statement
A function that is used in a for loop to generate a number of iteration that code is to run
What is the range function
for i in range (3):
for x in range(2):
How many times does this code run?
What is 6
Place that a computer program is copied into for it to run
What is RAM
A name that represents a storage location in the computer memory
What is a variable
Using and/or in an if statement is called this type of evaluation
What is short circuit evaluation
In a nested loop this section of code is run first
What is the innermost loop
x = 0
while x > 0:
print (x)
x += 1
How many times will this code run?
What is zero times