AWP Sample Paper
AWP Sample Paper
CS IT–Sem –V
Examination Oct 2020
Subject –Advanced Web Programming
a) Class( )
b) Main( )
c) main( )
d) Namespace( )
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
a) JAVA
b) J#
c) VB.NET
d) ASP.NET
a) abstraction
b) polymorphism
c) multiple inheritance
d) inheritance
10. Which of the following jobs are NOT performed by Garbage Collector?
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
a) Init
b) Load
c) Import
d) PreInit
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
a) HTMLForms
b) Webforms
c) Winforms
d) C#forms
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
a) Page_Init( )
b) Page_Load( )
c) Page_click( )
d) Page_start( )
a) .web
b) .asp
c) .aspx
d) .ascx
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
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
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
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
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