Basic Python

Basic Python

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

python basics

python basics

11th Grade - University

15 Qs

GCSE Computer Science - Python Programming Concepts

GCSE Computer Science - Python Programming Concepts

9th - 11th Grade

17 Qs

Foundations of Programming

Foundations of Programming

9th - 10th Grade

18 Qs

Basics Python

Basics Python

8th - 10th Grade

20 Qs

Python Basics Review

Python Basics Review

10th Grade

18 Qs

GCSE Computer Science: Programming (Python)

GCSE Computer Science: Programming (Python)

9th - 12th Grade

25 Qs

12IP

12IP

12th Grade

20 Qs

Python Beginner

Python Beginner

9th - 10th Grade

16 Qs

Basic Python

Basic Python

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Used 2K+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To repeat a fixed number of times use a
while loop
for loop
if loop
indentation

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The second part of if, that is executed when the condition is false
if
else
for
input

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The character that must be at the end of the line for if, while, for etc.
:
;
.
,

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Converts a number to a string
str()
int()
parseInt()
convert

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python identifies blocks of code by
BEGIN and END keywords
{ and }
aligning up the starts of lines (indentation)
guessing

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a correctly-formatted comment?
#Comment
&Comment
""Comment""
!Comment

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

stores a piece of data, and gives it a specific name
variable
whitespace
interpreter
modulo

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?