Python2

Quiz
•
Computers
•
8th Grade - University
•
Medium
Opuere Falabi
Used 12+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
16 questions
Python basics

Quiz
•
9th - 12th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
17 questions
Python 3

Quiz
•
9th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
12 questions
Python

Quiz
•
7th - 9th Grade
20 questions
Python :: String review

Quiz
•
University
17 questions
Python Loops

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade