0% found this document useful (0 votes)
73 views143 pages

INT402 Quiz (Unit 1 To 6)

This document contains a quiz with multiple choice questions about modern web programming tools and techniques. There are questions about data binding, object-oriented programming advantages, automatic garbage collection, web application requirements, programming languages, errors, controls, events, protocols and validators. The quiz tests knowledge of concepts like inheritance, overriding, overloading, GUI requirements, CLI, ASP.NET, clients, syntax errors, runtime errors, loops, methods, inheritance, state, view state, converting data types and selecting controls.

Uploaded by

Hancy Nixon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views143 pages

INT402 Quiz (Unit 1 To 6)

This document contains a quiz with multiple choice questions about modern web programming tools and techniques. There are questions about data binding, object-oriented programming advantages, automatic garbage collection, web application requirements, programming languages, errors, controls, events, protocols and validators. The quiz tests knowledge of concepts like inheritance, overriding, overloading, GUI requirements, CLI, ASP.NET, clients, syntax errors, runtime errors, loops, methods, inheritance, state, view state, converting data types and selecting controls.

Uploaded by

Hancy Nixon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 143

INT402: MODERN WEB PROGRAMMING TOOLS

AND TECHNIQUES

Quiz
Unit 1 to 3
Quiz
Data binding represents?
A. The binding means the process of converting
identifiers into addresses.
B. The binding means the process of converting
addresses into identifiers.
C. The binding means the process of converting
identifiers into other identifiers.
D. All of these
Quiz
Data binding represents?
A. The binding means the process of converting
identifiers into addresses.
B. The binding means the process of converting
addresses into identifiers.
C. The binding means the process of converting
identifiers into other identifiers.
D. All of these
Quiz
Which one represents advantages of using OOP?
A. Inheritance
B. Overriding
C. Overloading
D. All of these
Quiz
Which one represents advantages of using OOP?
A. Inheritance
B. Overriding
C. Overloading
D. All of these
Quiz
Which one does not support automatic garbage
collection?
A. C
B. VB.NET
C. Java
D. All of these
Quiz
Which one does not support automatic garbage
collection?
A. C
B. VB.NET
C. Java
D. All of these
Quiz
Which one does not necessarily require GUI?
A. Web application
B. Web services
C. Client server based application
D. Distributed application
Quiz
Which one does not necessarily require GUI?
A. Web application
B. Web services
C. Client server based application
D. Distributed application
Quiz
Common Language Interface represents what?
A. Executable code
B. Run time environment
C. Executable code + Run time environment
D. C# only
Quiz
Common Language Interface represents what?
A. Executable code
B. Run time environment
C. Executable code + Run time environment
D. C# only
Quiz
ASP.NET pages have which extension?
A. .asp
B. .net
C. asp.net
D. .aspx
Quiz
ASP.NET pages have which extension?
A. .asp
B. .net
C. asp.net
D. .aspx
Quiz
Which represents a client?
A. chrome
B. Mozilla
C. Internet explorer
D. All of these
Quiz
Which represents a client?
A. chrome
B. Mozilla
C. Internet explorer
D. All of these
Quiz
x/y could generate which type of error?
A. Compile time
B. Syntax error
C. Semantic error
D. Run time error
Quiz
x/y could generate which type of error?
A. Compile time
B. Syntax error
C. Semantic error
D. Run time error
Quiz
Just in time compiler is used for?
A. To speed up compilation
B. To generate native code for specific CPU
C. To generate class file
D. To generate object file
Quiz
Just in time compiler is used for?
A. To speed up compilation
B. To generate native code for specific CPU
C. To generate class file
D. To generate object file
Quiz
Which one does not require to declare and
define classes and functions?
A. C
B. C++
C. .Net
D. Python
Quiz
Which one does not require to declare and
define classes and functions?
A. C
B. C++
C. .Net
D. Python
Quiz
Which one is false about .Net?
A. It supports OOP
B. It supports threading
C. It is platform independent
D. It is language independent
Quiz
Which one is false about .Net?
A. It supports OOP
B. It supports threading
C. It is platform independent
D. It is language independent
Quiz
Which one is false about C#?
A. It supports if
B. It supports loops
C. It does not support switch-case
D. It supports variable declaration
Quiz
Which one is false about C#?
A. It supports if
B. It supports loops
C. It does not support switch-case
D. It supports variable declaration
Quiz
Which one is false about for loop?
A. If statement can be written in for loop
B. It uses condition to decide number of
iteration
C. It does not support increment statement
D. It supports printing statement in the body
Quiz
Which one is false about for loop?
A. If statement can be written in for loop
B. It uses condition to decide number of
iteration
C. It does not support increment statement
D. It supports printing statement in the body
Quiz
Which one stops for loop?
A. If statement
B. break
C. continue
D. stop
Quiz
Which one stops for loop?
A. If statement
B. break
C. continue
D. stop
Quiz
Which one is false about for methods in C#?
A. static method requires object for execution
B. Return statement can return single value
C. Methods can save time and efforts of
programming
D. Methods can accept values in variables
Quiz
Which one is false about for methods in C#?
A. static method requires object for execution
B. Return statement can return single value
C. Methods can save time and efforts of
programming
D. Methods can accept values in variables
Quiz
Which one is false about for methods in C#?
A. Non static method requires object for
execution
B. Return statement can return multiple values
C. Methods can save time and efforts of
programming
D. Methods can accept values in variables
Quiz
Which one is false about for methods in C#?
A. Non static method requires object for
execution
B. Return statement can return multiple values
C. Methods can save time and efforts of
programming
D. Methods can accept values in variables
Quiz
Which one is false about inheritance in c#?
A. Inheritance can be used with in two classes
B. Child can access parents methods
C. One child may have three parents
D. One parent may have four children
Quiz
Which one is false about inheritance in c#?
A. Inheritance can be used with in two classes
B. Child can access parents methods
C. One child may have three parents
D. One parent may have four children
Quiz
Structure can have in c#?
A. Inheritance can be used
B. methods
C. Can be used as base
D. None of these
Quiz
Structure can have in c#?
A. Inheritance can be used
B. methods
C. Can be used as base
D. None of these
Quiz
If a user navigates among pages and system can
remember user’s choices is called
A. Stateless
B. Statefull
C. Remembered
D. None of these
Quiz
If a user navigates among pages and system can
remember user’s choices is called
A. Stateless
B. Statefull
C. Remembered
D. None of these
Quiz
Which event allows tracking of view state?
A. InitComplete
B. ViewState
C. Track
D. None of these
Quiz
Which event allows tracking of view state?
A. InitComplete
B. ViewState
C. Track
D. None of these
Quiz
Which protocol is statefull
A. HTTP
B. FTP
C. UDP
D. DNS
Quiz
Which protocol is statefull
A. HTTP
B. FTP
C. UDP
D. DNS
Quiz
Which protocol is stateless
A. HTTP
B. FTP
C. UDP
D. Both A and C
Quiz
Which protocol is stateless
A. HTTP
B. FTP
C. UDP
D. Both A and C
Quiz
If we want to change string into double which
class is used
A. Change
B. Convert
C. Stringtodouble
D. Alter
Quiz
If we want to change string into double which
class is used
A. Change
B. Convert
C. Stringtodouble
D. Alter
Quiz
Which property is used for setting name of the
control
A. Name
B. Id
C. Text
D. setName
Quiz
Which property is used for setting name of the
control
A. Name
B. Id
C. Text
D. setName
Quiz
AutoPostBack property is used for
A. Immediate updating in control
B. Posting email to server
C. Getting email from server
D. Both B and C
Quiz
AutoPostBack property is used for
A. Immediate updating in control
B. Posting email to server
C. Getting email from server
D. Both B and C
Quiz
Which one represents error type?
A. Syntax error
B. Semantic error
C. Run time error
D. All of these
Quiz
Which one represents error type?
A. Syntax error
B. Semantic error
C. Run time error
D. All of these
Quiz
If you need to open a web page in new tab,
which is useful?
A. _blank
B. _new
C. _tab
D. _newtab
Quiz
If you need to open a web page in new tab,
which is useful?
A. _blank
B. _new
C. _tab
D. _newtab
Quiz
If you want to set Sunday blocked in calender
A. Render event handler is used
B. Blocked event handler is used
C. Write block keyword
D. Both B and C
Quiz
If you want to set Sunday blocked in calender
A. Render event handler is used
B. Blocked event handler is used
C. Write block keyword
D. Both B and C
Quiz
Which property is used to provide name?
A. Name
B. Id
C. Tag
D. Callit
Quiz
Which property is used to provide name?
A. Name
B. Id
C. Tag
D. Callit
Quiz
Which control do you prefer for providing
options for country selection?
A. Text box
B. Label
C. Button
D. Drop Down List
Quiz
Which control do you prefer for providing
options for country selection?
A. Text box
B. Label
C. Button
D. Drop Down List
Quiz
If you need to check correct spelling of password
which is used?
A. CompareValidator
B. Checlidator
C. PasswordValidator
D. VerifySpellValidator
Quiz
If you need to check correct spelling of password
which is used?
A. CompareValidator
B. Checlidator
C. PasswordValidator
D. VerifySpellValidator
Quiz
If you need to design your own validator then
which is used?
A. CompareValidator
B. Checlidator
C. PasswordValidator
D. CustomValidator
Quiz
If you need to design your own validator then
which is used?
A. CompareValidator
B. Checlidator
C. PasswordValidator
D. CustomValidator
Quiz
Which is not used in exception handling?
A. Try
B. Throw
C. Finally
D. None of these
Quiz
Which is not used in exception handling?
A. Try
B. Throw
C. Finally
D. None of these
Quiz
Finally block used in exception handling
A. Used to check error
B. Used to catch error
C. It’s mandatory
D. It’s optional
Quiz
Finally block used in exception handling
A. Used to check error
B. Used to catch error
C. It’s mandatory
D. It’s optional
Quiz
To store data temporarily which state is useful?
A. Session
B. Application
C. View
D. None of these

