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
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
10 questions
Class VIII_Basic Python Programming Quiz

Quiz
•
8th Grade
12 questions
Y10_01_CT2 - EXIT PASS

Quiz
•
8th Grade
13 questions
Python

Quiz
•
7th - 8th Grade
10 questions
class VIII Test

Quiz
•
8th Grade
11 questions
Python for Class 7

Quiz
•
7th - 8th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade