Python Programming Expression Quiz 1

Python Programming Expression Quiz 1

University

20 Qs

quiz-placeholder

Similar activities

II CSM A & B

II CSM A & B

University

15 Qs

DataStructure

DataStructure

University

15 Qs

Digital Logic Design

Digital Logic Design

University - Professional Development

20 Qs

Module 2 - Short Quiz

Module 2 - Short Quiz

University

18 Qs

Digital Logic Design Quiz 1

Digital Logic Design Quiz 1

University

20 Qs

Data Structures

Data Structures

University - Professional Development

20 Qs

Computer Architecture

Computer Architecture

University

20 Qs

Stacks and Queues Quiz

Stacks and Queues Quiz

University

15 Qs

Python Programming Expression Quiz 1

Python Programming Expression Quiz 1

Assessment

Quiz

Computers

University

Medium

Created by

Darwin Vargas

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the result of the expression len('Python')?

5

6

7

error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the expression 4 ** 2 evaluate to?

A) 16

B) 8

C) 4

D) 2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the expression not (True or False)?

A) True

B) False

C) 1

D) 0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the result of the expression 10 // 3?

A) 3

B) 3.33

C) 4

D) 1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the expression True and False?

A) True

B) False

C) 1

D) 0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the expression 5 >= 5 evaluate to?

A) True

B) False

C) None

D) Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the expression 4 != 4?

A) True

B) False

C) None

D) Error

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?