CAPP 305

Module 1, Lesson 1 REVIEW QUESTIONS

Lesson 1

1.  What are the major components of a Visual Basic project?

    Forms, controls, and source code.

2.  Identify the three key windows used in the design of a project.

    The three key windows used in the design of a Visual Basic project are the form window, the project explorer and the properties window.

3.  What is a Visual Basic form used for? 

    A visual basic form is used to 'draw' the user interface of the application you're developing. You place all the elements of the GUI into the form and they are displayed in 

    that arrangement when the program is run.

4.  What type language is Visual Basic? Identify more than one type.

    Visual basic is an event-driven language, meaning a language that responds to events, i.e., mouse clicks, keyboard entry and/or menu selection; however VB does have

     two characteristics of another type of programming language, object-oriented programming, and they are: encapsulation and polymorphism.  Visual Basic is considered

     an event driven language with the characteristics of an object oriented language.

5.  Identify three classes of Visual Basic control objects. 

    Animation, ComboBox, and PictureBox

6.  To launch a Visual Basic project, what sequence of steps are required?

In order to launch Visual Basic, open VB, the default New Project window will open. In the New Project window select the 'New' tab, the Standard.exe option, and then the Open command. Then your up and running.

 

7.  To save a project, including the form module, what sequence of steps are required?

    Select the <File> tab, go down the list and select the <Save Project>, then you enter a filename for your form or use the default one, and then press  

    the <save> button (do this for each new or changed form).

8.  What is the Toolbox window used for?

The Toolbox window is used to select the tools that the designer will place in the form to build the interface for the application.

9.  A project is saved as a file. True or false?

False, a project is saved as many files. There is a .vbp (visual basic project), .vbw (visual basic workspace), and .frm (form, a file for each form) files that are saved.

10.  What is the difference between an interpreted language and a compiled language?

    a.  A compiled language is written and then run through a compiler which checks its syntax and compresses it into a binary executable. Since an

     interpreted language is not compiled, it must be checked for errors at run-time, which makes it quite a bit slower than a compiled language (like C or

     Java). A compiled language is generally more complex. The advantage of compiled language is that it is much faster than an interpreted language. 

    

    b.  A compiled language differs from an interpreted one in the way that the program is executed (run). Compiling is the process of converting the

     source code (what you write) to the form the computer understands (binary 0's and 1's). An interpreter will execute a program line by line, internally

     giving the commands to the computer as to what to do. A compiler converts the entire program into one large binary file.  A compiled language is

     also faster than an interpreted language.

11.  How does the type language affect how Visual Basic is used to create and execute application programs?

To view my previous feedbacks, visit www.FaulknerWeb.com, then click on Univ. of Maryland


This site is best viewed at 1024 X 768 resolution

 

Home | Photos | WaterMark Multimedia | Online Shopping Outlet

Mel's Bio | Matt's Bio | UMUC | Feedback | Guest book | E-mail us

 

FaulknerWeb.com is designed and managed by Matt Faulkner.

Domain Name service provided by Namesecure
Copyright © 1998 - 2003 [FaulknerWeb.com]. All rights reserved.
Updated: July 05, 2003 .