python q1

python q1

12th Grade

28 Qs

quiz-placeholder

Similar activities

AP Java Exam

AP Java Exam

10th - 12th Grade

25 Qs

Python for Absolute Beginners

Python for Absolute Beginners

8th - 12th Grade

25 Qs

Python Beginner

Python Beginner

6th - 12th Grade

30 Qs

Test Faham?

Test Faham?

12th Grade - Professional Development

23 Qs

LCD Arduino

LCD Arduino

12th Grade

26 Qs

Turtle Python Quiz 1

Turtle Python Quiz 1

10th - 12th Grade

27 Qs

CPM2 Quiz Review

CPM2 Quiz Review

10th - 12th Grade

25 Qs

Input and Output devices (ICT IGCSE)

Input and Output devices (ICT IGCSE)

10th - 12th Grade

25 Qs

python q1

python q1

Assessment

Quiz

Computers

12th Grade

Hard

Created by

rancho labs

Used 3+ times

FREE Resource

28 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

What is the result of the following expression?
x = 5
y = 2
z = x % y
print(z)

2.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Which of the following is a data type in Python? Select multiple answers.

int

words

string

decimals

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a core data type in Python programming?

a) Tuples

b) Lists

c) Class

d) Dictionary

4.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

Find output of this code-

age=15

if age < 18:

print("Cannot vote")

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Mention the other name for Iterative statements.

Loops

Algorithm

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

i = 1

while True:

if i%7 == 0:

break

print(i)

i += 1

123456

1234567

error

none

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Name the two types of loops.

For,While

While,if

For,if

if,if else

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?