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
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
20 questions
Introduction to Python

Quiz
•
University
18 questions
Foundations of Programming

Quiz
•
9th - 10th Grade
20 questions
Procedures and Functions

Quiz
•
10th Grade
12 questions
Python

Quiz
•
7th - 8th Grade
16 questions
Variables, Inputs and Concatenation

Quiz
•
9th Grade
20 questions
Python Quiz

Quiz
•
9th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade