Advanced Web Programming MCQs - 8 | 200+ MCQ Questions with Answers


176) You configure session state through the __________ file for your current application

a) web.config
b) global
c) aspx
d) aspx.cs

Ans: a

177) The ______ setting specifies the number of minutes that ASP.NET will wait, without receiving a request, before it abandons the session.

a) id
b) del
c) timeout
d) wait

Ans: c

178) The _________ control navigates to the page specified in its NavigateUrl property.

a) HyperLink
b) button
c) label
d) textbox

Ans: a

179) __________ allows you to store global objects that can be accessed by any client.

a) Object
b) Access
c) Stateless
d) Application state

Ans: d

180) ________ provides the number of items in the current session collection

a) Item
b) ID
c) Count
d) Number

Ans: c

181) URL stands for _____.

a) Union Resource Loader
b) Uniform Resource Locator
c) Universal Resource Locator
d) Uniform Resource Loader

Ans: b

182) ___________ is work transparently, without the user being aware that information needs to be stored.

a) Session
b) Data
c) View
d) Cookies

Ans: d

183) What is/are true about master page?

a) .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

Ans: d

184) Extenstion of master page is

a) .master
b) .Master
c) .ascx
d) none of these

Ans: b

185) At which level Theme can be applied?

a) Page level
b) Site level (through the Web.config file)
c) Individual control level
d) All of the above.

Ans: d

186) ------IS technology used to design asp.net program for data access

a) ADO
b) ADO.NET
c) ORACLE
d) SQL

Ans: ADO.NET

187) TO design WEB APPLICATION WE NEED

a) SQL
b) DBMS
c) RDBMS
d) ORACLE

Ans: RDBMS

188) -----EXPLORER IS USED TO CREATE DATABASE

a) SERVER
b) FILE
c) TOOLBAR
d) DATABASE

Ans: SERVER

189) TO Creat new dataconnection which data source we require

a) server client
b) microsoft sql client
c) microsoft sql server(sqlClient)
d) sql server

Ans: C

190) sql is standard data access language used to interact with--------database

a) access
b) sql
c) relational
d) oracle

Ans: relational

191) following is not standard symbol used in query

a) *
b) %
c)
d) :

Ans: :

192) following is not SQL aggregate fucntion

a) avg
b) sum
c) mul
d) count

Ans: mul

193) Which namespace is not used for ado.net

a) system.data
b) system.data.sqlcommand
c) syste.data.sqlClient
d) system.sql

Ans: syste.sql

194) To read data from dataset ----- class is used.

a) data reader
b) data adpter
c) adapter
d) fill

Ans: datareader

195) Open() and close() are methods of--------- class.

a) sqlcommand
b) sqlconnection
c) sqldata
d) sqlreader

Ans: sqlconnection

196) The ..................... is a series of sistinct pieces of information seperated by semicolons.

a) string
b) query
c) connection
d) connectionstring

Ans: connection string

197) ExecuteReader() is method of ......................class

a) reader
b) connection
c) sqlcommand
d) adapter

Ans: sqlcommand

198) In disconnected data access model ................ is used to keep copy of data in memory

a) table
b) database
c) dataset
d) adpater

Ans: dataset

199) Fill() is method of-.....................

a) datatable
b) dataset
c) data adapter
d) datareader

Ans: data adapter

200) ..... method is used to sort table

a) desc
b) asce
c) asc
d) asecending

Ans: desc

Previous Page 8 Next