VISUAL BASIC – EVALUATION SHEET
I. Tick (✔) the correct option:
- Visual Basic provides a
a. Graphical Interface
b. Visual Interface
c. ✔ Both (a) and (b)
- Which of the following languages is not included in Visual Studio?
a. QBasic
b. Visual C++
c. SQL Server
a. ✔ QBasic
- The File tab is present on the Menu bar in the Windows Forms App window.
a. Home
b. ✔ File
c. Design
- A collection of forms, controls, and modules is known as a
a. Program
b. Application
c. ✔Project
- Which key is pressed to run a program in Visual Basic?
a. F12
b. ✔ F5
c. F2
- Which of the following argument is mandatory in the InputBox() function?
a. Value
b. ✔ Message
c. Title
II. Fill in the blanks with suitable words:
- The full form of IDE is Integrated Development Environment.
- All the other controls are placed on the Form control.
- The TextBox control is used to receive and give input/output .
- The Select method is used to activate the button control.
- The cursor changes to move icon (4-headed arrow) when you want to move the control.
- The InputBox() function is used to accept value from the user.
III. Write ‘T’ for True and ‘F’ for False statements:
- Whenever some action is performed on a graphical component, a control is created. – F
- In VB, programs cannot be linked together. – F
- The default name of a form is Form1. – T
- Putting zero value in the Max Length text box property makes the length of the text zero. – F
- You can change the properties of a control in run mode. – T
IV. Answer the following questions:
1. State the features of the language Visual Basic.
It is a simple, event-driven language with a graphical user interface. It is easy to learn and used for creating Windows applications.
2. What do you mean by event-driven programming? Explain with an example.
Event-driven programming means that the program responds to user actions like clicking a button or typing. For example, clicking a button to submit a form is an event, and the response is programmed separately.
3. Define Visual Studio. How do you open the VS Express application?
Visual Studio is an IDE for writing and running VB and other languages. To open VS Express, go to Start menu → VS Express for Desktop → Create New Project.
4. What are the steps to open an existing project in VS Express application program?
Go to File → Open Project or press Ctrl + O → Select the desired project file → Click Open.
5. What is the difference between the Solution Explorer window and the Code Editor window?
Solution Explorer shows project structure (files, forms, etc.). Code Editor is used to write and edit code.
V. Define the following terms:
1. Properties
These define the characteristics of a control, like size, color, text, etc.
2. Form
A Form is the base component in VB on which controls are placed to create GUI applications.
3. Control
Controls are tools like TextBox, Label, Button, etc. used for user interaction in a form.
4. Solution
A Solution is a collection of projects and files used to build an application in Visual Studio.
5. Project
A Project is a set of forms, controls, and code files grouped together to create a software application.
No comments:
Post a Comment