wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Self-Check Test

Total questions: 30

Worksheet time: 35mins

Name
Class
Date
1.

.NET Framework was mean to create an application which would run on Windows platform.

a)

True

b)

False

2.

the latest version of .NET framework is 4.8.1 which was released in August 2022.

a)

True

b)

False

3.

.NET framework can be used to create form based, console-based Application and web-based application.

a)

True

b)

False

4.

one of the the follwing is not Features of .NET.

a)

Platform independent

b)

Language Independent

c)

Automatic management of resources

d)

None

5.

.NET is the pure object oriented programming language.

a)

True

b)

False

6.

________ is the process of removing unwanted resources when they are no longer required.

a)

Class Library

b)

Garbage Collection

c)

Common Language Runtime

7.

_____ is a collection of methods and functions that can be used for the core purpose.

a)

CLR(Common Language Runtime)

b)

WinForms

c)

A class

library

8.

_____ used to as checks data type of variable.

a)

Type Checker

b)

Code Manager

c)

Debug Engine

9.

______find and remove the bugs(errors) into the code.

a)

Class Loader

b)

Debug Engine

c)

Code Manager

d)

All

10.

______loads all libraries(collection of classes, methods, functions, interfaces) which are

associated in the intermediate language code.

a)

class loader

b)

Exception Manager

c)

Type Checker

11.

mistakes that is done during developing or typing program is called ____

a)

Run-Time errors

b)

compile-time error.

12.

When an application has database where all files of user are saved like

some user id, passwords is called ______.

a)

Thread support

b)

Security checker

c)

Garbage collector

13.

In C# every statement must have to end with a ____. It is also called a statement Terminator

a)

Brace

b)

semicolon

c)

hash

14.

_______ help you to create logical groups of related classes and

interfaces that can be used by any language targeting the .NET framework.

a)

System.Drawing,

c)

Namespaces

15.

Includes classes and interfaces that define various collection of objects such as list, queues, hash tables, arrays.

a)

System.Collections

b)

System

16.

Includes classes and interfaces that support browser-server communication.

a)

System.Web

c)

System.Threading:

17.

C# supports only single inheritence of implementation, but multiple inheritance of interfaces

a)

True

b)

False

18.

C# does separate class declaration and member function definitions.

a)

True

b)

False

19.

• In C# there are global functions. Everything is a class.

a)

True

b)

False

20.

What is the C#.net IDE (integrated development environment) used for lab lesson?

a)

Visual studio

b)

Compiler

c)

sharp developement

21.

Which of the following is a feature of the .NET framework that allows for the execution of code across different platforms?

a)

Cross-Platform Compatibility

b)

Static Typing

c)

Single Language Support

22.

In C#, the keyword used to define a new class is ____.

a)

class

b)

define

c)

new

23.

Which of the following is NOT a type of collection available in the System.Collections namespace?

a)

HashSet

b)

ArrayList

c)

Dictionary

d)

StringBuilder

24.

Which of the following is a valid way to declare a variable in C#?

a)

var number = int;

b)

number int;

c)

int number;

25.

In C#, the keyword used to create an instance of a class is ____.

a)

create

b)

new

c)

instance

26.

Which of the following statements about interfaces in C# is true?

a)

Interfaces can contain implementation of methods.

b)

Classes can implement multiple interfaces.

c)

Interfaces can be instantiated directly.

27.

Which of the following keywords is used to inherit a class in C#?

a)

override

b)

inherits

c)

extends

d)

base

28.

In C#, what is the default access modifier for class members?

a)

Private

b)

Internal

c)

Public

d)

Protected

29.

Which of the following is a valid way to create an array in C#?

a)

int arr[] = new int(5);

b)

int arr = new int[5];

c)

int[] arr = new int[5];

30.

Which of the following statements about the Common Language Runtime (CLR) is true?

a)

It is only used for web applications.

b)

It is a programming language.

c)

It manages memory and execution of .NET applications.