Welcome To CSE Study247 , Today I am provide you VISUAL BASIC 6.0 MCQ-2. That is very useful for Computer Science Students.
Q.1 IDE stands for
Internet Development Environment
Integrated Dual Environment
Integrated Development Environment
Integrated Desktop Environment
Explanation
IDE stands for Integrated Development Environment, which is a software application that provides comprehensive facilities to computer programmers for software development.
Q.2 ———This control is use to display the images
image
combo
shape
None of these
Explanation
The Image control is used to display a graphic. It uses fewer system resources and repaints faster than a PictureBox control, though it has fewer properties.
Q.3 A ______ variable is one that is declared inside a procedure.
Global
Local
External
None of these
Explanation
A Local variable is declared within a procedure or function using the Dim statement and is only accessible within that specific block of code.
Q.4 How many types of editions in visual basic
1
2
3
5
Explanation
Visual Basic 6.0 is available in three editions: the Learning edition, the Professional edition, and the Enterprise edition.
Q.5 To change the control's Shape using the —— property
image
combo
shape
None of these
Explanation
The Shape property of the Shape control allows you to select from several predefined shapes, such as Rectangle, Square, Oval, and Circle.
Q.6 We can preserve the value of a local variable by making the variable
Private
Public
Static
Implicit
Explanation
By using the Static keyword instead of Dim, a local variable retains its value even after the procedure in which it was declared has finished executing.
Q.7 ______ arrays can be resized at anytime
Dynamic
Fixed
Multidimensional
Control Array
Explanation
Dynamic arrays are declared without a specific number of elements, allowing them to be resized during runtime using the ReDim statement.
Q.8 HTML is a ________________
High Level Programming Language
Markup Language
Scripting Language
Server Software
Explanation
HTML stands for HyperText Markup Language. It is used to define the structure and layout of web pages.
Q.9 CSS stands for _______
Cascade Style Sheets
Common Style Sheets
Catalogue Style Sheets
None of the above
Explanation
CSS stands for Cascading Style Sheets, which is used to describe the presentation (look and formatting) of a document written in HTML.
Q.10 IIS is a ________
Markup Language
Web Server
Scripting Language
Operating System
Explanation
IIS stands for Internet Information Services, which is an extensible web server created by Microsoft for use with the Windows NT family.
Q.11 The—-box is the standard control for accepting input from the user as well as to display the output
image
combo
shape
text
Explanation
The TextBox control is the primary tool in Visual Basic for receiving text input from the user and displaying text results.
Q.12 ——-Control is used to provide an identifiable grouping of other controls.
Frame
Label
List Box
Command Button
Explanation
The Frame control acts as a container to group related controls, such as OptionButtons, both visually and functionally.
Q.13 The file extension of form
.vbp
.frm
frm
None
Explanation
In Visual Basic, individual forms and their associated code are saved with the .frm file extension.
Q.14 Which of the following features of visual basic 6.0
GUI Interface
Debuging
Modularization
All of these
Explanation
Visual Basic 6.0 is a comprehensive development environment that includes a Graphical User Interface, powerful debugging tools, and supports modular code organization.
Q.15 DAO Stands for
Data auto object
Data access object
Data access open
None of these
Explanation
DAO stands for Data Access Objects, which is an application programming interface (API) that allows you to access and manipulate databases.
Q.16 Text box can handle string (text) and numeric data but not images or pictures
True
False
Both A & B
None of these
Explanation
A TextBox control is designed specifically for alphanumeric text data; to display images, you must use a PictureBox or Image control.
Q.17 The _ is a very useful control for Visual Basic, as it is not only used to provide instructions and guides to the users, it can also be used to display outputs.
image
text
label
None of these
Explanation
The Label control is used to display text that cannot be changed by the user, making it ideal for instructions, captions, and showing calculation results.
Q.18 ——- control is used to display text but user cannot change it directly.
Text Box
Label Box
Command Button
None of these
Explanation
The Label Box (Label control) is used to show text on a form that is read-only for the user during runtime.
Q.19 The default datatype for VB is ______
Integer
Decimal
variant
String
Explanation
If you do not specify a data type when declaring a variable in Visual Basic, it is automatically assigned the Variant data type by default.
Q.20 Frame control acts as a —-
container
Event
Class
None of these
Explanation
The Frame control acts as a container, allowing you to group other controls together so they can be moved or enabled/disabled as a single unit.