str vs int

Quiz
•
Computers
•
8th Grade
•
Hard
Joshua Coleman
Used 21+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Python Variables

Quiz
•
8th Grade
10 questions
แบบทดสอบที่ 5 เรื่องการรับค่าในภาษาไพทอน (รายกลุ่ม)

Quiz
•
7th Grade - University
10 questions
Programming - Data Types

Quiz
•
1st - 10th Grade
10 questions
Introduction to Python Quiz

Quiz
•
8th Grade - University
10 questions
L1 Console, Variables and Creating a Program

Quiz
•
8th Grade
10 questions
Python Data types

Quiz
•
5th - 12th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
15 questions
Python Casting and Input

Quiz
•
8th - 11th 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