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
A)
Internet Development Environment
B)
Integrated Dual Environment
C)
Integrated Development Environment
D)
Integrated Desktop Environment
Discuss it
Explanation
IDE stands for Integrated Development Environment, which is a software application that provides comprehensive facilities to computer programmers for software development.
View Solution
Q.2 ---------This control is use to display the images
A)
image
B)
combo
C)
shape
D)
None of these
Discuss it
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.
View Solution
Q.3 A ______ variable is one that is declared inside a procedure.
A)
Global
B)
Local
C)
External
D)
None of these
Discuss it
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.
View Solution
Q.4 How many types of editions in visual basic
Discuss it
Explanation
Visual Basic 6.0 is available in three editions: the Learning edition, the Professional edition, and the Enterprise edition.
View Solution
Q.5 To change the control's Shape using the ------ property
A)
image
B)
combo
C)
shape
D)
None of these
Discuss it
Explanation
The Shape property of the Shape control allows you to select from several predefined shapes, such as Rectangle, Square, Oval, and Circle.
View Solution
Q.6 We can preserve the value of a local variable by making the variable
A)
Private
B)
Public
C)
Static
D)
Implicit
Discuss it
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.
View Solution
Q.7 ______ arrays can be resized at anytime
A)
Dynamic
B)
Fixed
C)
Multidimensional
D)
Control Array
Discuss it
Explanation
Dynamic arrays are declared without a specific number of elements, allowing them to be resized during runtime using the ReDim statement.
View Solution
Q.8 HTML is a ________________
A)
High Level Programming Language
B)
Markup Language
C)
Scripting Language
D)
Server Software
Discuss it
Explanation
HTML stands for HyperText Markup Language. It is used to define the structure and layout of web pages.
View Solution
Q.9 CSS stands for _______
A)
Cascade Style Sheets
B)
Common Style Sheets
C)
Catalogue Style Sheets
D)
None of the above
Discuss it
Explanation
CSS stands for Cascading Style Sheets, which is used to describe the presentation (look and formatting) of a document written in HTML.
View Solution
Q.10 IIS is a ________
A)
Markup Language
B)
Web Server
C)
Scripting Language
D)
Operating System
Discuss it
Explanation
IIS stands for Internet Information Services, which is an extensible web server created by Microsoft for use with the Windows NT family.
View Solution
Q.11 The----box is the standard control for accepting input from the user as well as to display the output
A)
image
B)
combo
C)
shape
D)
text
Discuss it
Explanation
The TextBox control is the primary tool in Visual Basic for receiving text input from the user and displaying text results.
View Solution
Q.12 -------Control is used to provide an identifiable grouping of other controls.
A)
Frame
B)
Label
C)
List Box
D)
Command Button
Discuss it
Explanation
The Frame control acts as a container to group related controls, such as OptionButtons, both visually and functionally.
View Solution
Q.13 The file extension of form
A)
.vbp
B)
.frm
C)
frm
D)
None
Discuss it
Explanation
In Visual Basic, individual forms and their associated code are saved with the .frm file extension.
View Solution
Q.14 Which of the following features of visual basic 6.0
A)
GUI Interface
B)
Debuging
C)
Modularization
D)
All of these
Discuss it
Explanation
Visual Basic 6.0 is a comprehensive development environment that includes a Graphical User Interface, powerful debugging tools, and supports modular code organization.
View Solution
Q.15 DAO Stands for
A)
Data auto object
B)
Data access object
C)
Data access open
D)
None of these
Discuss it
Explanation
DAO stands for Data Access Objects, which is an application programming interface (API) that allows you to access and manipulate databases.
View Solution
Q.16 Text box can handle string (text) and numeric data but not images or pictures
A)
True
B)
False
C)
Both A & B
D)
None of these
Discuss it
Explanation
A TextBox control is designed specifically for alphanumeric text data; to display images, you must use a PictureBox or Image control.
View Solution
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.
A)
image
B)
text
C)
label
D)
None of these
Discuss it
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.
View Solution
Q.18 ------- control is used to display text but user cannot change it directly.
A)
Text Box
B)
Label Box
C)
Command Button
D)
None of these
Discuss it
Explanation
The Label Box (Label control) is used to show text on a form that is read-only for the user during runtime.
View Solution
Q.19 The default datatype for VB is ______
A)
Integer
B)
Decimal
C)
variant
D)
String
Discuss it
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.
View Solution
Q.20 Frame control acts as a ----
A)
container
B)
Event
C)
Class
D)
None of these
Discuss it
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.
View Solution Related Link S.NO SETS VISIT 1 SET-1 Click 2 SET-2 Click 3 SET-3 Click 4 SET-4 Click 5 SET-5 Click 6 SET-6 Click 7 SET-7 Click 8 SET-8 Click 9 SET-9 Click 10 SET-10 Click