. 1) What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed? A) code B) flowchart C) pseudocode D) algorithm 2) A(n) ________ is a diagram that graphically depicts the steps that take place in a program. A) code B) flowchart C) algorithm D) pseudocode 3) Which mathematical operator is used to raise five to the second power in Python? A) ** B) / C) ^ D) ~ 4) After the execution of the following statement, the variable sold will reference the numeric literal value as a(n) ________ data type: sold = 256.752 A) str B) currency C) int D) float 5) After the execution of the following statement, the variable price will reference the value ________. price = int(68.549) A) 68.54 B) 68 C) 68.55 D) 69 6) In a print statement, you can set the ________ argument to a space or empty string to stop the output from advancing to a new line. A) stop B) newLine C) separator D) end 7) What symbol is used to mark the beginning and end of a string? A) asterisk B) quotation C) comma D) slash 8) Which of the following is the correct if clause to determine whether y is in the range 10 through 50? A) if 10 > y and y < 50 B) if 10 < y or y > 50 C) if y > 10 and y < 50 D) if y > 10 or y < 50 9) A Boolean variable can reference one of two values: ________. A) Y or N B) true or false C) yes or no D) T or F 10) In Python the ________ symbol is used as the equality operator. A) = B) <= C) == D) >= 11) What is the result of the following Boolean expression, if x equals 5, y equals 3, and z equals 8? x < y and z > x A) true B) false C) 8 D) 5 12)The Python language is not sensitive to block structuring of code. 13)Python allows you to compare strings, but it is not case sensitive. 14)Nested decision structures are one way to test more than one condition 15) What type of loop structure repeats the code a specific number of times? A) number-controlled loop B) condition-controlled loop C) Boolean-controlled loop D) count-controlled loop 16) What type of loop structure repeats the code based on the value of the Boolean expression? A) count-controlled loop B) Boolean-controlled loop C) number-controlled loop D) condition-controlled loop 17) What are the values that the variable num contains through the iterations of the following for loop? for num in range(2, 9, 2) A) 2, 5, 8 B) 1, 3, 5, 7, 9 C) 2, 3, 4, 5, 6, 7, 8, 9 D) 2, 4, 6, 8 18) What are the values that the variable num contains through the iterations of the following for loop? for num in range(4) A) 0, 1, 2, 3, 4 B) 1, 2, 3, 4 C) 1, 2, 3 D) 0, 1, 2, 3 19) When will the following loop terminate? while keep_on_going != 999 : A) When keep_on_going refers to a value greater than 999 B) When keep_on_going refers to a value equal to 999 C) When keep_on_going refers to a value not equal to 999 D) When keep_on_going refers to a value less than 999 20) In Python, a comma-separated sequence of data items that are enclosed in a set of brackets is called a ________. A) sequence B) value C) variable D) list 21) Which of the following represents an example to calculate the sum of the numbers (accumulator)? A) number += number B) total += number C) total + number = total D) total = number 22)A better way to repeatedly perform an operation is to write the statements for the task once, and then place the statements in a loop that will repeat the statements as many times as necessary. 23)Both of the following for clauses would generate the same number of loop iterations. for num in range(4): for num in range(1,5): 24)In a nested loop, the inner loop goes through all of its iterations for every single iteration of an outer loop. 25)To get the total number of iterations of a nested loop, multiply the number of iterations of all the loops. 26) What is a group of statements that exists within a program for the purpose of performing a specific task? A) procedure B) subprogram C) subtask D) function 27) A(n) ________ is a variable that receives an argument that is passed into a function. A) argument B) scope C) global D) parameter 28) When a function is called by its name, then it is ________. A) defined B) exported C) executed D) located 1) C 2) B 3) A 4) D 5) B 6) D 7) B 8) C 9) B 10) C 11) B 12) FALSE 13) FALSE 14) TRUE 15) D 16) D 17) D 18) D 19) B 20) D 21) B 22) TRUE 23) TRUE 24) TRUE 25) TRUE 26) D 27) D 28) C