You are on page 1of 32

Unit 1

Chapter 1

Sr.
No Question A B C D Correct Answer
The .Net framework provides
multiple language support using the
feature known as Common Type Common Language
1 ____________________ System Runtime Garbage Collector Managed Code A
The __________ is the common
platform that integrates code and Common
components from multiple .Net Common Type Common Language Language
2 programming languages. System Runtime Garbage Collector Specification D
_________ defines a set of rules that
enable interoperability on the dotnet Common Language Common Language Common Type
3 platform. Specification Garbage Collector Runtime System A
During the runtime the Common
Language Runtime uses Just In Microsoft
Time compiler, converts the Source Intermediate Program Common code
___________________ code into Language
4 native code to the Operating System. B
Most of the functionality of the
.NET framework classes resides in
5 the namespace called ________. Data Service System Drawing C
______________method is only
6 called under unusual situations as GC.Collect GC.Collection GC.Auto GC.Garbage A
normally garbage collector runs
automatically.
________ is the execution
engine for .Net applications and
serve as the interface between
.Net applications and the Common Language Common Language Common Type
7 operating system. Specification Garbage Collector Runtime System C
_________provides files that contain
pre-written code known as classes that Common
are available to all .NET programming Common File .Net Framework Language
8 languages. Assembly system Class Library System C
__________Manages the execution of
.NET programs by coordinating Common
Common Language Common Type Common File
essential functions such as memory Language D
Specification System System
management, code execution, security Runtime
9 etc.
____________ is a component of CLR
that ensures that all .NET applications
use the same basic data types no Common
matter what programming languages Common Type Common File Common System Langauage
10 are used to develop the applications. System system Specification Specification A
Internet Integrated Internal
Development Development Devlopment Integrated Data
11 What is the full for of IDE? Environment Environment Environment Environment B
In Garbage Collection, The objects in
______ are long lived such as static
objects as they remain in the heap
12 memory for the whole process duration. Generation -0 Generation - 1 Generation - 2 Generation-3 C
Common Language Framework
The .NET Framework is divided into two Framework Class Common Type Specification & Class Library &
main components: _______________ & Library & Common System & Common Common Language Garbage
13 __________ Language Runtime Language Runtime Runtime Collection A
.NET Framework Class library
Structure's related classes are
14 organised into groups called ______ Files Namespaces Structure Sub-Classes B
In .NET Framework, ___________can
15 contain more than one project. Solution Explorer properties Window File Explorer Form Window A
Which method of an Array creates a
16 duplicate copy Copy() CopyTo() Clone() Sort() C
________________ inserts a string a a
17 specified index position. IndexOf() insert() LastIndexOf() put() B
_________________ is a static
18 property of DateTime Class AddDays() AddMonths() Now ToString() C
allows
references to
members of a
namespace
without using use to reference use to reference
the fully an external None of the an external
19 using or Imports statement qualified name library Both A and B above library
Which of the following does the
20 actual .Net code execute? CLS MSIL CTS CLR CLR
How do we identify that the page IsPostBack Smart Navigation AutoPostBack By using IsPostBack
21 is Postback? property property property session property
______________ is the DataType
22 return in IsPostback property boolean int string float boolean
Which file contains settings for all
.NET application types, such as
Windows, Console, ClassLibrary, All of the
23 and Web applications? Web.config Machine.config Global.asax above Machine.config
Which of the following is not an None of the
24 ASP.NET page event? Init Load Import above Import
Unit 1
Chapter2

Sr. Option Option Option Correct


No Question 1 2 Option 3 4 Answer
1 Which of the following converts a type to a signed byte type in C#? ToInt64 ToSbyte ToSingle ToInt32 2
2 Which of the following operator returns the size of a data type in C#? sizeof typeof &</a> * 1

Which of the following access specifier in C# allows a class to expose its


member variables and member functions to other functions and objects in the
3 current assembly? Public Private Protected Internal 4
Unit 1
Chapter 3

Sr.
No Question Option 1 Option 2 Option 3 Option 4 Correct Answer
Default access for the members
1 of the class is _______. Private Public Protected Default Private
A class ___________ is a
special member function of a
class that is executed whenever
we create new objects of that
2 class. Variable Constructor Method Function Constructor
A _________ constructor does
3 not have any parameter inherited parameterised default special default
The keyword _________implies
that only one instance of the
4 member exists for a class. private Public Protected static static
C# supports multiiple inheritance - True
5 / False? TRUE FALSE FALSE
We can use __________ to
implement multiple inheritance in
6 C# interfaces inheritances object constructor interfaces
When a class is declared
_________, it cannot be
7 inherited Private As base sealed as parentt sealed
A is designed for providing a
way to keep one set of names
8 separate from another. namespace namespace
The keyword states that the
program is using the names in
9 the given namespace. using using
You can define one namespace
inside another namespace. (True
10 / False) TRUE FALSE TRUE
Value type variables in C# are
derived from the class
11 System.ValueType? TRUE FALSE TRUE
Which of the following converts a
12 type to a double type in C#? ToDecimal ToDouble ToInt16 ToInt32 ToDouble
Which of the following operator
returns the address of an variable
13 in C#? sizeof Typeof & * &
The do not contain the actual
data stored in a variable, but
they contain a reference to the Reference Reference
14 variables. Value Types value types Types Value Reference types Reference Types
Int, char, float are the examples of
15 __________ data types Reference Value Static Virtual Value
Object is an example of
16 ______________ data type. Reference Value Location Address Reference
Inner namespaces can be
separated using _
17 _________ (underscore) . (Dot) - (hyphen) -> (Arrow) . (Dot)
__________ is mechanism to Constructor Method Method
18 create multiple methods with the Overloading Overriding overloading Constructor overriding Method overloading
same name and unique signature
in the same class
An ________ is a non-instantiable
class which is either partially
19 implemented, or not at all implemented. Static class Sealed class partial class Abstract class Abstract class
A / An _________ in ASP.NET is a
20 collection of single-file or multiple files. Namespace Library assembly dictionary assembly
data
definition dynamic link digital library
21 DLL stands for __________ library library link distributed link library dynamic link library
22 _________ describes the assembly. Library Manifest Metadata MSIL Manifest

UNIT 2
CHAPTER 1
Sr.
No Question Option 1 Option 2 Option 3 Option 4 Correct Answer

Which programming model should


you implement if you want to
separate your server-side code from
your client-side layout code in a Web Code-behind Client-server Code-behind
1 page? Single-file model model Inline model model model

……………………………….are ASP.NET
2 user controls. .aspx .ascx web.config .cs .ascx
HTML control runs
3 at……………………………..side. client server user browser client
ASP.Net controls run at
4 ………………………..side. user client web server server
Every web application starts with
a single location, called header
5 the……………….. root folder main folder folder middle folder root folder
……………………………….. is the
process of adding breakpoints to
6 an application Compiling Debugging Designing Coding Debugging
.................... directoryContains all the
compiled .NET components (DLLs)
that the ASP.NET web application
7 uses App_Themes App_Browsers Bin App_code Bin
An error will occur when the code
attempts to use the .........................
8 method. Static.Parse() Decimal.Parse() Double.Parse() Octal.Parse() Decimal.Parse()
ASP.NET includes a graphical Website Website Website graphical
configuration tool called Administration Configuration Administration Administration Website
9 the............................... Type Tool Tool Type Administration Tool

The<appSettings>element is nested in
10 the root.........................element. <configuration> <contains> <settings> <applications> <configuration>
Every ASP.NET application is
executed inside a separate application
11 ................................ user domain. domain. server domain. system domain. application domain.
UNIT 2
CHAPTER 2
Sr.
No Question Option 1 Option 2 Option 3 Option 4 Correct Answer
1 ASP.NET tags always begin with the prefix________. input type <a> asp: <div> asp:

__________ property displays a text message when


2 the user hovers the mouse above the control. ToolTip AccessKey Controls Font ToolTip
_________ are used heavily in the .NET class library
3 to group a set of related constants. Units Enumerations Fonts Colors Enumerations
___________ control is a server-side equivalent of
the <ul> (unordered list) and <ol> (ordered list)
4 elements. ListBox DropDownList BulletedList CheckBoxList BulletedList
_____________ property indicates whether a list box
5 allows single selection or multiple selections. SelectedIndex SelectedValue SelectionMode Items SelectionMode
Which of the following Web control provide
6 CheckedChanged event? Button RadioButton TextBox ListBox RadioButton

Sr.
No Question Option 1 Option 2 Option 3 Option 4 Correct Answer

ASP.NET tags always begin with


1 the prefix________. input type <a> asp: <div> asp:

__________ property displays a


text message when the user
hovers the mouse above the
2 control. ToolTip AccessKey Controls Font ToolTip
_________ are used heavily in the
.NET class library to group a set of
3 related constants. Units Enumerations Fonts Colors Enumerations

___________ control is a server-


side equivalent of the <ul>
(unordered list) and <ol> (ordered
4 list) elements. ListBox DropDownList BulletedList CheckBoxList BulletedList

_____________ property
indicates whether a list box allows
single selection or multiple
5 selections. SelectedIndex SelectedValue SelectionMode Items SelectionMode

Which of the following Web control


6 provide CheckedChanged event? Button RadioButton TextBox ListBox RadioButton

Which of the following is not a


7 property of BulletedList Control? BulletStyle DisplayMode SelectionMode BulletImageUrl SelectionMode

Which of the following validator


control ensures that the value of
an input control matches a RegularExpression RegularExpression
8 specified pattern? CompareValidator CustomValidator RangeValidator Validator Validator

Which of the following is the


property of Range Validator
9 control? MaximumValue ValueToCampare ControlToCompare Operator MaximumValue

Which of the following is the last


10 event of ASP.NET page life cycle Page.Init Page.Unload Page.Load Page.PreRender Page.Unload

Which of the following Regular


Expression Character is used to
11 match any word character? \w \W \d \D \w
Which of the following is not a
member/property for Calendar
12 Style? DayStyle TodayStyle TitleStyle WeekendDayStyle TodayStyle

Which of the following determines


which day is displayed in the first
13 column of the calendar? DayNameFormat SelectedDates FirstDayOfWeek TodaysDate FirstDayOfWeek

In AdRotator By using which


Frame target, the link opens in
14 Current frame? _blank _self _top _parent _self

Which of the file extension is used


15 by User Control? .aspx ..cs .ascx .asax .ascx

Which of the following TreeView


Property Lets you specify how
many levels of nodes will be
16 visible at first.? MaxDataBindDepth ExpandDepth ShowExpandCollapse NodeWrap ExpandDepth

Which of the following TreeView


Style Property applies to any node
that contains other nodes, except
17 root nodes? ParentNodeStyle LeafNodeStyle RootNodeStyle HoverNodeStyle ParentNodeStyle

Which of the following is not a


18 nevigation control ? TreeView Menu DetailsView SiteMapPath DetailsView

Which of the following


Advertisement File Elements is
the number that sets how often an
19 advertisement will appear? NavigateUrl Impressions Keyword AlternateText Impressions

Which of the following control look


pretty much the same as
20 ASP.NET web forms.? AdRotator Control MultiView Control Chart Control User Control User Control
UNIT 3
CHAPTER 1

Sr. Correct
No Question Option 1 Option 2 Option 3 Option 4 Answer
System.Di
videByZer
Which of the following is NOT a valid oExceptio System.StackMemoryExce
1 DOT NET Exception class System.Exception n System.OutOfMemoryException ption 4
Which of the following gives the
number of catch blocks that can be The try block can have any
2 defined for a single try block: one two Three number of catch blocks. 4
CLR will
terminate the
program
execution at
the point
Which of the following statements The Compiler will not where it The Code executes successfully,
applies to the situation where Exception allow the program to encounters CLR will not show any output. However, and an error message gets
3 is not handled in the program: run the code. an exception. the code will execute successfully. printed. 2
Which of these keywords must be
4 used to monitor exceptions? try catch Finally else 1
It occurs
during
Just-In-
Time
Select the correct statement It occurs during compilatio
5 about an Exception? loading of program n c) It occurs at run time d) All of the mentioned 3
Which of these keywords is not a
6 part of exception handling? try catch Thrown finally 3
In C#.NET if we do not catch the
exception thrown at runtime then
which of the following will catch
7 it? compiler CLR Linker loader 2
Which of the following is the
Object Oriented way of handling
8 run-time errors? onError Exception Errorcode Heresult 2
9 In C#.NET, an exception is? Compile time error logical error runtime error syntax error 3
The catch
block is
used to The catch block is used to
There are following statements catch on catch all types of exceptions
number that occurred in a try block,
are given below, which is correct catch not supported in related The catch block executes at least depends upon its exception
10 about catch block in C#.NET? .net exceptions once during program execution class 4
The throw
keyword is
used to
throw an
exception
There are following statements are The throw keyword is object The throw keyword is used in
given below, which is correct about not supported in programmat The throw keyword is used to throw older versions of the .NET
11 throw in C#.NET C#.NET ically an exception object programmatically framework 2
superclass of all types Exceptioncl
12 of exceptions classes. DivideByzero ass Exception IndexError 4
what are not state
13 management techniques session application View sessionless 4
Information store in application
14 state is available on same page every page everypage of website on alternate page 3
which all are Server side state
15 management technique view session cookies QueryString 2
Exception
Exception inside outside
16 what is inner Exception Exception Exception method of exception property of Exception 4

