
CS1101 Python Final Exam practice
Authored by Darlene M
Computers, English
University
Used 30+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
103 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Consider the following text from a Python interpreter.
>>> print(2 + 2)
4
What is the text ">>>" called?
a) a function
b) an operator
c) a prompt
d) a statement
e) a value
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Consider the following text from a Python interpreter.
>>> print(2 + 2)
4
What is the text "print" called?
a) a function
b) an operator
c) a prompt
d) a statement
e) a value
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is Python’s response to the command: type(123)
a) <class 'float'>
b) <class 'bool'>
c) SyntaxError: invalid syntax
d) <class 'int'>
e) <class 'str'>
4.
MATCH QUESTION
1 min • 5 pts
Match the following- part 1
debugging
The process of finding and removing any of the three kinds of programming errors.
bug
An error in a program.
high-level language
Any one of the languages that people have designed for specific purposes, such as representing mathematical ideas or computer programs; all programming languages are these kinds of languages.
formal language
A program that reads another program and executes it.
interpreter
A programming language like Python that is designed to be easy for humans to read and write.
5.
MATCH QUESTION
1 min • 5 pts
Match the following - Part 2
natural-language
A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
parse
An instruction that causes the Python interpreter to display a value on the screen.
portability
Any one of the languages that people speak that evolved naturally.
low-level language
To examine a program and analyze the syntactic structure.
print statement
A property of a program that can run on more than one kind of computer.
6.
MATCH QUESTION
1 min • 5 pts
Match the following - Part 3
token
A program stored in a file (usually one that will be interpreted).
program
A sequence of instructions that specifies to a computer actions and computations to be performed.
problem solving
The structure of a program.
script
The process of formulating a problem, finding a solution, and expressing the solution.
syntax
One of the basic elements of the syntactic structure of a program, analogous to a word in a natural language.
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which one of the following Python expressions has the value 64?
a) 8 ^ 2
b) 8 ** 2
c) 8 +- 2
d) 8 += 2
e) 8 -+ 2
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
100 questions
PSA 2025, 100 preguntas PSA 2025 UMSA
Quiz
•
University
100 questions
STAAR Vocabulary Review
Quiz
•
9th Grade - University
100 questions
Present simple & Questions
Quiz
•
5th Grade - University
100 questions
So sánh
Quiz
•
9th Grade - University
100 questions
Thiết kế web_Buổi 8
Quiz
•
University
100 questions
Present Simple/Continuous, Past Simple, Will, Shall, Might
Quiz
•
1st Grade - University
100 questions
Principles of Programming Languages
Quiz
•
University
100 questions
Grammar 2022
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade