Which data type is used to create a variable that should store text?
C# Data Types

Quiz
•
Computers
•
11th Grade
•
Easy

Khaled Elsayed
Used 16+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
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";
Similar Resources on Quizizz
10 questions
Unit 1 Post Test: Basic Python

Quiz
•
9th - 12th Grade
10 questions
Functions in C++

Quiz
•
9th - 12th Grade
11 questions
Programming Quiz 1

Quiz
•
11th Grade
10 questions
Exploring Python: Input and Output Essentials

Quiz
•
9th Grade - University
10 questions
Understanding Programming Constructs

Quiz
•
10th Grade - University
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
10 questions
แบบทดสอบก่อน-หลังเรียน

Quiz
•
9th - 12th Grade
10 questions
Programming with C++

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University