UNIT 3
CHAPTER 2

Sr. Correct
No Question a B c d Answer
___________ uses a hidden field that ASP.NET
automatically inserts in the final, rendered HTML of a web Application
1 page. Caption View state Button state State b
The ________ is a dictionary collection, which means
every item is stored in a separate “slot” using a unique
2 string name. StateBag Variable Datatype View a
ASP.NET uses a _______ to make sure your view-state
3 information can’t be altered without your knowledge. view code app code password hash code d
A ________ postback is a technique that extends the
4 postback mechanism. pageing Cookies URL encoding cross-page d
The _______ is the portion of the URL after the question
5 mark. string URL encoding query string app string c
If your view state contains some information you want to
6 keep secret, you can _____ viewstate encryption. enable mute view disable a
________ are small files that are created in the web
7 browser’s memory or on the client’s hard drive. Cookies session variable string a
__________ allows you to store any type of data in
8 memory on the server. Pageing Cookies Session-state StateBag c
___________ Provides a string with the unique session
9 identifier for the current client. Application Cookies Sessionit SessionID d
___________ removes all the session items but doesn’t
10 change the current session identifier. undo() Commit() Cancel() Clear() d
You configure session state through the __________ file
11 for your current application web.config global aspx aspx.cs a
The ______ setting specifies the number of minutes that
ASP.NET will wait, without receiving a request, before it
12 abandons the session. id Del timeout wait c
The _________ control navigates to the page specified in
13 its NavigateUrl property. HyperLink button label textbox a
__________ allows you to store global objects that can be
14 accessed by any client. Object Access Stateless Application state d
________ provides the number of items in the current
15 session collection Item ID Count Number c
Union Uniform Universal Uniform
Resource Resource Resource Resource
16 URL stands for _____. Loader Locator Locator Loader b
___________ is work transparently, without the user being
17 aware that information needs to be stored. Session Data View Cookies d

You can add as many


ContentPlaceHolder control
What is/are true . Master page contains a <%@ Master ContentPlaceHolders
can be added only on master
about master %> directive instead of the normal <%@ to a Master Page as
page
1 page? Page %> directive. you need.
Extenstion of master
.Master
2 page is .master .ascx
At which level
Site level (through the
Theme can be Individual control
Web.config file)
3 applied? Page level level
Srno Question option 1 option 2 option 3 option 4 answer
Which file is used
to write the code to
respond to the Any ASP.NET web
Application_Start page with an .aspx
1 event? extension Web.config Global.asax .ascx file. Option 3
When a User’s
Session times out
which event should Application_End
2 you respond to? Application_Start Session_End Session_Start Option 2
What are the client-
side state
management
options that
ASP.NET
3 supports? Application Session Querystring ViewState Option 3
What are the types Persistent Option A and B are
4 of cookies? Session cookies cookies Dummy cookies correct Option 4
To kill a users
session explicitly
which of the
following will you
5 use? Session.Abandon() Session.End() Session.Discard() Session.Close() Option 1

UNIT 4
CHAPTER 1

Sr. Correct
No Question Option 1 Option 2 Option 3 Option 4 Answer
------IS technology used
to design asp.net
1 program for data access ADO ADO.NET ORACLE SQL ADO.NET
TO design WEB
APPLICATION WE
2 NEED SQL DBMS RDBMS ORACLE RDBMS
-----EXPLORER IS
USED TO CREATE
3 DATABASE SERVER FILE TOOLBAR DATABASE SERVER
TO Creat new
dataconnection which microsoft sql
4 data source we require server client microsoft sql client server(sqlClient) sql server C
sql is standard data
access language used
to interact with--------
5 database access sql relational oracle relational
following is not
standard symbol used
6 in query * % : :
following is not SQL
7 aggregate fucntion avg sum mul count mul
which namespace is
8 not used for ado.net system.data system.data.sqlcommand syste.data.sqlClient system.sql syste.sql
to read data from
dataset ----- class is
9 used. data reader data adpter adapter fill datareader
open() and close() are
methods of---------
10 class. sqlcommand sqlconnection sqldata sqlreader sqlconnection
The ..................... is a
series of sistinct pieces
of information
seperated by connection
11 semicolons. string query connection connectionstring string
executeReader() is
method of
12 ......................class reader connection sqlcommand adapter sqlcommand
In disconnected data
access model
................ is used to
keep copy of data in
13 memory table databse dataset adpater dataset
fill() is method of-
14 ..................... datatable dataset data adapter datareader
15

