0% found this document useful (0 votes)
5 views5 pages

%5BEMTECH%5D Reviewer.pdf

The document discusses various concepts in computational thinking, including decomposition, evaluation, algorithmic thinking, and abstraction. It poses questions related to programming constructs such as loops, functions, and variable naming in Python. Additionally, it covers the order of operations and data types in Python, providing examples and multiple-choice questions for each topic.

Uploaded by

jbx6qbmpbp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views5 pages

%5BEMTECH%5D Reviewer.pdf

The document discusses various concepts in computational thinking, including decomposition, evaluation, algorithmic thinking, and abstraction. It poses questions related to programming constructs such as loops, functions, and variable naming in Python. Additionally, it covers the order of operations and data types in Python, providing examples and multiple-choice questions for each topic.

Uploaded by

jbx6qbmpbp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

What is decomposition in computational C)​ You see the word while in the

thinking? problem description


A)​ The process of breaking down a
complex problem into smaller, The condition of a while loop to continue
more manageable sub problems could include which of the following?
B)​ The process of testing and A)​ While something equals
refining a solution to a problem something
C)​ The process of simplifying a B)​ While something is true
problem by removing C)​ While something is greater than
unnecessary details something
D)​ The process of creating a general D)​ All of the Above
solution that can be applied to
multiple problems What is the purpose of using boolean
variables in if statements
How does the elif statement differ from A)​ To store multiple values
the else statement B)​ To define functions
A)​ Elif is a synonym for else C)​ To simplify conditions by directly
B)​ Elif executes code if the if using true or false values
condition is true D)​ To create loops
C)​ Elif is used to end a loop
Why is iteration important?
Which of the following keywords makes A)​ It allows code to be simplified by
the b beginning of the function block? removing duplicated stamps into
A)​ Func a block.
B)​ Define B)​ It determines the order in which
C)​ Def instructions are carried out
D)​ Function C)​ It allows multiple paths through a
program
Which of the following symbols always D)​ It ensures the code works
comes after a function code block? correctly
A)​ :
B)​ ; Parameters are the __ used in the
C)​ # function definition.
D)​ ] A)​ Variables
B)​ Values
A loop is used when C)​ Constant
A)​ You know how many times you D)​ Method
are going to loop
B)​ You only want to run the code in
the loop once
Which of the following pertains to a What is evaluation in computational
piece of code that can take input to thinking?
perform a specific task? A)​ The process of testing and
A)​ Arguments refining a solution to a problem
B)​ Parameters B)​ The process of designing and
C)​ Functions implementing a solution to a
D)​ Loops problem
C)​ The process of simplifying a
What is algorithmic thinking in problem by removing
computational thinking? unnecessary details
A)​ The process of breaking down a D)​ The process of creating a general
complex problem into smaller, solution can be applied to
more manageable sub-problems multiple problems
B)​ The process of designing and
implementing a solution to a Which of the following is an example of
problem decomposition in computational
C)​ The process of simplifying a thinking?
problem by removing A)​ Identifying the necessary steps to
unnecessary details bake a cake
D)​ The process of creating a general B)​ Indentifying the different types of
solution can be applied to cakes that can be baked.
multiple problems C)​ Identifying the ingredients
needed to bake a cake
What is abstraction in computational D)​ Identifying the different types of
thinking? ovens that can be used to bake a
A)​ The process of breaking down a cake
complex problem into smaller,
more manageable sub-problems Which of the following is an example of
B)​ The process of designing and algorithmic thinking in computational
implementing a solution to a thinking?
problem A)​ Determining the steps needed to
C)​ The process of simplifying a solve a math problem
problem by removing B)​ Identifying the different colors that
unnecessary details can be used to paint a room
D)​ The process of creating a general C)​ Identifying the different types of
solution can be applied to music that can be played at a
multiple problems party
D)​ Identifying the different types of
food that can be served at a
restaurant
Which of the following is an example of What kind of subprocess is designing a
evaluation in computational thinking? bedroom?
A)​ Testing and refining a software A.​ Sequential
program to ensure it works B.​ Parallel
correctly
B)​ Identifying the necessary steps to What kind of subprocess is cooking
solve math problems spaghetti to make it al dente?
C)​ Breaking down a complex A.​ Sequential
problem into smaller B.​ Parallel
sub-problems
D)​ Removing unnecessary features What kind of subprocess is brushing
from the software program to your teeth?
make it more user-friendly A.​ Sequential
B.​ Parallel
What are the purposes of
decomposition? What kind of subprocess is preparing
I.​ A problem becomes manageable different dishes for a party?
II.​ New information can ba extracted A.​ Parallel
III.​ The effectiveness of a solution is B.​ Sequential
assessed
IV.​ Relevant and irrelevant details This general form of decomposition
are identified involves the breaking down of a
A.​ I, II problem/ aftifact by its componential
B.​ I, III characteristics.
C.​ III, IV A.​ Relational
D.​ II, IV B.​ Substantive

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

You might also like