How many navigation controls are in ASP.NET?
1.2
2.3
3.4
4.5
In which form does Postback occur?
1.Win Forms
2.HTML Forms
3.Web Forms
4.All of the mentioned
In ____, a virtual method is called which is decided at runtime.
1.Late binding
2. Early binding
3. Lazy binding
4.Global binding
The CSS stands for ____.
1.Client Style Sheet
2.Cascading Style Sheet
3.Common Style Sheet
4.Cascading Simple Sheet
The LinkButton control makes a postback call to the server before redirecting the user to the target page.
1.True
2.False
3.Error
4.Can not say
What is the correct syntax to create ASP.NET CheckBox control?
1.<asp:CB ID="CB1" runat="server" Text="BCA"/>
2.<asp:Check-Box ID="CB1" runat="server" Text="BCA"/>
3.<asp_net:CheckBox ID="CB1" runat="server" Text="BCA"/>
4.<asp:CheckBox ID="CB1" runat="server" Text="BCA"/>
What is the extension of the ASP.NET page?
1..asp
2..aspx
3..asx
4..apx
What namespace is used for ASP.NET Web Form by default?
1.System.Web.Form
2.System.Web.UI.Page
3.System.Web.GUI.Page
4.System.Web.UI.Form
Which of the following event is triggered, when we make the selection in Calendar control?
1.Selection Change
2.Selection Changed
3.OnSelection Changed
4.None of the above
Which of the following property is used to set custom text for the next month button in Calendar control?
1.Month Text
2.Next Month Text
3.Next Text Month
4.NM Text
Which of the following property is used to set the font for ASP.NET CheckBox control?
1.SetFont
2.Font
3.FontSize
4.None of these
ASP.NET is a ____.
1.Client-Side technology
2.Server-side technology
3.Both
4.None
Can an ASP.Net web application run without web.config file?
1.Yes
2.no
3.Error
4.Can't say
Can we create a hyperlink using an HTML tag?
1.True
2.False
3.Error
4.None of These
How many types of caching are there in ASP.Net?
1.2
2.3
3.4
4.6
In ____ page processing transfers from one page to the other page without making a round-trip back to the client's browser.
1.Response.Redirect
2.Server.Redirect
3.Client.Transfer
4.Server.Transfer
In ____, a non-virtual method is called which is decided at a compile time.
1.Late binding
2.Early binding
3.Lazy binding
4.Global binding
MVC stands for ____.
1.Model Vocal Controller
2.Model View Count
3.Model View Controller
4.Mode View Controller
The ASP.NET developed by?
1.Google
2.Oracle
3.Sun Microsystems
4.Microsoft
The Global.asax file is derived from the ____ class.
1.System.UI
2.SoapApplication
3.Application
4.HttpApplication
The SessionIDs are stored in ____ by ASP.Net?
1.Cache
2.Server
3.Database
4.Cookies
The ____ class is used to summarize the error messages from all validators on a Web page in a single location.
1.ValidationSummary
2.Validation
3.ErrorSummary
4.Debug
What is the correct syntax to create ASP.NET Calendar control?
1.< asp:Calendar ID="Calendar1" runat="server" SelectedDate="2022-09-04"></asp:Calendar>
2.< asp:Cal ID="Calendar1" runat="server" SelectedDate="2022-09-04" ></asp:Cal>
3.< asp_net:Calendar ID="Calendar1" runat="server" SelectedDate="2022-09-04" ></asp_net:Calendar>
4.< asp:Calendar CAL_ID="Calendar1" runat="server" SelectedDate="2022-09-04" ></asp:Calendar>
What is the correct syntax to create ASP.NET FileUpload control?
1.<asp:FileUpload ID="FU1" runat="server"/>
2.<asp:FU ID="FU1" runat="server"/>
3.<asp:Upload ID="FU1" runat="server"/>
4.<asp_net:Upload ID="FU1" runat="server"/>
What is the correct syntax to create ASP.NET LinkButton control?
1.<asp:LinkButton ID="ih" runat="server"/> My LinkButton </asp:LinkButton>
2.<asp:Link ID="ih" runat="server"/> My LinkButton </asp:Link>
3.<asp:LButton ID="ih" runat="server"/> My LinkButton </asp:LButton>
4.<asp:Link_Button ID="ih" runat="server"/> My LinkButton </asp:Link_Button>
What is the correct use of the web.config file?
1.To store global information and variable definitions
2.To configure the domain server
3.To configure to domain client
4.Store information about web browser
What is the default timeout for a cookie in ASP.Net?
1.10 Minutes
2.20 Minutes
3.30 Minutes
4.5 Minutes
What is the difference between Debug and Trace class in ASP.Net?
1.The Debug class is used to debug both builds and releases while the Trace class is used to debug the builds only
2.Debug class is used in ASP core while Trace is used in ASP MCC
3.The Debug class is used to debug the builds while the Trace class is used to debug both builds and releases
4.All of the above
What is the difference between session object and application object in ASP.Net?
1.The session object is used to maintain the session of each user while an application object is created while a user enters in the application
2.Session objects are created on the server while application objects are created on the client side.
3.Session objects are used to handle database communication while application objects are used to handle communication between two different domains.
4.All of the above
What is the file extension of Webservices in ASP.Net?
1..aspx
2..asp
3..asm
4..asmx
What is the full form ASP?
1.Access Server Pages
2. Active Service Pages
3.Active Server Pages
4.Access Service Pages
What is the full form of SOAP in ASP.Net?
1.Simple Object Access Protocol
2.Simple Object Advanced Protocol
3.Simple Object Access Property
4.Simple Object Advanced Property
What is the parent class of all web server control in ASP.Net?
1.System.Web.UI.Control
2.System.Web.Control
3.System.Web.UI.WebServer
4.All of the above
What is the return type of IsPostBack property?
1.Integer
2.Boolean
3.Float
4.All
Which development model(s) is/are supported by ASP.Net?
1.Asp.Net Web Forms
2.Asp.Net MVC
3.Asp.Net Web Pages
4.All of the above
Which file contains the Application_Start event?
1. Global.asax
2.Web.config
3.Local.asax
4.None
Which is not a page event in ASP.Net?
1.PreLoad
2.Load
3.LoadComplete
4.UpLoad
Which is the correct basic syntax of Application directive?
1.<%@ Application Language="C#" %>
2.<%@ Application_DIR Language="C#" %>
3.<%@ DIR @Application Language="C#" %>
4.<!-- Application Language="C#" -->
Which is the correct basic syntax of the Assembly directive?
1.<%@ Assembly @ Name ="myassembly" %>
2.<%@@ Assembly Name ="myassembly" %>
3.<%@ Assembly Name ="C# myassembly" %>
4.<%@ Assembly Name ="myassembly" %>
Which is the correct basic syntax of the Control directive?
1.<%@ Control %>
2.<%@ Control Language="C#" EnableViewState="false" %>
3.<%@ Control Language="C#" %>
4.None of These
Which is the correct syntax to add an event handler in ASP.Net?
1.Attributes("Event","Javascript_Code();")
2.Attributes.Add("Event","Javascript_Code();")
3.Attributes.Handle("Event","Javascript_Code();")
4.None of these
Which is the first event triggered when a user requests an ASP.NET page?
1.Load
2.Init
3.PreInit
4.PreLoad
Which is/are the component(s) of ADO.NET?
1.Dataset
2.Data Reader
3.Data Adaptor
4.All of the above
Which method is used in ASP.Net to preserve page and control values between round trips?
1.Restore
2.Modeling
3.View State
4.Model Preserve
Which method is used to sign out from forms authentication?
1.FormsAuthentication.LogOut()
2.Forms.UI.SignOut()
3.FormsAuthentication.LogOut()
4.FormsAuthentication.SignOut()
Which of the following attribute must be set on a validator control for the validation?
1.ControlToValidate
2.ValidateControl
3.ValidateToBind
4.ValidateBind
Which of the following event handlers are available for LinkButton control? On Click On Client Click On Command All the above
1.1 and 2
2.1 and 3
3.2 and 3
4.4
Which of the following event is triggered on selection change for ASP.NET CheckBox control?
1.On Selection Changed
2.Check Changed
3.On Check Change
4.None of the above
Which of the following folder is used to store DLL files in the ASP.NET application?
1.App_Code
2.App_Data
3.Bin
4.App_Local
Which of the following HTML tag is used to create file upload control in HTML?
1.File
2.Input
3.Upload
4. FP
Which of the following is not an ASP.NET component?
1.LinkCounter
2.Counter
3.AdRotator
4.File Access
Which of the following is not an ASP.NET event?
1.Init
2.Import
3.Load
4.All
Which of the following method is used to register client script using code dynamically?
1.Page.ClientScript.RegisterClientScriptBlock
2.RegisterScript
3.Page.ClientScript
4.None
Which of the following method is used to save the selected file using FIleUpload control?
1.PostedFile.Upload()
2.PostedFile.SaveAs()
3.PostedFile.SaveFile()
4.None of these
Which of the following programming language can be used with ASP.NET?
1.C#.NET
2.VB.NET
3.Both
4.None
Which of the following property is not available for Calendar control in ASP.NET?
1.Font
2.Fore Color
3.Title Format
4.None of these
Which of the following property is not available for LinkButton control?
1.Border Style
2.Causes Validation
3.Css Class
4.None of These
Which of the following property is used to allow multiple selections of files from FileUpload control?
1.Access Multiple
2.Upload Multiple
3.Select Multiple
4.Allow Multiple
Which of the following property is used to apply the style to days in Calendar control?
1.Style
2.DayStyle
3.StyleDay
4.None of the above
Which of the following property is used to apply the style to the day header row in Calendar control?
1.DayHeaderStyleRow
2.DayHeaderStyle
3.StyleHeaderDay
4.None of the above
Which of the following property is used to enable or disable LinkButton control?
1.Enable
2.Is Enable
3.Enabled
4.Disabled
Which of the following property is used to get the selected filename using FIleUpload control?
1.PostedFile.FileName
2.FileName
3.SelectedFile.FileName
4.PostedFile
Which of the following property is used to set border width for ASP.NET CheckBox control?
1.Width
2.Border Width
3.Width Border
4.None of These
Which of the following property is used to set CSS Class to LinkButton control?
1.Set Css
2.Css ClassC
3.Css Class
4.Class
Which of the following property is used to set the check state for ASP.NET CheckBox control?
1.Check
2.Checked
3.Check State
4.None of These
Which of the following Session Mode Serialization is not required to store the data?
1.SQLServer
2.StateServer
3.InProc
4.None
Which of the following statement are correct about Calendar control in ASP.NET? It is an ASP.NET control, it shows the date in a calendar format. It is an ASP.NET control, it shows date and time in UTC format only. NET supports only one calendar control on one web form. NET supports more than one calendar control on one web form.
1.1 and 3
2.2 and 4
3.1 and 4
4.2 and 3
Which of the following statement are correct about LinkButton control in ASP.NET?Which of the following statement are correct about LinkButton control in ASP.NET?
1.Only 1
2.Only 2
3.1 and 4
4.2 and 3
Which of the following statement is correct about CheckBox control in ASP.NET?
1.It is an ASP.NET control that is used to select a choice from the group of choices.
2.It is an ASP.NET control that is used to select multiple choices from a group of choices.
3.NET does not support Checkbox control in ASP.NET.
4.None of the above
Which of the following statement is correct about FileUpload control in ASP.NET?
1.FileUpload control is used to upload webpages for a website.
2.FileUpload control is used to upload files from the local machine to the server.
3.FileUpload control is used to upload on C# file to the server.
4.None of the above
Which of the following tag is used for the HTML checkbox?
1.<check>
2.<checkbox>
3.<input>
4.None of the above
Which of the following technologies are also used with ASP.NET?
1.CSS
2.JavaScript
3.AJAX
4.All
Which protocol is used to call a web service?
1.SOAP Protocol
2.HTTP Protocol
3. TCP Protocol
4.FTP Protocol
Which protocol is used to call a web service?
1.SOAP Protocol
2.HTTP Protocol
3.TCP Protocol
4.FTP Protocol
Which term is used for pages that depend on the Master page?
1.Content Pages
2.Master Pages
3.Web Pages
4.None of the above
__is used to redirect the user's browser to another page or site.
1.Response.Redirect
2.Server.Redirect
3.Client.Transfer
4.Server.Transfer