
C# Variables
Authored by T. Arman
Computers
10th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
bool - stores values with two states: true or false
True
False
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
string - stores single characters, such as 'a' or 'B'. Char values are surrounded by single quotes
True
False
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
char - stores text, such as "Hello World". String values are surrounded by double quotes
True
False
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
int - stores floating point numbers, with decimals, such as 19.99 or -19.99
True
False
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
double - stores integers (whole numbers), without decimals, such as 123 or -123
True
False
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a correct variable name?
int
double
10A
grade10
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a correct variable name?
Myvar
my var
my-var
my_var
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?