python q1

python q1

12th Grade

28 Qs

quiz-placeholder

Similar activities

Python- if -ifelse-elif

Python- if -ifelse-elif

9th - 12th Grade

30 Qs

Python for Absolute Beginners

Python for Absolute Beginners

8th - 12th Grade

25 Qs

Python Basics

Python Basics

8th - 12th Grade

23 Qs

CSP Python Review

CSP Python Review

9th - 12th Grade

25 Qs

Python new

Python new

3rd Grade - University

26 Qs

Python - Chpt 4 - Review

Python - Chpt 4 - Review

9th - 12th Grade

25 Qs

PH BAB 6 - A

PH BAB 6 - A

9th - 12th Grade

27 Qs

Test Faham?

Test Faham?

12th Grade - Professional Development

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