PYTHON-CLASS1-QUIZ

PYTHON-CLASS1-QUIZ

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Python - Data Types and Operators

Python - Data Types and Operators

7th Grade

12 Qs

User Input in Python

User Input in Python

6th - 10th Grade

11 Qs

Input and Output Operations in Python

Input and Output Operations in Python

6th - 10th Grade

11 Qs

Python Inputs

Python Inputs

6th - 10th Grade

11 Qs

python

python

8th Grade

15 Qs

Year 7 Python Lesson 1 Recap

Year 7 Python Lesson 1 Recap

8th Grade

10 Qs

Year 7 Python

Year 7 Python

7th Grade

12 Qs

Variables - 1

Variables - 1

7th - 8th Grade

9 Qs

PYTHON-CLASS1-QUIZ

PYTHON-CLASS1-QUIZ

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Professor Astatine

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following variable names (also called identifiers) are invalid?

total-Marks

Hundred$

Total Marks

1st_Room

Total_Marks

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Assign 10 to variable which has the name length.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Give the output of the following when num1 = 4, num2 = 3, num3 = 2:

num1 += num2 + num3

print (num1)

9

5

4

Error/None of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type will be used to represent the Name of a student

int

float

string

boolean

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code:

print(10 != 9 and 20 >= 20)

True

False

None of these

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of num1 after the following statement is executed:

num1 = '5' + '5'

'5'

5

'55'

55

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of the following line:

print(4.00/(2.0+2.0))

1.0

1

4.0

4

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?