
Quiz 2: Python basics - part 1
Authored by Dan Tulpan
Computers
University
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is Python?
A scripting/programming language
An operating system
A software for text editing
A cave in the Himalayas
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The name of a Python variable can ONLY start with:
a vowel
a consonant
a letter
a number
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The statement num = 5 means:
Check if variable num is equal to 5
Value 5 is assigned to variable num
num = 5 is a string
There are 5 numbers left in the program
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The command print("Tricked") will:
Send the string "Tricked" to the nearest printer
Doesn't execute because of the quotation symbols
Prints "Mineral water" on a piece of paper
Displays the word Tricked on the screen
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A commented line in Python starts with the symbol:
%
#
@
$
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The variable num = 4**2 will hold a value equal to:
4
8
16
2
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The symbol != is used in Python to check for:
equality
inequality
remainder of a division
quotient of a division
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Assessment 08
Quiz
•
University
12 questions
ICT450-TOPIC 1
Quiz
•
University
15 questions
Algoritma dan Pemrograman Bab 1
Quiz
•
University
7 questions
ESBrotherX_Medical AI_Lecture
Quiz
•
University
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
15 questions
IT 209
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade