Introduction of ASP.NET - Placement questions

Introduction of ASP.NET - Placement questions


Q.1 In ASP.NET for requesting a web page from the web server, which protocol is used?

A) HTTP
B) TCP
C) SMTP
D) None of the above.
View Answer / Hide Answer

ANSWER: A)




Q.2 HTTP messages are typically sent between the Web server and Web browser using which port no?

A) 70
B) 80
C) 400
D) 410
View Answer / Hide Answer

ANSWER: B




Q.3 When user request a web page by entering Uniform Resource Locator (URL) then which method /verb/command is used in ASP.NET?

A) POST
B) SET
C) GET
D) All of the above
View Answer / Hide Answer

ANSWER: C




Q.4 Which one of the following HTTP verbs indicates that you are creating and writing a file on the Web server?

A) POST
B) SET
C) GET
D) PUT
View Answer / Hide Answer

ANSWER: D




Q.5 Match the following

a. Web Form --------------i. .ascx
b. Web User Control-------ii. .asmx
c. Web Service -----------iii. .aspx

Codes:

(A) a-iii, b-i, c-ii
(B) a-ii , b-i, c-iii
(C) a-i, b-ii, c-iii
View Answer / Hide Answer

ANSWER: A




Q.6 What is the name of the Page object’s property that determines if a Web page is being requested without data being submitted to server?

A) IsCallback
B) IsReusable
C) IsValid
D) IsPostBack
View Answer / Hide Answer

ANSWER: D




Q.7 To create your application on a remote server which option you will choose in ASP.NET?

A) File System
B) FTP
C) HTTPS
D) None of the above.
View Answer / Hide Answer

ANSWER: B




Q.8 Match the following regarding directives.

a. Control-------------i. Controls the output caching policies of a page or user control.
b. MasterType----------ii. Page directive uses with user controls.
c. PreviousPageType----iii. Enables an ASP.NET page to work with a postback from another page in the application.
d. OutputCache---------iv. Associates a class name to a page to get references or members contained within the specified master page.

Codes:

A) a-ii, b-i, c-iv, d-iii
B) a-ii, b-iv, c-i, d-iii
C) a-ii, b-i, c-iii, d-iv
D) a-ii, b-iv, c-iii, d-i
View Answer / Hide Answer

ANSWER: D




Q.9 Which programming model should you implement, if you want to separate your server-side code from your client-side layout code in a Web page?

A) Single-file model
B) Code-behind model
C) Inline model
D) Client-server model
View Answer / Hide Answer

ANSWER: B




Q.10 Match the following List 1 to List 2

List 1(Folders)-------------List 2(Files)

a. App_Code-----------------i. Assembly Resource Files (.resx)
b. App_Data-----------------ii. .skin file, CSS files
c. App_Themes---------------iii. .mdf file, .mdb file
d. App_GlobalResources------iv. .wsdl files, typed datasets

Codes:

A) a-iv, b-iii, c-ii, d-i
B) a-ii, b-iv, c-i, d-iii
C) a-ii, b-i, c-iii, d-iv
D) a-ii, b-iv, c-iii, d-i
View Answer / Hide Answer

ANSWER: A




Q.11 Which file contains settings for all .NET application types, such as Windows, Console, ClassLibrary, and Web applications?

A) Web.config
B) Machine.config
C) Global.asax
D) All of the above.
View Answer / Hide Answer

ANSWER: B




Q.12 You want to make a configuration setting change that will affect only the current Web application. Which file will you change?

A) Global.asax
B) Web.config in the root of the Web application
C) Machine.config
D) All of the above
View Answer / Hide Answer

ANSWER: B




Q.13 In ASP.NET application DLL files are stored in which folder?

A) App_Code
B) App_Data
C) Bin
D) App_LocalResources
View Answer / Hide Answer

ANSWER: C




Q.14 Which of the following is not an ASP.NET page event?

A) Init
B) Load
C) Import
D) None of the above.
View Answer / Hide Answer

ANSWER: C




Q. 15 To implement a specified .NET Framework interface which directive is used?

A) @Register
B) @Control
C) @Reference
D) @Implements
View Answer / Hide Answer

ANSWER: D


Post your comment