Você está na página 1de 6

1. The .

Net Framework class library consists of segments of pre-written code called __________ which provide major functions needed for developing.Net B. classes 2. The _____________ namespace contains the classes used to create forms. A. System.Windows.Forms 3. The _______________ manages the execution of .Net programs by providing essential functions such as memory management, code execution, security and other services. D. Common Language Runtime (CLR) 4. You should press __________ to run the application without debugging. A. Ctrl + F5 5. VB.Net uses the ____________ operator to access the member variables and methods of a class. D. .(Dot) 6. The __________________ statement, when turned on, does not allow the use of any variable without proper declaration. B. Option explicit 7. The ___________ statement is used to perform a series of specific checks. B. ifthen 8. In the ________ looping structure the loop will continue until the condition remains true. A. DoLoop While 9. To access the values in an array, we use the indexing operator by passing. B. an integer 10. The ____________ you select determines the initial files, assembly references, code, and property settings added to the project. B. names 11. The TabIndex property is a number that represents the control's position in the tab order, beginning with _________. B. 0 12. An Object's _________ consists of a clearly defined set of properties, methods, and events. D. interface 13. An _________ contains information relevant to the error, exposed as properties of the object. C. Exception object 14. The __________ block contains code that runs when the Try block finishes normally, or when a Catch block receives control and then finishes. B. Finally 15. The ________ statement will, under a given circumstance, break out of the Try or Catch block and continue at the Finally block. A. Exit Try 16. To connect to an Access database we need ____________ connection object. B. OLE DB 17. The ___________ parameter in a Connection String object indicates the location of the database to be connected to.

A. Source 18. ADO.NET uses ______________ to hold all the information in the database. C. DataSet 19. XML is a _____________ used to define other languages. C. meta-language 20. XML cannot be used for ______________________ the data. B. Storing 21. The XML documents must contain a ________________ element. A. Child 22. DTD has its own small set of constructs and __________ rules that helps us to prepare our markup language specifications. A. grammar 23. A valid XML file should be created based on the tags or elements defined in the ________ file. DTD 24. The ___________ occurrence specifier specifies that the element can appear for 0 or more times. A. + B. ? C. * D. No symbol 25. XML Schema does not allow defining _entities 26. A simple element is an XML element that can contain only text 27. XML ______________ allows content model constraints for generic data formats to be built. A. Schema 28. ____________ allows us to define the elements and attributes with a unique identification. A. Namespace 29. The namespace is defined by the __________ attribute in the start tag of an element. A. xmlns 30. In case of ________________ we declare a name space without a prefix. C. Default namespace 31. The process of taking a file and breaking it into its components is called _________ . C. Parsing 32. A ______________ uses both an XML file and a DTD to check that the XML adheres to the rules of the application. A. validating parser 33. The XML DOM views an XML document as a _______________. B. tree-structure 34. The ____________ is an implementation of XSL markup language. B. XSLT (XSL Transformation Engine) 35. XSLT uses _________ to find information in an XML document.

A. Xpath 36. The <xsl:template> element is used to build templates 37. The ________keeps us from depending on obstinate dynamic link library (DLL) files. A. Managed Code 38. The_______can be resources used by the assembly, such as image files or text files that the application will use. C. Static assemblies 39. The ______________________ is a recommendation made by the W3C to enable a standard way of providing access to the data contained in an XML document. D. Document Object Model (DOM) 40. A ___________ is simply another level of naming to add to your XML elements and attributes by specifying a namespace in front of the name. B. namespace 41. You can use the ____ built into visual studio to compile Visual Basic source code into ___________ . C. Visual Basic, Microsoft Intermediate Language 42. The ______ and _______________ operators are object reference comparison operators. D. Is, IsNot 43. Reference data types in VB.Net are ________ and ___________. D. objects, delegates 44. _____ is included in the Text property of a control to indicate the character that can be used to access the control using the keyboard. A. & 45. As exceptions occur in a sequence, you can choose to stack your exceptions for later reference by use of the ____________________ property of your Exception object. C. InnerException 46. To set a reference to System.Xml.dll __________________ from the menu bar. D. Click Project -> Add Reference 47. An ____________ is distinguished from other XML data because it represents a command to either the XML parser or a program that would use the XML document. A. API 48. The syntax used to declare a DTD in an external file is ________________. B. <! DOCTYPE root_element SYSTEM filename> 49. XML Schema includes___ that help us to prepare XML markup language specifications, alternative to DTD. B. Constructors 50. To declare a name space for the types defined in our XML schema document, we use __ attribute of__ tag. D. target Name Space, <xsd: schema> 51. ___ returns a list of all of the children of the current node and____ returns the last child of the current node. D. x.getChildNodes, x.getLastChild

