Change the following line of code to a comment.
print("Hello World")
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
20 questions
Python Strings
Quiz
•
University
10 questions
Python - Printing, Variables and Syntax
Quiz
•
8th Grade
17 questions
Python - Quiz
Quiz
•
9th - 11th Grade
12 questions
Python
Quiz
•
7th - 8th Grade
14 questions
year 8 lesson 2 quiz - python
Quiz
•
8th - 10th Grade
10 questions
Python Basics
Quiz
•
8th - 10th Grade
20 questions
Introduction to Python
Quiz
•
University
17 questions
Python KS3
Quiz
•
8th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade