C# Variables

C# Variables

10th Grade

10 Qs

quiz-placeholder

Similar activities

Intro to Computer Programming

Intro to Computer Programming

9th - 12th Grade

14 Qs

What is a program slides(6:16)

What is a program slides(6:16)

8th - 12th Grade

10 Qs

Programming

Programming

10th Grade

15 Qs

Processing 10

Processing 10

10th Grade

10 Qs

Lesson 1 Introduction to Database System

Lesson 1 Introduction to Database System

10th Grade

10 Qs

Basic Printf

Basic Printf

1st - 10th Grade

10 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

Excel

Excel

10th - 12th Grade

15 Qs

C# Variables

C# Variables

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

T. Arman

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers