
PYTHON-CLASS1-QUIZ

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
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
Similar Resources on Wayground
10 questions
Operators & IF Statements

Quiz
•
7th - 8th Grade
10 questions
Programming Fundamentals

Quiz
•
6th Grade
8 questions
Quiz- Grade 7 & 8- Python (2nd term)

Quiz
•
7th Grade
10 questions
Python Programming Class Work

Quiz
•
7th Grade
7 questions
Pythonkod

Quiz
•
6th - 8th Grade
14 questions
Python Data types & Exceptions

Quiz
•
1st - 10th Grade
11 questions
Conditional statements

Quiz
•
7th Grade
14 questions
Conditionals in JavaScript

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade