Solved :NIELIT (O-Level) Application of .NET Technology July 2018
1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)
1.1 : Common type system is built into which of the following:
A) CLR B) RCT
C) RCW D) GAC
Answer
1.2 : ’Implicit Conversion’ follows the order of conversion as per compatibility of datatype as
A) float > char > int B) char > int > float
C) int > char > float D) float > int > char
Answer
1.3 : Which of these keywords must be used to monitor exceptions?
A) try B) finally
C) throw D) catch
Answer
1.4 : Choose the statements which makes delegate in C#.NET different from a normal class?
A) Delegates in C#.NET is a base class for all delegates type
B) Delegates created in C#.NET are further not allowed to derive from the delegate types that are created
C) Only system and compilers can derive explicitly from the Delegate or MulticasteDelegate class
D) All of the mentioned
Answer
1.5 : Which property is the same in the OpenFileDialog and the SaveFileDialog control?
A) FileName B) Filter
C) InitialDirectory D) All of the above
Answer
1.6 : The StreamReader and StreamWriter class are both subclasses of which class?
A) IO B) Stream
C) StreamIO D) Both A) and B)
Answer
1.7 : Which DataAdapter Query Type can be used with the Access database?
A) Use SQL statements
B) Create new stored procedure
C) Use existing stored procedure
D) None of the above
Answer
1.8 : Which client-side technique is specific to ASP.NET?
A) Cookies B) Query string
C) View state D) Both A) and B)
Answer
1.9 : Inheritance makes it easier to:
A) reuse and modify existing modules of code.
B) write and read code by sharing method names.
C) hide and protect data from external code.
D) All of the above
Answer
1.10 : What model does ASP.NET request processing is based on
A) Bottom-up B) Top-down
C) Waterfall D) Pipeline
Answer
2.Each statement below is either TRUE or FALSE. Choose the most appropriate one and enter your choice in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)
2.1 Each VB.NET console program may have many Main sub- procedures with the same signatures (name, number of arguments, types of arguments, etc.)
2.2 SOAP uses HTTP as its only transport mechanism.
2.3 There is no private or protected inheritance in C#.NET.
2.4 XML Schema is used to define the content, structure and format of documents.
2.5 Events in Web forms are processed before the “Page Load” event.
2.6 If you set AutoGenerateColumns=True and still provide custom column definitions, the DataGrid will render both.
2.7 The following is a valid statement in ASP.NET<%@ Page Language="C" %>.
2.8 The ADO.NET object model provides an API for accessing database systems programmatically.
2.9 The valid Syntax for data-binding expressions is <%# property or collection #%>.
2.10 \0 is the C# escape character for Null.
3. Match words and phrases in column X with the closest related meaning/ word(s)/phrase(s) in column Y. Enter your selection in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)
1.1 : Common type system is built into which of the following:
A) CLR B) RCT
C) RCW D) GAC
Answer
1.2 : ’Implicit Conversion’ follows the order of conversion as per compatibility of datatype as
A) float > char > int B) char > int > float
C) int > char > float D) float > int > char
Answer
1.3 : Which of these keywords must be used to monitor exceptions?
A) try B) finally
C) throw D) catch
Answer
1.4 : Choose the statements which makes delegate in C#.NET different from a normal class?
A) Delegates in C#.NET is a base class for all delegates type
B) Delegates created in C#.NET are further not allowed to derive from the delegate types that are created
C) Only system and compilers can derive explicitly from the Delegate or MulticasteDelegate class
D) All of the mentioned
Answer
1.5 : Which property is the same in the OpenFileDialog and the SaveFileDialog control?
A) FileName B) Filter
C) InitialDirectory D) All of the above
Answer
1.6 : The StreamReader and StreamWriter class are both subclasses of which class?
A) IO B) Stream
C) StreamIO D) Both A) and B)
Answer
1.7 : Which DataAdapter Query Type can be used with the Access database?
A) Use SQL statements
B) Create new stored procedure
C) Use existing stored procedure
D) None of the above
Answer
1.8 : Which client-side technique is specific to ASP.NET?
A) Cookies B) Query string
C) View state D) Both A) and B)
Answer
1.9 : Inheritance makes it easier to:
A) reuse and modify existing modules of code.
B) write and read code by sharing method names.
C) hide and protect data from external code.
D) All of the above
Answer
1.10 : What model does ASP.NET request processing is based on
A) Bottom-up B) Top-down
C) Waterfall D) Pipeline
Answer
2.Each statement below is either TRUE or FALSE. Choose the most appropriate one and enter your choice in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)
2.1 Each VB.NET console program may have many Main sub- procedures with the same signatures (name, number of arguments, types of arguments, etc.)
2.2 SOAP uses HTTP as its only transport mechanism.
2.3 There is no private or protected inheritance in C#.NET.
2.4 XML Schema is used to define the content, structure and format of documents.
2.5 Events in Web forms are processed before the “Page Load” event.
2.6 If you set AutoGenerateColumns=True and still provide custom column definitions, the DataGrid will render both.
2.7 The following is a valid statement in ASP.NET<%@ Page Language="C" %>.
2.8 The ADO.NET object model provides an API for accessing database systems programmatically.
2.9 The valid Syntax for data-binding expressions is <%# property or collection #%>.
2.10 \0 is the C# escape character for Null.
Answer
3. Match words and phrases in column X with the closest related meaning/ word(s)/phrase(s) in column Y. Enter your selection in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)
X
|
Y
|
||
3.1
|
Set the focus on a particular control
|
A.
|
ShowDialog
|
3.2
|
Symbol creates access key in the text of a
menu item
|
B.
|
Visible
|
3.3
|
Activate the color dialog box
|
C.
|
Timer
|
3.4
|
Symbols are used to signify the presence
of ASP.NET code
|
D.
|
*
|
3.5
|
Property determines whether a control is
displayed to the user
|
E.
|
Webforms
|
3.6
|
Tick event is found only in
|
F.
|
DataMember
|
3.7
|
A CheckBox can also appear as
|
G.
|
&
|
3.8
|
The wildcard symbol for selecting all the
fields in a table
|
H.
|
Call FOCUS method
|
3.9
|
Property of the DataGrid control
|
I.
|
@
|
3.10
|
Postback occur
|
J.
|
<%
|
K.
|
ActivateDialog
|
||
L.
|
button
|
||
M.
|
Call SETCONTROL
|
Answer
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, enter your choice in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)
A.
|
CLR
|
B.
|
SQLXML.dll
|
C.
|
Serialization
|
D.
|
Reflection
|
E.
|
System.EnterpriseServices
|
F.
|
ExecuteReader
|
G.
|
SQLISAPI.dll
|
H.
|
GAC
|
I.
|
ROOT
|
J.
|
Binding
|
K.
|
RegularExpressionValidator
|
L.
|
< identity> element
|
M.
|
Open
|
4.1
is not a member of ADODBCommand object.
4.2
The namespace within the Microsoft .NET framework
which provides the functionality to implement transaction processing is .
4.3
DLL translate XML to SQL in IIS.
4.4
Suppose a .NET programmer wants to convert
an object into a stream of bytes then the process is called
.
4.5
The .NET Framework provides a runtime
environment called .
4.6
In .NET the operation of reading metadata and using its contents is known
as .
4.7
is a special subfolder within the windows folder that stores the shared
.NET component.
4.8
element in the web.config file to run code using the permissions of a
specific user.
4.9
validation control used for “PatternMatching”.
4.10
In ASP.NET application the Global.asax file lie in directory.
PART TWO
(Answer any FOUR questions)
5.
a) What is the role of the JIT compiler in .NET Framework?
b) What is a delegate in C# and uses of delegates?
c) By using two-dimensional array of C# language, write C# program to display a table that represents a Pascal triangle of any size. See the example Pascal triangle (size=5) below:
1
11
121
1331
14641
6.
a) What is an assembly in Microsoft.NET?
b) What is ExecuteScalar method in ADO.NET?
c) Write VB.NET program to prompt the user to choose the correct answer from a list of answer choices of a question.
d) What is .NET Globalization?
7.
a) What is File Handling in C#.NET?
b) What is the difference between DataSet and DataReader?
c) How will you fill the GridView by using DataTable object at runtime?
8.
a) What is the difference between Server.Transfer and Response.Redirect?
b) What is difference between Finalize and Dispose Method?
c) Explain the Validation Controls used in ASP.NET 2.0.
9.
a) Explain the concept of boxing and unboxing with suitable example.
b) What is the difference between HTML and XML?
c) Write a program to validate email address using Regex in Visual Basic .NET.
No comments:
Post a Comment