CS1101 Python Final Exam practice

CS1101 Python Final Exam practice

University

103 Qs

quiz-placeholder

Similar activities

The Charge of the Light Brigade

The Charge of the Light Brigade

12th Grade - University

99 Qs

Information and Communication Technology- Pretest

Information and Communication Technology- Pretest

University

100 Qs

TEST -24- On Heroes, Hero-Worship & The Study of Poetry

TEST -24- On Heroes, Hero-Worship & The Study of Poetry

University

100 Qs

Conflict

Conflict

6th Grade - University

100 Qs

English Quiz Part 1

English Quiz Part 1

University

100 Qs

Review

Review

University

100 Qs

English Grammar Tests - Test 1 (Essential English)

English Grammar Tests - Test 1 (Essential English)

5th Grade - University

100 Qs

Diagnóstico

Diagnóstico

University

100 Qs

CS1101 Python Final Exam practice

CS1101 Python Final Exam practice

Assessment

Quiz

Computers, English

University

Medium

Created by

Darlene M

Used 30+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

formal language

An error in a program.

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.

debugging

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

portability

An instruction that causes the Python interpreter to display a value on the screen.

parse

To examine a program and analyze the syntactic structure.

print statement

Any one of the languages that people speak that evolved naturally.

low-level language

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.

6.

MATCH QUESTION

1 min • 5 pts

Match the following - Part 3

syntax

One of the basic elements of the syntactic structure of a program, analogous to a word in a natural language.

problem solving

The structure of a program.

script

A program stored in a file (usually one that will be interpreted).

token

The process of formulating a problem, finding a solution, and expressing the solution.

program

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?