Font size
WorksheetsQuiz-1-22BCA2-Group-B-Web-development
Total questions: 92
Worksheet time: 1hrs 9mins
CLR is the .NET equivalent of _________.
Java Virtual Machine
Common Language Runtime
Common Type System
Common Language Specification
SOAP stands for __________.
Simple Object Access Program
Simple Object Access Protocol
Simple Object Application Protocol
Simple Object Account Protocol
The ____ language allows more than one method in a single class.
C#
J#
C++
C
Arrays in C# are ______ objects.
Reference
Logical
Value
Arithmetic
The formal-parameter-list is always enclosed in _______.
Square
Semicolon
Parenthesis
Colon
Inheritance is ______ in nature.
Commutative
Associative
Transitive
Iterative
The ______ are the Graphical User Interface (GUI) components created for web based interactions..
Web forms
Window Forms
Application Forms
None of the above
In Microsoft Visual Studio, ______ technology and a programming language such as C# is used to create a Web based application.
JAVA
J#
VB.NET
ASP.NET
Web Forms consists of a _______ and a _________ .
Template, Component
CLR, CTS
HTML Forms, Web services
Windows, desktop
C# doesnot support:
abstraction
polymorphism
multiple inheritance
inheritance
Different ways a method can be overloaded in C#.NET
Different parameter data types.
Different order of parameters
Different number of parameters
All of above
Is it possible to change the value of a variable while debugging a C# application?
Yes
No
Which of the following .NET components can be used to remove unused references from the managed heap?
Class Loader
Garbage Collector
CTS
CLR
A local variable
Can be used anywhere in the program
Is declared within a method
Must accept a class
Represent a class object
Every class directly or indirectly extends the______class.
System
Object
Drawing
Console
File extension used for ASP.Net files
Web
.ASP
.ASPX
None of the above
You can have only one Global.asax file per project
Yes
No
What is the meaning of dot in .Net Framework?
It means OOPS Concept
It means inheritance
It means abstraction
None of the above
Common Type System is built into which of the following?
CLR
RCT
RCW
GAC
What is the full form of .NET Framework?
Domain Network
Data Network
Data Node
None of the above
It is responsible for Type matching.
CTS
CLR
BCL
None of these
The .NET Framework consists of
CLS
CLR
BCL
It provides an object-oriented model that supports the complete implementation of many programming languages
CLR
CLS
BCL
None of these
It defines rules that languages must follow, which helps ensure that objects written in different languages can interact with each other
CLR
CLS
BCL
None
It is responsible for Memory allocation and garbage collection
CLS
BCL
CLR
CTS
Which of these languages are supported by Dot Net Framework
JIT is a component of
CLS
BCL
CLR
None
CLR Stands For ------------------- Language Runtime
(a)
BCL Stands For
Base Class Laboratory
Base Complex Library
Base Class Library
CLR provides a number of services that includes :
Loading and executing of programs
Memory management & Garbage Collection
Verification of type safety
Code Base & Code Access Security
What makes a language to be .Net compliant
CLS
BCL
JIT
None
These variables directly contain the data
Reference Types
Value Types
Both of them
None of these
These variables contain the addresses
Reference Types
Value Types
Both of them
None of these
Reference types can be :
self-describing types
Value Types
pointer types
interface types
The code, which is developed outside .NET, Framework is known as :
managed code.
unmanaged code.
Mis-managed code.
Applications that do not run under the control of the CLR are said to be
managed code.
Mis-managed code.
unmanaged code.
None
This code is directly executed by CLR
managed code.
unmanaged code.
Mis-managed code.
None
Managed code uses CLR which in turns looks after your applications by
managing memory
handling security
allowing cross - language debugging
During the compile time, the language compiler converts the source code into
Machine Code
MSIL
Object code
None
JIT Stands For
Just In Translate compiler
Just In Transfer compiler
Just In Time compiler
None
The method applied to change the styles of the elements in a ASP.NET webpage is called
Master page
child page
cascading style sheets
UTF-8
Which of the following web server control display static text that can change at runtime?
Hyperlink
Textbox
Label
None of these above
How many types of authentication ASP.NET supports?
Windows Authentication.
.NET Passport Authentication.
Forms Authentication.
All of the above.
Which web server control is used to display advertisements in ASP.NET a webpage?
Image
Imagemap
Panel
AdRotator
Using which type of stylesheet we can change the style of an element in the entire website?
Internal Stylesheet
External Stylesheet
Inline stylesheet
None of these above
Which of the following is the common property of web server controls that assigns a small piece of text when a mouse pointer is held over the control for a short period of time?
Access key
ToolTip
skinID
TabIndex
The @Implements directive
imports a namespace into current page page or user control
assigns a class or virtual path used to type the Master property of a page
indicates that a page or user control implements a specified .NET Framework interface
none of these above
Which of the following server control shows data in a tabular format and allows sorting, paging, edit, delete each record?
List Box
Grid View
Repeater
None of these above
By using which of the following web server control data can be retrieved from a relational database?
ObjectDataSource
SqlDataSource
AccessDataSource
XmlDataSource
By using which of the following attribute, HTML elements are transformed to HTML server control?
runat="client"
runat="server"
runat="browser"
runat="host"
AccessDataSource Control work with which of the following file types?
.mpd file
.mdf file
.mdb file
.myd file
Choose the correct option about the Integrated Security property of connection object.
If Integrated Security=false then User ID, and Password must be specified in the connection string.
If Integrated Security=true then current Windows account credentials are used for authentication.
Both A and B option are correct.
None of the above.
Using CustomValidator server control
a developer can compell users to fill all the required fields
a developer can sreate pop up menu
a developer can write custom validation function as needed
none of these above
What are the ways to set Display property of validation controls to display error messages in case of client validation?
Static
Dynamic
None
All of these above
Which type of validation works with exceptions that is thrown if an error occurs when a value is edited or when a new value is inserted into the data model?
DynamicValidator
RegularExpression Validator
CustomValidator
RangeValidator
Default Session data is stored in ASP.Net.
StateServer
Session Object
InProcess
all of the above
How will you specifying the Cache Location?
You can use browser settings to specify where a page is cached.
You can use the Location attribute of the < %@ OutputCache %> directive to specify where a page is cached.
You can use the Location attribute in QueryString to specify where a page is cached.
None of the above.
Which of these data source controls do not implement Caching?
XmlDataSource
SqlDataSource
LinqDataSource
ObjectDataSource
Ado.net is a data bridge between ____ and _____
applications and databases
Client and Server
client and client
server and server
__________ Object is handling the part of physical communication between the C# application and the Data Source.
Connection
Command
Data Provider
Data Set
Which Object helps us to connect to an SQL server database.
Sql Connection object
OleDbConnection object
OracleConnection
OdbcConnection
________ function is used to execute an SQL statement and return a single value.
ExecuteScalar
ExecuteNonQuery
ExecuteReader
ExecuteXMLReader
_____ objects hold a read-only, forward-only stream of data from a database.
DataReader
DataAdapter
Connection
Command
_____ method is used to access one by one record from the DataReader.
Read()
Reads()
Reader()
readf()
What are the Command Object Methods?
ExecuteNonQuery
ExecuteReader
ExecuteScalar
All of the above.
Which ado.net class provide a disconnected environment?
DataReader
DataSet
Command
None of the above.
In the connected access of ADO.net
Database concurrency is difficult to control
Data is not always up to date
Conflicts may occur
There must be a constant network connection
In the connected environment the connection object
is used to execute the SQL command
is specified in the web.config
is associated with a connection string
this object is from the disconnected environment
The dataReader object of the connected environment
is used only with select statements
is used only with insert statements
is always used, with all SQL statements
is used only with delete statements
The dataReader object of the connected environment
recovers all data resulting from a select in memory
is a pointer to the result of a select statement
you need to use the Progress method to move forward
is assigned to the command object
What are the Command Object Methods?
ExecuteNonQuery
ExecuteReader
ExecuteScalar
All of the above.
The first record in a dataset has a position property of:
zero
one
any value defined by the programmer
All of the above
Which ado.net class provide a disconnected environment?
DataReader
DataSet
Command
None of the above.
What information is specified in the Connection tab of the DataLink window?
Database login
Database name
Database type
All of the above.
Which of the following is true for ADO.NET DataSet?
DataSet provides a disconnected view of a data source.
Dataset enables to store data from multiple tables and multiple sources
We can create a relationship between the tables in a DataSet.
All of the above is true
Which of the following are well-formed XML fragments?
a. < myElement myAttribute=”someValue’/>
b. < myElement myAttribute=someValue/>
c. < myElement myAttribute=’someValue’>
d. < myElement myAttribute=”someValue”/>
How many root elements can we have in XML?
a. 1
b. 2
c. 3
d. 0
What is DTD?
a. Document type Determination
b. Determination Type Defination
c. Document Text Definition
d. Document Type Definition
Which statement is true?
XML tags are case sensitive
XML documents must have a root tag
XML elementss must be properly closed.
All of the above.
What is the correct syntax of the declaration which defines the XML version?
<xml version="1.0" />
<?xml version="1.0"?>
<?xml version="1.0" />
<?xml version="1.0" /
What does XML stand for?
eXtra Modern Link
eXtensible Markup Language
X-Markup Language
Example Markup Language
The need of using a DTD in developing XML document is?
a. Required when validating XML documents.
b. No longer necessary after the XML editor has been customized.
c. Used to direct conversation using an XSLT processor.
d. A good guide to populating templates to be filled in when generating an XML document automatically.
What is XSLT?
Extensible Standard Language Transformation
Extensible Sytlesheet Language Transformation
Extensible Standard List Transformation
Extensible Sytle Language Transformation
Which statement is true?
XML tags are case sensitive
XML documents must have a root tag.
XML elements must be properly closed.
All of the above.
How to specify the attributes with multiple values?
a. < myElement myAttribute=”value1” myAttribute=”value2”/>
b. < myElement myAttribute=”value1 value2”/>
c. Attributes cannot have multiple values.
d. < myElement myAttribute=”value1, value2”/>
Which of the following strings are a correct XML name?
my Element
#myElement
_myElement
Which of the following XML documents are well-formed?
<firstElement>some text goes here <secondElement>another text goes here</secondElement> </firstElement>
<firstElement>some text goes here</firstElement> <secondElement> another text goes here</secondElement>
<firstElement>some text goes here <secondElement> another text goes here</firstElement> </secondElement>
</firstElement>some text goes here </secondElement>another text goes here <firstElement>
Which special character is NOT used in XML?
<
>
$
?
How is an empty XML element defined?
<sample></sample>
<sample/>
All of the above.
None of the above.
which one
describe a work or remark to (a particular author, artist, or
speaker).
Attributes
Identifiers
Elements
Tags
