AWP MCQ TEst 1 2021-22
AWP MCQ TEst 1 2021-22
A) Data
B) Service
C) System
D) Drawing
2)
The .NET Framework is divided into two main components:
_______________ & __________
3)
How do we identify that the page is Postback?
A) IsPostBack property
B) Smart Navigation property
C) AutoPostBack property
D) By using session
4)
Which of the following is not an ASP.NET page event?
A) Init
B) Load
C) Import
D) None of the above
5)
Which of the following converts a type to a signed byte type in C#?
A) ToInt64
B) ToSbyte
C) ToSingle
D) ToInt32
6)
Default access for the members of the class is _______.
A) Private
B) Public
C) Protected
D) Default
7)
C# supports multiiple inheritance - True / False?
A) TRUE
B) FALSE
8)
We can use __________ to implement multiple inheritance in C#
A) interfaces
B) inheritances
C) object
D) constructor
9)
Which of the following converts a type to a double type in C#?
A) ToDecimal
B) ToDouble
C) ToInt16
D) ToInt32
10)
HTML control runs at……………………………..side.
A) client
B) server
C) user
D) browser
11)
12)
Which of the following is the property of Range Validator control?
A) MaximumValue
B) ValueToCompare
C) ControlToCompare
D) Operator
13)
Which of the following is the last event of ASP.NET page life cycle
A) Page.Init
B) Page.Unload
C) Page.Load
D) Page.PreRender
14)
ASP.NET tags always begin with the prefix________.
A) input type
B) <a>
C) asp:
D) <div>
15)
16)
17)
__________Manages the execution of .NET programs by coordinating
essential functions such as memory management, code execution, security
etc.
A) Common Language Specification
B) Common Type System
C) Common File System
D) Common Language Runtime
18)
DLL stands for __________
A) data definition library
B) Dynamic link library
C) Digital library link
D) Distributed link library
19)
20)
21)
A. ControlToValidate
B. ControlToBind
C. ValidateControl
D. Validate
22)
Which protocol is used for requesting a web page in ASP.NET from the Web
Server?
1. HTTP
2. TCP
3. SMTP
4. None of the above.
23)
When the garbage collector runs.
a. It runs automatically
b. EveryDay
c. Every alternate day
d. When IIS restart.
24)
What is/are true about master page?
. Master page contains
A) <%@ Master %> directive instead of
the normal <%@ Page %> directive.
B)ContentPlaceHolder control can be added only on master page
C) You can add as many ContentPlaceHolders to a Master Page as you need.
D) All of the above
25)
______________method is only called under unusual situations as
normally garbage collector runs automatically.
A) GC.Collect
B) GC.Collection
C) GC.Auto
D) GC.Garbage
26)
In Boxing and Unboxing , Boxing means converting value type data to reference type
data.
A) True
B) False
a) 2 3
b) 3 2
c) 3 4
d) 5 10
29. Which of the following keywords is used to refer base class constructor to
subclass constructor ?
A. this
B. static
C. base
D. extend
30
To implement delegates, the necessary condition is ?
a) class declaration
b) inheritance
c) runtime polymorphism
d) exceptions