UNIT 4
CHAPTER 2

Sr. Correct
No Question A B C D Answer
Asynchronous JavaScript Asymmetric Asynchronous Java Asynchronous JDBC
1 What is full form of AJAX and XML JavaScript and XML and XML and XML A
The whole page
Defining some part of class Some part of page The whole page defined at different
2 Partial Refresh refers to somewhere else posted back to server posted back to server places B
3 The event in AJAX triggers VBScript C# Code Javascipt Refresh C
4 Triggers collection contains AsyncPostBackTrigger Event Driven Autoclick event UpdatePanel A
ContentTemplate is a property
5 of Textbox UpdatePanel Ajax Panel Div B
RenderMode property has
6 values Block and Inline Panel and Refresh Block and Refresh Block and Panel A
Time in milliseconds that the
control has to wait before it
7 displays its content is given by Visible DisplayAfter EnableViewState DynamicaLayout B
___ property determines the
control automatically saves its
state for the use in
8 round trips. Block and Inline DisplayAfter EnableViewState DynamicaLayout C
____determine whether the
progress template is
9 dynamically rendered DynamicVisible Dynamic display Dynamicstate DynamicaLayout D
Progressbar has a asp control
10 name as UpdateProgress DisplayProgress ProgressBar ShowProgress A

UNIT 4
CHAPTER 3

Sr
.
N
o Question Option 1 Option 2 Option 3 Option 4 Correct Answer
In ASP .NET Single and repeated Single and Multi value Single and multiple Single and repeated value
1 binding types are value binding binding value binding None of these binding
Single-value data
binding allows you
2 to take a variable, Satically Dynamically Both None of these Dynamically
a property, or an
expression and
insert it
Control supports
repeated-value data
binding if
it provides a
3 property Data Source Data Set Both None of these Data Source
The data a source
controls include any
control that
implements the
4 interface IFile IDisposable IDataSource None of these IDataSource
To show multiple
items in
dropdownlist which
property you have
to set to the point to
the
5 SqlDataSource ID DataSourceID SqlDataSource XMLDatasource DataSourceID
The data binding is
6 perform Before Page init After Page render After page Load Before Page rendered Before Page rendered
To give the user a
way to enter the
new values in Detail
view which
property have to set AutoGenerateDeleteB AutoGenerateEditB
7 true? utton AutoGenerateInsertButton utton None of these AutoGenerateEditButton
Which of the
following is
approch of dynamic
8 Text? <%expression%> <%#expression%> <%#expression#%> <%expression%> <%#expression%>
Data Access in
9 ADO.Net relies on DataSet,DataProvider DataSource,DataSet DataSource only DataProvider only DataSet,DataProvider
Eval function is
10 used for? Two way Binding One way binding Both none of these One way binding
Bind function is
11 used for ? Two way Binding One way binding both none of these Two way Binding
If you are using
DataSet and you
have to display the
data in soted order Use DataView
then what will you Use Sort() method of Use Sort() method of object with each Use DataPaging and sort Use DataView object with
12 do? DataTable DataSet sort. data each sort.
Call the
ExecuteReadermethod
How do you of two Command Call the Set the Set the
execute multiple objects and assign the ExecuteReadermeth Command.CommandTextpr Command.CommandTextpr
SQL statements results tothe same Set the od of a single operty to multiple SQL operty to multiple SQL
using a instance of a Command.CommandTypepr Command object statements delimited by a statements delimited by a
13 DataReader? DataReader operty to multiple result sets twice semicolon. semicolon.
What property
contains the actual
error message SqlError.Class and
returned by SQL SqlException.Source SqlException.Message and SqlException.Sourc SqlException.Source and
14 Server? and SqlError.Message SqlError.Class e none of these SqlError.Message
Which of the
following give
data in tabuler
formate and
allows paging
,sorting,editing
1 and deleting for
5 each record DataList Gridview Repeater FormView GridView
You can add new
1 row in DataTable
6 by AddRow() NewRow() Both none of these NewRow()
Which property
can be used to
configured the
numbers and
1 dates using a
7 format string FormatSting DataFormatingString DataFormate DataFormatSring DataFormatingString
_________________ob
ject can hold
more than one
rowset from the
same data source
and the
1 relationships OleDB
8 between them. DataReader Object DataSet Object connection object Data Adapter DataSet Object
Where do we
store connection
1 string in
9 ASP.NET? Web.config App.config Global,asax all Web.config

