Python Basics Test

Python Basics Test

9th - 11th Grade

35 Qs

quiz-placeholder

Similar activities

LATIHAN US 2023

LATIHAN US 2023

7th - 9th Grade

32 Qs

ASJ TKJ Debian 8.0

ASJ TKJ Debian 8.0

11th Grade

40 Qs

CSS Q1-Q#2ElementsOfComputerSystem

CSS Q1-Q#2ElementsOfComputerSystem

11th Grade

35 Qs

Arsitektur mikroprosessor dan mikrokontroller

Arsitektur mikroprosessor dan mikrokontroller

10th Grade

30 Qs

Internet Ethics

Internet Ethics

9th Grade

40 Qs

INFORMÁTICA_EXAMEN_1BGU _2_QUIMESTRE

INFORMÁTICA_EXAMEN_1BGU _2_QUIMESTRE

9th - 12th Grade

40 Qs

UH-2 PPLG 3

UH-2 PPLG 3

10th Grade

40 Qs

Computer Knowledge

Computer Knowledge

1st - 10th Grade

33 Qs

Python Basics Test

Python Basics Test

Assessment

Quiz

Computers

9th - 11th Grade

Practice Problem

Medium

Created by

Mr Abbas

Used 77+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?