70
Quiz
To store data temporarily which state is useful?
A. Session
B. Application
C. View
D. None of these

71
Unit 3 to 6
Quiz
ConfigurationManager is used?
A. DataAdapter
B. DataReader
C. SqlConnection
D. ConnectionString
Quiz
ConfigurationManager is used?
A. DataAdapter
B. DataReader
C. SqlConnection
D. ConnectionString
Quiz
DataSet class is used?
A. DataAdapter
B. DataReader
C. SqlConnection
D. DataWriter
Quiz
DataSet class is used?
A. DataAdapter
B. DataReader
C. SqlConnection
D. DataWriter
Quiz
To insert connection string which can be used by
all forms which file is used?
A. Master page
B. Global.insert
C. Insert.config
D. Web.config
Quiz
To insert connection string which can be used by
all forms which file is used?
A. Master page
B. Global.insert
C. Insert.config
D. Web.config
Quiz
In gridview which method is used?
A. ViewSource()
B. GridSource()
C. AddSource()
D. DataSource()
Quiz
In gridview which method is used?
A. ViewSource()
B. GridSource()
C. AddSource()
D. DataSource()
Quiz
Using() is used?
A. To terminate connection when it is done
B. Insert in
C. Add into
D. Use data base
Quiz
Using() is used?
A. To terminate connection when it is done
B. Insert in
C. Add into
D. Use data base
Quiz
To insert data into table which is used?
A. Insert into
B. Insert in
C. Add into
D. Add in
Quiz
To insert data into table which is used?
A. Insert into
B. Insert in
C. Add into
D. Add in
Quiz
For read only which is used?
A. ReadClass
B. ReadOnly
C. DataAdapter
D. DataReader
Quiz
For read only which is used?
A. ReadClass
B. ReadOnly
C. DataAdapter
D. DataReader
Quiz
Which is valid for Sql Server?
A. .\SQLEXPRESS
B. /./SQLADD
C. ./SQLEXPRESS
D. .?SQLEXPRESS
Quiz
Which is valid for Sql Server?
A. .\SQLEXPRESS
B. /./SQLADD
C. ./SQLEXPRESS
D. .?SQLEXPRESS
Quiz
Which is valid for Sql Server?
A. System.Data.SqlClient
B. Data.Client
C. SqlClient.Data
D. SqlServer.Client
Quiz
Which is valid for Sql Server?
A. System.Data.SqlClient
B. Data.Client
C. SqlClient.Data
D. SqlServer.Client
Quiz
Which is true about Master pages?
A. It provides uniformity
B. It provides short development cycle
C. It provides code reusability
D. All of these
Quiz
Which is true about Master pages?
A. It provides uniformity
B. It provides short development cycle
C. It provides code reusability
D. All of these
Quiz
In a Master page which section is used to display
page specific data?
A. MainContentArea
B. PageSpecificArea
C. ContentPlaceHolder
D. Any where
Quiz
In a Master page which section is used to display
page specific data?
A. MainContentArea
B. PageSpecificArea
C. ContentPlaceHolder
D. Any where
Quiz
A Master page may support how many content
pages?
A. 1
B. 2
C. 3
D. Any number
Quiz
A Master page may support how many content
pages?
A. 1
B. 2
C. 3
D. Any number
Quiz
HTML, CSS are present on
A. Master page
B. Content page
C. Do not present
D. On both Master and content pages
Quiz
HTML, CSS are present on
A. Master page
B. Content page
C. Do not present
D. On both Master and content pages
Quiz
How many master pages can be used ?

A. 1
B. 2
C. 3
D. Any
Quiz
StaticDisplayLevels property is used for?
A. To display static function
B. To display menu and submenus
C. To display DropDownBox
D. All of these
Quiz
StaticDisplayLevels property is used for?
A. To display static function
B. To display menu and submenus
C. To display DropDownBox
D. All of these
Quiz
Which one represents navigation control?
A. Label
B. Textbox
C. Image
D. Menu
Quiz
Which one represents navigation control?
A. Label
B. Textbox
C. Image
D. Menu
Quiz
In tree view control which is true?
A. Members can be hide
B. Child can be added
C. Can format root node
D. All of these
Quiz
In tree view control which is true?
A. Members can be hide
B. Child can be added
C. Can format root node
D. All of these
Quiz
When we have two files in project .html and
.css, it’s an example of?
A. Inline
B. Global
C. External
D. Not possible
Quiz
When we have two files in project .html and
.css, it’s an example of?
A. Inline
B. Global
C. External
D. Not possible
Quiz
Link keyword used in which type of css file
A. External
B. Global
C. Inline
D. Not used anywhere
Quiz
Link keyword used in which type of css file
A. External
B. Global
C. Inline
D. Not used anywhere
Quiz
C1 C2
Rohan 100
Sunil 123
Varun 178
Namit 125
Salman 123

