C# - Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
David Klecker
Used 5+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct syntax for printing text to the console?
Debug.log("Hello World");
Debug.Log("Hello World");
debug("Hello World");
log("Hello World");
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code represents the correct way to create a variable of type int and name of "score" and initial value of 12?
int score;
int score = 12;
int[] score;
Integer score = 12
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code will correctly print "Hello World" to the console when the user presses the Enter key? (any Operating System).
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does one write a conditional statement?
int score;
if (condition) {...} else {...}
while(condition){...}
Debug.Log("Hello World")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do we mean when we say a variable is "out of scope"?
It has been defined as an instance variable and we are trying to access it locally in a specific method.
It is out of our sight from our lookout.
It has been declared in a part of our code which is local to the variable but not local to where we are trying to access it.
It has reached its maximum value and cannot go any higher.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Functions perform what task for us in C#
Functions are organized blocks code which perform a given task.
Functions make the code go through the CPU faster.
Functions upgrade my memory
Functions compile my code.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to you include a library into our C# program?
include
using
namespace
int
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
10 questions
Diagramas de Flujo
Quiz
•
7th - 10th Grade
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
10 questions
DTJSQuiz
Quiz
•
11th Grade
10 questions
Mecatronica 3ro IOQ 1
Quiz
•
9th - 10th Grade
13 questions
Python
Quiz
•
9th Grade
15 questions
Internet y sus recursos
Quiz
•
11th Grade
12 questions
АЛГОРИТМІЗАЦІЯ 7 КЛ частина 1
Quiz
•
12th Grade
10 questions
Одновимірні масиви.
Quiz
•
10th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
