Python2
Quiz
•
Computers
•
8th Grade - University
•
Medium
Opuere Falabi
Used 12+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Change the following line of code to a comment.
print("Hello World")
+print("Hello World")
#print("Hello World")
&print("Hello World")
print("Hello World")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following Python operators is used for variable assignment?
=
+
/
*
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a data type in Python?
Integer
String
Float
Figures
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do we use the float() function for?
To change a value to float
To change a value to a string
To change a value to an integer
None of the Above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code on the Python Shell?
a = 10
b = 2
c = a/b
print(c)
2
4
1
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code on the python shell 5+3-5?
3
-3
5
-5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of comment can you see below?
#This is a comment
#written in
#more than just one line
Line comment
commenters
comment
Multi Line comment
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
File Management 3 Quiz
Quiz
•
8th Grade
16 questions
Robotic /coding exam
Quiz
•
6th - 8th Grade
16 questions
Quiz on List and Tuples
Quiz
•
University
10 questions
Grade 11 Term 4 Practice 2
Quiz
•
11th Grade
20 questions
CSS GRADE 9 - QUIZ PECs and EM
Quiz
•
9th Grade
15 questions
KUIS jARINGAN kOMPUTER & iNTERNET
Quiz
•
8th Grade
10 questions
Internet
Quiz
•
7th - 10th Grade
20 questions
CSS 10 - QUIZ
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