UNIT 5
CHAPTER 1

Sr. No Question A B C D Correct Answer


1
2
3
4
5
6
7
8
9
10

UNIT 5
CHAPTER 2
Sr Correc
. t
N Answe
o Question A B C D r

__________ is
the default
authentication
type provided for Windows
1 Asp.Net. Form Authentication Authentication Passport Authentication Profile Authentication B

Which event is
not there for
2 Login control LoggingIn LoggedIn LoginError LoginStatus D

Which tool is
used to manage
all the security
settings for
application in
3 ASP.Net Website Administration Tool Website User Tool Authentication Tool Page Administration Tool A

How to
implement Include the
authentication via Include the authentication authorization Include the identity Include the deny
4 web.config? element element. element. element. B

Where do you set


authentication
mode in ASP.Net
5 application Using global.asax file Using cookies Using webconfig file Using web services C
Which of the
following is TRUE
about Windows Role membership ASP.NET does not
Authentication in Automatically determines determined only by support Windows ASP.Net does not support
6 ASP.NET? role membership user programming Authentication Authorization A

______________
element in the
web.config file to
run code using
the permissions < authentication>
7 of a specific user < credential> element element < authorization> element < identity> element D

Which of the
following is the
default
authentication
8 mode for IIS? Windows Anonymous Basic Authentication Profile B

Where do we
include the user
lists for Form
9 authentication? < Identity> < authentication> < credential> < authorization> C

In ASP.NET the <


authorization >
section contain
which of the
1 following
0 elements? < deny > < allow > Both A. and B < Identity> C

Which of the
1
1 following Form User Profile Windows D
authentication is
best suited for a
corporate
network?

Which security
control is used to
1 check the status
2 of login Login LoginName LoginView LoginStatus D

Which
Namespace
Allows Us To
1 Formauthenticati System.Web.Ui.Forms.Secu System.Web.Securi System.Web.Configurati System.Web.Authenticati
3 on ? rity ty on on B

1 What are the


4 types of cookies? Session cookies Persistent cookies Dummy cookies Both A and B D

Where do we
include the user
1 lists for windows
5 authentication? < Credential> < authorization> < identity> < authentiation> B

If any user has


disabled cookies
in their browsers,
what can you do
to enable them to Set Use the AutoDetect
1 use forms BoweserCookieEnabled=tru setting of the cookieless
6 authentication? e Set cookieless=true attribute Set Authentication=true C