52. An XSL style sheet is an XML document itself, it always begins with the XML declaration___________ . <?xml version="1.0" encoding="ISO-8859-1"?> 53. The ____________ method inserts a new node before the refNode in a node interface method. A. insertBefore(newChild, refChild) 54. The __________ method is used to create and return a CDATA object containing the specified string data. createCDATASection(data) 55. XML contains ____________________ in document format; hence, it is platform __________. self-defined data; independent 56. The number of optional features in XML is to be kept to the absolute __________; ideally, _____ . B. Minimum, zero 57. While creating an XML document in Visual Studio.Net, the environment displays two tables for two views: the ____________ and the _____________ of your XML document. C. XML view; Data view 58. In between the ___________ and _____________, we include the content of the element in XML. A. start-tag, end-tag 59. The elements: <br/>, <Pup Age=1 />, <Story> </Story>, and <Mail/> are examples of _________ elements. A. empty 60. There are two types of data types as defined in XML Schema data types: ___________ and ________ A. Primitive, derived B. User defined, system defined C. User defined, Primitive D. system defined, derived 61. Match the following: 1. The .Net Framework class library Provides pre-written code in the form of classes available to all .Net languages 2. The Common Language Runtime (CLR) Manages the execution of .Net programs by coordinating essential functions. 3. Assembly The disk file on which the Micorsoft Intermediate Language is stored. 4. My Profile Link Customizes the way the IDE's Help Feature works 62. Match the resultant values of the variables: 1. Dim n1 as Integer = 96/8/4 48 2. Dim n2 as Integer = (96/8)/4 3 3. Dim n3 as Integer = 96/(8/4) 50 4. Dim n4 as integer = 100 / 400 / 200 3 63. Match the following VB.Net data types with their corresponding size in bytes: Boolean 1 short 2 long 8 Decimal 12 64. Match the following: 1. These controls in a group are mutually exclusive. 2. These controls operate independently in a group 3. This property can have a value of True or False 4. This control does not have a Text property.

Radio Buttons Check Boxes Checked property of a radio button or a check box Panel Control

65. Match the following: 1. The GetBaseException method This method returns the originating exception.

2. The HelpLink property gets or sets the help link for a specific Exception object 3. Message A string that contains a description of the error, suitable for displaying to users 4. TargetSite A read-only string property that holds the method that threw the exception 66. Match the following core objects of .Net framework data providers: 1. Connection Executes a command against a data source 2. Command Populates a DataSet and resolves updates with the data source 3. DataReader Reads a forward only, read-only stream of data from a data source 4. DataAdapter Establishes the connection to a specific data source 67. Match the following terms with their definitions of XML related technologies: 1. SGML The basis for all markup languages 2. XSL A combination of XML and style sheets 3. XSLT Provides rules for transformations from one XML to another. 4. SAX A simple API for XML, which is a predefined application package interface 68. Match the following: 1. XML The default encoding language of the framework 2. Common Type System (CTS) Allows all the languages to share data using the same types 3. Assembly Includes all the information you need about your application 4. CLRs just-in-time (JIT) compiler Converts the executed program code to machine code. 69. Match the following: 1. <xsd:minInclusive> The minInclusive element is used to define the minimum acceptable value 2. <xsd:length> This is used to specify the number of characters that this type accepts 3. <xsd:enumeration> This element is used to specify one of the possible values that this type accepts 4. Complex Element An XML element that contains other elements and/or attributes 70. Match the following: 1. Namespaces Allow defining the elements in different XSD documents and references them uniquely 2. Target namespace Takes a URI (Uniform Resource Indicator) that is used to uniquely refer the types 3. General Namespace In this case we declare the name space with a prefix that can be used in the document to refer the types/elements 4. Default Namespace In this case we declare a name space without a prefix 71. Match the following: 1. Windows Presentation Foundation (WPF) A completely new UI technology, based on the DirectX engine, which allows creation of vector-based user interfaces instead of the traditional Windows bitmapped UI 2. Windows Communication Foundation (WCF) A unified framework for machine-to-machine and process-to-process communication 3. Windows Workflow (WF) An engine for creation of workflow applications 4. ASP.NET Provides browser-based user interfaces with Web Forms and system-to-system interface over the Web with Web Services. 72. Match the following: 1. Special data or metadata The data within the applications store a map of where to find classes, when to load classes, and when to set up runtime context boundaries, generate native code, enforce security, determine which classes use which methods, and load classes when needed. 2. Unmanaged code Code thats compiled with COM and Win32API declarations 3. The Common Language Runtime (CLR) Is a subset of CLR types defined in the Common Type System and its features are instrumental in the interoperability process by containing the basic types required for CLR operability 4. CLS Manages code execution and the services that .NET provides 73. Match the following with respect to assemblies in .Net:

1. Loader Optimization This option in an assembly has three settings: single domain, multidomain, and multidomain host 2. Single-domain setting It is the default setting and is used most in client-side situations 3. multidomain setting In this, the code is assumed to be the same across the domain 4. multidomain host In this, each domain hosts different code 74. Identify the steps in creating XML documents using Visual Studio.Net: 1. The VS.NET will automatically load the XML Designer and display the XML document template, and finally, enter the contents of your XML document. 2. Enter a name for your XML file. 3. Select the XML File icon in the Add New Item dialog box. 4. From the Project menu, select Add New Item. ( Answer :4, 3, 2, 1 ) 75. Match the following: 1. The Declaration <?xml version=1.0?> The standard entry is used to identify the document as an XML document conforming to the W3C recommendation for version 1.0. 2. Schema or Document Type Definition (DTD) Contains the rules about the elements of the document 3. The root element The specific element in an XML document that contains all other elements inside it 4. Attribute An is always placed inside the start-tag of an element, and we specify its value using the name=value pair protocol

Você também pode gostar