Sunday, 20 October 2019

Solved : M4.1-R4: APPLICATION OF .NET TECHNOLOGY July 2016

Solved : M4.1-R4: APPLICATION OF .NET TECHNOLOGY  July 2016


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.


1.1 : Web.config file is used ...
A) To store the global information and variable definitions for the application
B) To configure the web server
C) To configure the web browser
D) To configure the time that the server-side code-behind module is called
1.2 : Which of the following method must be overridden in a custom control?
A) The Paint() method
B) The Control_Build() method
C) The default constructor
D) The Render() method
Answer


1.3 : does the ASP.NET Web Form class inherit from by default?
A) System.Web.UI.Page
B) System.Web.UI.Form
C) System.Web.GUI.Page
D) System.Web.Form
1.4 : Which of the following is the root of the .NET type hierarchy?
A) System.Base
B) System.Type
C) System.Object
D) System.Parent
1.5 : Which  DLL  translate XML to SQL in IIS?
A) SQLXML.dll
B) SQLISAPI.dll
C) LISXML.dll
D) SQLIIS.dll
Answer

1.6 : Default  Session  data  is  stored  in ASP.NET.
A) State Server
B) Session Object
C) In Process
D) All of the above
1.7 : Which  of  the following ASP.NET object encapsulates the state of the client?
A) Session object
B) Application object
C) Response object
D) Server object
1.8 : What is the base class from which all Web forms inherit?
A) Master Page
B) Page Class
C) Session Class
D) None of the Above
1.9 : How many classes can a single .NET DLL contain?
A) One
B) Two
C) None
D) Many
1.10 : Why is Global.asax used?
A) Implement application and session level events
B) Declare Global variables
C) No use
D) Both A) & B) above

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 By default, ASP.NET store SessionIDs in cookies.
2.2 appoffline.html files take the web application in offline mode.
2.3 View state can store only serializable objects.
2.4 XmlNew class can be used to create an XML document from scratch.
2.5 Is PostBack is a method of System.UI.Web.Page class.
2.6 .ascx is the extension of a web user control file.
2.7 There can be more than one machine.config file in a system.
2.8 ASP+ and ASP.NET refer to the same thing.
2.9 JavaScript is the default scripting language in ASP.
2.10 WSDL stands for Web Server Description Language.

2. : 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
The technique that allow code to make function calls to .NET applications on other processes and on other machines is
A.
Web Forms
3.2
The namespace within the Microsoft .NET framework which provides the functionality to implement transaction
processing is
B.
Session Object
3.3
In ASP.NET the sessions can be dumped by using
C.
System.Enterprise Services
3.4
Postback occurs in which of type of forms?
D.
Reflection Permission
3.5
Allows access to an assembly’s metadata
E.
Repeater
3.6
The type Processing model that ASP.NET simulates is
F.
.NET Threading
3.7
The control which does not have any visible interface is
G.
Event-driven
3.8
Which of these data source controls do not implement Caching?
H.
Top-down
3.9
Default Authentication mode of IIS is
I.
Session.Abandon
3.10
Which property of the session object is used to set the local identifier?
J.
Anonymous


K.
LCID


L.
Linq


M.
HTML Forms


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.
Reflection
C.
Garbage Collection
D.
CurrentCulture
E.
Page.User.Identity
F.
GAC
G.
Serialization
H.
<identity>
I.
Client-side code
J.
Integration
K.
Threading
L.
Server-side code
M.
Unit






1.1                                 element in the web.config file to run code using the permissions of a specific user.
1.2                                 is a special subfolder within the windows folder that stores the shared .NET component.
1.3                 The                 property affects how the .Net Framework handles dates, currencies, sorting and formatting issues.
1.4                                 tests make sure that new code does not break existing code.
1.5                 The .NET Framework provides a runtime environment called                 .
1.6                 In ASP.NET in form page the object which contains the user name is                .
1.7                 The .NET framework which provides automatic memory management using a technique called                 .
1.8                 In .NET the operation of reading metadata and using its contents is known as               .
1.9                 The type of code found in Code-Behind class is               .
1.10              Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called
               .

PART TWO
(Answer any FOUR questions)

5. :
 a) Explain architecture of .NET framework?
b) Elaborate sequential lists, queue class, and stack class in .NET.
c) What do you understand by Thread Pool? How do we set thread priorities in .NET?


6.

a) Explain boxing and why it should be avoided?
b) Name and explain different types of collections. What are generic collections?
c) Explain the asynchronous programming model. What is the use of Timer class?

7.
a) Explain reflection in C#.
b) Write a program in C# to transfer a file on a network.
c) Explain the importance and use of each - Version, Culture and Public Key Token for an assembly.

8.
a) How to build cloneable, comparable objects? Explain with examples.
b) Explain how to create distributed applications in .NET?
c) Discuss the different finalization techniques in .NET.

9.
a) Explain delegation model with example.
b) What is DLL Hell, and how does .NET solve it?
c) Explain Type Forwarding?
d) Describe the Stream Writer class.


No comments:

Post a comment