Saturday, 6 August 2016

July, 2010 M4.1-R4: APPLICATION OF .NET TECHNOLOGY

July, 2010
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 In C#, a statement “a ? b : c” means
A) If a is true, returns the value of b, otherwise c
B) If b is true, returns the value of a, otherwise c
C) If a is true, returns the value of c, otherwise b
D) If c is true, returns the value of b, otherwise a

1.2 In C#, a statement “a ?? b” means
A) If a is null and b is null, returns a
B) If a is null, returns a, otherwise returns b
C) If a is null, returns b, otherwise returns a
D) None of the above

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

July, 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 are the 4 pillars of any object oriented programming language?
A) Abstraction, Inheritance, Encapsulation, Constructor
B) Abstraction, Inheritance, Encapsulation, Polymorphism
C) Abstraction, Object of a class, Inheritance, Polymorphism
D) Abstraction, Constructor, Encapsulation, Polymorphism

1.2. Is the following code legal?
class ChildClass : ParentClassA, ParentClassB
{
}
A) Yes, a child class can have 2 base classes at the same time and it does also allow multiple
interface inheritance.
B) No, you cannot specify 2 base classes at the same time. You can specify only one base class to
inherit from. However, it does allow multiple interface inheritance.
C) Yes, C# supports multiple class inheritance and it does not allow multiple interface inheritance.
D) No, you can specify only one base class at the same time to inherit from. However, it does not
allow multiple interface inheritance.

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

July, 2012 M4.1-R4: APPLICATION OF .NET TECHNOLOGY

July, 2012
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 A variable declared inside a method is called a ______________ variable.
A) In cache
B) In cookies
C) In a global variable
D) In URL strings or in a database

1.2 In C# and VB.NET can you store multiple date types in System Array?
A) Yes
B) No
C) Cannot Say
D) None of the above