str vs int
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Joshua Coleman
Used 26+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type is "UB4 9LE"
String
Integer
Character
Float
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of concatenating 'Hello' and 'World' in Python?
word1 = "Hello"
Word2 = "World"
print(Word1 + Word2)
HelloWorld
Hello World
['Hello', 'World']
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type would be best for storing a person's age?
String
Integer
Float
Boolean
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type does the following line of code use?
year = int(input("What year is it?")
input
string
integer
number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
integers are used to...
display information
complete calculations
gather user input
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Strings are used to...
display information
complete calculations
gather user input
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the variable that uses strings.
age
currentYear
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
10 questions
Operating System
Quiz
•
5th - 9th Grade
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
13 questions
Microbits - Inputs
Quiz
•
8th Grade
10 questions
python quiz
Quiz
•
6th Grade - Professio...
15 questions
Review Komputer Mid SMP (1)
Quiz
•
8th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
12 questions
Adventure game project
Quiz
•
7th - 8th Grade
10 questions
Viết chương trình để tính toán
Quiz
•
8th Grade
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
