Search Header Logo

Python Class 9

Authored by Kanchan Chowdhary

Computers

9th - 10th Grade

CCSS covered

Used 336+ times

Python Class 9
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?