Asp

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Asp as PDF for free.

More details

  • Words: 734
  • Pages: 3
1. When during the page processing cycle is View State not available? a)After the Init () b) before the Page Load () c) a&b () d) none 2. What namespace does the Web page belong in the .NET Framework class hierarchy? a) System.Web.UI.Page b) System.Web.UI c) form d)none 3. What’s a bubbled event? a) traveling of an event from child to parent control b) traveling of an event from parent to child control c) a&b d) all the above 4. What data types do the RangeValidator control not support? a) Integer b) String c) Date d)bool 5. Should user input data validation occur basically by a validation control a) server-side b) client-side c) none 6. Which method do you invoke on the DataAdapter control to load your generated dataset with data? a) read b) fill c) fetch d) none 7. properties not common in every validation control? a) ControlToValidate property b) Text property c) error msg d) max value 8)when during the page processing cycle controls load with properdata a) After the Init () b) before the Page Load () c) a&b () d) none

9)match the following 1.

-

Authentication

2. authorization 3. configuration file

a) GenericPrincipal object holds a reference to a FormsIdentity instance that represents the currently authenticated user

b) enables to provide security for web site. c) used to ensure that only authenticated users can access a page

10)match the follwing

a) b) c) d)

session

1. plain text file

cookie

2. scope will be per page

viewstate

3. scope will be between two pages

querystring

4. scope will be through out the application

11.find the wrong statement A. ado and ado.net works on connected architecture. B.ado is designed for com technology and ado.net is designed for V.S 2000 C. ado and ado.net are binary standard to operating system. d) all the above 12. find the wrong statement about datareader 1. it works on connected architecture 2. it is forward only and reads only one record at a time 3. we can manipulate the data 4. all the above 13. When during the page processing cycle control’s events will be fired ? a)After the Init () b) before the Page Load () c) after the Page Load () d) none

14. find the wrong statement about viewstate a. If the information is to be shared across different controls b. if it is to be accessed within the scope of a single control c. The type of info one can save may be simple data types or even complex user defined objects d.none 15. match the following 1. Executenonquery 2. Exectescalar 3. Exectereader

a. to read multiple lines b. it cnnn’t read data c. to read 0 row and 0 column

16. by using custom validation control we can only validate data at a. client side b. server side c. a& b d. all the above 17. Web.config can hold following data A. connection string b. app settings c. authentication d.all the above 18. find the wrong statement about web.config a. it can hold application level data b. a web site can have more than one web.config c. it cann’t hold session related data d. none 19. in an asp.net application styles for a control can be applied at following levels a. control b. page c. application d.none 20. find the wrong statement about master page a. we can have more than one master page in an asp.net application b. without a content placeholder in master page also, we can access in child page c. master page can hold more than one content place holder d. a & c 21. in sql server join are __ types a. 2 b. 3 c. 4 d.none 22. result of a cross join is not a a. Cartesian product b. multiplication of right table rows by left table rows c. multiplication of left table rows by right table rows d. all the above 22. find out the wrong statement a. trigger and procedure are database objects b. trigger and procedure are precompiled objects c. trigger and procedure are implicitly invoked d. Trigger and procedure are possible to alter.

23. find out the wrong statement a. ado.net works on both connected and disconnected architecture b. execute reader method will return data reader object c. data adapter works on disconnected architecture d. none. 24. what is round trip in asp.net 25. write syntax for creating join

Related Documents

Asp
November 2019 69
Asp
June 2020 51
Asp
November 2019 61
Asp
October 2019 63
Asp
May 2020 42
Asp
October 2019 45