
quiz on c#
Authored by radhika kuraguntla
Professional Development
Professional Development
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
correct declaration of variables 'a' and 'b'P
int a=32,b=40.6;
int a=42,b=40;
int a=32;b=40;
int a=b=42
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many Bytes are stored by ‘Long’ Data type in C# .net?
8
4
2
1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Arrange the following data type in order of increasing magnitude sbyte, short, long, int.
long < short < int < sbyte
sbyte < short < int < long
short < sbyte < int < long
short < int < sbyte < long
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Correct way to assign values to variable ‘c’ when int a=12, float b=3.5, int c;
c = a + b;
c = a + int(float(b));c = a + convert.ToInt32(b);
c = a + convert.ToInt32(b);
c = int(a + b);
5.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Default Type of number without decimal is?
Long Int
Unsigned Long
Int
Unsigned Int
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
static void Main(string[] args)
{
int a, b, c, x;
a = 90;
b = 15;
c = 3;
x = a - b / 3 + c * 2 - 1;
Console.WriteLine(x);
Console.ReadLine();
}
static void Main(string[] args)
{
int a, b, c, x;
a = 90;
b = 15;
c = 3;
x = a - b / 3 + c * 2 - 1;
Console.WriteLine(x);
Console.ReadLine();
}
92
89
90
88
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
what is the output?
static void Main(){
for(int i=0;i<=5;i++){
}
}
000000
12345
012345
01234
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
12 questions
ECG
Quiz
•
University - Professi...
10 questions
EXAMEN FINAL DEL CURSO
Quiz
•
Professional Development
15 questions
Google Nivel 1 7-9
Quiz
•
Professional Development
14 questions
Promoción Turística
Quiz
•
Professional Development
15 questions
Q1 Introduction to Python
Quiz
•
Professional Development
10 questions
Capacitación - Conocimientos Grupales
Quiz
•
Professional Development
11 questions
"Vacina não é fake news"
Quiz
•
Professional Development
10 questions
Detección de tesis correctamente formuladas
Quiz
•
University - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...