West Bengal Polytechnic CS Question Paper

West Bengal Polytechnic 6th Sem CS Paper 2021

Sr.No. Question
1 Choose the form in which Postback occur

(a)  HTML forms

(b) Webforms

(c)  Winforms

(d) None of these

2 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

3 Which of the following object is NOT an ASP component?

(a)  Link Counter

(b) Counter

(c)  Ad Rotator

(d) File Access

4 The first event triggers in an aspx page is

(a)  Page_Init()

(b) Page_Load()

(c)  Page_click()

(d) None of these

5 Difference between response. Write() and Response. Output. Write()

(a)  Response. Output.Write() allows you to buffer output

(b) Response.Output.Write() allows you to write formatted output

(c)  Response.Output.Write() allows you to flush output

(d) Response.Output.Write() allows you to stream output

6 Which of the following method must be over ridden in a custom control?

(a)  The Paint() method

(b) The Control_Build() method

(c)  The default constructor

(d) The Render() method

7 How do we create File System Object?

(a)  Server.CreateObject(“Scripting.FileSystemOjbect)

(b) Create(“FileSystemObject”)

(c)  Create.Object:”Scripting.FileSystemObject”

(d) Server.CrateObject(“FileSystemObject”)

8 Which of the following tool is used to manage the GAC?

(a)  regSvr.exe

(b) GacUtil.exe

(c)  GacSvr32.exe

(d) GacMgr.exe

9 What class does the ASP.NET web form class inherit from by default?

(a)  System.Web.UI.Page

(b) System.Web.UI.Form

(c)  System.Web.GUI.Page

(d) System.Web.Form

10 We can manage states in asp.net application using –

(a)  Session Objects

(b) Application Objects

(c)  View state

(d) All of the above

11 Attribute must be set on a validator control for the validation to work

(a)  Control to validate

(b) Control to bind

(c)  Validate control

(d) Validate

12 Caching type supported by ASP.Net

(a)  Output Caching

(b) Data Caching

(c)  (a) and (b)

(d) None of the above.

   
   
   
   

 


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *