C# Programming Quiz
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Raymundo Martinez
Used 11+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax to declare a variable in C#?
myVariable = int;
int myVariable;
var myVariable;
myVariable = int;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store whole numbers in C#?
boolean
float
string
int
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of control structures in C#?
The purpose of control structures in C# is to randomly change the output of a program.
The purpose of control structures in C# is to slow down the execution of a program.
The purpose of control structures in C# is to add unnecessary complexity to the code.
The purpose of control structures in C# is to control the flow of execution in a program.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which control structure is used to execute a block of code repeatedly?
if-else
switch
for loop
loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an array in C#?
A data structure that stores a variable-size sequence of elements of different types.
A data structure that stores a fixed-size sequence of elements of the same type.
A programming language used for web development.
A function that performs a specific task in C#.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access elements in an array in C#?
myArray[index]
myArray{index}
myArray(index)
myArray.index
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is object-oriented programming (OOP) in C#?
Object-oriented programming (OOP) in C# is a programming technique used for writing efficient algorithms.
Object-oriented programming (OOP) in C# is a programming language used for creating graphical user interfaces.
Object-oriented programming (OOP) in C# is a programming paradigm that allows for the creation of objects that contain both data and methods.
Object-oriented programming (OOP) in C# is a programming concept that focuses on procedural programming.
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?
Similar Resources on Wayground
13 questions
Direcciones IP v4
Quiz
•
10th - 12th Grade
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
10 questions
ZOOM QUIZ
Quiz
•
1st - 12th Grade
10 questions
Tin học 10 _ Bài 16 _Định dạng văn bản
Quiz
•
10th - 12th Grade
10 questions
Cos’è la ROM?
Quiz
•
6th - 12th Grade
15 questions
Quis Grade 5
Quiz
•
9th - 12th Grade
10 questions
EMPTECH L4 Q3
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
