CS1101 Python Final Exam practice
Quiz
•
Computers, English
•
University
•
Practice Problem
•
Medium
Darlene M
Used 30+ times
FREE Resource
Enhance your content in a minute
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
A program that reads another program and executes it.
formal language
An error in a program.
high-level language
The process of finding and removing any of the three kinds of programming errors.
bug
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.
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
portability
A property of a program that can run on more than one kind of computer.
natural-language
A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
low-level language
Any one of the languages that people speak that evolved naturally.
print statement
An instruction that causes the Python interpreter to display a value on the screen.
parse
To examine a program and analyze the syntactic structure.
6.
MATCH QUESTION
1 min • 5 pts
Match the following - Part 3
token
The structure of a program.
problem solving
One of the basic elements of the syntactic structure of a program, analogous to a word in a natural language.
program
The process of formulating a problem, finding a solution, and expressing the solution.
script
A program stored in a file (usually one that will be interpreted).
syntax
A sequence of instructions that specifies to a computer actions and computations to be performed.
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
100 questions
Literary Terms Test
Quiz
•
9th Grade - University
100 questions
English Language Quiz
Quiz
•
12th Grade - University
102 questions
BIS POP QUIZ 2
Quiz
•
University
104 questions
ICT - session
Quiz
•
University
100 questions
Year 7 Scratch Test
Quiz
•
6th Grade - University
100 questions
Reaching the Top - 100 MCQ Questions
Quiz
•
6th Grade - University
100 questions
English Bridge Program BATCH 1
Quiz
•
University
100 questions
TEST -17- My First Acquaintance with Poets, Lyrical Ballads
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
