Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

_________ are interactive objects that you place in dialog boxes or other windows to carry out user actions.

A. Forms
B. Controls
C. Classes
D. Objects
Answer» C. Classes
2.

Which of the following accesss modifier specifies that a property or procedure overrides an identically named property or procedure inherited from a base class?

A. Overrides
B. Overridable
C. ParamArray
D. Partial
Answer» B. Overridable
3.

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
Answer» C. GetType
4.

Which of the following accesss modifier specifies that one or more declared programming elements are accessible only from within their own class or from a derived class?

A. Private
B. Public
C. Protected
D. ReadOnly
Answer» D. ReadOnly
5.

Which of the following accesss modifier is used in generic interfaces and delegates?

A. In
B. Iterator
C. Key
D. Module
Answer» B. Iterator
6.

Most of the primitive data types; Boolean, Byte, Char etc. defined in FCL are implemented as …………

A. Enumeration
B. Interface
C. Delegate
D. Structure
Answer» E.
7.

The data data type in visual basic .net equivalent to ……………… data type in .net FCL.

A. System.Date
B. System.DateTime
C. System.Time
D. System.DateFormat
Answer» C. System.Time
8.

Which of the following accesss modifier indicates that a class or structure declaration is a partial definition of the class or structure?

A. Overridable
B. Overrides
C. ParamArray
D. Partial
Answer» E.
9.

……………… property returns a value of the ……………….. enumeration when the dialog box is closed.

A. DockPadding
B. DialogResult
C. Dialog Padding
D. DockResult
Answer» C. Dialog Padding
10.

…………….. is used to declare arrays; which gives upper sounds of the dimensions of an array variable.

A. bound
B. bound array
C. bound list
D. bound table
Answer» D. bound table
11.

Which of the following is correct about VB.NET?

A. VB.NET has complete support for object-oriented concepts. VB.NET has complete support for object-oriented concepts.
B. Everything in VB.NET is an object, including all of the primitive types (Short, Integer, Long, String, Boolean, etc.) and user-defined types, events, and even assemblies.
C. All objects inherits from the base class Object.
D. All of the above
Answer» E.
12.

In order for the scroll bars to actually appear, the text box’s …………….. property must be True.

A. MultiLine
B. MultiText
C. Scrolling
D. MultiVisible
Answer» B. MultiText
13.

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
Answer» B. Await
14.

………………… is one of the MessageBoxDefaultButton enumeration values that specifies which is the default button for the message box.

A. DefaultButton
B. MessageButton
C. MessageBox
D. DefaultMessage
Answer» B. MessageButton
15.

Which of the following operator returns the address of a procedure?

A. AddressOf
B. Await
C. GetType
D. Function Expression
Answer» B. Await
16.

We can limit the amount of text entered into TextBox control by setting ……………… property to a specific number of characters.

A. MaxLength
B. TotalLength
C. TextAmount
D. TextLimit
Answer» B. TotalLength
17.

_________ is a built in function to return lower bound of an array.

A. Lbound()
B. LRbound()
C. Lowbound()
D. None of these
Answer» B. LRbound()
18.

The _________ allows direct exit from a For loop, Do loop, Sub procedure, or Function procedure.

A. Break
B. Exit
C. Exit for
D. Exit Do
Answer» C. Exit for
19.

MDI stands for _________

A. Multiple Document Interface.
B. Multiple Design Interface.
C. Manipulated Document Interface.
D. Menu Design Interface.
Answer» B. Multiple Design Interface.
20.

A _______control in visual basic is used to create applications that present information in rows and columns.

A. MSGridLine
B. MSLineGrid
C. MSGridFlex
D. MSFlexGrid
Answer» E.
21.

A __________ variable is one that is declared inside a procedure.

A. global
B. local
C. external
D. None of the above
Answer» C. external
22.

The _____ model does not offer a model for source code reuse.

A. COM+
B. DCOM
C. COM
D. .Net
Answer» D. .Net
23.

The default datatype for VB is ___________

A. Integer
B. Decimal
C. Variant
D. String
Answer» D. String
24.

_______ control executes the timer events at specified intervals of time.

