C# Structured, Selection and Iteration

Quiz
•
Computers
•
9th Grade - University
•
Easy
Terry Watts
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is a correct syntax to output "Hello World" in C#?
Console.Writeline("Hello World");
Console.WriteLine("Hello World");
Console.WriteLine("Hello World ");
Console.WriteLine("Hello World");
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do you insert COMMENTS in C# code?
/* This is a comment
# This is a comment
// This is a comment
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which data type is used to create a variable that should store text?
String
int
txt
string
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do you create a variable with the numeric value 5?
num x = 5
int x = 5;
int x == 5;
double x = 5;
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do you create a variable with the decimal number 2.8?
byte x = 2.8;
double x = 2.8;
int x = 2.8;
int x = 2.8D;
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which string handling function can be used to find the length of a string?
.Length()
.length();
.getLength();
.Length
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which operator is used to add together two values?
The & sign
The + sign
The * sign
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
20 questions
Quiz UTS Pemrograman Dasar C++

Quiz
•
10th Grade
15 questions
Python introduction

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

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

Quiz
•
9th - 12th Grade
20 questions
Examen 1P DAND 23

Quiz
•
University
15 questions
C# Cơ bản

Quiz
•
University
15 questions
Java Programming

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade