Java and Visual Basic 6 Programming Quiz
Test your knowledge of Java fundamentals including JRE, memory management, APIs, and classes, as well as Visual Basic 6 programming including controls, events, data types, and database connectivity with ADO and ODBC.
Questions
WhatisDSN?
- Database server name
- Database source name
- Data server name
- Data source name
Dim x, y as integer. What is x and y data type?
- x as integer and y as integer.
- x as variant and y as integer.
- x as integer and y as variant.
- x as double and y as integer.
Timer control contains how many events?
- 1
- 2
- 3
- 0
Which Control do not have events?
- DriveListBox Control
- Timer Control
- Common dialog control
- VScrollBar Control
What is a property to resize a label control according to your caption?
- Resize
- WordWrap
- Appearance
- AutoSize
It is possible to call oracle database through ADO control or Object.
- True
- False
What is the Dll required for running the VB?
- Vbrun300.dll
- VB6IDE.DLL
- VBSCC.DLL
- Vbrun6.dll
What is the size of the variant data type?
- 22 Byte
- 32 Byte
- 16 Byte
- None of the Above
How many event in VB6 form.
- 36
- 26
- 31
- 30
What is ODBC?
- Open Data Base Connectivity
- Open Data Base Connection
- Oracle Data Base Connectivity
- Oracle Data Base Connection
We can create CGI scripts in VB.
- True
- False
Objects resides in ADO?
- Connection
- Command
- Parameter
- Error
- Field
- DSN
How to set a shortcut key for label?
- Set UseMnemonic property to True
- Set DragMode property to 1
- Set LinkMode property to 1
- Put & in the lebel caption
Different types of error in VB?
- Syntax Errors
- System Errors
- Runtime Errors
- Logic Errors
Default property of datacontrol?
- Connection
- Line
- Shape
- Records
All programs written in the Java language (Java programs) are built from classes ?
- True
- False
Java APIs are libraries of compiled code
- True
- False
What makes the Java Program to provide Portability?
- Multithreading
- Encapsulation
- Byte Codes
- All the above
Java is featured with automatic memory menagement to manage memory in object lifecycle.
- True
- False
End-users use a ____________ installed on their own machine for standalone Java applications.
- JRE
- SDK
- Both 1 & 2
- None of the above