C# quizz v1

C# quizz v1

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Ricardo Gonzalez

Used 3+ times

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods is an entry point in the C# console program?

public static void Program()

public static void Main()

public static void main()

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the followings are value types in C#?

Int32

Double

Devimal

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a reference type in C#?

String

Long

Boolean

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the nullable type in C#?

It allows assignment of null to reference type.

It allows assignment of null to value type.

It allows assignment of null to static class.

None of the above.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Struct is a ___________.

Reference type

Value type.

Class type.

String type.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

10 > 9 ? "10 is greater than 9" : "9 is greater than 10" is an example of _____________

Ternary operator

Conditional operator

Greater than operator

Inverse operator

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following dataype can be used with enum?

int

string

boolean

All of the above.

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?