Batch E420 - Python module Quiz

Batch E420 - Python module Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Ice Breaking

Ice Breaking

Professional Development

12 Qs

Computer Organization and Architecture

Computer Organization and Architecture

Professional Development

10 Qs

Data Science Course - Midterm Exam (2)

Data Science Course - Midterm Exam (2)

Professional Development

15 Qs

MES 3.0 - GL Pool

MES 3.0 - GL Pool

Professional Development

10 Qs

C  Datatypes/Operators 2 MCQs

C Datatypes/Operators 2 MCQs

Professional Development

10 Qs

Python Test 1

Python Test 1

Professional Development

10 Qs

Python Intermediate Quiz - 1

Python Intermediate Quiz - 1

8th Grade - Professional Development

13 Qs

diabetes

diabetes

10th Grade - Professional Development

14 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?