Python Basics Quiz

Python Basics Quiz

Professional Development

14 Qs

quiz-placeholder

Similar activities

Supply-PKT-August-1

Supply-PKT-August-1

Professional Development

15 Qs

Anong kwentong Raikan mo?

Anong kwentong Raikan mo?

KG - Professional Development

16 Qs

Sàn Nam Long

Sàn Nam Long

Professional Development

10 Qs

Module 3 (Chassic) - Tank 300

Module 3 (Chassic) - Tank 300

Professional Development

15 Qs

Quiz Worskhop Bedah Polis HE dan CPM

Quiz Worskhop Bedah Polis HE dan CPM

Professional Development

10 Qs

Look Back Review Quizz

Look Back Review Quizz

Professional Development

10 Qs

NH WEEK 1 DISCUSSION REVIEW

NH WEEK 1 DISCUSSION REVIEW

Professional Development

15 Qs

Guess the blackpink song lyrics

Guess the blackpink song lyrics

4th Grade - Professional Development

10 Qs

Python Basics Quiz

Python Basics Quiz

Assessment

Quiz

Other

Professional Development

Practice Problem

Hard

Created by

geet s

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of the following Python expression? 4 + 3 % 5

7

1

2

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to define a block of code in Python language?

Brackets

All of the mentioned

Indentation

Key

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code snippet? print(3 ** 2)

8

5

6

9

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What arithmetic operators cannot be used with strings in Python?

*

+

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code? print(5 // 2)

None of the mentioned

2

3

2.5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in Python code?

{This is comment}

#This is comment

/*This is comment*/

//This is comment

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to output the type of a variable or object in Python?

print(type(x))

print(typeof(x))

print(type x)

print(typeof x)

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

Already have an account?