A. C1 can be a primary key


B. C2 can be a primary key
C. No primary key is possible
D. None of these
Quiz
In SQL if we need to include table which
Is used?

A. Where
B. select
C. linktable
D. Connecttable
Quiz
In SQL if we need to include table which
Is used?

A. Where
B. select
C. linktable
D. Connecttable
Quiz
Which is true for primary key

A. unique
B. distinct
C. noduplicate
D. All of these
Quiz
Which is true for primary key

A. unique
B. distinct
C. noduplicate
D. All of these
Quiz
To generate sorted output which is used

A. sort by
B. arrange by
C. order by
D. place by
Quiz
To generate sorted output which is used

A. sort by
B. arrange by
C. order by
D. place by
Quiz
Which control(s) is/are used for dividing a page
logically?
A. Multiview control
B. Wizard control
C. Panel control
D. All of these
Quiz
Which control(s) is/are used for dividing a page
logically?
A. Multiview control
B. Wizard control
C. Panel control
D. All of these
Quiz
Foreign key is used for
A. To impose constraints
B. To allow deletion
C. To allow update
D. All of these
Quiz
Foreign key is used for
A. To impose constraints
B. To allow deletion
C. To allow update
D. All of these
Quiz
To insert data into table which is used?
A. Insert into
B. Insert in
C. Add into
D. Add in
Quiz
To insert data into table which is used?
A. Insert into
B. Insert in
C. Add into
D. Add in
Quiz
Edit can be supported in
A. Grid view
B. Repeater
C. Label
D. All of these
Quiz
Edit can be supported in
A. Grid view
B. Repeater
C. Label
D. All of these
Quiz
Auto format and style can be supported in
A. Repeater
B. Label
C. Grid view
D. Data list
Quiz
Auto format and style can be supported in
A. Repeater
B. Label
C. Grid view
D. Data list
Quiz
Which is light weighted?
A. GridView
B. DataList
C. Repeater
D. None of these
Quiz
Which is light weighted?
A. GridView
B. DataList
C. Repeater
D. None of these
Quiz
Which cannot work without template?
A. Repeater
B. GridView
C. DropDown
D. Label
Quiz
Which cannot work without template?
A. Repeater
B. GridView
C. DropDown
D. Label
Quiz
Which file is used for authentication?
A. Form.aspx
B. User.aspx
C. Web.config
D. Security.in
Quiz
Which file is used for authentication?
A. Form.aspx
B. User.aspx
C. Web.config
D. Security.in
Quiz
Which of the following can update page
partially?
A. CSS
B. HTML
C. AJAX
D. Java script
Quiz
Which of the following can update page
partially?
A. CSS
B. HTML
C. AJAX
D. Java script
Quiz
If you need to update only a specific area in web
page, which is suitable
A. Update panel
B. Label
C. Text box
D. Radio button
Quiz
If you need to update only a specific area in web
page, which is suitable
A. Update panel
B. Label
C. Text box
D. Radio button
Quiz
Which is used when some work in progress?
A. <ProgressTemplate>
B. <WorkProgress>
C. <WaitForComplete>
D. None of these
Quiz
Which is used when some work in progress?
A. <ProgressTemplate>
B. <WorkProgress>
C. <WaitForComplete>
D. None of these
Quiz
Which is compulsory to use when AJAX is used?
A. </asp:CompulsoryTemplet>
B. </asp:Manager>
C. </asp:ScriptManager>
D. None of these
Quiz
Which is compulsory to use when AJAX is used?
A. </asp:CompulsoryTemplet>
B. </asp:Manager>
C. </asp:ScriptManager>
D. None of these
Quiz
Which one is used to set update for other
controls?
A. <Triggers>
B. <Set>
C. <OtherControlSet>
D. None of these
Quiz
Which one is used to set update for other
controls?
A. <Triggers>
B. <Set>
C. <OtherControlSet>
D. None of these
END

You might also like