PYTHON

PYTHON

University

20 Qs

quiz-placeholder

Similar activities

Python Strings

Python Strings

University

20 Qs

Python Recap

Python Recap

7th Grade - University

20 Qs

Python Basics

Python Basics

KG - University

15 Qs

Programming in Python

Programming in Python

University

20 Qs

Python Basics

Python Basics

KG - University

16 Qs

Basics of programming - Quiz - 01

Basics of programming - Quiz - 01

University - Professional Development

20 Qs

PPS PYTHON QUIZ

PPS PYTHON QUIZ

University

20 Qs

Scope of Variables in Python

Scope of Variables in Python

1st Grade - Professional Development

15 Qs

PYTHON

PYTHON

Assessment

Quiz

Computers

University

Hard

Created by

MS FACULTY

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

All keywords in Python are in _________

Capitalized


lower case

UPPER CASE

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What will be the value of the following Python expression?

4 + 3 % 5

7

2

4

1

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the output of the following Python code?

5 * 2 + 3

13

10

11

15

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which of the following is a valid variable name in Python?

my_variable

2nd_variable

variable#1

_variable

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What will be the output of the following Python code?

8 / 3

2.666

2

3

2.5

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the output of the following Python code?

7 // 3

2

2.33

3

2.5

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What will be the value of the following Python expression?

10 % 3

1

3

0

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?