INSY 3300 Exam 1 Review 2025
Questions and Answers
Chapter 1 & 2 - --Answer --
RAM is a volatile memory used for temporary storage while a program is running.
- --Answer --True
The Python language uses a compiler which is a program that both translates and
executes the instructions in a high-level language. - --Answer --False
IDLE is an alternative method to using a text editor to write, execute, and test a
Python program. - --Answer --True
In Python, print statements written on separate lines do not necessarily output on
separate lines. - --Answer --True
Python formats all floating-point numbers to two decimal places when outputting
with the print statement. - --Answer --False
Computer programs typically perform three steps: input is received, some process
is performed on the input, and output is produced. - --Answer --True
....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 1
, Which type of error prevents the program from running? - --Answer --
Syntax
Select all that apply. To create a Python program you can use - --Answer --A
text editor
IDLE
Which mathematical operator is used to raise 5 to the second power in Python? - --
Answer --**
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. - --Answer --End
The __________ function reads a piece of data that has been entered at the
keyboard and returns that piece of data, as a string, back to the program. - --
Answer --input()
What is the output of the following statement?print('One' 'Two' 'Three') - --
Answer --OneTwoThree
What is the output of the following statement, given that value1 = 2.0 and value2
= 12?
print(value1 * value2) - --Answer --24.0
Chapter 3 - --Answer --
....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 2
Questions and Answers
Chapter 1 & 2 - --Answer --
RAM is a volatile memory used for temporary storage while a program is running.
- --Answer --True
The Python language uses a compiler which is a program that both translates and
executes the instructions in a high-level language. - --Answer --False
IDLE is an alternative method to using a text editor to write, execute, and test a
Python program. - --Answer --True
In Python, print statements written on separate lines do not necessarily output on
separate lines. - --Answer --True
Python formats all floating-point numbers to two decimal places when outputting
with the print statement. - --Answer --False
Computer programs typically perform three steps: input is received, some process
is performed on the input, and output is produced. - --Answer --True
....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 1
, Which type of error prevents the program from running? - --Answer --
Syntax
Select all that apply. To create a Python program you can use - --Answer --A
text editor
IDLE
Which mathematical operator is used to raise 5 to the second power in Python? - --
Answer --**
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. - --Answer --End
The __________ function reads a piece of data that has been entered at the
keyboard and returns that piece of data, as a string, back to the program. - --
Answer --input()
What is the output of the following statement?print('One' 'Two' 'Three') - --
Answer --OneTwoThree
What is the output of the following statement, given that value1 = 2.0 and value2
= 12?
print(value1 * value2) - --Answer --24.0
Chapter 3 - --Answer --
....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 2