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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Tarkie Seminar for Disers
Quiz
•
9th - 12th Grade
15 questions
EVALUASI BELAJAR (PERKEMBANGAN TEKNOLOGI JARINGAN)
Quiz
•
10th Grade
14 questions
Computing figures
Quiz
•
4th - 12th Grade
15 questions
python basics
Quiz
•
11th Grade - University
10 questions
Online Databases vs. Search Engines
Quiz
•
6th - 10th Grade
10 questions
Internet
Quiz
•
7th - 10th Grade
10 questions
Bài 1: Từ máy tính đến mạng máy tính
Quiz
•
9th Grade
10 questions
Kuis tipedata, flowchart informatima kelas X j4njang SMA
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
