Recent Post

Tuesday, 8 July 2025

Visual Basic Question and Answer CBSE Class -8th

Visual Basic – Evaluation Sheet | Class 8 CBSE Computer Notes | By Pratap Sanjay Sir

VISUAL BASIC – EVALUATION SHEET

I. Tick (✔) the correct option:

  1. Visual Basic provides a
    a. Graphical Interface
    b. Visual Interface
    c. ✔ Both (a) and (b)
  2. Which of the following languages is not included in Visual Studio?
    a. QBasic
    b. Visual C++
    c. SQL Server
    a. ✔ QBasic
  3. The File tab is present on the Menu bar in the Windows Forms App window.
    a. Home
    b. ✔ File
    c. Design
  4. A collection of forms, controls, and modules is known as a
    a. Program
    b. Application
    c. ✔Project
  5. Which key is pressed to run a program in Visual Basic?
    a. F12
    b. ✔ F5
    c. F2
  6. 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:

  1. The full form of IDE is Integrated Development Environment.
  2. All the other controls are placed on the Form control.
  3. The TextBox control is used to receive and give input/output .
  4. The Select method is used to activate the button control.
  5. The cursor changes to move icon (4-headed arrow) when you want to move the control.
  6. The InputBox() function is used to accept value from the user.

III. Write ‘T’ for True and ‘F’ for False statements:

  1. Whenever some action is performed on a graphical component, a control is created. – F
  2. In VB, programs cannot be linked together. – F
  3. The default name of a form is Form1. – T
  4. Putting zero value in the Max Length text box property makes the length of the text zero. – F
  5. 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.

🔔 Subscribe to My Channel

No comments:

"कोशिश करो तो सब कुछ हो सकता है, न करो तो कुछ नहीं हो सकता।"