C# Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Максим Семёнов
Used 3+ times
FREE Resource
Student preview

12 questions
Show all answers
1.
DRAW QUESTION
3 mins • 1 pt
smth

2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in C#?
A variable in C# is a named storage location that holds a value of a particular type.
A variable in C# is a keyword used to declare a constant value.
A variable in C# is a function that returns a value.
A variable in C# is a data structure that stores multiple values.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the different data types in C#?
integer, floating-point, character, string, boolean, array
integer, floating-point, character, string, boolean, void
integer, floating-point, character, string, boolean, null
integer, floating-point, character, string, boolean
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in C#?
var num;
int num;
float num;
int num = 5;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between value types and reference types in C#?
Value types are stored directly in memory, while reference types are stored as references to the actual data.
Value types and reference types are stored in the same way in C#.
Value types are stored as references to the actual data, while reference types are stored directly in memory.
Value types and reference types are interchangeable in C#.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of control flow in C#?
The purpose of control flow in C# is to randomly execute statements in a program.
The purpose of control flow in C# is to determine the order of variables in a program.
The purpose of control flow in C# is to skip certain statements in a program.
The purpose of control flow in C# is to determine the order in which statements are executed in a program.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the different control flow statements in C#?
if-else, switch, for, while, do-while, foreach, break, continue, return, try-catch, throw
if-else, switch, for, while, do-while, foreach, break, continue, return, goto
if-else, switch, for, while, do-while, foreach, break, continue, return, print
if-else, switch, for, while, do-while, foreach, break, continue, return
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University