Visual C# Quiz 3 - Variables and Data

Visual C# Quiz 3 - Variables and Data

12th Grade

20 Qs

quiz-placeholder

Similar activities

GCSE Computer Science: Programming (Python)

GCSE Computer Science: Programming (Python)

9th - 12th Grade

25 Qs

Animated Canvas

Animated Canvas

9th - 12th Grade

19 Qs

Vex 2.5

Vex 2.5

9th - 12th Grade

19 Qs

Java Variables, Input and Output

Java Variables, Input and Output

10th - 12th Grade

15 Qs

Functions With Parameters and Returns

Functions With Parameters and Returns

9th - 12th Grade

20 Qs

Python while loops

Python while loops

12th Grade

20 Qs

Python - Chpt 1 - Review

Python - Chpt 1 - Review

9th - 12th Grade

15 Qs

Introduction to Python

Introduction to Python

KG - University

25 Qs

Visual C# Quiz 3 - Variables and Data

Visual C# Quiz 3 - Variables and Data

Assessment

Quiz

Computers

12th Grade

Easy

Created by

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

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?