Upload
girish-sharma
View
550
Download
0
Tags:
Embed Size (px)
Citation preview
Model Question Paper
Subject Code: MC0081
Subject Name: .NET Technologies
Credits: 4 Marks: 140
Part A (One mark questions)
1. Middle layer of .Net Framework provides __________________________________.
a. Web forms and services
b. Controls and drwaing tools
c. Memory mangement
d. Capability level that developer needs.
2. ____________________ provides a powerful form based UI for the web.
a. Window forms
b. Web services
c. web forms
d. Intermediate language
3. _________________ in a standalone PE file contains only assembly manifest
information.
a. Metadata
b. MSIL code
c. Util.netmodule
d. Multifile
4. The .NET Framework class library is a collection of reusable types that tightly integrate
with the _______________________.
a. common language runtime.
b. .Net platform
c. web forms
d. Web services
5. The C# language is based on the C++ Language, but it is mostly developed on the lines
of ____________________ .
a. visual programming
b. C language
c. Microsoft’s Visual Basic
d. Visual C++
6. The designer of c# language was ___________________
a. Robin Andrew
b. Dennis Richard
c. James Gozling
d. Anders Hajlsberg
7. How many accesse specifies available in C#.
a. Three
b. Four
c. Six
d. Many
8. A ____________________ is a class that can hold a reference to a method
a. delegate
b. event
c. set
d. using
9. The tools for creating web applications are called _____________________
a. window forms
b. Web forms
c. Mark up language
d. None of the above
10. The key to create a Windows Form application is to derive your form from
_______________________
a. System.Windows.Applicaation.Form
b. System.Windows.Application
c. System.Windows.Forms
d. System.Windows.Forms.Form
11. In upper right corner of the tool box ____________________________ is available
a. Solution explorer
b. properties window
c. project explorer
d. None of the above
12. Expand RAD
a. Radial Application Development
b. Rapid Application Deployment
c. Rapid Application Development
d. Rapid Appreciation Development
13. ________________ controls provide a flexible and easy-to-use mechanism for
displaying repetitive lists of items.
a. DataList
b. Repeater
c. DataGrid
d. None of the above
14. Identify how many way(s) to create a custom controls
a. one
b. Two
c. Three
d. Many
15. A Content Page can declare __________________ that specifically override content
placeholder sections in the Master Page.
a. contentplaceholderID
b.Default
c. counter control
d. content controls
16. _________________________ feature of ASP.NET allows you to factor style and
layout information into a separate group of files
a. themes
b. themes and skins
c. skins
d. None of the above
17. The ___________________________ works as a container for the static text and
controls you want to display
a. HTML page
b. dynamic web page
c. static web page
d. ASP.NET web page
18. Visual Studio 2008 automatically provides IntelliSense for any objects that are placed in
the ___________________________
a. \App_Code directory
b. Orcas
c. \App_Code
d. None of the above
19. _____________ enable developers to add descriptive text to applications, and facilitate
code-behind programming
a. Assembly directive
b. import directive
c. Application directive
d. None of the above
20. Application_ResolveRequestCache and ___________________________________
could be used to implement a custom output cache
a. Application_UpdateResponseCache
b. Application_UpdateRequestCache
c. Application_AuthenticateRequest
d. Application_Authorize Request
21. __________________________ is the process by which you maintain state and page
information over multiple requests for the same or different pages.
a. page management
b. State management
c. memory management
d. File management
22. Who is responsible to manage the cookies in the user system.
a. RPC
b. programmer
c. Administrator
d. browser
23. Sessions are identified by a unique identifier that can be read by using the
___________________
a. SessionID value
b. cookie
c. SessionId property
d. None of the above
24. Pick the odd one out related to application state consideration
a. Resources
b. Volatility
c. Scalability
d. execution
25. ___________________ populates a Dataset and resolves updates with the data source.
a. command
b. DataAdapter
c. DataReader
d. connection
26. ____________________ gets a value indicating whether the component can raise an
event.
a. CanRaiseEvents
b. ConnectionTimeout
c. ConnectionString
d. CanRaiseEvents
27. _______________________ annotation allows you to explicitly specify parent-child
relationships between elements in the schema that are not nested
a. System.Data.SqlClient
b. IDbConnection
c. XML :: Data
d. msdata:Relationship
28. Name the parameter which require for OracleConnection()
a. Data source
b. Dbengine
c. Table name
d. Driver
29. Expand SOAP
a. Simple Oriented Access Protocol
b. Simple Object Authenicate Protocol
c. Single Object Access Protocol
d. Simple Object Access Protocol
30. Web service’s local URL is located in
a. http://host/calc.asmx.
b. http://localhost/root
c. http://localhost/calc.asmx.
d. http://localhost/calc.exe
31. __________________ contract has all the information it needs to make calls to that
Web service.
a. WSDL
b. DISCO
c. UDDI
d. none of the above
32. __________________ is an application which use or consume web methods.
a. service proxies
b. service clients
c. service application
d. None of the above
33. ____________ compression provides faster transmission of pages between the Web
server and compression-enabled clients
a. HTTP
b. FTP
c. JPEG
d. MPEG
34. Expand SSL
a. Secure Session Layer
b. Secure Socket Layer
c. Socket Secure Layer
d. Socket Session Layer
35. you can isolate different Web applications or Web sites in pools, which are called
a. isolation pool
b. Appliocation mode
c. isolation mode
d. Application pools
36. ________________ is a folder name, used in an address, which corresponds to a
physical directory on the Web server
a. dynamic library
b. link library
c. logical directory
d. virtual directory
37. ______________ can be used to ensure the server identity and optionally the client
identity
a. ACL
b. NTLM
c. HTTP
d. SSL
38. The authorization points or gatekeepers within an ASP.NET Web application are
provided by ______________
a. IIS
b. HTTP
c. NTLM
d. ACL
39. ______________________ helps protect data from being viewed, provides ways to
detect whether data has been modified
a. Configuration
b. Cryptography
c. Encryption
d. security
40. _________________________ encryption class require a key and a new initialization
vector (IV) to encrypt and decrypt data
a. Cryptographic hashes
b. public key
c. cryptography
d. symmetric
Part B (Two mark questions)
41. Selct the components of ASP .NET from the following list.
i) web services
ii) web forms
iii) CTS
iv) ASP.NET application services
a. i, ii, iii only
b. ii, iii, iv only
c. i, ii, iv only
d. All the above
42. Specify the benefits of assemblies
i) Designed to simplify application deployment
ii) To solve versioning problem.
iii) It enables zero-impact appliaction installation.
iv) It simplifies uninstalling and replicating applications.
a. i, ii, iii only
b. ii, iii, iv only
c. i, ii, iv only
d. All the above
43. The minimum requirement to get start with the C # programming are
______________________ and ______________________ .
a. Notepad, Operating system
b. Text Editor, .NET frame work
c. .NET class library, .NET Frame work
d. Text Editor , compiler
44. Pick the user defined data type of C # language from the below list.
i) char
ii) class
iii) interface
iv) Reference
a. ii, iii only
b. ii, iii, iv only
c. i, ii, iii only
d. All the above
45. State the following statements True/False related to web forms
i) you can create Web Forms in Notepad
ii) Web Forms are designed to run on any browser
a. False, False
b. True, False
c. True, True
d. False, True
46. Web Forms divide the user interface into two parts: _________________ and ____________________
a. visual part , Logic
b. vidsual part , user interface
c. Application , Database
d. Application, Business logic
47. State the following statements True/False - about Master page
i) The Master Pages feature provides the ability to define common structure and interface elements for your site.
ii) A Master Page is a page that contains markup and controls that can not be shared across multiple pages
a. True, False
b. False, True
c. False, False
d. True, True
48. Name two types of control skins
a. Dark and light skins
b. transparent, opaque skins
c. static and dynamic skins
d. default and named skins
49. appSettings sections hold _____________________________ and system.web section holds _________________________ in configuration settings .
a. web configuration, connection string
c. ASP.NET, database connection strings
c. database connection strings, ASP.NET
d. memory details, web configuration
50. Pick the elements of Global.asax from the following
i) Global directives
ii) Global event handler
iii) Global triggers
iv) Global object tags
a. i, ii, iii only
b. i, ii, iv only
c. ii, iii, iv only
d. All the above
51. You can also store multiple name-value pairs in a ________________ . The name-value pairs are referred to as _________________
a. separate cookie, sub cookie
b. multiple cookie, subkeys
c. single cookie, subkeys
d. subkey, single cookie
52. Session variables are stored in a _______________________ object that is exposed through the _____________________________
a. ASP.NET , web page
b. HttpContext:Session property, SessionStateItemCollection
c. SessionCollection, HttpContext:Session property
d. SessionStateItemCollection, HttpContext:Session property
53. What is ADO.NET?
a. used to create powerful and scalable web applications
b. create a powerful database
c. Used to interconnect between front end and back end
d. It is a power application tool
54. Define disconnected architecture.
a. Data base is in the distributed network
b. Database available natively
c. Database can be login remotely
d. Data is retrieved from a database and cached on your local machine.
55. State True/False about the web service application
i) Runs on a web server
ii) Executes web methods and returns the results.
a. False, True
b. True, True
c. True, False
d. False, False
56. List the components of web application server
i) service proxy
ii) service Reply
iii) Service listener
iv) Service Respond
a. ii, iii , iv only
b. i, ii, iii only
c. ii, iv only
d. i , iiii only
57. we can use ______________ and _____________________ services to set up intranet
news and mail services that work in conjunction with IIS
a. WebDev, NNTP
b. NNTP, HTTP
c. NNTP, SMTP
d. WebDev, SMTP
58. state the following statements are True/False enabling common storage for ASP.NET
i) Configure the encryption and validation keys
ii) Secure the ASP.NET session state connection string in the registry
a. True, False
b. True, True
c. False, True
d. False, False
59. In URL authorisation notes "*" refers to ____________________ and "?" refers to
_______________
a. Wild character, all identities
b. unauthenticated identities , all identities
c. all identiites , unauthenticated identities
d. unauthenticated identities, wild character
60. Data integrity ensures _____________________ and authentication ensures
_________________________
a. protect data from being changed , ensures the data originated from a particular party.
b. ensures the data originated from a particular party, protect data from being changed
c. Helps to protect user's identity, protect data from being changed
d. ensures the data originated from a particular party, helps to protect user's identity
Part C (Four mark questions)
61. Pick the function performed by assembly manifest from the following
i) Enumerates other assemblies on which the assembly depends
ii) Renders the assembly self-describing.
iii) Provides a level of indirection between consumers of the assembly and the assembly's
implementation details
iv) Enumerates the files that make up the assembly
a. True, True, True, True
b. True, False, False, True
c. False, True, False, True
d. True, True, True, False
62. Find the output
class BreakTest
{ static void Main()
{for(int i = 1; i<=50;i++)
{ if(i==5)
{ break;}
Console.WriteLine(i);}
} }
a. 1 2 3 to ......50
b. 1 2 3 4 5
c. 1 2 3 4
d. Syntax error
63. Arrange the following web form life cycle in a sequence
i) Load view state
ii) process post back data
iii) initialise
iv) dispose
v) render
a. iii, i, ii, v, iv
b. iii, ii, i, v, iv
c. iii, ii, i, iv, v
d. ii, iii, i, v, iv
64. Match the following
Set A
i) Web server control
ii) Validation control
iii) User control
iv) HTML server control
Set B
a) incorporate logic to enable you to what users enter for input controls
b) Contains buttons, text boxes and special purpose controls like calender etc..
c) Expose an object model that maps very closely to the HTML elements that they render
d) Are the Controls that you create as ASP.NET Web pages
a. i - b, ii - d, iii - a, iv - c
b. i - b, ii - a, iii - d, iv - c
c. i - d, ii - a, iii - b, iv - c
d. i - b, ii - c, iii - d, iv - a
65. Match the following Set A - File type with Set B - with its contents.
Set A
i) ASPX
ii) ASCX
iii) Global.asax
iv) DLL
Set B
a) contain custom types employed by the application.
b) contain all the application elements
c) Contains user control
d) contains web forms
a. i - d, ii - c, iii - a, iv - b
b. i - d, ii - c, iii - b, iv - a
c. i - c, ii - d, iii - b, iv - a
d. i - d, ii - a, iii - b, iv - c
66. Match the following
Set A
i) View state
ii) control state
iii) cokkies
iv) query string
Set B
a) Its make you to control the work properly.
b) it is an information that is appended to the end of a page URL
c) property provides a dictionary object for retaining values between multiple requests for the
same page
d) Small amount of data that is stored either in a text file on the client file system or in-memory
in the client browser session
a. i - c, ii - b, iii - d, iv - a
b. i - c, ii - a, iii - b, iv - d
c. i - a, ii - c, iii - d, iv - b
d. i - c, ii - a, iii - d, iv - b
67. Match the .NET Framework data provider with its description
Set A
i) commandBuilder
ii)Parameter
iii) Exception
iv) Error
Set B
a) Returned when an error is encountered at the data source
b) Defines input, output, and return value for commands and stored procedures
c) Exposes the information from a warning or error returned by a data source
d) A helper object that automatically generates derives parameter information from a stored
procedure and populates the populates the collection
a. i - d, ii - a, iii - b, iv - c
b. i - d, ii - b, iii - a, iv - c
c. i - b, ii - d, iii - a, iv - c
d. i - d, ii - c, iii - a, iv – b
68. Match the Set A with Set B web method parameter with its description
Set A
i) BufferResponse
ii) EnableSession
iii) MessageName
iv) TransactionOption
Set B
a) Enables and disables session state for this Web method
b) Enables and disables response buffering
c) Specifies the transactional behavior of a Web method
d) Specifies the Web method’s name
a. i - b, ii - c, iii - d, iv - a
b. i - d, ii - a, iii - b, iv - c
c. i - b, ii - a, iii - d, iv - c
d. i - b, ii - d, iii - a, iv – c
69. Match the following Set A internet providers with Set B its services
Set A
i) WWW
ii) FTP
iii) NNTP
iv) SMTP
Set B
a) Hosting sites where users can upload and download files
b) service for sending and receiving e-mail messages
c) publishing service for hosting internet and intranet content.
d) service for hosting discussion groups
a. i - c, ii - b, iii - d, iv - a
b. i - d, ii - a, iii - c, iv - b
c. i - c, ii - a, iii - d, iv - b
d. i - a, ii - d, iii - b, iv – c
70. Match set A .NET cryptography class Set B its description
Set A
i) AesManaged
ii) CngKey
iii) DES
iv) DSA
Set B
a) Represents the abstract base class from which all implementations of the Digital Signature
Algorithm
b) Represents the base class for the Data Encryption Standard
c) Defines the core functionality for keys that are used with Cryptography Next Generation
d) Provides a managed implementation of the Advanced Encryption Standard (AES) symmetric
algorithm
a. i - d, ii - c, iii - b, iv - a
b. i - d, ii - a, iii - b, iv - c
c. i - c, ii - d, iii - b, iv - a
d. i - d, ii - c, iii - a, iv – b
71. List the global directive supported by Global.asax
a. Application directives, import directives, Assembly directives
b. Application directives, Export directives, Assembly directives
c. Import directives, interface directives, Application directives
d. Assembly directives, database directives, interface directives
72. Base class for all CommandBuilder objects is the _____________________ class
Base class for all parameter objects is the _____________________ class
________________ exposes the information from a warning returned by a data source.
a. DbConnectionStringBuilder, DbParam, Dberror
b. DbCommandBuilder, DbParams, DbError
c. DbConnectionStringBuilder, DbParameter, Error
d. DbConnectionBuilder, DbParam, Error
73. ______________ is a standard for describing structured data
___________________ is an XML-based protocol for sending and receiving data to and
from a Web Service
______________ is an XML format that describes the interface to Web Services,
including the data formats.
a. HTTP, UDDI, SOAP
b. HTTP, SOAP, XML
c. XML, UDDI, HTTP
d. XML, SOAP, WSDL
74. State True/False for the listed improvements done in the version of IIS 6.0
i) Robust performance
ii) Self Healing
iii) Scalability
iv) process Affinity
a. True, True, False, False
b. True, True, True, True
c. False, False, True, True
d. True, True, False, True
75. State the statements True/False when to use windows authentication and impersonation
Your application's users have Windows accounts that can be authenticated by the server
You need to flow the original caller's security context to the middle tier and/or data tier of
your Web application
You need not to flow the original caller's security context to the downstream tiers to
support operating system level auditing
a. True, True, False
b. True, False, True
c. False, True, True
d. True, False, False
Answer Keys
Part - A Part - B Part - C
Q. No. Ans. Key Q. No. Ans. Key Q. No. Ans. Key Q. No. Ans. Key
1 D 21 B 41 C 61 A
2 C 22 D 42 D 62 C
3 B 23 C 43 B 63 A
4 A 24 D 44 A 64 B
5 C 25 B 45 C 65 B
6 D 26 D 46 A 66 D
7 B 27 D 47 A 67 B
8 A 28 A 48 D 68 C
9 B 29 D 49 C 69 C
10 D 30 C 50 B 70 D
11 A 31 A 51 C 71 A
12 C 32 B 52 D 72 C
13 B 33 A 53 A 73 D
14 C 34 B 54 D 74 B
15 D 35 D 55 B 75 A
16 B 36 D 56 D
17 D 37 D 57 C
18 A 38 A 58 B
19 C 39 B 59 C
20 B 40 D 60 A