stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Data Types and CS Overview Flashcards | StudBud
Explore
/
Data Types and CS Overview
Data Types and CS Overview
17 terms
·
StudBud Administration
·
67 plays
Imported from external platform
Flashcards
17 cards
F
Practice quiz
P
Host live
L
Questions
17
Answers
1
Which data type is used to represent text?
double
string
bool
int
2
What are the four data types introduced in the lecture?
struct, enum, union, array
class, object, method, property
char, float, long, short
int, double, string, bool
3
Which data type is used to represent decimal numbers?
double
bool
int
string
4
What data type would you use to store a person's age?
string
double
int
bool
5
Which of the following is an example of software?
Microsoft Word
A motherboard
A computer monitor
A keyboard
6
What data type would you use to store the price of an item?
bool
string
double
int
7
What data type would you use to store the title of a book?
int
string
double
bool
8
What translates programming languages to machine language?
Debugger
Data Types
Compiler
Code Editor
9
What data type would you use to store whether a light switch is on or off?
double
bool
int
string
10
What data type would you use to store the balance in a bank account?
double
int
bool
string
11
What data type would you use to store someone's name?
string
bool
double
int
12
What does CS stand for?
Code Structure
Cyber Security
Computer Science
Common Syntax
13
What data type would you use to store the number of points an NBA player scored in a game?
bool
double
string
int
14
Which data type is used to represent whole numbers?
string
double
int
bool
15
Which data type is used to represent true or false values?
double
bool
string
int
16
In programming, what do we call the rules that control the structure of symbols, punctuation, and words?
Variables
Data types
Syntax
Semantics
17
What data type would you use to store the average temperature for a day?
bool
int
double
string