Python

Python

9th Grade

13 Qs

quiz-placeholder

Similar activities

Cyber Security Homework 1

Cyber Security Homework 1

7th - 9th Grade

15 Qs

Network Quiz TH

Network Quiz TH

1st - 10th Grade

16 Qs

Cryptography

Cryptography

6th Grade - University

15 Qs

Kuis Webinar Cerdas Bertelekomunikasi OTP Fraud

Kuis Webinar Cerdas Bertelekomunikasi OTP Fraud

6th Grade - Professional Development

10 Qs

ICT Java programming workshop

ICT Java programming workshop

9th Grade

10 Qs

INFORMATIKA_8

INFORMATIKA_8

7th - 9th Grade

15 Qs

P0-pengenalan komponen komputer

P0-pengenalan komponen komputer

9th - 12th Grade

16 Qs

J808 LO1 and LO2 planning project keywords / terms

J808 LO1 and LO2 planning project keywords / terms

9th - 11th 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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?