VB.NET MOCK TEST VB.NET MOCK TEST III

Similar documents
2. A GUI A. uses buttons, menus, and icons B. should be easy for a user to manipulate C. both (a) and (b) D. stands for Graphic Use Interaction

PERL MOCK TEST PERL MOCK TEST II

VB.NET MOCK TEST VB.NET MOCK TEST I

C# MOCK TEST C# MOCK TEST I

PYTHON MOCK TEST PYTHON MOCK TEST III

C# MOCK TEST C# MOCK TEST II

GO MOCK TEST GO MOCK TEST I

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST III

JAVA MOCK TEST JAVA MOCK TEST III

JSP MOCK TEST JSP MOCK TEST III

Unit 4. Lesson 4.1. Managing Data. Data types. Introduction. Data type. Visual Basic 2008 Data types

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST II

MAVEN MOCK TEST MAVEN MOCK TEST I

AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS

DB2 MOCK TEST DB2 MOCK TEST I

JAVA MOCK TEST JAVA MOCK TEST IV

COBOL MOCK TEST COBOL MOCK TEST III

MAVEN MOCK TEST MAVEN MOCK TEST IV

NODE.JS MOCK TEST NODE.JS MOCK TEST I

ANGULARJS - MOCK TEST ANGULARJS MOCK TEST II

EJB MOCK TEST EJB MOCK TEST IV

CICS MOCK TEST CICS MOCK TEST I

JAVASCRIPT MOCK TEST JAVASCRIPT MOCK TEST I

.Net Technologies. Components of.net Framework

JAVA MOCK TEST JAVA MOCK TEST II

MAVEN MOCK TEST MAVEN MOCK TEST III

HTML5 MOCK TEST HTML5 MOCK TEST I

Uka Tarsadia University MCA ( 3rd Semester)/M.Sc.(CA) (1st Semester) Course : / Visual Programming Question Bank

Microsoft. Microsoft Visual C# Step by Step. John Sharp

Chapter 02 Building Multitier Programs with Classes

GO - OPERATORS. This tutorial will explain the arithmetic, relational, logical, bitwise, assignment and other operators one by one.

CHAPTER 1: INTRODUCTION TO THE IDE 3

CSS MOCK TEST CSS MOCK TEST III

OVERVIEW ENVIRONMENT PROGRAM STRUCTURE BASIC SYNTAX DATA TYPES TYPE CONVERSION

NODE.JS MOCK TEST NODE.JS MOCK TEST IV

HIVE MOCK TEST HIVE MOCK TEST III

JCL MOCK TEST JCL MOCK TEST IV

Programming Languages Third Edition. Chapter 9 Control I Expressions and Statements

5 When a program calls a function, in which type of data structure is memory allocated for the variables in that function?

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

Object-Oriented Programming

Chapter 2. Building Multitier Programs with Classes The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

HIBERNATE MOCK TEST HIBERNATE MOCK TEST I

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Table of Contents VB.NET

Question And Answer.

MCSA Universal Windows Platform. A Success Guide to Prepare- Programming in C# edusum.com

Introduction to C# Applications

PL/SQL MOCK TEST PL/SQL MOCK TEST IV

C#: framework overview and in-the-small features

Learning to Program in Visual Basic 2005 Table of Contents

C# Programming: From Problem Analysis to Program Design. Fourth Edition

COMP 202 Java in one week

HBASE MOCK TEST HBASE MOCK TEST III

CS313D: ADVANCED PROGRAMMING LANGUAGE

Java 2 Programmer Exam Cram 2

QC MOCK TEST QC MOCK TEST

Module 4: Data Types and Variables

BASIC ELEMENTS OF A COMPUTER PROGRAM

3. Java - Language Constructs I

JSP MOCK TEST JSP MOCK TEST IV

GWT MOCK TEST GWT MOCK TEST I

C # Language Specification

PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL)

Review: Exam 1. Your First C++ Program. Declaration Statements. Tells the compiler. Examples of declaration statements

Q&As. Microsoft MTA Software Development Fundamentals. Pass Microsoft Exam with 100% Guarantee

Chapter 7 Control I Expressions and Statements

Building Multitier Programs with Classes

Table of Contents Preface Bare Necessities... 17

P.G.TRB - COMPUTER SCIENCE. c) data processing language d) none of the above

Exception Handling Pearson Education, Inc. All rights reserved.

NODE.JS MOCK TEST NODE.JS MOCK TEST II

CSC Java Programming, Fall Java Data Types and Control Constructs

UNIT 1. Introduction to Microsoft.NET framework and Basics of VB.Net

Bit (0, 1) Byte (8 bits: 0-255) Numeral systems. Binary (bin) 0,1 Decimal (dec) 0, 1, 2, 3, Hexadecimal (hex) 0, 1, 2, 3, 1/13/2011

