Visual Basic Flashcards
(27 cards)
Which keyword refers the parent of the current object
A. Me
B. Super
C. Mybase
D. This
C. Mybase
2) Private Sub Display_Click() Dim DA As String DA="RAMANUJA RAO P#ASM-1#Asthana Mandapam#123" astrsplititems = Split(DA, "#") For intX = 0 To UBound(astrsplititems) List1.Items.Add "Item(" & intX & "): " & astrsplititems(intX) Next Close #1 End Sub Click the Display Button Output is
A. item(0): RAMANUJA RAO P item(1): ASM-1 item(2): Asthana Mandapam item(3): 123
B. RAMANUJA RAO P ASM-1 Asthana Mandapam 123
C. item(0): RAMANUJA RAO P# item(1): ASM-1# item(2): Asthana Mandapam# item(3): 123
D. item(0): RAMANUJA RAO P item(1): #ASM-1 item(2): #Asthana Mandapam item(3): #123
A. item(0): RAMANUJA RAO P item(1): ASM-1 item(2): Asthana Mandapam item(3): 123
3)
How are the parameters referenced by default in VB.NET?
A. By Object
B. By Val
C. By Ref
D. None
B. By Val
4)
Consider the emp table having columns empno, ename Which of eth following SQL query fetches empno that occur more than twice in the emp table
A. select count(*) from emp group by empno having count(*) >2;
B.
select empno, count() from emp having count() >2;
C.
select empno, count() from emp where count() >2;
D.
select empno, count() from emp group by empno having count() >2;
D.
select empno, count() from emp group by empno having count() >2;
5)
How to add the item to combo box if it names cmb
A. cmb.Items
“
name
”
B. cmb.Items.Add (
“
name
”
)
C. cmb.Add (
“
name
”
)
D. None
B. cmb.Items.Add (“name”)
6) Which class is used to run the EXE application file in VB.NET
A. Process
B. Application
C. Exe
D. Execute
A. Process
7)
System databases stores server specific configuration information, including authorized users, databases, system configuration settings and remote servers ?
A. model db
B. master db
C. resource db
D. msdb db
B. master db
8)
It is a comprehensive, object-oriented collection of reusable types that you can use to develop applications.
A. Class Library
B. Properties Window
C. Solution Explorer
D. Windows Form Designer
A. Class Library
9)
It is collection of services and classes designed to simplify the application development.
A. .NET Framework
B. Class Library
C. Solution Explorer
D. Visual Basic .NET
A. .NET Framework
10)
It is used for building Windows and Web applications.
A. .NET Framework
B. Object Oriented Programming
C. Visual Basic .NET
D. Windows Form Designer
C. Visual Basic .NET
11)
It translates high level language instructions into machine code, line by line, as the program is being run.
A. compiler
B. interpreter
C. language
D. translator
B. interpreter
12)
It is the window to use in adding Windows Form.
A. Properties Window
B. Solution Explorer
C. Toolbox
D. Windows Form Designer
B. Solution Explorer
13)
The process of writing, testing and maintaining computer programs.
A. computer programming
B. high level language programming
C. machine programming
D. object oriented programming
A. computer programming
14)
A window that lists the solution name, the project name and all the forms used in the project.
A. Project Window
B. Properties Window
C. Solution Explorer
D. Windows Form Designer
C. Solution Explorer
15)
It is the starting point of your Visual Basic .NET applications.
A. Button
B. Form
C. Label
D. Toolbox
B. Form
16)
It displays the properties that are associated with an object.
A. Project Window
B. Properties Window
C. Solution Explorer
D. Windows Form Designer
B. Properties Window
17)
The control that is used to display text in other parts of the application.
A. Button
B. CheckBox
C. Label
D. Text
C. Label
18)
It is an artificial language that can be used to control the behavior of a computer machine.
A. assembly language
B. basic language
C. machine language
D. programming language
D. programming language
19)
The Java and Visual Basic .NET belong to this type of programming language.
A. assembly language
B. machine language
C. high level programming language
D. object oriented programming language
D. object oriented programming language
20)
It allows the user to design the user interface for an application.
A. Class Library
B. Solution Explorer
C. ToolBox
D. Windows Form Designer
D. Windows Form Designer
21)
The control that is used to accept input from the user.
A. Button
B. Label
C. TextBox
D. ToolBox
C. TextBox
22)
The control that is used to display text in other parts of the application.
A. Button
B. CheckBox
C. Label
D. TextBox
C. Label
23)
Which event is activated when a RadioButton is selected?
A. Checked
B. CheckedChanged
C. Selected
D. SelectedChanged
B. CheckedChanged
24) 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
C. Operator