Python Test10

Python Test10

Professional Development

27 Qs

quiz-placeholder

Similar activities

Apti reasoning Quiz

Apti reasoning Quiz

Professional Development

30 Qs

152 revision #5

152 revision #5

Professional Development

29 Qs

D 37 FACE THE CHALLENGE

D 37 FACE THE CHALLENGE

Professional Development

30 Qs

Learn2Code

Learn2Code

Professional Development

30 Qs

VEDA (ITI) - 02.06.2025

VEDA (ITI) - 02.06.2025

Professional Development

30 Qs

D43 QUIZ OF THE DAY

D43 QUIZ OF THE DAY

Professional Development

25 Qs

RME Review - Control Equipment

RME Review - Control Equipment

Professional Development

25 Qs

INTRO & DRAWING TOOLS

INTRO & DRAWING TOOLS

Professional Development

25 Qs

Python Test10

Python Test10

Assessment

Quiz

Engineering

Professional Development

Medium

Created by

PRAVEEN SHARMA

Used 2+ times

FREE Resource

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a Python keyword?

pass

eval

assert

lambda

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print(type(10)) in Python?

<class 'int'>

<class 'float'>

<class 'number'>

<class 'decimal'>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code print: print(5 // 2)?

2

2.5

3

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct statement about Python indentation?

Indentation is optional.

Indentation is used to define blocks of code.

Indentation can be mixed (tabs and spaces).

Python ignores indentation.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

my_var

_myvar

2myvar

myvar2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operators in Python is used for exponentiation?

^

**

*

%

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to start a comment 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?