
quiz on c#

Quiz
•
Professional Development
•
Professional Development
•
Medium
radhika kuraguntla
Used 7+ times
FREE Resource
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();
}
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
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
Javascript (Parte I)

Quiz
•
Professional Development
15 questions
PreTest Pain Management

Quiz
•
Professional Development
14 questions
HTML Basics

Quiz
•
Professional Development
13 questions
Ch-5 Tanggung jawab Audit atas LK

Quiz
•
1st Grade - Professio...
14 questions
Technical Quiz Final Round

Quiz
•
Professional Development
10 questions
Kuis Array

Quiz
•
Professional Development
15 questions
Revisão Programação Web - 2

Quiz
•
10th Grade - Professi...
15 questions
Quis ACS (Acute Coronary Syndrome)

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade