wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

IPT102 - Finals Examination

Total questions: 50

Worksheet time: 50mins

Name
Class
Date
1.

In this type of authentication the user needs to provide his credentials through a form.

a)

Validation Controls

b)

Forms Authentication

c)

Forms Authorization

2.

These attributes are used to define metadata for ASP.NET MVC and ASP.NET data controls.

a)

System.Web.Controls

b)

System.Web.Security

c)

System.ComponentModel.DataAnnotations

3.

This data annotation attribute specifies that a property value is required.

a)

Range

b)

Required

c)

StringLength

4.

This data annotation attribute specifies the numeric range constraints for the value of a property.

a)

Range

b)

Required

c)

StringLength

5.

This data annotation attribute specifies the minimum and maximum length of characters that are allowed in a string type property.

a)

Range

b)

Required

c)

StringLength

6.

This data annotation attribute validates file name extensions.

a)

Range

b)

FileExtension

c)

Master Pages

7.

It is an object-relational mapper (O/RM) that enables .NET developers to work with a database using .NET objects.

a)

Entity Framework

b)

ADO.NET

c)

Data Annotations

8.

It is a security mechanism that is used to determine whether the user has access to a particular resource or not.

a)

Authentication

b)

Validation

c)

Authorization

9.

Entity Framework was first released in 2008 by ________________________.

a)

Oracle

b)

Linux

c)

Microsoft

10.

This data annotation attribute specifies the maximum length of array or string data allowed in a property.

a)

Range

b)

StringLength

c)

MaxLength

11.

It is a centralized authentication service (paid service) provided by Microsoft which offers a single logon and core profile services for member sites.

a)

Forms Authentication

b)

Windows Authentication

c)

Passport Authentication

12.

This is the default Authentication mode, no authentication provided.

a)

Forms Authentication

b)

Windows Authentication

c)

none of the above

13.

Where you can specify the Authentication mode in MVC Application?

a)

Web.config file

b)

Master Pages

c)

Login and security Controls

14.

It is one of the features of the entity framework which can run on Windows, Linux and Mac.

a)

Cross-platform

b)

Saving

c)

Querying

15.

It is one of the features of the entity framework which can executes INSERT, UPDATE, and DELETE commands to the database based on the changes occurred to your entities when you call the SaveChanges() method.

a)

Cross-platform

b)

Saving

c)

Querying

16.

It is one of the features of the entity framework which can allows us to use LINQ queries (C#/VB.NET) to retrieve data from the underlying database.

a)

Cross-platform

b)

Saving

c)

Querying

17.

It is a client-side scripting language, which means the source code is processed by the client's web browser rather than on the web server.

a)

CSS

b)

JavaScript

c)

ASP.NET

18.

It is ensuring that data entered by the user into the form is proper and valid as per requirements.

a)

Authentication

b)

Required

c)

Form Validation

19.

The Forms Authentication is available in ____________________ namespace.

a)

System.Web.Security

b)

System.ComponentModel.DataAnnotations

c)

System.Web.Controls

20.

This is the built-in attribute provided by MVC which is basically used to authenticate a user.

a)

Controls Attribute

b)

Navigation Attribute

c)

Authorize Attribute

21.

These are nothing but the permissions given to a particular user to access some resources.

a)

Roles

b)

Authentication

c)

Authorization

22.

The RoleProvider is an abstract class. As it is an abstract class we need to implement all the methods of that class.

a)

True

b)

False

c)

Maybe

23.

This validation is done at the server level after sending the form data to the server and before entering the data into the database.

a)

Client-Side Validation

b)

Server-Side Validation

c)

Web.config

24.

This validation is done in the browser before sending the form data to the server.

a)

Client-Side validation

b)

Server-Side Validation

c)

Web.config

25.

It is an automatic check to ensure that data entered is sensible and feasible.

a)

Validation

b)

Authentication

c)

Data Controls

26.

It is nothing but a process that ensures and confirms a user’s identity.

a)

Authentication

b)

Validation

c)

Authorization

27.

It is used in MVC to provide a consistent look and feel on all the pages of our application.

a)

Authentication

b)

Layouts

c)

Authorization

28.

It is a part of layout that usually the strip across the top of a web page with a big heading and a logo. This is also where main common information about a website and main contact information.

a)

Website Footer

b)

Navigation Menus

c)

Website Header

29.

It is a part of layout that the strip across the bottom of a web page. It generally contains fine print, copyright notices, quick access links and/or contact information.

a)

Website Footer

b)

Navigation Menus

c)

Website Header

30.

It is one of the advantages of Javascript that you can include such items as drag-and-drop components and sliders.

a)

Richer interfaces

b)

Less server interaction

c)

Immediate feedback to the visitors

31.

It is a part of layout that has an organized list of links to other web pages, usually internal pages.

a)

Main Content Area

b)

Navigation Menus

c)

Website Header

32.

It is a part of layout wherein this is the big area in the center that contains most of the unique content of a web page, for example the photo gallery you want to display or a feature article you want your visitors to read.

a)

Main Content Area

b)

Navigation Menus

c)

Website Header

33.

It is one of the two types of style sheets wherein the style is defined in the section of the web page using the