0% found this document useful (0 votes)
24 views5 pages

3110212104124758

Uploaded by

suhasssssus
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views5 pages

3110212104124758

Uploaded by

suhasssssus
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

DEVA MATHA CENTRAL SCHOOL, BANASWADI

Grade: VIII
Subject: Computer Science
Lesson 7: Visual Basic 2008
Question Bank
I. Fill in the blanks:
1. ……is an interface using which a user interacts with the application.
Ans: Form.
2. ………..is used to give commands to the application.
Ans: Command Button.
3. The ……. is present at the top of the window and displays the name of the
currently opened program
Ans: Title Bar.
4. In ………… the statements are not executed in the sequence in which they
are written. They only get executed when a corresponding event occurs.
Ans: Event Driven Programs
5. …….. are the attributes that define the appearance and behaviour of the
objects.
Ans: Properties.
6. ….. window displays a list of forms and other objects that constitute the
application. This list is organized in the form of a branching structure.
Ans: Solution Explorer
7. ……. contains various controls like such as Command Button, TextBox,
Label etc.
Ans: ToolBox
8. ……. window is used to write codes for any object.
Ans: Code Window
9. ……. property identifies an object while writing the program
Ans: Name
10. ……. property contains the text which is displayed in the TextBox.
Ans: Text.
II. Say True or False:
1. Visual Basic is an Event Driven Programming Language
Ans: True
2. The TextBox is used to receive the input from the user.
Ans: True
3. The Name which we give for the control elements in the property window
will be referred in the code window.
Ans: True
4. The Property window displays the list of Forms and Projects that is
organized in the form of Branching Structure.
Ans: False
5. A Form is an interface using which a user interacts with the application.
Ans: True

III. Choose the correct answer:


1. While using an application, a user performs actions Such as pressing a key,
clicking a mouse, selecting a checkbox or selecting a list item etc. Such actions
are known as …………..
a. Actions b. Interface c. Events
Ans: c. Events.
2. ……….. contains small icons that give access to frequently used menu items .
a. Menu Bar b. Title Bar c. Tool Bar
Ans: c. Tool Bar.
3. ……….. property identifies a LabelBox while writing the program.
a. Text b. Name c. Caption
Ans: b. Name
4. ……. is the shortcut key to Run the Visual Basic Project.
a. F5 b. F6 c. F8
Ans: a. F5
5…… is the popular programming language for beginners.
a. ASP b. SQL c. Visual Basic
Ans: c. Visual Basic
6. ….….is an evolution of Visual Basic language and is targeted to develop
Windows, Web and mobile devices based applications.
a. ASP.NET b. C# c. Visual Basic .Net
Ans: c. Visual Basic .Net
7. Which bar is present at the top of the window and displays the name of the
currently opened project.
a. Title Bar b. Menu Bar c. Tool Bar
Ans: a. Title Bar
8. ….. window is used to write the codes for any object.
a. Code Window b. Form Window c. Property Window.
Ans: a. Code Window
9. In which control element the user can give the input.
a. Command Button b. Label c. TextBox
Ans: c. Text Box
10. Which property decides whether the text will be displayed in a single line or
multiple lines in the text box.
a. MaxLength b. Multiline c. Font
Ans: b. Multiline

IV. Answer the following in a sentence or two:


1. What do you mean by the term Event-Driven Programming Language?
Ans: In Event-Driven Programs the statements are not executed in the sequence
in which they are written. They only get executed when a corresponding event
occurs.
2. What are the different modes in Visual Basic?
Ans: There are three different modes in Visual basic they are:
 Design Mode
 Run Mode
 Break Mode
3. What is a toolbox?
Ans: A toolbox contains various controls such as Command Button, Textbox,
Label etc. These controls can be added to the form by simply dragging and
placing them at the desired location.
4. What is a Form window?
Ans: Form is an interface using which an user interacts with the application. A
Form contains many control elements such as Label, TextBox, Command
Button etc. Using these controls the user can enter data and give instructions to
the applications.
5. What is a code window?
Ans: Code window is used to write the code for any object. To write a code
double-click the object on the form. This Action will opens the code window
where we can write the Visual Basic statements.
6. What is the difference between the Text and the Name properties in the
Property window.
Text Name
This property contains the text which The Name property identifies the
is displayed in the control. control while writing the program.
This data is referred in the program.

7.What are the commonly used controls in Visual basic?


Ans: The most commonly used controls in Visual Basic are:
 Command Button
 TextBox
 Label.
8. What is a Recent Project Pane?
Ans: It displays the list of projects that has been created by the user in the
recent past.
9. Explain the Solution Explorer Window?
Ans: This window displays the forms and other objects that constitute the
application. This list is organized like a Branching Structure in Windows
Explorer.
10. What is the Syntax to assign a value to the property of an object?
Ans: Objectname.Propertyname =Value.
For a Label the syntax will be as follows:
Label1.Text=Value.
Eg: Label1.Text=”Welcome to Visual Basic”.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy