Batch E420 - Python module Quiz

Batch E420 - Python module Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

1. Ayo Main Quiz

1. Ayo Main Quiz

University - Professional Development

16 Qs

Python Programming: Variables, F-string, User Input

Python Programming: Variables, F-string, User Input

Professional Development

13 Qs

Internship Assessment

Internship Assessment

University - Professional Development

15 Qs

Python 问答

Python 问答

University - Professional Development

10 Qs

KP9-Events n Exceptions

KP9-Events n Exceptions

Professional Development

10 Qs

PYTHON_MODULE3

PYTHON_MODULE3

Professional Development

10 Qs

Snakes

Snakes

2nd Grade - Professional Development

20 Qs

tushal jadhav (host)

tushal jadhav (host)

Professional Development

15 Qs

Batch E420 - Python module Quiz

Batch E420 - Python module Quiz

Assessment

Quiz

Education

Professional Development

Hard

Created by

Dhanashree Mhase

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct extension of a Python file?

.java
.cpp
.txt
.py

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to define a block of code in Python?

Braces
Indentation
Parentheses
Semicolons

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of print(2 ** 3)?

9
8
4
6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

variable_1

_variable

variable1

1variable

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the type() function return when executed on 10.5

int

float

string

list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(5 // 2)?

3
2
1
2.5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the pass statement in Python?

The pass statement is used to define a function in Python.
The pass statement terminates a loop in Python.
The pass statement is used to import modules in Python.
The pass statement serves as a placeholder in Python.

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?