Basic Python

Basic Python

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Procedures and Functions

Procedures and Functions

10th Grade

20 Qs

Programming - Python (year 12)

Programming - Python (year 12)

9th - 12th Grade

21 Qs

Foundations of Programming

Foundations of Programming

9th - 10th Grade

18 Qs

class 11 - basic concepts in python 1

class 11 - basic concepts in python 1

11th Grade

19 Qs

AQA GCSE Computer Science - 3.1.1 Representing algorithms

AQA GCSE Computer Science - 3.1.1 Representing algorithms

8th - 10th Grade

19 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Y7 End Point Python Homework

Y7 End Point Python Homework

8th - 11th Grade

20 Qs

Python Year 9 Quiz

Python Year 9 Quiz

8th - 10th Grade

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