Python basics

Python basics

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Contact Center Sevices

Contact Center Sevices

7th - 10th Grade

10 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Quiz 8 (01.09.2021)

Quiz 8 (01.09.2021)

1st - 12th Grade

10 Qs

Đường lên đỉnh Olympia- Vòng Khởi Động

Đường lên đỉnh Olympia- Vòng Khởi Động

5th - 6th Grade

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Digcit 5-6

Digcit 5-6

5th - 6th Grade

10 Qs

Mid-Tern Exam's Review

Mid-Tern Exam's Review

8th Grade

15 Qs

Python basics

Python basics

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Hard

Created by

Om sinha

Used 33+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to display output on the console in Python?

input()

print()

display()

output()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you get user input in Python?

get()

input()

user_input()

read()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to assign a value to a variable in Python?

==

<=

=

-=

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression: 5 + 3 * 2?

10

11

16

13

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for exponentiation in Python?

^

//

%

**

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which logical operator is used to perform a logical AND operation in Python?

&

&&

|

and

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following expression: 10 > 5 and 3 < 2?

True

False

Error

None

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?