Python Quiz -  Basics & Turtle

Python Quiz - Basics & Turtle

3rd - 8th Grade

12 Qs

quiz-placeholder

Similar activities

Intro to Python

Intro to Python

8th Grade

10 Qs

Computer Systems - How the web works - Lesson 7

Computer Systems - How the web works - Lesson 7

8th Grade

12 Qs

Ch-8 Iterative statements in Python

Ch-8 Iterative statements in Python

8th Grade

12 Qs

Python Programming

Python Programming

5th Grade - University

15 Qs

Python Quiz

Python Quiz

3rd Grade - Professional Development

11 Qs

Python_Exam

Python_Exam

6th - 10th Grade

15 Qs

PYTHON (FOR LOOP)

PYTHON (FOR LOOP)

1st - 10th Grade

10 Qs

PYTHON FINAL QUIZ 1

PYTHON FINAL QUIZ 1

3rd - 7th Grade

15 Qs

Python Quiz -  Basics & Turtle

Python Quiz - Basics & Turtle

Assessment

Quiz

Computers, Other

3rd - 8th Grade

Medium

Created by

Bowrna Vijayan

Used 11+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Guess the Output.

4

5

6

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

print(x == 2)

True

False

5

1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To convert all the characters of the string to Capital letters,we have to use __________ function.

lower()

upper()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

__________ function starting from 0 by default, and increments by 1 (by default), and stops before a specified number

print()

range()

input()

random()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword needed to repeat code (iterate) in Python?

if

print

input

for

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in range(5):

print(i)

0

1

2

3

4

0

1

2

3

4

5

1

2

3

4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these functions gives a random integer from a range?

random.randint()

random.choice()

random.sample()

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?