Batch E420 - Python module Quiz

Batch E420 - Python module Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

FLEX Quiz

FLEX Quiz

KG - Professional Development

11 Qs

Hari 3 - Kuis Coding dan Pengenalan AI

Hari 3 - Kuis Coding dan Pengenalan AI

Professional Development

12 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

Hari 3 - Kuis Coding & Perkenalan AI

Hari 3 - Kuis Coding & Perkenalan AI

Professional Development

11 Qs

AI Tech Trainee Module 1

AI Tech Trainee Module 1

Professional Development

11 Qs

Snakes

Snakes

2nd Grade - Professional Development

20 Qs

Guess the Pinoy Movie Title

Guess the Pinoy Movie Title

Professional Development

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