Python

Python

9th Grade

13 Qs

quiz-placeholder

Similar activities

ASAS SAINS KOMPUTER : TINGKATAN 3

ASAS SAINS KOMPUTER : TINGKATAN 3

4th Grade - University

12 Qs

Quiz 9 (15.09.2021)

Quiz 9 (15.09.2021)

1st - 12th Grade

10 Qs

Mecatrónica IOQ 3ro 2

Mecatrónica IOQ 3ro 2

8th - 10th Grade

10 Qs

Introduction à l'informatique

Introduction à l'informatique

9th - 11th Grade

13 Qs

Python Level 3 - Minecraft

Python Level 3 - Minecraft

5th - 12th Grade

11 Qs

Начала программирования на языке Паскаль

Начала программирования на языке Паскаль

8th - 11th Grade

15 Qs

Technology trends

Technology trends

7th - 12th Grade

15 Qs

Python

Python

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Manzoor Ahmd

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we use variables for?

To store data

Print data

Produce functions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate

5 * 3 ** 2 + 3

33

48

Error

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What would be printed to the screen?


x, y, z = "Orange", "Banana", "Cherry"

print(z)

Orange

Banana

Cherry

Orange, Banana, Cherry

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be printed to the screen?


x = 5

y = "John"

print (x + y)

5 + John

Syntax error - you cannot add str and int together

John

JohnJohnJohnJohnJohn

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the following code, what value will be assigned to the variable "cat"?


mouse, cat, dog = "small", "medium", "large"

small, medium, large

small

medium

large

Nothing, that operation will throw an error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In python the ' boolean' data type can be defined as...?

holds alphanumerical data

holds whole numbers

holds a number with a decimal point

holds either true or false

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

print(9>2 and 6<=6)

TRUE

FALSE

Create a free account and access millions of resources

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?