PYTHON PROGRAMMING POP QUIZ ON TOPIC 2!

PYTHON PROGRAMMING POP QUIZ ON TOPIC 2!

University

10 Qs

quiz-placeholder

Similar activities

basic programming quiz

basic programming quiz

University

10 Qs

Python If statement

Python If statement

University

11 Qs

Python Quiz

Python Quiz

University

12 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python modules, operators and random

Python modules, operators and random

University

15 Qs

CSE 102 Exam 2 Practice

CSE 102 Exam 2 Practice

University

15 Qs

Python Quiz

Python Quiz

University

10 Qs

X-Quiz #8

X-Quiz #8

University

13 Qs

PYTHON PROGRAMMING POP QUIZ ON TOPIC 2!

PYTHON PROGRAMMING POP QUIZ ON TOPIC 2!

Assessment

Quiz

Computers

University

Easy

Created by

Neelam Amelia Mohamad Rejeni

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the Python statement x = a + 5 - b.

a and b are called ____________.

Expression

Operands

Operators

Statement

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the expression 100 / 25?

0

0.25

4

4.0

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

print (9//2)

3

4

4.0

4.5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the expression print (-18 // 4) ?

-4

4

-5

5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following bitwise operators?

1

2

11

16

True

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operators has the lowest precedence?

**

not

+

and

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the expression 1 + 2 ** 3 * 4?

33

36

108

4097

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?