
C# Quizz - LC Year 9
Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Practice Problem
•
Hard
Professores IB Lourenço Castanho undefined
Used 7+ 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 difference between Console.Write and Console.WriteLine?
Answer explanation
Console.WriteLine writes and moves to the next line, while Console.Write keeps writing on the same line.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct format to name a variable in camel case?
Answer explanation
Camel case starts with a lowercase letter, and each new word starts with an uppercase letter.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is true when using var to initialize variables?
Answer explanation
var automatically infers the type of the value it is assigned, such as int, string, or double.
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of the following code? Console.WriteLine("Hello\tWorld\n!");
Hello World
!
Answer explanation
The \t adds a tab space and \n moves to the next line.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods allows you to concatenate strings in Console.WriteLine?
Answer explanation
Concatenation uses + to combine multiple strings. Interpolation uses $.
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of this code: Console.WriteLine(3 + 2 * 5);
Answer explanation
The multiplication happens before the addition, following the order of operations (PEMDAS).
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you check if a number is positive or negative using if/else in C#?
Answer explanation
The if condition checks if the number is greater than 0 to determine if it's positive.
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
Already have an account?
Similar Resources on Wayground
10 questions
Apex 1.3.2 Quiz: Understanding the Study_Media Literacy
Quiz
•
10th Grade
15 questions
Class 12 Review Questions
Quiz
•
12th Grade
14 questions
Media and Information Language
Quiz
•
11th - 12th Grade
10 questions
Controlador L298N para motores DC
Quiz
•
9th Grade
11 questions
Career Day @ Chavez
Quiz
•
9th Grade
10 questions
Microsoft Office 365
Quiz
•
KG - 12th Grade
11 questions
Construction 4
Quiz
•
11th Grade
10 questions
Philosophical Perspectives in Instructional Design Quiz
Quiz
•
12th Grade - University
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
Discover more resources for Instructional Technology
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Meiosis vs mitosis
Quiz
•
9th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Ethos, Pathos, Logos Practice
Quiz
•
9th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
