Consider the following text from a Python interpreter.
>>> print(2 + 2)
4
What is the text ">>>" called?
CS1101 Python Final Exam practice
Quiz
•
Computers, English
•
University
•
Medium
Darlene M
Used 30+ times
FREE Resource
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
high-level language
The process of finding and removing any of the three kinds of programming errors.
debugging
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.
bug
A program that reads another program and executes it.
formal language
An error in a program.
5.
MATCH QUESTION
1 min • 5 pts
Match the following - Part 2
parse
A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
portability
To examine a program and analyze the syntactic structure.
low-level language
A property of a program that can run on more than one kind of computer.
natural-language
An instruction that causes the Python interpreter to display a value on the screen.
print statement
Any one of the languages that people speak that evolved naturally.
6.
MATCH QUESTION
1 min • 5 pts
Match the following - Part 3
problem solving
One of the basic elements of the syntactic structure of a program, analogous to a word in a natural language.
program
A sequence of instructions that specifies to a computer actions and computations to be performed.
script
The structure of a program.
syntax
The process of formulating a problem, finding a solution, and expressing the solution.
token
A program stored in a file (usually one that will be interpreted).
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
100 questions
TACK1 - Vocabulary - Grammar Revision
Quiz
•
University
100 questions
Django
Quiz
•
University
100 questions
HTML2
Quiz
•
11th Grade - University
99 questions
untitled
Quiz
•
12th Grade - University
107 questions
JAVASCRIPT
Quiz
•
11th Grade - University
101 questions
Ôn tập TH11 CĐ4 Giới thiệu các hệ CSDL
Quiz
•
11th Grade - University
100 questions
AP DSC ENGLISH 2025 WEEKEND CBT-107
Quiz
•
University
100 questions
Revision Vocabulary + Grammar- TACKCB3
Quiz
•
University
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade