Python Class 9

Python Class 9

9th - 10th Grade

25 Qs

quiz-placeholder

Similar activities

Python Data Types 207

Python Data Types 207

10th Grade

21 Qs

Python Basics & Syntax

Python Basics & Syntax

10th - 12th Grade

20 Qs

Python Basics

Python Basics

7th - 9th Grade

23 Qs

Python basic

Python basic

9th Grade

21 Qs

Python Basics

Python Basics

9th - 12th Grade

21 Qs

Python Final-Exam

Python Final-Exam

9th Grade

21 Qs

Python Essentials 119

Python Essentials 119

9th - 12th Grade

20 Qs

Python 2

Python 2

9th - 12th Grade

20 Qs

Python Class 9

Python Class 9

Assessment

Quiz

Computers

9th - 10th Grade

Hard

Created by

Kanchan Chowdhary

Used 311+ 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?