quiz on c#

quiz on c#

Professional Development

10 Qs

quiz-placeholder

Similar activities

Day3

Day3

Professional Development

15 Qs

Technical Quiz Final Round

Technical Quiz Final Round

Professional Development

14 Qs

Info Sys Preparation Set 1

Info Sys Preparation Set 1

Professional Development

10 Qs

BÀI TẬP_KIỂU DỮ LIỆU VÀ KHAI BÁO BIẾN

BÀI TẬP_KIỂU DỮ LIỆU VÀ KHAI BÁO BIẾN

Professional Development

10 Qs

Reta numérica

Reta numérica

Professional Development

12 Qs

ADA - Coding Tank 3

ADA - Coding Tank 3

Professional Development

10 Qs

Kuis Array

Kuis Array

Professional Development

10 Qs

PreTrainingJavaScript

PreTrainingJavaScript

Professional Development

9 Qs

quiz on c#

quiz on c#

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

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

  1. static void Main(string[] args)

  2. {

  3. int a, b, c, x;

  4. a = 90;

  5. b = 15;

  6. c = 3;

  7. x = a - b / 3 + c * 2 - 1;

  8. Console.WriteLine(x);

  9. Console.ReadLine();

  10. }

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?