A. Clock
B. Frame
C. Timer
D. Digital
Answer» D. Digital
25.

_____ allow custom items of information about a program element to be stored with an assembly's metadata.

A. Properties
B. Attributes
C. Methods
D. Classes
Answer» C. Methods
26.

Which of the following Loop structure does not supported by VB.Net?

A. Do ................ Loop
B. For ................... Next
C. Do ................ While
D. For Each ............ While
Answer» D. For Each ............ While
27.

The ___________ method converts an OLE automation date value to a DateTime Instance.

A. Today
B. Now
C. TimeOfDay
D. FromOADate
Answer» E.
28.

The corresponding .Net FCL type for Short is ___________.

A. System.Int16
B. System.Int32
C. System.Int64
D. None
Answer» B. System.Int32
29.

In VB.NET language, Which one is not the integer value?

A. 12
B. '23'
C. 10
D. 100
Answer» C. 10
30.

What is used to store decimal data in .NET?

A. BinaryWriter
B. DecimalWriter
C. OctalWriter
D. HexaWriter
Answer» B. DecimalWriter
31.

The member "clear" of the Array class that sets a range of array elements to zero, false or null reference is a _____________ method.

A. Method
B. Class
C. Shared
D. Object
Answer» D. Object
32.

To declare an integer variable in VB.NET language, which one of the following statements is true?

A. Dim x As Integer
B. x As Integer
C. Dim x As Single
D. None of these
Answer» B. x As Integer
33.

Language which is NOT supported by .Net

A. Java
B. VB
C. Perl
D. COBOL
Answer» B. VB
34.

_________ is the process of finding and removing errors.

A. Checking
B. Compiling
C. Debugging
D. Quick watch
Answer» D. Quick watch
35.

________ loop repeats a group of statements for each item in a collection of objects or for each element of an array.

A. While loop
B. Do Until loop
C. Do while loop
D. For each loop
Answer» E.
36.

The method, which loads the form into memory and displays it on screen

A. Load
B. Show
C. Display
D. All of these
Answer» C. Display
37.

______ array size can be changed at run-time.

A. Fixed
B. Preserve
C. Dynamic array
D. Multidimensional
Answer» D. Multidimensional
38.

__________ is a collection of files.

A. Class
B. Group
C. Project
D. All of the above
Answer» D. All of the above
39.

The default property for a text box control is __________

A. Text
B. Enable
C. Multiline
D. Password char
Answer» B. Enable
40.

The ________ object is a stored query definition, which is a precompiled SQL statement.

A. QueryFed
B. QueryDif
C. QueryFix
D. QueryDef
Answer» E.
41.

Out of following,which is NOT a type of Authentication?

A. Windows Authentication
B. Web Authentication
C. Passport Authentication
D. Forms Authentication
Answer» C. Passport Authentication
42.

What is CLR?

A. Current LanguageRuntime
B. Common Language Runtime
C. Common LanguageRealtime
D. Current LanguageRealtime
Answer» C. Common LanguageRealtime
43.

What is CLS?

A. Current Language Specifics
B. Common Language Specification
C. Common Language Specialization
D. Current Language System
Answer» C. Common Language Specialization
44.

Out of following which is NOT type of assembly?

A. Local
B. Private
C. Public
D. None
Answer» B. Private
45.

Language which is NOT supported by VB.Net

A. ASP
B. COBOL
C. Perl
D. C#
Answer» B. COBOL
46.

What is CTS?

A. Common Type Server
B. Control Type System
C. Common Type System
D. Control Type Server
Answer» D. Control Type Server
47.

IL stands for

A. Internal Language
B. Internet Language
C. Intermediate Language
D. Interpreted Language
Answer» D. Interpreted Language
48.

Assembly is ______grouping of all units

A. Arithmatical
B. Logical
C. Physical
D. Binary
Answer» D. Binary
49.

New keyword is used with the

A. Destructor
B. Constructor
C. Both
D. None
Answer» C. Both
50.

Keyword which is NOT used in VB.Net.

A. Int32
B. Int
C. Both
D. None
Answer» D. None