T.YBSC.
CS IT–Sem –V
Examination Oct 2020
Subject –Advanced Web Programming
Note:1. Attempt any 40 from given 50 Question Total 60 Marks
2. Each correct question Carry 1.5 marks 1 hour
1.CLR full form is _________.
a) Java Virtual Machine
b) Common Language Runtime
c) Common Type System
d) Common Language Specification
2. All C# applications begin execution by calling the _____ method.
a) Class( )
b) Main( )
c) main( )
d) Namespace( )
3. A _______ is an identifier that denotes a storage location.
a) Constant
b) Reference type
c) Variable
d) Object
4. An _______ is a symbol that tells the computer to perform certain mathematical or logical
manipulations.
a) Operator
b) Expression
c) Condition
d) Logic
5. An ____ is a group of contiguous or related data items that share a common name.
a) Operator
b) Integer
c) Exponential
d) Array
6. _______ variables are visible only in the block they are declared.
a) System
b) Global
c) Local
d) Console
7. The methods that have the same name, but different parameter lists and different definitions is
called______.
a) Method Overloading
b) Method Overriding
c) Method Overwriting
d) Method Overreading
8. In Microsoft Visual Studio, ______ technology and a programming language such as C# is
used to create a Web based application.
a) JAVA
b) J#
c) VB.NET
d) ASP.NET
9. C# does not support........
a) abstraction
b) polymorphism
c) multiple inheritance
d) inheritance
10. Which of the following jobs are NOT performed by Garbage Collector?
1.)Freeing memory on the stack.
2.)Avoiding memory leaks.
3.)Freeing memory occupied by unreferenced objects.
4.)Closing unclosed database collections.
5.)Closing unclosed files.
a) 1, 2, 3
b) 1, 4, 5
c) 3, 5
d) 3, 4
11. 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
12. Which of the following is NOT an ASP.NET page event?
a) Init
b) Load
c) Import
d) PreInit
13. To implement a specified .NET Framework interface which directive is used?
a) @Register
b) @Control
c) @Reference
d) @Implements
14. 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
15. Choose the form in which Postback occur.
a) HTMLForms
b) Webforms
c) Winforms
d) C#forms
16. Web.config file is used…
a) Configures the time that the server-side code behind module is called
b) To store the global information and variable definitions for the application
c) To configure the web server
d) To configure the web browser
17. Which is the first event triggers in an aspx page ?
a) Page_Init( )
b) Page_Load( )
c) Page_click( )
d) Page_start( )
18. File extension used for ASP.NET web form files.
a) .web
b) .asp
c) .aspx
d) .ascx
19. An alternative way of displaying text on web page using.
a) asp:label
b) asp:listitem
c) asp:button
d) asp:listbox
20. Which of the following control is used to validate that two fields are equal?
a) RegularExpressionValidator
b) CompareValidator
c) equals( ) method
d) RequiredFieldValidator
21. Which of these keywords is not a part of exception handling?
a) try
b) finally
c) thrown
d) catch
22. Which of these keywords are used for the block to handle the exceptions generated by try
block?
a) try
b) catch
c) throw
d) check
23. Which among the following is NOT an exception?
a) Stack Overflow
b) Arithmetic Overflow or underflow
c) Incorrect Arithmetic Expression
d) Devide by Zero
24. Select the correct statement about an Exception?
a) It occurs during loading of program
b) It occurs during Just-In-Time compilation
c) It occurs at run time
d) Its always the mistake of User
25. Which of the following keyword can be used to rethrow an exception in C#:
a) return
b) throw
c) re-throw
d) create
26. ___________ uses a hidden field that ASP.NET automatically inserts in the final, rendered
HTML of a web page.
a) Caption
b) View state
c) Button state
d) Application State
27. The ________ is a dictionary collection, which means every item is stored in a separate
“slot” using a unique string name.
a) StateBag
b) Variable
c) Datatype
d) View
28. ASP.NET uses a _______ to make sure your view-state information can’t be altered without
your knowledge.
a) view code
b) app code
c) password
d) hash code
29. A ________ postback is a technique that extends the postback mechanism.
a) pageing
b) Cookies
c) URL encoding
d) cross-page
30. The _______ is the portion of the URL after the question mark.
a) string
b) URL encoding
c) query string
d) app string
31. ------IS technology used to design asp.net program for data access
a) ADO SQL ACCESS
b) ADO.NET
c) ORACLE
d) SQL
32. TO design WEB APPLICATION WE NEED
a) SQL
b) DBMS
c) RDBMS
d) ORACLE
33. -----EXPLORER IS USED TO CREATE DATABASE
a) SERVER
b) SOLUTION
c) TOOLBAR
d) DATABASE
34. TO Creat new dataconnection which data source we require
a) server client
b) microsoft sql client
c) microsoft sql server(sqlClient)
d) sql server
35. sql is standard data access language used to interact with--------database
a) access
b) sql
c) relational
d) oracle
6. following is not standard symbol used in query
a) *
b) %
c) C)
d) :
37. following is NOT a SQL aggregate fucntion
a) avg
b) sum
c) mul
d) count
38. which namespace is not used for ado.net
a) system.data
b) system.data.sqlcommand
c) system.data.sqlClient
d) system.sql
39. to read data from dataset ----- class is used.
a) data reader
b) data adpter
c) adapter
d) fill
40. open( ) and close( ) are methods of--------- class.
a) sqlcommand
b) sqlconnection
c) sqldata
d) sqlreader
41. What s the full form of XML?
a) XML markup language
b) B Extensible markup language
c) Xaml markup language
d) Example markup language
42. What is the main use of XML?
a) To transport data
b) To verify data
c) To design data
d) To validate data
43. Which attribute is used to define namespace?
a) XMLattribute
b) Xmlns
c) XMLNamespace
d) XMLDocument
44. XML Schema consists
a) Properties & Methods
b) Elements & Attributes
c) Structure & Data
d) Tables & Relationships
45. In XML, what is identified by a URI reference?
a) XML namespace
b) XSLT
c) Schema
d) DLT
46. __________ is the default authentication type provided for Asp.Net.
a) Form Authentication
b) Windows Authentication
c) Passport Authentication
d) Profile Authentication
47. Which event is not there for Login control
a) LoggingIn
b) LoggedIn
c) LoginError
d) LoginStatus
48. Which tool is used to manage all the security settings for application in ASP.Net
a) Website Administration Tool
b) Website User Tool
c) Authentication Tool
d) Page Administration Tool
49. How to implement authentication via web.config?
a) Include the authentication element
b) Include the authorization element.
c) Include the identity element.
d) Include the deny element.
50. Where do you set authentication mode in ASP.Net application?
a) Using global.asax file
b) Using cookies
c) Using webconfig file
d) Using web services