Python Class 9

Python Class 9

9th - 10th Grade

25 Qs

quiz-placeholder

Similar activities

Python While Loops

Python While Loops

8th - 12th Grade

20 Qs

Python Basics

Python Basics

9th - 12th Grade

20 Qs

Python Review

Python Review

9th - 12th Grade

20 Qs

Python Quiz 2

Python Quiz 2

9th Grade

20 Qs

Procedures and Functions

Procedures and Functions

10th Grade

20 Qs

Y9 Python Baseline

Y9 Python Baseline

9th - 11th Grade

25 Qs

Python Basic #1

Python Basic #1

9th Grade

25 Qs

Year 8 Python -input-output-selection

Year 8 Python -input-output-selection

8th - 9th Grade

20 Qs

Python Class 9

Python Class 9

Assessment

Quiz

Computers

9th - 10th Grade

Hard

CCSS
6.EE.B.6

Standards-aligned

Created by

Kanchan Chowdhary

Used 317+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is invalid?

_a = 1

__a = 1

__str__ = 1

none of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an invalid variable?

my_string_1

1st_string

__

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this expression, 3*1**3?

27

9

3

1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What input will I need to collect the height (in cm) of pupils in a class?

float

Int

input

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a variable do?

Stores a value in memory

Helps you print to screen

It works out the maths

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would the answer be?

x = input("enter a number ")

print(x+x)

33

31

error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the answer?

a = "564"

b = "2342"

print(a+b)

2609

5642324

2906

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?