Visual Basic Flashcards
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