Python Test10

Python Test10

Professional Development

27 Qs

quiz-placeholder

Similar activities

Functional Food Quiz

Functional Food Quiz

Professional Development

28 Qs

NSTP Quiz

NSTP Quiz

Professional Development

30 Qs

Safety Day 2025

Safety Day 2025

Professional Development

30 Qs

Câu hỏi về phần mềm

Câu hỏi về phần mềm

Professional Development

31 Qs

Python Programming Quiz-03

Python Programming Quiz-03

Professional Development

23 Qs

Electric Vehicle Architecture on 02.09.24

Electric Vehicle Architecture on 02.09.24

Professional Development

24 Qs

FT_1

FT_1

Professional Development

25 Qs

Unit 9 Recap

Unit 9 Recap

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

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?