Python Programming Quiz

Python Programming Quiz

University

30 Qs

quiz-placeholder

Similar activities

Computer Networking Quiz

Computer Networking Quiz

University

25 Qs

EXAM MMI

EXAM MMI

University

25 Qs

Clasificatoria POChE franja 1

Clasificatoria POChE franja 1

University

35 Qs

round 2

round 2

University

25 Qs

Python Quiz SE 27/10/2023

Python Quiz SE 27/10/2023

University

26 Qs

python programming quiz

python programming quiz

12th Grade - University

26 Qs

C Programming

C Programming

12th Grade - University

25 Qs

DEBUGGING

DEBUGGING

University

26 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Other

University

Medium

Created by

InfiTechLearn Team

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(type([]))?

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a valid variable name in Python?

2var

var-name

_var

var@123

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will len("Python") return?

5

6

7

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a function in Python?

func

function

def

define

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(2 ** 3)?

6

8

9

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for floor division in Python?

/

%

//

**

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an immutable data type?

List

Dictionary

Set

Tuple

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?