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
Similar Resources on Wayground
10 questions
Python Basics

Quiz
•
8th - 10th Grade
12 questions
Python

Quiz
•
7th - 9th Grade
10 questions
Basic Python Programming_Class VIII

Quiz
•
8th Grade
11 questions
Quiz#2

Quiz
•
6th - 8th Grade
15 questions
Python2

Quiz
•
8th Grade - University
8 questions
Python

Quiz
•
KG - 9th Grade
10 questions
CLASS 8 CODING

Quiz
•
8th Grade
11 questions
Python Basics Quiz

Quiz
•
8th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade