Saturday, 6 August 2016

January, 2011 M4.1-R4: APPLICATION OF .NET TECHNOLOGY

January, 2011
M4.1-R4: APPLICATION OF .NET TECHNOLOGY

NOTE:
1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and
PART TWO contains FIVE questions.
2. PART ONE is to be answered in the TEAR-OFF ANSWER SHEET only, attached to the
question paper, as per the instructions contained therein. PART ONE is NOT to be
answered in the answer book.
3. Maximum time allotted for PART ONE is ONE HOUR. Answer book for PART TWO will be
supplied at the table when the answer sheet for PART ONE is returned. However,
candidates, who complete PART ONE earlier than one hour, can collect the answer book for
PART TWO immediately after handing over the answer sheet for PART ONE.

TOTAL TIME: 3 HOURS TOTAL MARKS: 100
(PART ONE – 40; PART TWO – 60)

PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “tear-off” answer sheet attached to the question paper, following instructions therein. (1x10)

1.1 What is MSIL?
A) Multisocket Interface Library
B) Microsoft Intermediate Language
C) Microsoft Interface Language
D) None of the above

1.2 You are creating a project which stores small amount of frequently changing information
about a page on the client. Which is the best method to use?
A) Cookie
B) Query String
C) Hidden Form Field
D) None of the above

1.3 In C#, the continue statement
A) Can be used for specifying the default label value
B) Passes control to the next iteration
C) Select some values from the list of values
D) None of the above

1.4 How are the parameters passed by default in VB.Net
A) By Object
B) ByVal
C) ByRef
D) None of the above

1.5 Which of the following is the valid method of the command object?
A) ExecuteNonQuery and ExecuteScalar
B) ExecuteQuery
C) ExecuteParameter
D) None of the above

1.6 Default authentication mode in ASP.net is
A) Window
B) Passport
C) Form
D) Cookie

1.7 The Statement that is used to replace multiple if statements
A) The switch and case statements
B) ? : Ternary Operator
C) The nested if statement
D) None of the above

1.8 What is the default access specifier for a top-level class in C#, which are not nested into
other classes?
A) Public
B) Private
C) Internal
D) Protected

1.9 Which is used into @Page attributes?
A) Async , Code File
B) Master Page File
C) Theme
D) None of the above

1.10 Which is used for code-inline model in ASP.Net?
A) <script runat = “server”>
B) <script javascript = “server”>
C) Both A) and B)
D) None of the above

2. Each statement below is either TRUE or FALSE. Choose the most appropriate one and ENTER in the “tear-off” sheet attached to the question paper, following instructions therein. (1x10)

2.1 C# is a scripting language.
2.2 It is possible to create custom events for an object.
2.3 You can declare the override method static while the original method is non static.
2.4 C#.net is case sensitive.
2.5 The try-catch statement consists of a try block followed by one or more catch clauses, which
specify handlers for different exceptions.
2.6 Response.Redirect method is used for navigation at client side.
2.7 In C# there can be multiple entry point in a program.
2.8 A static member belongs to the class rather than to the objects of the class.
2.9 There is no difference between HTML controls and Windows forms controls.
2.10 An encapsulated object is often called an abstract data type.
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 “tear-off” answer sheet
attached to the question paper, following instructions therein. (1x10)

                                               X                                             Y

3.1 && , ||                                                                A. Execution Engine of the .Net Framework
3.2 Object Oriented                                                 B. Component Object Model
programming Language
3.3 Debugging                                                        C. Can’t be Overloaded
3.4 CLR                                                                  D. HTML
3.5 COM                                                                 E. int [ ] [ ] a
3.6 Data Adapter                                                    F. Finding and fixing errors
3.7 Insert, Update , Delete                                     G. Global.asax
3.8 Global Data                                                      H. Execution engine of the .net Framework
3.9 HTTP Response Object                                    I. Contains the response that is sent to the client
3.10 Two Dimensional integer                               J. Acts like a bridge between the dataset and the
                                                                                 datasource  array in C#
                                                                               K. SQL statements
                                                                               L. Objects, classes
                                                                               M. serialization

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 “tear-off” answer sheet attached to the question paper, following instructions therein. (1x10)

A. Different Parameter                          B. Delegate                         C. Public, Private and
                                                                                                                Protected
D. Currency                                           E. ‘\n’                                  F. delete
G. System.Winforms.MouseEvent        H. ADO.net                         I. XML
J. Zero                                                    K. System.data                    L. Raise Event
M. 6

4.1 Database connectivity is provided by ________ providers.
4.2 Web.config file is of type ________.
4.3 ________ data type of VB – 6 has been removed in VB.net.
4.4 ________ namespace provides access to the database classes.
4.5 HTML supports ________ levels of heading.
4.6 ________ triggers an event in VB.net.
4.7 ________, ________ and ________ are the access modifiers in C#.
4.8 Use ________ in C# loops to change the normal execution path.
4.9 In VB.net a ________ is a class that can hold a reference to a method.
4.10 ________ object gives you the details about mouse events.

PART TWO
(Answer any FOUR questions)

5.
a) Define assemblies. How it is different from library.
b) Describe .net advantages over COM.
c) Define and briefly discuss the role of CLR.
(6+5+4)

6. Create following function using C#.
a) To print the largest number in an array of size 10.
b) To print the series 0,1,1,2,3,5,8,13,21,34
(8+7)

7.
a) Define Exceptions. What is the difference between an exception and a error?
b) List any three types of errors with example.
(8+7)

8.
a) Define Application and Server Objects.
b) Define Web Controls.
c) Define ADRotator and Calender Controls.
(8+4+3)

9.
a) How to associate event with user controls?
b) Explain ADO object model.
c) What is caching?
(5+6+4)

Next Set

No comments:

Post a Comment