Pages

Wednesday, 29 April 2020

Solved : Application of .NET Technology January 2018

Solved : NIELIT (O-Level)  Application of .NET Technology January 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 : Which of the following components of the .NET framework provide an extensible set of classes that can be used by any .NET compliant programming language?
A) .NET class libraries
B) Common Language Runtime
C) Common Language Infrastructure
D) Component Object Model
Answer


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

1.3 : Code that targets the Common Language Runtime is known as
A) Unmanaged B) Distributed
C) Legacy D) Managed Code
Answer

1.4 : Which of the following is the root of the .NET type hierarchy?
A) System.Object B) System.Type
C) System.Base D) System.Parent
Answer

1.5 : Which of the following statements is incorrect about a delegate?
A) A single delegate can invoke more than one method.
B) Delegates can be shared.
C) Delegate is a value type.
D) Delegates are type-safe wrappers for function pointers
Answer

1.6 : Shared assemblies are installed where?
A) System Assembly Cache
B) Global Assembly Cache
C) Machine Assembly Cache
D) Windows Assembly Cache
Answer

1.7 : How many times can a constructor be called during lifetime of the object?
A) As many times as we call it.
B) Only once.
C) Depends upon a Project Setting made in Visual Studio .NET.
D) Any number of times before the object gets garbage collected.
Answer

1.8 : If a developer of ASP.NET defines style information in a common location. Then that location is called as
A) Master Page B) Theme (ANS)
C) Customization D) None of the Abov
Answer

1.9 : Which of the following control is used to validate that two fields are equal?
A) RegularExpressionValidator
B) CompareValidator
C) equals() method
D) RequiredFieldValidator
Answer

1.10 : Which of the following object of ADO .Net is having one or more data tables in it?
A) DataConnection B) DataSet
C) DataAdapter D) DataReader
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 Function procedures are public by default.
2.2 Function procedure return values whereas sub procedures cannot return a value to the calling procedure.
2.3 CLR provides services to run "managed" applications.
2.4 .NET frameworks provide different programming models for Windows-based applications and Web-based applications.
2.5 Eliminating Text property from ASP.NET Button control leads to error.
2.6 You can have only one Global.asax file per project.
2.7 DataReader class in ADO.NET provide disconnect model.
2.8 Master page file you should write for the connection string, so that you can access it in all the web pages for the same application.
2.9 ExecuteNonQuery SqlCommand execution returns
the number of effected records in the table.
2.10 IsPostBack is a method of System.Web.UI.Page class.

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.

X
Y
3.1
Data Set
A.
Providing common features for all languages data type.
3.2
System.Data
B.
Is a collection of Data Tables
3.3
Cookies
C.
To manage state at user request level
3.4
CLR
D.
Read only and Forward only channel of fetching data
3.5
View Sate
E.
Convert MSIL Code to manage code.
3.6
Data Reader
F.
Name space for ADO.NET classes
3.7
Web.config
G.
File to handle Session, Application object of ASP.NET for state management.
3.8
Session
H.
Handle state management
3.9
CTS
I.
XML format file to configure connection string and other parameters of Web application.
3.10
Global.asax
J.
File used to configure machine dependent data


K.
Sate management technique similar to hidden field


L.
To view Sate of database


M.
Configuring common feature of database.




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.
GAC
B.
Reflection
C.
System.web.UI.Page
D.
CurrentCulture
E.
Server-side code
F.
.Asmx
G.
Garbage Collection
H.
Serialization
I.
.Axctl
J.
Repeater
K.
Fill( )
L.
DataLoad( )
M.
Cookies





4.1                                  _ is a special subfolder within the windows folder that stores the shared .NET component.
4.2                 The                 property affects how the .NET Framework handles dates, currencies, sorting and formatting issues.
4.3                 Find the term: The .NET framework which provides automatic memory management using a technique called _   _.
4.4                                  _ control which does not have any visible interface?
4.5                 In .NET the operation of reading metadata and using its contents is known as                ?
4.6                 The type of code found in Code-Behind class is _            .
4.7                 Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called
                 _.
4.8                                  _ do you invoke on the DataAdapter control to load your generated dataset with data?
4.9                                  _ Namespace does the Web page belong in the .NET Framework class hierarchy.
4.10                               _ is the extension of a web user control file.


Answer



PART TWO
(Answer any FOUR questions)

5.
a) Draw architecture of .NET Framework and Explain various component of it in details. What is known as core part of .NET Framework? What is use of it? Explain Assembly structure.
b) What is GDI? What is use of GDI+ application in.NET?
(10+5)

6.
a) What is Delegate? Write syntax with example. Give example of Multicast delegate with limitation of it.
b) What is CTS? What is significance of CTS in .NET Framework?
c) What is Web service? Draw architecture and explain in brief about XML web service with its components and protocols like UDDI, WSDL, Disco, etc.
(5+5+5)

7.
a) What is difference between Array and ArrayList? Write syntax to add and delete element from ArrayList.
b) What is ADO.NET? How it is differ from ADO?Write all Objects to be included in name space of ADO.NET. Explain purpose of each type of object and its significance in database connectivity.
c) What type of application form in Windows base application you should select when you have to deal with multiple documents? Explain steps to implement such kind of example with proper steps and syntax in C#.
(5+5+5)

8.
a) Write a Console application using C# to find that implement all string functions available in String Class of .NET framework. Take an input through command line arguments. Explain each function in comment of program briefly for what purpose it’s used.
b) Explain concept of Visual Inheritance. How to apply Inheritance techniques to Windows Forms using VB.NET?
c) Enlist Validation controls and explains for what purpose it’s used in ASP.NET Application?
(5+5+5)

9.
a) Write a code showing use of DataSet class, to connect, populate and update the data in database.
b) What is Theme? Create skin file to format various controls and give code to apply theme in ASP.NET webpage.
c) Explain Page Life Cycle of ASP.NET.
(5+5+5)

Next Set

No comments:

Post a Comment