Pages

Tuesday, 28 April 2020

Solved : Application of .NET Technology July 2017

Solved : NIELIT (O-Level) Application of .NET Technology July 2017

1. Each question below gives a multiple choice of answers. Choo se  the  most  appropriate  one with the question paper, following instructions therein. (1x10)

1.1 : compile managed assemblies into processor-specific native code?
A) gacutil B) ngen
C) sn D) dumpbin
Answer

1.2 : Class String and the Char structure found in the:
A) System.String namespace
B) System.Text namespace
C) System.Chars namespace
D) System namespace
1.3 : VB.NET identifiers:
A) are case sensitive
B) can begin with an underscore
C) can begin with number
D) Both A) and B)
1.4 : What is the method used to activate the color dialog box?
A) ActivateDialog B) DisplayDialog
C) ExhibitDialog D) ShowDialog
1.5 : Which is not an ADO.NET DataAdapter Object?
A) OleDbDataAdapter B) SQLDataAdapter
C) QueryDataAdapter D) All of the above
1.6 : Which of the following statements is correct about Managed Code?
A) Managed code is the code that is compiled by the JIT compilers
B) Managed code is the code where resources are Garbage Collected
C) Managed code is the code that runs on top of Windows
D) Managed code is the code that is written to target the services of the CLR
1.7 : Which of the following assemblies can be stored in Global Assembly Cache?
A) Private Assemblies B) Friend Assemblies
C) Shared Assemblies D) Public Assemblies
1.8 : C#.NET if we do not catch the exception thrown at runtime then which of the following will catch it?
A) Compiler B) CLR
C) Linker D) Loader
1.9 : How can you prevent inheritance from a class in C# .NET?
A) Declare the class as shadows
B) Declare the class as sealed
C) Declare the class as overloads
D) Declare the class as suppress
1.10 : Which of the following statements is correct?
A) Procedural Programming paradigm is different than structured programming paradigm.
B) Object Oriented Programming paradigm stresses on dividing the logic into smaller parts and writing procedures for each part.
C) Classes and objects are corner stones of structured programming paradigm.
D) Object Oriented Programming paradigm gives equal importance to data and the procedures that work on the data.
2. Each statement below is either TRUE or FALSE.Choose the most appropriate one and enter your choice  supplied with the question paper, following
instructions therein. (1x10)

2.1 DataAdapter object populates a DataSet and resolves updates with the data source.
2.2 Namespaces help us to control the visibility of the elements present in it.
2.3 It is compulsory for all classes whose objects can be thrown with throw statement to be derived from System.Exception class.
2.4 CLR ensures that an application would not be able to access memory that it is not authorized to access.
2.5 If s1 and s2 are references to two strings, then s1==s2 is the correct way to compare the two references.
2.6 The MsgBoxStyle cannot used to display the buttons like Yes/No/Cancel in a message box.
2.7 We cannot call a sub procedure by using the function name.
2.8 Caching is the process of storing data that is used frequently by the user.
2.9 GDI simplifies drawing without providing an interface to the hardware devices.
2.10 HTTP is a state full protocol and it can hold the user information on web page.

Answer


3. Match  words  and  phrases  in  column  X  with  the  closest  related  meaning/  word(s)/phrase(s) in    answer  sheet  supplied  with the  question paper,following instructions therein.

X
Y
3.1
Default Session data is stored in ASP.NET
A.
SortedList
3.2
Security feature .NET applications can avail
B.
IsClosed
3.3
ASP.NET is a tool for
C.
InProcess
3.4
Heart of .NET Framework
D.
COM
3.5
Key based Input/Output collection
E.
IsOff
3.6
Fundamental objects in ADO.NET
F.
Yes
3.7
Property is used to check whether a DataReader is closed or opened
G.
Reference
3.8
Unary operators can be overloaded
H.
XSLT
3.9
Popular way to materialize XML documents
I.
DataReader
3.10
Model does not offer a model for source code reuse
J.
DataWriter


K.
Web Development


L.
CLR


M.
Code Access

Answer


4. Each  statement below has a blank space to fit one of the word(s) or phrase(s) in the list below.    the question paper, following instructions therein. (1x10)

A.
Public
B.
StateServer
C.
DHTML
D.
Private
E.
Ctype
F.
16 bits
G.
SqlDatadapter
H.
XML
I.
Multiple
J.
Value type
K.
Boxing
L.
8 bits
M.
SqlConnection





4.1          enum is a                .
4.2                       _ have their own syntax.
4.3          In ADO.NET, the                will open and close database connections as needed.
4.4                       _ convert value type to reference type.
4.5          In ASP .NET client side validation is possible with               .
4.6          In C# and .NET, the default size of Integer data type is              _.
4.7          The               _ is Mode of storing ASP.NET session.
4.8          C# does not allow                inheritance.
4.9          The function procedures in VB are                by default.
4.10 Type casting in VB.NET is implemented by means of      statement


Answer


PART TWO
(Answer any FOUR questions)


5.
a) What is the difference between ADO and ADO .NET?
b) What is an interface? List down the features of and interface. Give differences between abstract class and interface
c) In detail describe the roles of Common Language Runtime (CLR) in .NET Framework.
(3+4+8)

6. 
a) Draw diagram for thread lifecycle in C#. What is the difference between Thread.start( ) and Thread.run( )?
b) Discuss how C# and .NET framework play major role in developing web form and web services.
c) Write a program in VB.NET
(5+5+5)

7.
a) Explain Features of VB.NET. How VB.NET is Powerful than earlier version of VB?
b) What is a multitasking? What are the similarities and differences between multitasking and multiprogramming?
c) What is directive in ASP.NET? Explain page directive and master directive with its attributes.
(4+4+7)

8.
a) What is the role of XML? Explain benefit of using XML.
b) What is SqlCommand object in ADO.NET? Explain three methods of SqlCommand object in ADO.NET.
c) What is exception handling in .NET? How can we handle it? Explain try, catch and finally block with example.
(3+5+7)

9.
a) Write console application using C# that prints reverse order of whatever we take as an input, without using pre-defined function.
b) Explain drawing line and drawing string in GDI+ with example.
c) List and explain various ADO.NET objects with its purpose and methods in database connectivity.
(5+5+5)

No comments:

Post a Comment