Python basics

Python basics

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Python basics yr7

Python basics yr7

6th - 9th Grade

20 Qs

Grade 7 Python

Grade 7 Python

7th Grade

20 Qs

Python Basic

Python Basic

6th - 8th Grade

10 Qs

Python - Data Types and Operators

Python - Data Types and Operators

7th Grade

12 Qs

python

python

8th Grade

15 Qs

Python (The Basics)

Python (The Basics)

6th - 10th Grade

20 Qs

python

python

7th Grade

10 Qs

Y8 Python Revision

Y8 Python Revision

6th - 7th Grade

20 Qs

Python basics

Python basics

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Om sinha

Used 31+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?