C++ TEMPLATES. Templates are the foundation of generic programming, which involves writing code in a way that is independent of any particular type.

Java Overview An introduction to the Java Programming Language

NODE.JS MOCK TEST NODE.JS MOCK TEST III

Exceptions. Why Exception Handling?

ECE 122. Engineering Problem Solving with Java

Course Hours

CSC 1214: Object-Oriented Programming

This tutorial has been prepared for the beginners to help them understand basics of c# Programming.

Debugging and Handling Exceptions

Module 1. An Introduction to C# Module 2. Classes and Objects. Vasundhara Sector 14-A, Plot No , Near Vaishali Metro Station,Ghaziabad

Hierarchical inheritance: Contains one base class and multiple derived classes of the same base class.

Introduce C# as Object Oriented programming language. Explain, tokens,

Computer Components. Software{ User Programs. Operating System. Hardware

HIBERNATE MOCK TEST HIBERNATE MOCK TEST II

HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV

5/23/2015. Core Java Syllabus. VikRam ShaRma

Microsoft Visual C# Step by Step. John Sharp

Exception Handling Generics. Amit Gupta

Program Fundamentals

Procedures in Visual Basic

Learning C# 3.0. Jesse Liberty and Brian MacDonald O'REILLY. Beijing Cambridge Farnham Köln Sebastopol Taipei Tokyo

C# Programming. Unit 1: Introducing C# and the.net FrameworkThis module explains the.net Framework, and using C# and

10266 Programming in C Sharp with Microsoft Visual Studio 2010

JDBC MOCK TEST JDBC MOCK TEST IV

Exception Handling in C++

Introduction to Programming

Transcription:

http://www.tutorialspoint.com VB.NET MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to VB.Net. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself. VB.NET MOCK TEST III Q 1 - Which of the following accesss modifier specifies that Visual Basic should marshal all strings to Unicode values regardless of the name of the external procedure being declared? A - Shadows B - Shared C - Static D - Unicode Q 2 - Which of the following accesss modifier indicates that a conversion operator CType converts a class or structure to a type that can hold all possible values of the original class or structure? A - Widening B - WithEvents C - WriteOnly D - ReadOnly Q 3 - Which of the following accesss modifier specifies that one or more declared member variables refer to an instance of a class that can raise events? A - Widening B - WithEvents C - WriteOnly D - ReadOnly

Q 4 - Which of the following accesss modifier specifies that a property can be written but not read? A - Widening B - WithEvents C - WriteOnly D - ReadOnly Q 5 - Which of the following statement declares and allocates storage space for one or more variables? A - Dim B - Const C - Enum D - Class Q 6 - Which of the following statement declares and defines one or more constants? A - Dim B - Const C - Enum D - Class Q 7 - Which of the following statement declares an enumeration and defines the values of its members? A - Dim B - Const C - Enum D - Class Q 8 - Which of the following statement declares the name of a class and introduces the definition of the variables, properties, events, and procedures that the class comprises? A - Dim B - Const C - Enum D - Class Q 9 - Which of the following statement declares the name of a structure and introduces the definition of the variables, properties, events, and procedures that the structure comprises?

A - Structure B - Module C - Interface D - Function Q 10 - Which of the following statement declares the name of a module and introduces the definition of the variables, properties, events, and procedures that the module comprises? A - Structure B - Module C - Interface D - Function Q 11 - Which of the following statement declares the name of an interface and introduces the definitions of the members that the interface comprises? A - Structure B - Module C - Interface D - Function Q 12 - Which of the following statement declares the name, parameters, and code that define a Function procedure? A - Structure B - Module C - Interface D - Function Q 13 - Which of the following statement declares the name, parameters, and code that define a Sub procedure? A - Sub B - Declare C - Operator D - Property Q 14 - Which of the following statement declares a reference to a procedure implemented in an external file? A - Sub B - Declare

C - Operator D - Property Q 15 - Which of the following statement declares the operator symbol, operands, and code that define an operator procedure on a class or structure? A - Sub B - Declare C - Operator D - Property Q 16 - Which of the following statement declares the name of a property, and the property procedures used to store and retrieve the value of the property? A - Sub B - Declare C - Operator D - Property Q 17 - Which of the following statement declares a user-defined event? A - Event B - Delegate C - Operator D - Property Q 18 - Which of the following statement is used to declare a delegate? A - Event B - Delegate C - Operator D - Property Q 19 - Which of the following directive defines conditional compiler constants? A - #Const B - #ExternalSource C - #If...Then...#Else D - #Region

Q 20 - Which of the following directive is used for indicating a mapping between specific lines of source code and text external to the source? A - #Const B - #ExternalSource C - #If...Then...#Else D - #Region Q 21 - Which of the following directive conditionally compiles selected blocks of Visual Basic code? A - #Const B - #ExternalSource C - #If...Then...#Else D - #Region Q 22 - Which of the following directive helps in collapsing and hiding sections of code in Visual Basic files? A - #Const B - #ExternalSource C - #If...Then...#Else D - #Region Q 23 - Which of the following operator returns the address of a procedure? A - AddressOf B - Await C - GetType D - Function Expression Q 24 - Which of the following operator is applied to an operand in an asynchronous method or lambda expression to suspend execution of the method until the awaited task completes? A - AddressOf B - Await C - GetType D - Function Expression Q 25 - Which of the following operator returns a Type object for the specified type? A - AddressOf

B - Await C - GetType D - Function Expression Q 26 - Which of the following operator declares the parameters and code that define a function lambda expression? A - AddressOf B - Await C - GetType D - Function Expression Q 27 - Which of the following operator uses short-circuit evaluation to conditionally return one of two values? A - If B - Await C - GetType D - Function Expression Q 28 - Which of the following statement terminates the loop or select case statement and transfers execution to the statement immediately following the loop or select case? A - Exit B - Continue C - GoTo Q 29 - Which of the following statement causes the loop to skip the remainder of its body and immediately retest its condition prior to reiterating? A - Exit B - Continue C - GoTo Q 30 - Which of the following statement transfers control to the labeled statement? A - Exit B - Continue C - GoTo

Q 31 - Which of the following property of Array class in VB.NET checks whether the Array has a fixed size? A - IsFixedSize B - IsStatic C - Length Q 32 - Which of the following property of Array class in VB.NET checks whether the Array is readonly? A - IsFixedSize B - IsReadOnly C - Length Q 33 - Which of the following property of Array class in VB.NET gets a 32-bit integer, the total number of elements in all the dimensions of the Array? A - Rank B - LongLength C - Length Q 34 - Which of the following property of Array class in VB.NET gets a 64-bit integer, the total number of elements in all the dimensions of the Array? A - Rank B - LongLength C - Length Q 35 - Which of the following property of Array class in VB.NET gets the rank numberofdimensions of the Array? A - Rank B - LongLength C - Length

Q 36 - Which of the following Collection class of VB.NET represents ordered collection of an object that can be indexed individually? A - ArrayList B - Hashtable C - SortedList D - Stack Q 37 - Which of the following Collection class of VB.NET uses a key to access the elements in the collection? A - ArrayList B - Hashtable C - SortedList D - Stack Q 38 - Which of the following Collection class of VB.NET uses a key as well as an index to access the items in a list? A - ArrayList B - Hashtable C - SortedList D - Stack Q 39 - Which of the following Collection class of VB.NET represents a last-in, first out collection of object? A - ArrayList B - Hashtable C - SortedList D - Stack Q 40 - Which of the following Collection class of VB.NET represents a first-in, first out collection of object? A - Queue B - BitArray C - SortedList D - Stack Q 41 - Which of the following Collection class of VB.NET represents an array of the binary representation using the values 1 and 0? A - Queue

B - BitArray C - SortedList D - Stack Q 42 - Which of the following block of VB.NET identifies a block of code for which particular exceptions will be activated? A - Try B - Catch C - Finally D - Throw Q 43 - Which of the following block of VB.NET identifies a place to catch an exception with an exception handler at the place in a program where you want to handle the problem? A - Try B - Catch C - Finally D - Throw Q 44 - Which of the following block of VB.NET is used to execute a given set of statements, whether an exception is thrown or not thrown? A - Try B - Catch C - Finally D - Throw Q 45 - Which of the following keyword of VB.NET is used to throw an exception when a problem shows up? A - Try B - Catch C - Finally D - Throw Q 46 - The finally block is used to execute a given set of statements, whether an exception is thrown or not thrown. A - true B - false

Q 47 - Which of the following is true about exceptions in VB.NET? A - The exception classes in VB.NET are mainly directly or indirectly derived from the System.Exception class. B - VB.NET exceptions are represented by classes. C - Both of the above. Q 48 - Which of the following is true about System.ApplicationException class in VB.NET? A - The System.ApplicationException class supports exceptions generated by application programs. B - Exceptions defined by the programmers should derive from this class. C - Both of the above. Q 49 - The System.SystemException class is the base class for all predefined system exception in VB.NET? A - true B - false Q 50 - User-defined exception classes are derived from the ApplicationException class in VB.NET? A - true B - false ANSWER SHEET Question Number Answer Key 1 D 2 A 3 B 4 C 5 A 6 B 7 C 8 D 9 A

10 B 11 C 12 D 13 A 14 B 15 C 16 D 17 A 18 B 19 A 20 B 21 C 22 D 23 A 24 B 25 C 26 D 27 A 28 A 29 B 30 C 31 A 32 B 33 C 34 B 35 A 36 A 37 B 38 C 39 D 40 A 41 B 42 A 43 B

44 C 45 D 46 A 47 C 48 C 49 A 50 A Loading [MathJax]/jax/output/HTML-CSS/jax.js