Part 1 of 2 -
Question 1 of 20
45.0/ 50.0 Points
5.0/ 5.0 Points
What are the new features of MVC 3?
A. Introduction of UI helpers with automatic scaffolding with customizable templates.
B. Mobile project template using jQuery Mobile.
C. Improved model validation
Question 2 of 20
5.0/ 5.0 Points
ASP.NET MVC 3 has support for Multiple View Engines
A. 1
B. 0
Question 3 of 20
Which add dynamic property in mvc 3?
5.0/ 5.0 Points
A. ViewData
B. ViewState
C. TempData
D. ViewBag
Question 4 of 20
5.0/ 5.0 Points
The Razor view engine is new feature of which MVC version?
A. MVC 3
B. MVC 2
C. MVC 4
Question 5 of 20
ASP.NET MVC 3 introduced a new ActionResult called HttpNotFoundResult
0.0/ 5.0 Points
A. 0
B. 1
Question 6 of 20
5.0/ 5.0 Points
What is correct for description of ViewData?
A. is a dynamic property that takes advantage of the new dynamic features in C# 4.0.
B. doesn’t require typecasting for complex data type.
C. ViewData is a dictionary of objects that is derived from ViewDataDictionary class and accessible
using strings as keys.
Question 7 of 20
Which is the correct code to get the Name?
A. @foreach (var item in items)
{
<span>Item @item.Name.</span>
}
5.0/ 5.0 Points
B. foreach (var item in items)
{
<span>Item @item.Name.</span>
}
C. @foreach (var item in items)
{
<span>Item item.Name.</span>
}
Question 8 of 20
5.0/ 5.0 Points
What are the file extensions for razor views? (C# language)
A. .aspx
B. .cshtml
C. .asp
Question 9 of 20
Can we use ASPX view engine in latest versions of MVC?
5.0/ 5.0 Points
True
False
Question 10 of 20
5.0/ 5.0 Points
Which is the correct of Razor Syntax?
A. @
B. %%
C. $
Part 2 of 2 - Part 2
38.75/ 50.0 Points
Question 11 of 20
5.0/ 5.0 Points
Which object of ADO.NET has the best performance for retrieving the data
A. Dataadapter
B. DataSet
C. Data Provider
D. DataReader
Question 12 of 20
5.0/ 5.0 Points
What must your ASP code have if you are using the DSN method of connecting?
A. Both
B. Connection object
C. Connection string
Question 13 of 20
Choose valid operations of DataSet object:
A.ReadXml
0.0/ 5.0 Points
B.ReadBinary
C.Copy
D.WriteXml
Question 14 of 20
5.0/ 5.0 Points
When we need to retrieve only a single value from the Database,which Method is efficient
A. ExecuteReader()
B. ExecuteScalar()
C. ExecuteXmlReader()
D. ExecuteNonQuery()
Question 15 of 20
Permistic concurency means
0.0/ 5.0 Points
A. …. control locks resources as they are required, for the duration of a transaction. Unless
deadlocks occur, a transaction is assured of successful completion.
B. ...... control works on the assumption that resource conflicts between multiple users are
unlikely (but not impossible), and allows transactions to execute without locking any resources. Only
when attempting to change data are resources checked to determine if any conflicts have occurred. If a
conflict occurs, the application must read the data and attempt the change again.
C. ….whatever data modification was made last gets written to the database.
Question 16 of 20
What are the benefit of typed dataset
A.XML Support
B.Designer support
C.Strongly type
D.Rapid application development
3.75/ 5.0 Points
Question 17 of 20
5.0/ 5.0 Points
What is the sequential procedure in working with databases?
A. Connection object, connection string, close connection object, close connection string
B. Connection object, connection string, close connection string, close connection object
C. Connection string, connection object, close connection string, close connection object
Question 18 of 20
5.0/ 5.0 Points
Which function of the SqlCommand object must you use in order to execute an “INSERT” Sql Query?
A. ExecuteCommand();
B. ExecuteNonQuery();
C. ExecuteScalar();
D. ExecuteReader();
Question 19 of 20
5.0/ 5.0 Points
Which object in ADO.Net is similar to the Recordset object of ADO ?
A. DataReader
B. DataProvider
C. DataSet
D. DataProvider
Question 20 of 20
Which of the following is not a member of ADODBCommand object?
A. Open
B. ExecuteReader
5.0/ 5.0 Points
C. ExecuteScalar
D. ExecuteStream
Part 1 of 2 -
Question 1 of 20
50.0/ 50.0 Points
5.0/ 5.0 Points
Which is the correct of Razor Syntax?
A. @
B. %%
C. $
Question 2 of 20
How many routes can be defined in the mvc 3 application?
A. three
5.0/ 5.0 Points
B. more than one
C. two
D. one
Question 3 of 20
5.0/ 5.0 Points
Which is the correct code to get the Name?
A. @foreach (var item in items)
{
<span>Item @item.Name.</span>
}
B. foreach (var item in items)
{
<span>Item @item.Name.</span>
}
C. @foreach (var item in items)
{
<span>Item item.Name.</span>
}
Question 4 of 20
5.0/ 5.0 Points
What are Code Blocks in Views? (Razor)
A. @* code commands here *@
B. @{code commands here }
C. <% code commands here %>
Question 5 of 20
5.0/ 5.0 Points
What are the new features of MVC 3?
A. Introduction of UI helpers with automatic scaffolding with customizable templates.
B. Mobile project template using jQuery Mobile.
C. Improved model validation
Question 6 of 20
What is correct for description of ViewData?
5.0/ 5.0 Points
A. is a dynamic property that takes advantage of the new dynamic features in C# 4.0.
B. doesn’t require typecasting for complex data type.
C. ViewData is a dictionary of objects that is derived from ViewDataDictionary class and accessible
using strings as keys.
Question 7 of 20
5.0/ 5.0 Points
Which add dynamic property in mvc 3?
A. ViewData
B. ViewState
C. TempData
D. ViewBag
Question 8 of 20
ASP.NET MVC 3 comes with a new view engine named…
5.0/ 5.0 Points
A. Default
B. ASP.NET ViewEngine
C. Salome
D. Razor
Question 9 of 20
5.0/ 5.0 Points
HTML 5 Project Templates are now part of ASP.NET MVC 3 installation in VS2010?
A. No. That's incorrect
B. Yes, That's correct. The New Project dialog includes a checkbox enable HTML 5 versions of
prject templates. These templates leverage Modernizr 1.2 to provide compatibility support for HTML 5
and CSS 3 in down-level browsers
C. Yes, That's correct. The New Project dialog includes a checkbox enable HTML 5 versions of
prject templates. These templates leverage Modernizr 1.7 to provide compatibility support for HTML 5
and CSS 3 in down-level browsers
D. No. That's incorrect. The New Project dialog includes a checkbox enable HTML 4 versions only.
Question 10 of 20
5.0/ 5.0 Points
MVC 3 supported
A. No View Enginee
B. Multi Views Engi
C. Only one View Engine
Part 2 of 2 - Part 2
23.75/ 50.0 Points
Question 11 of 20
0.0/ 5.0 Points
What is a connection object?
A. First opens the initial connection to a database before giving any database information
B. Specifies the type of driver to use, database format and filename
C. Specifies whether to use a DSN or DSN-less connection
D. Specifies whether to use a DSN or DSN-less connection
Question 12 of 20
0.0/ 5.0 Points
You decide to use named parameters in a SqlCommand object in order to execute SQL queries on a
database. You have a parameter named “CustomerName”. How do you refer to it within the SQL query
text in the SqlCommand object?
A. “#CustomerName”
B. “?CustomerName”
C. “@CustomerName”
D. “%CustomerName”
Question 13 of 20
What are the keys to describe exactly about "DataReader" object?
3.75/ 5.0 Points
A.Forward only
B.Connected mode
C.Read-only
D.Faster access
Question 14 of 20
0.0/ 5.0 Points
ActiveX Data Objects (ADO) comes installed with ASP and allows your pages to easily connect to
databases. Which two ADO objects are used to open a connection and interact with the database?
A. Connection object, RecordingSet object
B. Connection object, Recordset object
C. Connect object, RecordingSet object
D. Connect object, Recordset object
Question 15 of 20
0.0/ 5.0 Points
OLEDB Connection Pooling is handled by OLEDB.Net Provider and SQLClient Connection pooling is
handled by
A. Windows 2000 Component Service
B. OLEDB Provider
C. SQL Provider
D. ODBC provider
Question 16 of 20
5.0/ 5.0 Points
DataTable.Copy() method also creates the copy of DataRows?
True
False
Question 17 of 20
5.0/ 5.0 Points
You want to access data from the "Customer" table in the database. You generate a DataSet named
"MyDataSet" by adding "Customer" table to it. Which of the following statements should you use to
load the data from the database into "MyDataSet" which has been loaded with multiple tables, using a
SqlDataAdapter named "MyAdapter"?
A. MyAdapter.Fill("MyDataSet",Customer)
B. MyAdapter.Fill(MyDataSet,"Customer")
C. MyAdapter.FilI(MyDataSet)
D. MyAdapter.Fill("MyDataSet")
Question 18 of 20
Which internal format DataSet uses to load and persist its contents?
A. Which internal format DataSet uses to load and persist its contents?
B. Binary Format
C. CSV Format
5.0/ 5.0 Points
D. No format is required
Question 19 of 20
5.0/ 5.0 Points
What is the sequential procedure in working with databases?
A. Connection object, connection string, close connection object, close connection string
B. Connection object, connection string, close connection string, close connection object
C. Connection string, connection object, close connection string, close connection object
Question 20 of 20
What are the weekness of typed dataset
A.Heavy object
B.No re-use/upgrade model
C.Lack of DataAccess features
0.0/ 5.0 Points
D.Hight performance
Question 1 of 20
0.0/ 5.0 Points
What are Validation Annotations?
A. These attributes provide client-side validation, and the framework also supports client-side
validation when you use one of the attributes on a model property. You can use four attributes in the
DataAnnotations namespace to cover the common validation scenarios, Required, String Length,
Regular Expression and Range.
B. These attributes provide server-side validation, and the framework also supports server-side
validation when you use one of the attributes on a model property. You can use four attributes in the
DataAnnotations namespace to cover the common validation scenarios, Required, String Length,
Regular Expression and Range.
C. These attributes provide server-side validation, and the framework also supports client-side
validation when you use one of the attributes on a model property. You can use four attributes in the
DataAnnotations namespace to cover the common validation scenarios, Required, String Length,
Regular Expression and Range.
Question 2 of 20
5.0/ 5.0 Points
Use of NuGet to deliver software and manage dependencies throughout the platform" is new feature of
A. ASP.NET MVC 3
B. ASP.NET MVC 2
C. ASP.NET MVC 4
Question 3 of 20
5.0/ 5.0 Points
How many routes can be defined in the mvc 3 application?
A. three
B. more than one
C. two
D. one
Question 4 of 20
What are the file extensions for razor views? (C# language)
5.0/ 5.0 Points
A. .aspx
B. .cshtml
C. .asp
Question 5 of 20
5.0/ 5.0 Points
HTML 5 Project Templates are now part of ASP.NET MVC 3 installation in VS2010?
A. No. That's incorrect
B. Yes, That's correct. The New Project dialog includes a checkbox enable HTML 5 versions of
prject templates. These templates leverage Modernizr 1.2 to provide compatibility support for HTML 5
and CSS 3 in down-level browsers
C. Yes, That's correct. The New Project dialog includes a checkbox enable HTML 5 versions of
prject templates. These templates leverage Modernizr 1.7 to provide compatibility support for HTML 5
and CSS 3 in down-level browsers
D. No. That's incorrect. The New Project dialog includes a checkbox enable HTML 4 versions only.
5.0/ 5.0 Points
Question 6 of 20
MVC 3 supported
A. No View Enginee
B. Multi Views Engi
C. Only one View Engine
Question 7 of 20
5.0/ 5.0 Points
What is correct for description of ViewData?
A. is a dynamic property that takes advantage of the new dynamic features in C# 4.0.
B. doesn’t require typecasting for complex data type.
C. ViewData is a dictionary of objects that is derived from ViewDataDictionary class and accessible
using strings as keys.
Question 8 of 20
5.0/ 5.0 Points