Which view is
1 provide by
7 LoginView control Anonymous template View template User template Admin template A
Sr Corre
. ct
N Answ
o Question A B C D er
__________ is the
default authentication
type provided for Windows
1 Asp.Net. Form Authentication Authentication Passport Authentication Profile Authentication B
Which event is not
there for Login
2 control LoggingIn LoggedIn LoginError LoginStatus D
Which tool is used
to manage all the
security settings for
application in Website Administration Website User Page
3 ASP.Net Tool Tool Authentication Tool Administration Tool A
How to implement Include the
authentication via Include the authentication authorization Include the identity Include the deny
4 web.config? element element. element. element. B
Where do you set
authentication mode in
5 ASP.Net application Using global.asax file Using cookies Using webconfig file Using web services C
Which of the following
is TRUE about
Windows Role membership
Authentication in Automatically determines role determined only by ASP.NET does not support ASP.Net does not
6 ASP.NET? membership user programming Windows Authentication support Authorization A
______________ < authentication> < authorization>
7 element in the < credential> element element element < identity> element D
web.config file to
run code using the
permissions of a
specific user
Which of the
following is the
default
authentication
8 mode for IIS? Windows Anonymous Basic Authentication Profile B
Where do we
include the user
lists for Form
9 authentication? < Identity> < authentication> < credential> < authorization> C
In ASP.NET the <
authorization >
section contain
1 which of the
0 following elements? < deny > < allow > Both A. and B < Identity> C
Which of the
following
authentication is
1 best suited for a
1 corporate network? Form User Profile Windows D
Which security
control is used to
1 check the status of
2 login Login LoginName LoginView LoginStatus D
Which
Namespace
Allows Us To
1 Formauthenticat System.Web.Ui.Forms.Sec System.Web.Secu System.Web.Configura System.Web.Authentic
3 ion ? urity rity tion ation B
UNIT 5
CHAPTER 3
Sr.
No Question A B C D Correct Answer
What is full form of Asynchronous Asymmetric Asynchronous Java and Asynchronous
1 AJAX JavaScript and XML JavaScript and XML XML JDBC and XML A
The whole page
Partial Refresh refers Defining some part of Some part of page The whole page posted defined at different
2 to class somewhere else posted back to server back to server places B
The event in AJAX
3 triggers VBScript C# Code Javascipt Refresh C
Triggers collection
4 contains AsyncPostBackTrigger Event Driven Autoclick event UpdatePanel A
ContentTemplate is
5 a property of Textbox UpdatePanel Ajax Panel Div B
RenderMode
6 property has values Block and Inline Panel and Refresh Block and Refresh Block and Panel A
Time in milliseconds
that the control has
to wait before it
displays its content is
7 given by Visible DisplayAfter EnableViewState DynamicaLayout B
___ property
determines the
control automatically
saves its state for the
use in
8 round trips. Block and Inline DisplayAfter EnableViewState DynamicaLayout C
____determine
9 whether the progress DynamicVisible Dynamic display Dynamicstate DynamicaLayout D
template is
dynamically
rendered
Progressbar has asp
10 control name as UpdateProgress DisplayProgress ProgressBar ShowProgress A

Which of the
following is true ? 1.
AJAX is a platform-
independent
technology
2. AJAX can work
with web application
3. AJAX can only
work with ASP.NET
4. AJAX is a
platform-dependent
technology
11 1,2 1,2,3 1,3,4 none of the above 1,2
Which of the Declarative
following are instantiation of client Client-side template
12 features of AJAX Live data binding components rendering All of the above All of the above

Which of the It works as a stand- It uses C++ as its


following makes It works the same with alone Web- It makes data requests programming It makes data requests
13 AJAX unique all Web browsers. development tool. asynchronously. language. asynchronously.

________________
Combination of
technologies gives Asynchronous None of the Asynchronous
14 AJAX its names. ASP and XAML Atlas and XML JavaScript and XML mentioned JavaScript and XML

what are the


thechnologies used Cascading Style Extensible HTML
15 by AJAX XMLHttpRequest Sheets (CSS) (XHTML) All of the above All of the above
Which control can be
used to update only
the portion of the
16 page? UpdatePanel ScriptManager AsyncPostBackTrigger None of the above UpdatePanel

What is the name of


the DLL that contains
17 Ajax control tool kit? Ajaxtoolkit.dll Ajaxcontrol.dll Ajaxcontroltoolkit.dll control.dll Ajaxcontroltoolkit.dll

Which property is
used to control the
duration of Ajax
18 request. AsyncPostBackTimeout AsyncTimeout Timeout PostBackTimeout AsyncPostBackTimeout

What is the name of


object used for AJAX
19 request? HttpRequest xmlRequest XMLHTTPRequest Request XMLHTTPRequest

All of the following


are controls of Ajax
10 except ScriptManager ScriptManagerProxy UpdateData UpdatePanel UpdateData

How many
'ScriptManager'
control can be added
on a ASP.NET web
20 page? only one more than one only two none of the above 0nly one

What are the


disadvantages of Dependent on
21 AJAX? JavaScript Security issues Debugging is difficult All of the above All of the above
What sever support
22 AJAX ? WWW HTTP SMTP all of the above HTTP

It provides a means It provides the ability to It provides the


What does the It's the programming of exchanging asynchronously ability to mark up It provides a means of
XMLHttpRequest language used to structured data exchange data between and style the exchanging structured
object accomplish in develop Ajax between the Web Web browsers and a display of Web- data between the Web
23 Ajax? applications. server and client. Web server. page text. server and client.

You might also like