Python Test10

Python Test10

Professional Development

27 Qs

quiz-placeholder

Similar activities

Test based on Smart city

Test based on Smart city

Professional Development

25 Qs

Test on Heat Exchanger

Test on Heat Exchanger

Professional Development

25 Qs

IMTE GSV L4-5 Quiz

IMTE GSV L4-5 Quiz

Professional Development

27 Qs

ServiceNow Proficiency Assessment

ServiceNow Proficiency Assessment

Professional Development

29 Qs

G4 Tool Usage Quiz

G4 Tool Usage Quiz

Professional Development

26 Qs

LMD - Live Competence Test

LMD - Live Competence Test

Professional Development

25 Qs

Design Challenge Quiz

Design Challenge Quiz

Professional Development

24 Qs

Viva Exp1 & Exp2

Viva Exp1 & Exp2

Professional Development

25 Qs

Python Test10

Python Test10

Assessment

Quiz

Engineering

Professional Development

Medium

Created by

PRAVEEN SHARMA

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?