Monday 17 May 2021

Solved : Application of .NET Technology January 2020

 Solved :  Application of .NET Technology January 2020

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 utility can be used to compile managed assemblies (like Dll’s and EXE) into native code ?
(A)    ngen (B)     gacutil
(C)    dumpbin (D)    ildasm


1.2 : Which of the following is/are the public properties of Link Label objects.

(i) Active Link Color

(ii) Link Size

(iii) Link Behavior

(iv) Links

(A) (i), (ii) and (iii) only

(B) (i), (iii) and (iv) only

(C) (i), (ii) and (iv) only

(D) All (i), (ii), (iii) and (iv)


1.3 : The method, which loads the form into memory and displays it on screen :
(A) Load (B) Display
(C) Show (D) All of these

1.4 : What property contains the actual error message returned by SQL Server ?
(i) SqlException.Source
(ii) SqlException.Message
(iii) SqlError.Class
(iv) SqlError.Message
(A) i, ii (B) i, ii, iii
(C) i, iii (D) ii, iv

1.5 : When would you typically use an Input parameter?

(i) When the parameter value is created based on user input

(ii) When the parameter is used to send data from the application to the database

(iii) When the command is set to execute a statement with a WHERE clause

(iv) When the parameter value is passed to an INSERT statement
(A) i, ii (B) i, ii, iii
(C) ii, iii (D) i, iv

1.6 : Which of the following is an enumeration for ADO.net with SQL Server ?
(A) SqlInfo
(B) SqlBulkCopyOptions
(C) SqlNotification
(D) All of the above

1.7 : Range Validator control in ASP.NET supports which type?
(A) Integer
(B) String
(C) Currency
(D) All of the above

1.8 : Which of the following is not an ASP.NET page event?
(A) Init (B) Load
(C) Import (D) Disposed

1.9 : Which of the following directive is used to link an assembly to a page or user control?
(A) @Page
(B) @Import
(C) @Assembly

1.10 : We can manage states in asp.net application using
(A) Session Objects
(B) Application Objects
(C) Viewstate
(D) All of the above


2.Each statement below is either TRUE or FALSE. Choose the most appropriate one and ENTER in the “OMR” answer sheet supplied with the question paper, following instructions therein.
(1x10=10)

2.1 Time variable is used to store date and time in visual basic.
2.2 The amount of text any one can place in text box is maximum 64 kb.
2.3 Flag property is used to adjust the function of each common dialog box.
2.4 There can be more than one machine.config file in a system.
2.5 An input box is used to display the information to the user and you cannot type anything on this dialog box.
2.6 A procedure declared with the friend keyword is accessible from within the program that contains its declaration and from anywhere else in the same assembly.
2.7 JIT is a compiler that converts intermediate language to a Native code.
2.8 The access modifier defines the accessibility of a procedure or function.
2.9 The other Single Document Interface forms are by default child of MDI form when MDI form is inserted.
2.10 Can in VBScript, function return multiple values.

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

The default event handler of TextBox is

(A)

Focussed Item

3.2

The Selection Mode property of a Checked List

can be set only to

(B)

Assign a value to an user

control

3.3

This view up if “Ctrl+F1” is pressed

(C)

Help

3.4

Scroll Bars can be added to

(D)

Properties Window

3.5

In ListView the item that is currently selected is

determined by

(E)

TextChanged

3.6

Get method is used to

(F)

One

3.7

In TreeView to get the node the mouse is

pointing to, use

(G)

GetNodeAt

3.8

To override Finalize function the scope of the

function must be

(H)

Class Library

3.9

It is a comprehensive, object-oriented collection

of reusable types that you can use to develop applications

(I)

KeyPress

3.10

A window that lists the solution name, the

project name and all the forms used in the

project.

(J)

Panel

 

 

(K)

Protected

 

 

(L)

Solution Window

 

 

(M)

Dynamic Help



4. Each statement below has a blank space to fit one of the word(s) or phrase(s) in the list below. Enter your choice in the “OMR” answer sheet supplied with the question paper, following instructions therein.

(A)

Ctype()

(B)

Timer

(C)

Control

(D)

Application

(E)

DataAdapter

(F)

Child

(G)

RecordSet

(H)

Properties

(I)

Programs

(J)

Connection

(K)

System

(L)

Namespaces

(M)

.dsr

 

 

 

 


4.1 __________ object is used to fill a DataSet/ DataTable with query results in ADO.net.
4.2 The window in which the individualdocuments are displayed is called ____________ window.
4.3 __________ namespace in vb.net includes essential classes and base classes that define commonly used data types, events and event handlers, interfaces, attributes, exceptions and so on.
4.4 The __________ enable us to pass data between a program and a class.
4.5 Type casting in VB.net is implemented by means of __________ statement.
4.6 __________ control executes the timer events at specified intervals of time.
4.7 Extension of ActiveX designers __________.
4.8 The __________ class provides static methods to start, stop, or filter Windows messages in an application.
4.9 The __________ group classes according to their common services.
4.10 In ADODB the __________ property is used to connect to the table.

Part Two
(Answer any FOUR questions)

5.
(a) What is the difference between Function and Stored procedure?
(b) What is a Garbage Collector? 
(c) Explain  the MVC architectural model. 
(4+5+6)
 
6.
(a) Write short note on ASP and ASP.net.
(b) What are the main components of .NET Framework ? 
(c) Describe the roles of CLR in .NET Framework.
(5+6+4)

7.
(a) What is Managed or Unmanaged Code ?
(b) What is the difference between string and StringBuilder in c# ?
(c) Differentiate between Throw Exception and Throw Clause with example. 
(5+6+4)

8.
(a) Explain the ASP.NET Page Directives ?
(b) Different Ways of Method can be overloaded with example in c#.
(c) Define namespace and explain with help of example in c#.
(6+5+4)

9.
(a) Explain the validation controls used in ASP.NET 2.0 ?
(b) Define exception handling and explain user defined exception handling in C#.
(c) What is custom control? Differences between user and custom controls.
(4+6+5)
 


No comments:

Post a Comment