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
15 questions
INFORMATIKA_8
Quiz
•
7th - 9th Grade
10 questions
Tes Sumatif Informatika
Quiz
•
7th Grade - University
10 questions
HTML introduction
Quiz
•
8th - 9th Grade
10 questions
3.4 Microbit RETRIEVAL PRACTICE
Quiz
•
6th - 9th Grade
10 questions
Grade 6 Forms in HTML
Quiz
•
6th - 9th Grade
11 questions
Micro:bit
Quiz
•
7th - 10th Grade
11 questions
Ôn tập GK 2 Tin học 8
Quiz
•
8th Grade
10 questions
Struktur Kawalan Pilihan Bersarang
Quiz
•
4th - 12th 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
