
C# Data Types
Authored by Khaled Elsayed
Computers
11th Grade
Used 16+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which data type is used to create a variable that should store text?
str
string
myString
Txt
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do you create a variable with the numeric value 5?
double x = 5;
num x = 5
int x = 5;
x = 5;
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do you create a variable with the floating number 2.8?
byte x = 2.8
double x = 2.8D;
int x = 2.8;
int x = 2.8D;
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which operator is used to add together two values?
The + sign
The * sign
The & sign
The & sign
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The value of a string variable can be surrounded by single quotes.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is a correct syntax to output "Hello World" in C#?
Console.WriteLine("Hello World");
print ("Hello World");
System.out.println("Hello World");
cout << "Hello World";
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
10 questions
PSeINT
Quiz
•
9th - 12th Grade
10 questions
DTJSQuiz
Quiz
•
11th Grade
10 questions
ID Quiz
Quiz
•
11th Grade
10 questions
Soạn thảo văn bản Microsoft Word
Quiz
•
1st Grade - University
10 questions
Website Development 1 - Recall
Quiz
•
11th Grade
10 questions
Scratch_SM
Quiz
•
10th - 12th Grade
10 questions
S2 Sphero Knowledge Check 2
Quiz
•
11th Grade
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade