Python basics

Python basics

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Python practice questions

Python practice questions

4th - 6th Grade

10 Qs

quiz dasar python

quiz dasar python

1st Grade - University

20 Qs

Introduction to Python Programming

Introduction to Python Programming

7th - 10th Grade

12 Qs

ASAS SAINS KOMPUTER-Jenis Data Dalam Segmen Kod

ASAS SAINS KOMPUTER-Jenis Data Dalam Segmen Kod

8th Grade

11 Qs

Python Basics

Python Basics

4th - 7th Grade

10 Qs

Python basics yr7

Python basics yr7

6th - 9th Grade

20 Qs

Basic Python

Basic Python

6th - 8th Grade

15 Qs

Python: Escape Sequences, Input(), Variables, Math and Numbers

Python: Escape Sequences, Input(), Variables, Math and Numbers

6th Grade

20 Qs

Python basics

Python basics

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Om sinha

Used 33+ 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?