
Lab2_Quiz
Authored by bme programming
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Console.WriteLine instruction needs to be followed by
Square brackets [ ]
Parentheses ( )
Double forward slash //
Curly braces { }
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A line of code is called a statement. Each statement in C# needs to end with a
colon :
Angle bracket >
comma ,
semicolon ;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is C# case-sensitive?
Yes, only for variable names but not keywords.
No, C# is not case-sensitive.
Yes, C# is fully case-sensitive.
No, only method names are case-sensitive.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of comments in programming?
To execute hidden code in the program.
To describe the functionality of the code for reader or programmer.
To optimize the performance of the program.
To define new variables in the program.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the "using" directive do in a C# program?
Allow the program to include a namespace, such as "system".
To group and organize code, avoiding naming conflicts.
Define the entry point of the program.
it can be accessed only within the same assembly.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a "namespace" in C#?
Allow the program to include a namespace, such as "system".
To group and organize code, avoiding naming conflicts.
Define the entry point of the program.
it can be accessed only within the same assembly.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an "internal class" in C#?
Allow the program to include a namespace, such as "system".
To group and organize code, avoiding naming conflicts.
Define the entry point of the program.
it can be accessed only within the same assembly.
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
15 questions
GIS Unit III
Quiz
•
University
15 questions
Computer and Other Human Inventions
Quiz
•
University
15 questions
Robotics Prelim
Quiz
•
University
11 questions
SCM and Logistics
Quiz
•
University
15 questions
UIT 2221 MALWARE (COPTPA)
Quiz
•
University
10 questions
UTILITY PROGRAM
Quiz
•
University
10 questions
Data Warehouse - Foundations
Quiz
•
University
7 questions
Data mining-Clustering-1
Quiz
•
University
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