str vs int
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Joshua Coleman
Used 21+ 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
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
8 questions
SISTEM KOMPUTER
Quiz
•
8th Grade
12 questions
Python
Quiz
•
7th - 9th Grade
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
10 questions
Kiểm tra 15' tin 8 lần 2
Quiz
•
8th Grade
10 questions
Flowchart
Quiz
•
1st - 9th Grade
15 questions
Microbit (python)
Quiz
•
8th - 10th Grade
12 questions
Hummingbird Robotics
Quiz
•
6th - 9th Grade
15 questions
Mảng 1 chiều
Quiz
•
8th - 11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
