Monday 4 May 2020

Solved : Application of .NET Technology January 2019

Solved :NIELIT (O-Level)  Application of .NET Technology January 2019

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=10)

1.1 : Which of the following .NET components can be used to remove unused references from the managed heap ?
(A) Common Language Infrastructure
(B) CLR
(C) Class loader
(D) Garbage Collector
Answer


1.2 : Which of the following keyword is used for including the namespaces in the program in C# ?
(A) imports
(B) using
(C) exports
(D) None of the options
Answer

1.3 : Which of the following is the correct default value of a Boolean type in C# ?
(A) 0 (B) 1
(C) True (D) False
Answer

1.4 : We can manage states in ASP.NET application using
(A) Session Object
(B) Application Object
(C) View State
(D) All of the options
Answer

1.5 : Which reference modifier is used to define reference variable ?
(A) & (B) ref
(C) # (D) $
Answer

1.6 : The first event triggers in an aspx page is
(A) Page_Init
(B) Page_Load
(C) Page_Click
(D) None of the options
Answer

1.7 : Which of the following is considered as Web Service Platform Elements ?
(A) SOAP
(B) WSDL
(C) UDDI
(D) All of the options
Answer

1.8 : Which of the following is not true about ADO.NET ?
(A) ADO.NET enables to create distributed data sharing applications
(B) ADO.NET uses XML to transfer data across applications and data source
(C) ADO.NET doesn't support disconnected architecture
(D) The classes of ADO.NET are defined in the System.Data namespace
Answer

1.9 : Boxing in .NET allows the user to convert
(A) a integer type to double
(B) a reference type to a value type
(C) a value type to a reference type
(D) a double type to integer
Answer

1.10 : The type of code found in Code-Behind class is _______
(A) Server Side Code
(B) Client Side Code
(C) Both (A) and (B)
(D) None of the options
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.

2.1 You can have only one Global.asax file per project.
2.2 Code that targets the Common Language Runtime is known as unmanaged code.
2.3 Compare validator control is used to validate that two fields are equal.
2.4 ExecuteNonQuery is used to retrieve records from database.
2.5 Request.QueryString is used when form method is post.
2.6 XML is used to stored and transport the data.
2.7 Class type in VB.NET is a value type.
2.8 Default access modified for class is public.
2.9 Simple Object Access Protocol is used to call web services.
2.10 File type extension of web user control is .aspx.

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=10)

X
Y
3.1
It is a hierarchical organization of program
A.
MSIL
3.2
It defines the rules which Common Language Runtime follows.
B.
CLR
3.3
It is a runtime environment in .NET.
C.
Namespace
3.4
It stores a value in the user's browser and less secure.
D.
Web service
3.5
It provides language interoperability in .NET.
E.
CLS
3.6
WSDL, SOAP.UDDI are important components of it.
F.
Reflection
3.7
It manages various settings that define a website. The settings are stored in XML files that are separate from your application code.
G.
Assembly
3.8
It defines a set of rules and restrictions that every language must follow which runs under .NET framework.
H.
Web application
3.9
It is temporary to store state of user and it is secure.
I.
CTS
3.10
It can be a DLL or EXE.
J.
Windows Application


K.
Webconfig


L.
Session


M.
Cookie


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.

A.
Cookie
B.
.ascx
C.
query string
D.
ExecuteScalar( )
E.
.disco
F.
ExecuteNonQuery( )
G.
dim
H.
JIT compiler
I.
Unboxing
J.
Regular Expression Validator
K.
Compare Validator
L.
Session
M.
.asmx





4.1                               translates the MSIL code of an assembly and uses the CPU architecture of the target machine to execute a .NET application.
4.2            When object type is converted to a value type, the process is known as             .

4.3            The               method returns a single value from a database query.

4.4            A web service file extension is               file.

4.5            A web user control file extension is               file.

4.6                               file to locate or discover the documents that contain the description of a Web service.
4.7            The items stored in              live until the lifetime of the current page expires including the postbacks to the same page.
4.8                               is used to create variable in VB.NET.

4.9                               stores values in the URL that are visible to the user.


3.10       4.10 :                      is used to check an email address entered by the user.


Answer


PART TWO

( Answer any FOUR Questions.)

5.
(a) What is use of Dialog Box in VB.NET ? List and explain any one Dialog Box.
(b) Explain error handling in C# with proper example.
(c) Explain step by step compilation process in .NET Framework. Explain important roles of CLR, CTS and CLS.

6.
(a) List all validation control in ASP.NET. Explain any two.
(b) What is Assemblies in .NET ?Explain types of Assemblies in .NET.
(c) Define Web Service. Give comparison between Web Service and Web Application
(5+5+5=15)

7.
(a) Explain various state management techniques available in ASP.NET.
(b) What is Reflection ? Explain with example using C#.
(c) What is purpose of Namespace ? Give advantages of it.
(5+5+5=15)

8.
(a) What is use of base class library in .NET ?
(b) What is versioning in C# ?Explain with example.
(c) Write a code using ASP.NET web application which inserts STUDENT-ID, NAME, SEMESTER and MOBILE using HTML form in database.
(3+4+8=15)

9. Write short notes on the following :
(a) ADO.NET
(b) Delegates
(c) XML
(3x5=15)

No comments:

Post a Comment