CSE 360 EXAM 1 MOCK TEST WITH ANSWER
RATIONALES 2026
◉ The data stored in main memory vanishes after the computer is
turned off.
Answer: False
◉ Which one of the following belongs to the "Big Ideas" related to
Computer Science (CS)?
- GPS
- The Internet
- WiFi
- Silicon chips
- Cryptography
Answer: The Internet
◉ Which statement below is FALSE for an algorithm?
- It is a sequence of instructions.
- It takes finite resources.
- It takes finite time.
,- It is unambiguous in nature.
- It is dependent on a programming language of choice.
Answer: It is dependent on a programming language of choice.
◉ Best summarizes the discipline of computer science?
Answer: the study of problem solving with the help of computers
◉ Which of the following hardware devices can be used for
permanently storing a program's data while the computer is turned
off?
- motherboard
- central processing unit
- solid state disk
- main memory
Answer: solid state disk
◉ The data stored in a solid state drive vanishes after the computer
is turned off.
Answer: False
◉ What is the primary purpose of a computer's motherboard?
,Answer: to connect the computer's various components together
◉ Detecting logical errors in code is the responsibility of _________.
Answer: the programmer
◉ Detecting syntax errors in code is the responsibility of _________.
Answer: the interpreter
◉ Suppose we included the code math.sqrt(5) in a code cell in Colab,
but forgot to import the math module first. What will happen when
we run the code cell?
Answer: The code will crash.
◉ Which of the following would be considered expressions in
Python?
I. 5
II. 5+2
III. def
IV. "Hello"
V. if
Answer: I, II and IV only
, ◉ Which one of the following refers to the rules of a programming
language that a programmer must follow when developing software
in that language?
Answer: syntax
◉ Python is a high-level language.
Answer: True
◉ Which of the following is one of the reasons that Python is a
popular language with novice programmers?
Answer: Python's rules are simpler than the rules of many other
languages.
◉ A fictional country has 3 denominations of money: gold, silver and
copper coins.
1 gold coin = 20 silver coins
1 silver coin = 4 copper coins
Given a total number of copper coins (given in the variable copper),
we want the computer to tell us how many gold coins (gold), silver
coins (silver) and copper coins (copper) are needed to make change
while minimizing the number of coins.
RATIONALES 2026
◉ The data stored in main memory vanishes after the computer is
turned off.
Answer: False
◉ Which one of the following belongs to the "Big Ideas" related to
Computer Science (CS)?
- GPS
- The Internet
- WiFi
- Silicon chips
- Cryptography
Answer: The Internet
◉ Which statement below is FALSE for an algorithm?
- It is a sequence of instructions.
- It takes finite resources.
- It takes finite time.
,- It is unambiguous in nature.
- It is dependent on a programming language of choice.
Answer: It is dependent on a programming language of choice.
◉ Best summarizes the discipline of computer science?
Answer: the study of problem solving with the help of computers
◉ Which of the following hardware devices can be used for
permanently storing a program's data while the computer is turned
off?
- motherboard
- central processing unit
- solid state disk
- main memory
Answer: solid state disk
◉ The data stored in a solid state drive vanishes after the computer
is turned off.
Answer: False
◉ What is the primary purpose of a computer's motherboard?
,Answer: to connect the computer's various components together
◉ Detecting logical errors in code is the responsibility of _________.
Answer: the programmer
◉ Detecting syntax errors in code is the responsibility of _________.
Answer: the interpreter
◉ Suppose we included the code math.sqrt(5) in a code cell in Colab,
but forgot to import the math module first. What will happen when
we run the code cell?
Answer: The code will crash.
◉ Which of the following would be considered expressions in
Python?
I. 5
II. 5+2
III. def
IV. "Hello"
V. if
Answer: I, II and IV only
, ◉ Which one of the following refers to the rules of a programming
language that a programmer must follow when developing software
in that language?
Answer: syntax
◉ Python is a high-level language.
Answer: True
◉ Which of the following is one of the reasons that Python is a
popular language with novice programmers?
Answer: Python's rules are simpler than the rules of many other
languages.
◉ A fictional country has 3 denominations of money: gold, silver and
copper coins.
1 gold coin = 20 silver coins
1 silver coin = 4 copper coins
Given a total number of copper coins (given in the variable copper),
we want the computer to tell us how many gold coins (gold), silver
coins (silver) and copper coins (copper) are needed to make change
while minimizing the number of coins.