%5BEMTECH%5D Reviewer.pdf
%5BEMTECH%5D Reviewer.pdf
Which should be asked during the Which of the following is the correct
decomposition stage? sequence for implementing a functional
A. How should the task be done? decomposition?
B. Why should the task be done? I. Inspect the diagram
C. What needs to be done? II. Find the basic function
D. All of the above III. List essential sub-functions
IV. List the next tier of sub-functions
Decomposing a problem is different from A. I, II, III, IV
person to person B. III, IV, II, I
A. True C. II, III, IV, I
B. False D. IV, III,II, I
Which situation shows a mean-end What is the result of the expression -5 **
decomposition? 2 // 4 + 3
I. John uses the expected result as A. -3.25
a basis for decomposing the B. -4
problem C. 8
II. Jorge uses a subproblem to D. 9
identify a common axis among
the subproblems What is the result of the expression
A. I (2+3) * (4-1) +6 / 3?
B. II
A. 15.0
What is the order of operations in B. 17.0
python? C. 16.0
D. 18.0
A. Multiplication, division, addition,
subtraction What is the result of the expression
B. Addition, subtraction, (10+5) .// 3 *2 - 1 / 2 +3 ** 2?
multiplication, division A. 12.5
C. Parentheses, exponentiation, B. 13.5
multiplication, division, addition, C. 18.5
subtraction D. 20.5
D. Exponentiation, parentheses,
multiplication, division, addition, Which data type in Python represents a
subtraction whole number?
A. Float
What is the result of the expression 2 + B. String
3 * 4 - 5 / 2? C. Integer
D. Boolean
A. 8.5
B. 11.5 Which data type in Python represents a
C. 10.5 decimal number?
D. 12 A. Float
B. String
What is the result of the expression 5 ** C. Integer
2 -3 * 4+ 8 // 3? D. Boolean
A. 12
B. 14
C. 13
D. 15
Which data type in Python represents a Which of the following is not a valid
True or False value? Python variable name?
A. Float A. First_name
B. String B. Name
C. Integer C. Price_dollars
D. Boolean D. 2nd_grade
What is the result of adding an integer Which of the following is allowed when
and a float in Python? naming a variable in Python?
A. A float A. Using spaces in the name
B. A string B. Using a number as the first
C. An integer character of the name
D. A boolean C. Using a special character like ! or
@ in the name
What is the result of comparing two D. Using keywords like ‘if” or “for” as
integers using greater than operator? the name
A. A float
B. A string Which of the following is a valid variable
C. An integer name in Python?
D. A boolean A. 123number
B. Break
What is the result of concatenating two C. _my_var
strings in Python? D. $price
A. A float
B. A string Which of the following characters is
C. An integer NOT allowed in a Python variable
D. A boolean name?
a. Underscore (_)
Which data type in Python is used to b. ALL CAPITAL LETTERS
represent a condition? c. Hyphen (-)
A. Float d. All of the above
B. String
C. Integer
D. Boolean