Homework 3- Python
Quiz
•
Computers
•
8th Grade
•
Hard
Kristie Hallmark
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type of the value `42` in Python?
String
Integer
Float
Boolean
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
1st_variable
firstVariable
first-variable
first variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet? ```python print(type("Hello")) ```
`
`
`
`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a built-in function in Python?
`calculate()`
`print()`
`add()`
`total()`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type would 2.7 be defined?
Integer
Float
String
Boolean
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to import a module in Python?
`import math`
`include math`
`require math`
`use math`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following expression in Python: `5 + 3 * 2`?
16
11
13
10
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Digital Etiquette
Quiz
•
4th Grade - University
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
Online Databases vs. Search Engines
Quiz
•
6th - 10th Grade
10 questions
Microsoft Publisher
Quiz
•
7th - 10th Grade
10 questions
Internet
Quiz
•
7th - 10th Grade
10 questions
File Management 3 Quiz
Quiz
•
8th Grade
10 questions
Citing Web Sources
Quiz
•
8th Grade
14 questions
Computing figures
Quiz
•
4th - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
