What is the correct syntax to output "Hello World" in C#?
Session 1

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Mohammad Saleem
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
System.Print(Hello World);
Print(" Hello World");
Consol.WriteLine(" Hello World");
cout<<"Hello World";
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in C# code?
//
Cmnt->
<--
#
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to create a variable that should store text?
Txt
str
CStrting
string
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code:
double x = 5.4;
int y = (int)x;
Console.WriteLine(y);
5.4
5
4
error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code:
double x = 7;
x++;
//x = x + 3;
Console.WriteLine(x);
10
7
8
error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code:
int var = " Hello ";
int var2 = " World"
Console.WriteLine(var+var2);
HelloWorld
Hello World
Hello
World
error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this standard, the first letter of the word is always in small letter and after that, each word starts with a capital letter.
Camel Case
Pascal Case
Underscore Prefix
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Unit3 JavaScript Basics Quiz

Quiz
•
10th Grade
8 questions
Robotics Quiz

Quiz
•
1st - 12th Grade
15 questions
Quiz on String

Quiz
•
12th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
10 questions
Unit 1 Post Test: Basic Python

Quiz
•
9th - 12th Grade
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
8 questions
Introduction to Computer Science

Quiz
•
12th Grade
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade