wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

General C#

Total questions: 10

Worksheet time: 4mins

Name
Class
Date
1.

Arrays are stored on?

a)

stack

b)

heap

c)

cache

d)

frame

2.

Non-terminating Recursive Functions can lead to____________ Exception

a)

DivideByZero

b)

StackOverFlow

c)

IllegalArgument

d)

NullPointer

3.

Command Line Arguments are supplied ________execution of the program

a)

before

b)

after

c)

during

d)

in

4.

Primitive types are passed by _________ to a function

a)

Value

b)

Reference

c)

Copy

d)

Sequence

5.

IL Code is executed by_________ in C#

a)

CLR

b)

JVM

c)

JIT

d)

.Net Framework

6.

Is it possible to change the value of a variable while debugging a C# application?

a)

Yes

b)

No

7.

A local variable

a)

Can be used anywhere in the program

b)

Is declared within a method

c)

Must accept a class

d)

Represent a class object

8.

What is the meaning of dot in .Net Framework?

a)

It means OOPS Concept

b)

It means inheritance

c)

It means abstraction

d)

None of the above

9.

.NET Core is an Open-Source and Cross-Platform framework

a)

Yes

b)

No

10.

C# enables you to develop

a)

Windows based applications

b)

Console based applications

c)

Web based applications

d)

All of the above