Visual C# Quiz 3 - Variables and Data

Quiz
•
Computers
•
12th Grade
•
Easy

Jose Cruz
Used 7+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a TextBox control in C#?
To display images
To accept keyboard input as a string
To play audio files
To perform mathematical calculations
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in C#?
A storage location in memory
A type of loop
A graphical user interface element
A type of exception
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following specifies a type of data a variable can hold in C#?
All of the above
int
double
string
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of concatenation in C#?
To compare strings
To append one string to another
To compare two variables
To multiply strings
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the scope of a local variable in C#?
The entire class in which it was declared
The entire program
The method in which it was declared
The entire namespace
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a named constant in C#?
To perform complex mathematical calculations
To represent a value that cannot be changed during program execution
To store values that only change by a constant value
To store user input
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the Math class in C#?
To handle math related exceptions
To set colors for controls
To format numbers
To perform complex mathematical calculations
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Computer Science - Python

Quiz
•
9th - 12th Grade
20 questions
JavaScript Operators

Quiz
•
9th - 12th Grade
15 questions
JavaScript and Graphics

Quiz
•
9th - 12th Grade
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
22 questions
IST CodeHS Unit 8 JavaScript Review

Quiz
•
9th - 12th Grade
20 questions
Basic Python

Quiz
•
10th - 12th Grade
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
16 questions
Python basics

Quiz
•
9th - 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