C# Variables

C# Variables

10th Grade

10 Qs

quiz-placeholder

Similar activities

JavaScript and Graphics

JavaScript and Graphics

9th - 12th Grade

15 Qs

CodeHS Canvas and Graphics

CodeHS Canvas and Graphics

9th - 12th Grade

15 Qs

JavaScript and Graphics Quiz

JavaScript and Graphics Quiz

9th - 12th Grade

15 Qs

CodeHS JavaScript Bootcamp

CodeHS JavaScript Bootcamp

9th - 12th Grade

15 Qs

Codehs Practice Test

Codehs Practice Test

9th - 12th Grade

15 Qs

Java Script Quiz

Java Script Quiz

9th - 12th Grade

15 Qs

Javascript

Javascript

10th - 12th Grade

15 Qs

Project-Stem Unit 1 python coding

Project-Stem Unit 1 python coding

9th - 12th Grade

12 Qs

C# Variables

C# Variables

Assessment

Quiz

Computers

10th Grade

Hard

Created by

T. Arman

Used 8+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?