45. Programming 1 : Data Types and Casting

Passage
•
Computers
•
9th - 12th Grade
•
Medium
Andy Workman
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type should be used to store a whole number?
Boolean
String
Integer
Float
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type uses more memory to store the number 22?
Float
Boolean
Character
Integer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of concatenating '8' and '5' if they are stored as strings?
13
85
40
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to convert a data type into a string?
INT
FLOAT
BOOL
STR
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type should be used to store a user's age?
Boolean
String
Integer
Character
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why should a telephone number be stored as a string?
Because it represents a true or false value
Because it is a whole number
Because it can start with a zero
Because it contains letters
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is casting in programming?
A type of data structure
A method of inputting data
Changing a data type from one type to another
Changing a variable's value
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Arithmetic Operators

Quiz
•
8th - 9th Grade
15 questions
Basic Programming Concepts

Quiz
•
9th Grade
15 questions
# REVIEW 1 DATA TYPES

Quiz
•
10th Grade
15 questions
Computer Science - Python

Quiz
•
9th - 12th Grade
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
10 questions
Website Development - Lesson 2 Retrieval

Quiz
•
11th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
15 questions
Records and Files

Quiz
•
8th - 11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade