INFO100, Introductory Visual Basic

MidTerm Exam Information

This exam is held in week 8 of the course, on Tuesday February 24, 1998. It will be held at the usual classroom and time.

Section 1. Procedure for MidTerm Exam

The purpose of this procedure is to help to assure the integrity of the examination process.

College policy 2-G-5 paragraph 3.9 states in part: for final examinations, students wll be required to bring a signed piece of identification (e.g. a student card) which they leave on their desks. I am applying this part of the policy to the midterm exam. Please bring your student card or other signed piece of identification to the exam and leave it face up on the desk while you are writing the exam.

  1. leave books, backpacks, etc along one of the classroom walls
  2. leave the first 3 seats in the row at each side of the room for people who may arrive late
  3. place your student card [or other signed identification] face up on your desk
  4. when you are finished:

Section 2. Description of the MidTerm Exam

The midTerm exam is worth 30% of the final grade for the course.

The exam will cover Part 1 and Part 2 of the StepbyStep textbook. It will be multiple choice; there will be about 70 questions. You could prepare by studying chapters 1 through 6 of the textbook, as outlined in Section 3 of this document.

Section 3. Study Guide for MidTerm Exam

This study guide contains a table of page numbers and concepts from chapters 1 through 6 of the textbook. I made up this list, not as a student study guide, but as part of the process of making up the exam itself, so any of these concepts may appear in questions on the midterm test. As part of your preparation for the test, you could:

  1. review this list to establish your current level of understanding of each concept
  2. read the referenced sections of the text to determine your level of understanding of the material as presented there
  3. for each concept be able to give a definition or explanation, and an example

The page numbers given are usually the ones where the concept is mentioned first in the book. They do not necessarily contain a definition, explanation and example. For these you may have to explore other parts of the textbook.

You may also wish to study the document on the web site which is an edited excerpt from the Microsoft Visual Basic 5.0 Programmer's Guide, Chapter 5, Programming Fundamentals. This would give you another point of view on the material, in addition to that of the professor and of the textbook. Note though that none of the test questions are based directly on this excerpt.

Chapter 1

Page Number

Concept

8

form

9

control, object, property

11

caption property

12

vbp, frm, exe files

16

3 steps in creating a program

19

Label; control vs object

20

twip

21

ImageBox

26

Stretch property

27

code for a program

29

End Sub vs End statements

30

program style

31

Caption property vs Name property

32

program statement vs comment

33

Rnd and Int functions

35

executable file

37

Randomize statement; statement vs function

Chapter 2

Page Number

Concept

45

TextBox

46

CommandButton, event, runtime, event procedure

48

DriveListBox, DirListBox, FileListBox, Image

50

Pattern property of FileListBox; Stretch property of Image

51

& operator; variable

53

runtime error

54

OptionButton, CheckBox, ListBox, and ComboBox objects

57

Value property of CheckBox

58

ListIndex property of a ListBox; control vs object, property

59

event procedure, variable, method, program statement; Text property of ListBox

60

Form_Load event procedure, AddItem method of ListBox, OLE objects, Automation

65

focus

66

database

67

field, record

68

establishing a connection between a Data object and a TextBox object to bind them together

69

Connect, DatabaseName, RecordSource properties of a Data object; DataSource and DataField properties of a TextBox object

71

ActiveX controls

72

Grid control, CommonDialog control

73

insertable object

Chapter 3

Page Number

Concept

77

menu, menu editor

80

access key

88

CommonDialog object

93

enabling and disabling a menu command

94

how to display a CommonDialog object in a program; Filter property of a CommonDialog object; ShowOpen method

101

shortcut key for a menu

Chapter 4

Page Number

Concept

108

program statement; syntax; variable

109

declaring; Dim; what 3 things does Dim do?

110

Option Explicit

111

distinguish between a number, and a number within double quotes

114

argument

115

function [2 characteristics in definition]

118

advantage of using specific variable types rather than Variant

120

local variables

121

public variables

122

constant

123

formula [compare to function]

125

Val function

127

\ mod ^ & operators

130

order of precedence for mathematical operators

Chapter 5

Page Number

Concept

136

event driven programming

137

conditional expression

138

Boolean expression

143

And, Or, Not, Xor

147

Select Case, If ... Then ... Else ... EndIf

149

Text and ListIndex properties of a ListBox control

151

syntax error, runtime error, logic error, break mode

157

Stop statement

Chapter 6

Page Number

Concept

161

Loop

164

AutoRedraw property of a Form object

176

Until vs While keywords; Timer object

180

PasswordChar property of Textbox; Interval and Enabled properties of Timer