Log in
Types of games
Plans
Support
News
Search games
New game
New game
Play Froggy Jumps
Print Froggy Jumps
Data Types and Identifiers Quiz
Author :
Allie
1.
What is a data type?
A
A way to encrypt sensitive information.
B
A classification that specifies which type of value a variable can hold.
C
A method of organizing data in a database.
2.
Which of the following is a primitive data type?
A
Float
B
ADT
C
Array
3.
Which symbol is commonly used to denote a string in many programming languages?
A
Curly braces {}
B
Quotation marks " "
C
Brackets []
4.
What is an example of a boolean data type?
A
42
B
true
C
a
5.
Which of the following is NOT a valid identifier?
A
2ndVariable
B
secondVariable
C
second_variable
6.
Which data type would you use for decimal numbers?
A
Float
B
Integer
C
Character
7.
What naming style is FooBar an example of?
A
Camel case
B
Upper Snake case
C
Pascal case
8.
What is NOT a naming rule?
A
Must contain only letters, numbers, and underscores
B
Words are case sensitive
C
Can be any work as long as it starts with a letter or underscore