C#

Quiz
•
Computers
•
11th Grade
•
Medium
Károly Lukács
Used 2K+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
int x = 8;
// x = 3;
Console.WriteLine(x);
3
8
error
24
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill the gaps.
___Declaring an integer
and printing it___
int x = 42;
Console.WriteLine(x);
//.........//
/*............*/
<----...................----->
?-------------?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the type of the temp variable?
var temp = 14.55;
Double
Boolean
Integer
String
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
var n1;
n1 = true;
Console.WriteLine(n1);
1
true
error
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank to make the variable num a constant.
_______int num=2;
con
constant
const
constans
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blanks to display the result of the multiplication of x and y.
int x = 42;
int y = 7;
int z = x __ y;
Console.WriteLine( __ );
*.....z
mul........z
*......y
-.......x
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
int x = 16;
int y = 5;
Console.WriteLine(x/y);
3.2
3
error
4
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
10 questions
Java: repetition control structure for & while

Quiz
•
10th - 12th Grade
13 questions
C++ Loops

Quiz
•
9th - 12th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
12 questions
for dan if bahasa C

Quiz
•
11th Grade
14 questions
Svašta nešto - laganica :)

Quiz
•
11th Grade
15 questions
Python Fundamentals Quiz

Quiz
•
11th Grade
10 questions
LUA Test

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade