Python basics

Python basics

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Grade 7 & 8 First quiz term 3

Grade 7 & 8 First quiz term 3

7th Grade

10 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

Basics Python

Basics Python

8th - 10th Grade

20 Qs

Python basic commands

Python basic commands

8th Grade

20 Qs

Basic Python Programming_Class VIII

Basic Python Programming_Class VIII

8th Grade

10 Qs

Python

Python

8th Grade

20 Qs

Python programming

Python programming

6th - 12th Grade

16 Qs

Python Basics

Python Basics

8th - 10th Grade

10 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?