CS1101 Python Final Exam practice

CS1101 Python Final Exam practice

University

103 Qs

quiz-placeholder

Similar activities

LATIHAN SOAL KELAS XII TKJ 1 / XII TKJ2 SMK BINA MANDIRI

LATIHAN SOAL KELAS XII TKJ 1 / XII TKJ2 SMK BINA MANDIRI

University

100 Qs

Орыс тылы 1/100

Орыс тылы 1/100

University

101 Qs

TAS Data Processing For Business UKSW

TAS Data Processing For Business UKSW

University

100 Qs

Tin học, công nghệ, máy tính và an ninh mạng

Tin học, công nghệ, máy tính và an ninh mạng

KG - University

105 Qs

Fundamentals of IoT Quiz

Fundamentals of IoT Quiz

University

101 Qs

IKT TEST 100 вопросов

IKT TEST 100 вопросов

University

100 Qs

Python Programming Boot Camp I

Python Programming Boot Camp I

University

100 Qs

Professional IT Practice 25

Professional IT Practice 25

11th Grade - 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

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

bug

An error in a program.

interpreter

A program that reads another program and executes it.

debugging

The process of finding and removing any of the three kinds of programming errors.

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 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

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

natural-language

A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.

print statement

A property of a program that can run on more than one kind of computer.

low-level language

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

program

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

script

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

problem solving

The structure of a program.

token

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?