Digital Learning

Wednesday, July 19, 2023

Computer-Science Class-8 Exercise-3(2023-24):

Computer Science
Class-VIII
Chapter-3 Visual Basic
A. Tick the correct answer:
1. A computer program is an organized list of _____________.
a. information            b. data                c. project                d. instructions
Answer: Instructions

2. Visual Basic was developed by ____________ in may, 1991.
a. Microsoft                b. samsung        c. apple                    d. google
Answer: Microsoft

3. The microchips of a CPU can only understand _______ distinct electrical states.
a. two                           b. three                c. four                       d. five
Answer: Two

4. Which language is known as the primitive language?
a. array                        b. assembly          c. machine            d. logic based
Answer: Machine

5. Visual basic is based on the ____ language and provides a variety of tools.
a. java                          b. DOS                    c. BASIC                d. COBOL
Answer: BASIC

6. In which mode the statements written by a programmer are executed by the end user?
a. run                            b. design                c. break                d. normal
Answer: Design

7. The _______ provides the user quick access to the most commonly used functions of a program.
a. project                       b. language           c. program            d. toolbar
Answer: Toolbar

8. _______ window displays a list of forms and other objects that constitute the application.
a. form                        b. project                   c. properties        d. code
Answer: Project


B. Fill in the blanks:
1. Visual Basic is based on the __________ language.
Answer: Basic

2. Visual Basic was developed by Microsoft in _____________.
Answer: May 1991

3. ___________ gives the title for the project.
Answer: Title bar

4. ___________ is used for event program driven programming for different objects created on form.
Answer: Code Windwo

5. A ________ is an interface using which a user behaviour interacts with the application.
Answer: Form

6. Properties are _________ that define the appearance and behaviour of objects.
Answer: Attributes

C. Write true or false:
1. FORTRAN, COBOL, JAVA are some of the high level computer language.
Answer: True

2. Tool bar is present at the top of the window.
Answer: False

3. Title bar displays the commands that are required to built an application.
Answer: False

4. Form window provides us with a blank form.
Answer: True

5. Properties window is used to set the properties of forms and other controls.
Answer: True



D. Answer the following questions in short.
1. Name some modes of visual basic program.
Answer: Modes of Visual Basic program:
1. Design mode
2. Run mode
3. Break mode

2. What is Visual Basic?
Answer: Visual Basic is a popular programming language. It is based on BASIC.

3. What does a form contain?
Answer: A form contains many control elements such as label, check boxes, command buttons etc.

4. What des a tool box contain?
Answer: Tool box contains a set of controls that are used to place on a form.

E. Answer the following questions in detail.
1. What do you know about Visual Basic?
Answer: Visual Basic is a popular programming language among beginners. It was developed by Microsoft in may, 1991. It is based on the BASIC language and provides a variety of tools to create applications.

2. What is Event Drivenn Programming?
Answer: Event Driven Programming or event based programming is a programming pattern in which the flow of the program is determined by events. 

3. What are the contents of Visual Basic?
Answer: Contents of Visual Basic:
Title Bar: Title bar is present at the top of the window and displays the name of the opened project.
Menu Bar: Menu bar contains many menu items and sub menus.
Tool bar: Tool bar contains small icons that give access to frequently used menu items.
4. How can we save a project in Visual Basic?
Answer: Steps to save a project in Visual Basic are:
1. Click file menu. Save file as dialog box appears.
2. Enter the name of the form here.
3. Click on Save button.

5. What do you know about code window? Write its method.
Answer: Code window is used for event driven programming for different objects created on form.
Method: 1
Click on view menu. The code window appears.
Method: 2
You can also get the code window by double clicking anywhere on the form in the design mode.

No comments:

Post a Comment