Advanced Web Programming MCQs
1) The .Net framework is a revolutionary platform that helps you to write the following types of applications.
a) Windows applications
b) Web applications
c) Web services
d) All of These
And: D
2) Built-in reference types are:
a) object
b) dynamic
c) string
d) All of these
Ans: D
3) In C#, type casting has two forms.
a) Implicit
b) Explicit
c) both A & B
d) None of these
Ans: B
4) ______________ is defined 'as the process of enclosing one or more items within a physical or logical package'.
a) Encapsulation
b) Inheritance
c) abstraction
d) polymorphism
Ans: A
5) An access specifier defines the ______________ of a class member.
a) scope
b) visibility
c) scope and visibility
d) None of these
Ans: B
6) The __________keyword is used for creating a structure.
a) class
b) interface
c) struct
d) package
Ans: C
7) _____________provides an opportunity to reuse the code functionality and speeds up implementation time.
a) Encapsulation
b) Inheritance
c) abstraction
d) polymorphism
Ans: B
8) The word polymorphism means having many __________.
a) forms
b) Classes
c) information
d) catagories
Ans: A
9) An _______________is a set of named integer constants.
a) Inheritance
b) abstraction
c) polymorphism
d) enumeration
Ans: D
10) A ______________ is designed for providing a way to keep one set of names separate from another.
a) Encapsulation
b) Inheritance
c) namespace
d) polymorphism
Ans: C
11) ______________ define properties, methods, and events, which are the members of the interface.
a) Interfaces
b) Encapsulation
c) Inheritance
d) abstraction
Ans: A
12) The __________ keyword is used to include the System namespace in the program.
a) class
b) using
c) include
d) extend
Ans: B
13) A _____________ is a reference type variable that holds the reference to a method.
a) class
b) forms
c) string
d) delegate
Ans: D
14) ____________ are user actions such as key press, clicks, mouse movements, etc.
a) Event
b) object
c) dynamic
d) String
Ans: A
15) ____________classes are specialized classes for data storage and retrieval.
a) string
b) struct
c) Collection
d) None of these
Ans: C
16) Threads are __________ processes.
a) heavy
b) lightweight
c) both a & b
d) None of these
Ans: B
17) An___________ stores a fixed-size sequential collection of elements of the same type.
a) String
b) struct
c) Variable
d) array
Ans: D
Comments
Post a Comment