NEW
Font size
WorksheetsSelf-Check Test
Total questions: 30
Worksheet time: 35mins
.NET Framework was mean to create an application which would run on Windows platform.
True
False
the latest version of .NET framework is 4.8.1 which was released in August 2022.
True
False
.NET framework can be used to create form based, console-based Application and web-based application.
True
False
one of the the follwing is not Features of .NET.
Platform independent
Language Independent
Automatic management of resources
None
.NET is the pure object oriented programming language.
True
False
________ is the process of removing unwanted resources when they are no longer required.
Class Library
Garbage Collection
Common Language Runtime
_____ is a collection of methods and functions that can be used for the core purpose.
CLR(Common Language Runtime)
WinForms
A class
library
_____ used to as checks data type of variable.
Type Checker
Code Manager
Debug Engine
______find and remove the bugs(errors) into the code.
Class Loader
Debug Engine
Code Manager
All
______loads all libraries(collection of classes, methods, functions, interfaces) which are
associated in the intermediate language code.
class loader
Exception Manager
Type Checker
mistakes that is done during developing or typing program is called ____
Run-Time errors
compile-time error.
When an application has database where all files of user are saved like
some user id, passwords is called ______.
Thread support
Security checker
Garbage collector
In C# every statement must have to end with a ____. It is also called a statement Terminator
Brace
semicolon
hash
_______ help you to create logical groups of related classes and
interfaces that can be used by any language targeting the .NET framework.
Includes classes and interfaces that define various collection of objects such as list, queues, hash tables, arrays.
Includes classes and interfaces that support browser-server communication.
C# supports only single inheritence of implementation, but multiple inheritance of interfaces
True
False
C# does separate class declaration and member function definitions.
True
False
• In C# there are global functions. Everything is a class.
True
False
What is the C#.net IDE (integrated development environment) used for lab lesson?
Visual studio
Compiler
sharp developement
Which of the following is a feature of the .NET framework that allows for the execution of code across different platforms?
Cross-Platform Compatibility
Static Typing
Single Language Support
In C#, the keyword used to define a new class is ____.
class
define
new
Which of the following is NOT a type of collection available in the System.Collections namespace?
HashSet
ArrayList
Dictionary
StringBuilder
Which of the following is a valid way to declare a variable in C#?
var number = int;
number int;
int number;
In C#, the keyword used to create an instance of a class is ____.
create
new
instance
Which of the following statements about interfaces in C# is true?
Interfaces can contain implementation of methods.
Classes can implement multiple interfaces.
Interfaces can be instantiated directly.
Which of the following keywords is used to inherit a class in C#?
override
inherits
extends
base
In C#, what is the default access modifier for class members?
Private
Internal
Public
Protected
Which of the following is a valid way to create an array in C#?
int arr[] = new int(5);
int arr = new int[5];
int[] arr = new int[5];
Which of the following statements about the Common Language Runtime (CLR) is true?
It is only used for web applications.
It is a programming language.
It manages memory and execution of .NET applications.
