Search Header Logo

C# quizz v1

Authored by Ricardo Gonzalez

Computers

Professional Development

Used 3+ times

C# quizz v1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?