Classic ASP pages have the file extension?
1. .aspx
2..net
3..asp
4. .cs
Which of the following are the stages of the Asp .Net web page. i) Start ii) Load iii) Upload iv) Validation
1. i, ii and iii only
2.ii, iii and iv only
3.i, ii and iv only
4.All i, ii, iii and iv
Which of the following are the templates that are supported by DataList control. i) ItemTemplate ii) EditTemplate iii) HeaderTemplate iv) SeperatorTemplate
1. i, ii and iii only
2.ii, iii and iv only
3. i, iii and iv only
4.All i, ii, iii and iv
Which of the following denote the web control associated with Table control function of ASP.NET?
1.DataList
2.ListBox
3.TableRow
4.All the above
Which of the following is true?
1.ASP.NET Web Forms is not a part of the new ASP.NET Core.
2.ASP.NET Web Forms is an event driven application model.
3.ASP.NET MVC is an MVC application model (Model-View-Controller).
4.All of the above
.Base class for LINQ to SQL is
1.DataContext
2.DataSet
3.Data.SqlClient
4.None of the mentioned
.NET application cannot be developed using
1.C#
2.VB
3. VJ#
4.Python
.Which web server control cannot be both either databound or unbound?
1.Dropdownlist
2. ListBox
3.GridView
4.All of the Mentioned
A WCF service can be accessed through
1.HTTP
2. TCPIP
3.MSMQ
4.All the above channels
An exception is a problem that arises?
1. before the execution of a program
2.during the execution of a program
3.after the execution of a program
4.none of the above
ASP (aka Classic ASP) was introduced in?
1.1997
2. 1998
3.1999
4.2000
ASP.NET is?
1.client side technologies
2. server side technologies
3.Both A and B
4.None of the above.
… are the common properties of validation controls of Asp .Net. i) Error message ii) Display iii) Type iv) Text
1. i, ii and iii only
2. i, iii and iv only
3.i, ii and iv only
4.All i, ii, iii and iv
… are the common properties of web server controls of Asp .Net. i) Runat ii) Textmode iii) Width iv) Visible
1.i, ii and iii only
2. i, iii and iv only
3.i, ii and iv only
4.All i, ii, iii and iv
ByDefault ASP.Net SessionID is stored in _________.
1.Application
2.Session
3.Cookies
4.ViewState
Choose the correct one 1) XML serialization serializes the public fields and properties of an object. 2) XML serialization serializes the private fields and properties of an object. 3) XML serialization serializes only the public methods.
1.Only 1
2.Only 2
3.Only 1 & 2
4. All of the mentioned
For a web application, I want to store user's login information and also some static information relevant to be shared to all users. I can
1.Store user info in Cache and static info in Session
2.Store user info in Session and static info in Cache
3.Store both in Session
4.Store both in Cache
How many application blocks ate there in enterprise library?
1. 5
2. 3
3.12
4. 8
I have an interface called Computation which has three methods add(),print() and execute().I am implementing Computation to an abstract class called Execution where I provide some definition for the abstract execute() alone. I provided definition to execute() only because I want everybody inheriting the class to have my execute() only and not their own definition for it. Now, I expose the Execution class to three parties who can now inherit the class and provide their definition to add() and print() and simply call the parent execute().After implementation by the three parties, their three classes are integrated back to the project and now the end user untime decides which class to be loaded for processing. This scenario is a typical example for
1.Factory pattern
2.Abstract factory pattern
3. Singleton pattern
4.Observer pattern
If a developer of ASP.NET defines style information in a common location. Then that location is called as
1.Master Page
2. Theme
3. Customization
4.none of the above
MVC stands for
1.model view control
2.modern view control
3.model vast control
4. model view coupling
State whether the following statements about the Asp .NET are True or False. i) Asp .Net is the server-side object-oriented programming language. ii) It is built on the CLR(Common Language Runtime). iii) Asp .Net does not support ADO .Net.
1.i-True, ii-False, iii-False
2.i-True, ii-True, iii-False
3.i-False, ii-True, iii-True
4. i-False, ii-False, iii-True
State whether the following statements about the cookie are True or False. i) The server can’t read the cookie and extract its value. It’s only accessible from the client side. ii) Cookies having an expiration date is called a persistent cookie. iii) Non-persistent types of cookies aren’t stored in the client’s hard drive permanently.
1.i-True, ii-False, iii-False
2. i-True, ii-True, iii-False
3.i-False, ii-True, iii-True
4. i-False, ii-False, iii-True
State whether the following statements about the Formview control are True or False. i) In the Formview control, each row of the table displays each field of the record. ii) In this view, a developer can modify the layout for displaying the record.
1.i-True, ii-False
2. i-True, ii-True
3.i-False, ii-True
4.i-False, ii-False
State whether the following statements about the Listview data-bound control are True or False. i) It enables a developer to edit, insert, delete and sort the page data. ii) It provides different types of templates and styles according to user requirements. iii) The Listview control has a specific layout by default.
1. i-True, ii-False, iii-False
2. i-True, ii-True, iii-False
3.i-False, ii-True, iii-True
4.i-False, ii-False, iii-True
State whether the following statements about the radio button list and check box list are True or False. i) A radio button list presents a list of mutually exclusive options. ii) A checkbox list presents a list of independent options.
1. i-True, ii-False
2.i-True, ii-True
3.i-False, ii-True
4. i-False, ii-False
State whether the following statements about the validation summary control of Asp .NET are True or False. i) ShowSumary property shows the error messages in the specified format. ii) ShowMessageBox property shows the error messages in the same window.
1.i-True, ii-False
2.i-True, ii-True
3.i-False, ii-True
4. i-False, ii-False
The … data-bound control is used to display a single record at a time.
1.Listview
2.Details view
3.Formview
4.Record view
The DataList control exists within the …. namespace.
1.System.UI.Web.Controls
2.System.Web.UI
3.System.UI.Webcontrols
4.System.Web.UI.Webcontrols
WAS stands for
1.Windows Action Server
2.Windows Activation Server
3.Web application services
4.Web activation server
WCF service can be hosted in
1.Console application
2. WAS
3.Both
4.None of the mentioned
Web methods are part of
1.Web services
2.Web site
3. Web application
4.WPF application
Which application block type is not present in enterprise library?
1.Caching
2.Exception
3.Performance
4.logging
Which of the following are the advantages of using Cookies. i) Simplicity. ii) Data persistence. iii) No security risks. iv) No server resources are required
1. i, ii and iii only
2.ii, iii and iv only
3. i, ii and iv only
4. All i, ii, iii and iv
Which of the following are the data-bound controls of Asp .Net pages. i) Gridview ii) DataList iii) Listview iv) Details view
1. i, ii and iii only
2.ii, iii and iv only
3.i, ii and iv only
4.All i, ii, iii and iv
Which of the following are the disadvantages of using the query string. i) Limited capacity ii) Server resources are required iii) Potential security risks
1. i and ii only
2. i and iii only
3.ii and iii only
4.All i, ii and iii
Which of the following are the features of Cookies. i) It can be changed depending on requirements. ii) It stores information temporarily. iii) It requires only a few bytes or KBs of space.
1. i and ii only
2. ii and iii only
3.i and iii only
4. All i, ii and iii
Which of the following are the features of the View state of web application in Asp .Net. i) It is used for holding data temporary. ii) It can store any type of data. iii) It has direct functionality access.
1.i and ii only
2. ii and iii only
3. i and iii only
4.All i, ii and iii
Which of the following are the life cycle events of Asp .Net pages. i) PreInt ii) Int iii) Load iv) Unload
1.i, ii and iii only
2.ii, iii and iv only
3.i, ii and iv only
4.All i, ii, iii and iv
Which of the following are the templates that are supported by Formview control. i) DataTemplate ii) PagerTemplate iii) ItemTemplate iv) HeaderTemplate
1.i, ii and iii only
2. ii, iii and iv only
3.i, iii and iv only
4. All i, ii, iii and iv
Which of the following cannot be used for navigating to a new web page?
1.Response.write
2.Response.Redirect
3.Server.Transfer
4. Server.Execute
Which of the following doesnot come with .NET 3.0
1.WCF
2.WPF
3.WF
4.TFS
Which of the following is associated with freeing of memory?
1.System.Data
2. System.DirectoryServices
3. System.gc.collect
4.System.Drawing.Color
With … control, a developer can display an entire collection of data sorting or paging option in the table.
1.Details view
2.DataList
3.Listview
4.Gridview