python q1

python q1

12th Grade

28 Qs

quiz-placeholder

Similar activities

CPModule 3 Making Decisions

CPModule 3 Making Decisions

9th - 12th Grade

25 Qs

Python Functions

Python Functions

12th Grade

23 Qs

DeltaMath & Python 325

DeltaMath & Python 325

9th - 12th Grade

23 Qs

Photoshop Midterm Review Nathan Ulatowski

Photoshop Midterm Review Nathan Ulatowski

6th Grade - Professional Development

25 Qs

Python Beginner

Python Beginner

6th - 12th Grade

30 Qs

AP Java Exam

AP Java Exam

10th - 12th Grade

25 Qs

Java Methods

Java Methods

9th Grade - University

23 Qs

PYTHON BASICS

PYTHON BASICS

12th Grade

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?