Python-Basic

Quiz
•
Computers
•
3rd Grade - University
•
Hard
Standards-aligned
Yasir Jafri
Used 1K+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be printed by the command
print('12-5')
12-5
'12-5'
7
'7'
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the operators do we use if we want at least one condition to be true?
and
or
else
not
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print(Hello world!)
Tags
CCSS.L.2.2C
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following statement?
type('5')
str
int
float
Boolean
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is NOT a legal variable name?
my_var
myvar
_myvar
my-var
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct file extension for Python files?
.py
.pt
.pyt
.pyth
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the numeric value 5?
Both are correct
x=5
x=int(5)
Create a free account and access millions of resources
Similar Resources on Quizizz
17 questions
Python - Quiz

Quiz
•
9th - 11th Grade
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
13 questions
Python

Quiz
•
7th - 8th Grade
10 questions
Python

Quiz
•
6th - 8th Grade
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
20 questions
Python Strings

Quiz
•
University
10 questions
Class VIII_Basic Python Programming Quiz

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

Quiz
•
9th Grade
Popular Resources on Quizizz
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
Discover more resources for Computers
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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
20 questions
Taxes

Quiz
•
9th - 12th Grade