Solved :NIELIT (O-Level) Application of .NET Technology January 2017
1.Each question below gives a multiple choice of answers. Choose the most answer sheet supplied with the question paper, following instructions therein. (1x10)
1.1 : What is MSIL?
A) Multisocket Interface Library
B) Microsoft Intermediate Language
C) Microsoft Interface Language
D) None of the above
Answer
Answer
1.2 : In C# and VB.NET can you store multiple date types in System Array?
A) Yes
B) No
C) Cannot Say
D) None of the above
1.3 : The C# and Visual Basic .NET belong to this type of programming language.
A) assembly language
B) machine language
C) high level programming language
D) object oriented programming language
1.4 : You are creating a project which stores small amount of frequently changing information about a page on the client. Which is the best method to use?
A) Cookie
B) Query String
C) Hidden Form Field
D) None of the above
1.5 : Is the following code legal? class ChildClass : ParentClassA,
ParentClassB
{
}
A) Yes, a child class can have 2 base classes at the same time and it does also allow multiple interface inheritance.
B) No, you cannot specify 2 base classes at the same time. You can specify only one base class to inherit from. However, it does allow multiple interface inheritance.
C) Yes, C# supports multiple class inheritance and it does not allow multiple interface inheritance.
D) No, you can specify only one base class at the same time to inherit from. However, it does not allow multiple interface inheritance.
1.6 : The control which we can click and release to perform some action.
A) Button
B) CheckBox
C) Label
D) TextBox
1.7 : The ________ is a systematic class framework used for the development of system tools and utilities.
A) .NET Framework Class Library (FCL)
B) .NET tools
C) Visual Basic 2005
D) Visual Basic 6
1.8 : What are the advantages of properties in C#?
i) Properties can validate data before allowing a change.
II) Properties can transparently expose data on a class where that data is actually retrieved from some other source such as a database.
iii) Properties can take an action when data is changed, such as raising an event or changing the value of other fields.
A) ii)
B) i) and ii)
C) i) and iii)
D) i), ii) and iii)
1.9 : structs can be derived from
A) System.Data
B) System.ValueType
C) any class
D) any struct
1.10 : What is the difference between Convert.ToString() and ToString()
A) Convert.ToString() handle null values but
B) ToString() output as per format supplied
C) Convert.ToString() only handle null values
D) ToString() handle null values but convert.toString don't
2. Each statement below is either TRUE or FALSE. Choose the most appropriate one sheet supplied with the question paper, following instructions therein. (1x10)
2.1 In ASP.Net fragment caching refers to the caching of individual user controls within a web Form.
2.2 C#.net is not case sensitive.
2.3 Untyped datasets are classes that inherit from the Dataset class but are created using the information in the XML schema.
2.4 CLR is an execution engine of .NET.
2.5 @Register is one of the directives of .Net
2.6 Caching is a technique widely used in computing to decrease performance by keeping frequently accessed or expensive data in memory.
2.7 In C# there can be multiple entry point in a program.
2.8 All .NET languages have the same primitive data types. For example an int in C# is the same as an int in VB.NET.
2.9 Pointers are supported by C#.
3. Match words and phrases in column X with the closest related meaning/ word(s)/phrase(s) in following instructions therein. (1x10)
X
|
Y
|
||
3.1
|
The code that is written to target the services of
the CLR.
|
A.
|
.NET class libraries
|
3.2
|
Utilities that can be used
to compile managed assemblies into processor-specific native code.
|
B.
|
Text Box
|
3.3
|
Assemblies that can be stored in Global Assembly
Cache.
|
C.
|
Managed Code
|
3.4
|
.NET components that can
be used to remove unused references from the managed heap.
|
D.
|
Windows Form Designer
|
3.5
|
Security features that can .NET applications
avail.
|
E.
|
Garbage Collector
|
3.6
|
The control that is used to accept input from the
user.
|
F.
|
@Master
|
3.7
|
It allows the user to design the user interface
for an application.
|
G.
|
Page Directives
|
3.8
|
It
connects a class name to the ASP.NET page for getting strongly typed
references or members contained in the specified Master Page.
|
H.
|
Shared Assemblies
|
3.9
|
It controls the output caching
policies of an ASP.NET page.
|
I.
|
Role Based
|
3.10
|
Components of the .NET framework that provide an extensible
set of classes that can be used by any .NET compliant programming language.
|
J.
|
@Output
|
K.
|
@implements
|
||
L.
|
ngen
|
||
M.
|
Form
|
4. Each statement below has a blank space to fit one of the word(s) or phrase(s) in the list below. Choose the most appropriate option, the question paper, following instructions therein. (1x10)
A.
|
Managed Code
|
B.
|
class
|
C.
|
BigInteger
|
D.
|
Single
|
E.
|
Intermediate
|
F.
|
Assembly
|
G.
|
Control
|
H.
|
Unmanaged Code
|
I.
|
Tuple
|
J.
|
Namespace
|
K.
|
Inheritance
|
L.
|
Multiple
|
M.
|
Shared
|
4.1
A is a template for creating an object.
4.2
_
represents the relationship between two classes where one type derives
functionality from a second type.
4.4 .NET supports
only inheritance.
4.4
A is a component that provides
user-interface (UI) capabilities.
4.5
A assembly is kept in the
global assembly cache.
4.6
All .NET source code is
compiled to Language.
4.7
_ is one of the two new classes are introduced in the System.Numerics namespace.
4.8
_ code is the
code that is executed directly by the operating system outside the CLR environment.
4.9
_ is a
fixed-size collection that can have elements of either same or different data types.
4.10
_ is physical
grouping of logical units, Namespace, logically groups classes.
Answer
PART TWO
(Answer any FOUR questions)
5.
a) What is ADO.NET?
b) Explain , how while and Do-while loop operates?
c) What is ID selector in ASP.Net?
6.
A) To print the largest number in an array of size 10.
b) To print the Fibonacci series.
7.
a) What is the basic difference between Dataset.Clone and Dataset.Copy?
b) What is the difference between Clear ( ) method and Remove (object) of the ArrayList class?
c) Define assemblies. How it is different from library.
8.
a) What is the difference between a DataReader and a DataAdapter?
b) Define Exceptions. What is the difference between an exception and a error?
c) List any three types of errors
9.
a) Execute and Transfer method
b) HTMLEncode method
c) ACID rule of thumb for transactions
No comments:
Post a Comment