C# Variables

Quiz
•
Computers
•
10th Grade
•
Hard
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
Similar Resources on Wayground
10 questions
TLE Q3 M4

Quiz
•
10th Grade
10 questions
TLE QUIZZIZ 2

Quiz
•
9th - 12th Grade
10 questions
ภาษาไพทอน

Quiz
•
10th Grade
8 questions
Computer - JavaScript

Quiz
•
10th Grade
15 questions
Unit 4 Test JS

Quiz
•
9th - 12th Grade
10 questions
Python Basics Quiz

Quiz
•
9th - 12th Grade
10 questions
Java Script

Quiz
•
10th - 12th Grade
15 questions
AP CSP Unit 4

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade