Python Basics Test

Python Basics Test

9th - 11th Grade

35 Qs

quiz-placeholder

Similar activities

Python Basics-01

Python Basics-01

9th - 12th Grade

32 Qs

Python - Coding Interpretation

Python - Coding Interpretation

9th Grade

35 Qs

Basic Python

Basic Python

6th - 12th Grade

30 Qs

Edx GCSE Python 04

Edx GCSE Python 04

11th Grade

35 Qs

Python Introduction - Assessment

Python Introduction - Assessment

9th Grade

40 Qs

Python procedures and functions

Python procedures and functions

8th - 10th Grade

35 Qs

Python Assessment 1

Python Assessment 1

7th - 9th Grade

40 Qs

Python L1 Programming Challenge

Python L1 Programming Challenge

1st - 12th Grade

30 Qs

Python Basics Test

Python Basics Test

Assessment

Quiz

Computers

9th - 11th Grade

Medium

Created by

Mr Abbas

Used 76+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python command is used to output information to the screen?
read
output
print
display

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is syntax?
Syntax is the word used to describe a variable
Syntax is the rules of the programming language
This is used to read information
It is used to output information 

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the following code do:
print("What is your name")
Allow you to type in your name
Display the words 'What is your name' on the screen
Allows you to enter information
prints your name to the screen

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Why will the following code not work:
print("Welcome to my program)
There is a quotation mark missing
print should be in uppercase
There should not be any brackets
print is spelt incorrectly

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The following code is used to create a variable and store a value. Why will it NOT work?
my number = 36
The variable can't store a number
A variable name cannot have any spaces
There variable name can't be called my number
It can't store the number 36

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which command in Python allows you to type information in?
print
IF
read
input

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you add comments to your code?
You can't add comments
By using the hash (#) symbol
By using the asterisk (*) symbol
Using the print command

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?