Thursday, April 9, 2020

OMR Questions and Answer


1) Which of the following is not an Integer?
Char Byte Integer Short

2) Which of the following is the correct default value of a Boolean Type?
a) 0 b) True c) False d) 1

3) Which of the following is the correct size of a Double data type in VB?
a) 16 bits b) 32 bits c) 64 bits d) 128 bits

4) Which of the following is the correct way to initialize the variables I and j to a value 10 each?
a) Dim I as integer= 10 b) Dim I =10, j= 10 as integer
Dim j as integer=10
c) Dim I, j as integer d) Dim I, j as integer =10
i=10: j=10

5) Which of the following case statements is incorrect? a) Case 1, 5 to 9 b) Case default c) Case 10 to 15 d) Case A;

6) ………………. is a way to group methods and properties into one unit.
a) Encapsulation b) Polymorphism c) Inheritance d) None of these

7) Which of the following is not an arithmetic operator in VB.NET?
a) ** b) ^ c) / d) Mod

8) Which of the following is not an assignment operator in VB.NET?
a) /= b) == c) *= d) +=

9) Which of the following is the correct way to increment the value of variable ‘a’ by 1?
a) A++ b) A+=1 c) ++a d) a=+1

10) Variables declared within a Click-event procedure is ………………. variables.
a) General b) Module-level c) Global d) Local

11) Which one of the following is the correct syntax to make a picture control (Pic1) visible?
a) Pic1.Visible = True b) Visible.Pic1 = True c) Pic1.Invisible = False d) Pic1.Enabled = True

12) Visual Basic comment starts with ……………….
a) // b) /* c) * d) ’

13) In VB.Net, ………………. controls are used to provide an identifiable grouping for other controls.
a) Group box b) Panel c) Tab control d) None of these

14) ………………. is used to join strings in VB.NET
a) + b) & c) Both a and b d) None of these

15) Which of the following is the correct way to obtain the number of elements present in the array given below
Dim a () as integer={ 25, 30, 45, 15,60}
a) a.getmax b) a.count() c) upperbound(a) d) a.length

16) The windows that are displayed when you start VB are collectively known as______
a. SDI b. MDI c. IDE d. JIT
17) Visual Basic is ______ type of programming language.
a. event driven b. object oriented c. menu driven d. none of these
18) The VB filenames have______ extension
a. .VBP b. .vb c. .vbr d. none of these
19) A text box can be used to ______
a. input data b. displaying contents c. initiating actions d. all of these
20) ______ window lists all the forms which make up your VB project
a. Property b. Tool box c. Project d. Coding
21) ______ are the graphical objects that make up your application’s user interface.
a. Controls b. Frame c. Form d. None of the above
22) A ______ Form is the first interface that appears on the screen, when an application is executed.
a. Startup b. Active c. Main d. Primary
23) Set of SQL commands is called ________.
a. Procedure b. Clauses c. Functions d. None of the above
24) Which of the following can be called by reference?
a. Class b. Module c. Function d. Assembly
25) The ______ control allows the user to click it to perform Form action.
a. Textbox b. Command Button c. Label d. none of these

1) …………………window lists all the forms which make up the VB project.
a) Property b) Tool box c) Project d) Coding
2) Which is not a legal return value for MsgBox?
a) vbOK b) vbCancel c) vbExit d) vbAbort
3) While creating a menu using a menu editor we can use a ……………. symbol to make hotkey character.
a) # b) * c) @ d) &
4) VB.NET comment starts with ………………..
a) // b) /* c) * d) ’
5) Visual Basic is ……………. type of programming language.
a) Event driven b) Object oriented c) Menu driven d) None of these
6) ……………. are the back bone of SQL.
a) Database b) Queries c) Functions d) None of the these
7) The ability to define properties, methods, or procedures that have the same name, but use different data types is called ………………..
a) Exception handling b) Overloading c) Constructors d) None of these
8) ……………. keyword refers the current instance of an object.
a) This b) Me c) Myclass d) None of these
9) ……………. is used to join strings in VB.
a) + b) & c) Both a&b d) None of these
10) …………………. function is used to display current date &time in VB.
a) Now() b) Time() c) Date() d) None of these
11) In VB, the …………………. is the primary component of every GUI application.
a) Controls b) Frame c) Form d) None of these
12) Which operator has the highest order of precedence in arithmetic expressions?
a) Multiplication b) Addition c) Exponentiation d) Modulus
13) The code that is used in a sub procedure to stop execution of a sub procedure is
a) Exit b) End With c) End d) End Sub
14) Which one of the following is the correct syntax to make a control called Pic1 visible?
a) Pic1.Visible = True b) Visible.Pic1 = True c) Pic1.Invisible = False d) Pic1.Enabled = True
15) The point where the cost of the candidate system and that of the existing system are equal is called ………… a) Least Cost Point b) Optimum Point c) Break Even Point d) Optional Point




1) IDE stands for ..............
a) Internet Development Environment b) Integrated Dual Environment
c) Integrated Development Environment d) Integrated Desktop Environment
2) Which window displays a list of all forms and modules making up your application?
a) Project b) Properties window c) Form layout d) All of these
3) Properties can be viewed in two ways...............
a) Alphabetic and Categorized b) Alphabetic and Numeric
c) Numeric and Alphanumeric d) None of these
4) The form module has file extension .............
a) .frb b) .fra c) .frm d) .fru
5) ..............control is used to provide an identifiable grouping for other controls.
a) Frame b) Label c) List box d) Command
6) ..............property is used to set the maximum length of a text, a textbox can hold.
a) Length b) Multiline c) Maxlength d) None of these
7) ..............control is used to display text, but user cannot change it directly.
a) Textbox b) Labelbox c) Listbox d) Command
8) The default data type for Visual Basic is ..............
a) Integer b) Boolean c) Variant d) String
9) ..............arrays can be resized at anytime.
a) Dynamic b) Fixed c) Multidimensional d) Control array
10) ..............function is used to return a copy of a string without leading spaces.
a) Ltrim b) Rtrim c) Trim d) Chr
11) ..............is a control related event.
a) Keydown b) Load c) Terminate d) GotFocus
12) ..............combines the features of the text box and list box.
a) Picture box b) Check box c) Combo box d) Option button
13) Storage size of Byte data type is .............
a) 1 byte b) 2 byte c) 3 byte d) None of these
14) The default property for a text box control is ..............
a) Text b) Password chars c) Multiline d) Visible

No comments:

Post a Comment