Class Resources



CS 100 - Introduction to Computers and Programming

Instructor: Danny Hardin
Office: NSSTC 4232 (320 Sparkman Drive) Map
Phone: 961-7792
Text: An Introduction to Programming Using Visual Basic 6.0, 4th Edition by David I. Schneider. 1998.


Exams: 60% - Midterm (30%) Final July 31 6:30 - 9:00 (30%)
Homework & Programs: 30% - Assignments from textbook and handouts
Class Attendance: 10% - 1unexcused absence.

Keep all your homework and programming assignments NEATLY ORGANIZED in a folder or soft cover binder. Always provide a paper copy of any programming assignments along with your floppy disk.


Course Objectives:

The UAH Undergraduate Catalog 2001-2003: History of computing and the information age. Overall structure of computer problem solving and methods of constructing of computer solutions. Impact of computers on the individual and society. Applications of computers in business, medicine, and humanities. Introduction to Visual Basic.

  • Introduce the hardware and software of PC computer systems
  • Introduce techniques of problem analysis and algorithm development
  • Introduction to the Visual Basic programming language providing experience in User Interface design and simple program development.

Additional Class Materials:

At least three High Density Double Sided floppy disks (3.5 inch)
Envelope or Folder for programming assignments.
You will need to turn in both a floppy disk and paper print out of your programming assignments. This will keep them from getting separated.


Make sure that your name is on every item turned in.
Make copies of your floppy disks. Many floppy disks are cheaply made and are likely to fail. It is also likely that you will accidentally delete files on occasion. KEEP A BACKUP!


UAH Course Policy

Official UAH Computer Science Department Policies and Procedures

The following policies are adapted from the general policies of the Computer Science Department:

Attendance: Regular class attendance is required. You are responsible for all material covered in class, regardless of whether or not it is in the textbook, as well as for any announcements, assignments, or other class content. If you miss a class you are responsible for obtaining the missed assignments from a classmate. You are allowed 3 unexcused absences. More than that will result in a loss of points.

Assignments: There will be numerous programming and written assignments. The assignments are crucial to your success in this course and you are expected to complete them all. Any assignment not turned in on time will receive a grade of zero. If you anticipate difficulty completing an assignment on time, make arrangements with the instructor before the assignment due date. Assignments are to be turned in whenever the instructor asks for them. You will receive program and homework assignments well in advance of their due date. All assignments are due at the beginning of class. Your lowest homework grade will be dropped.

Tests and Exams: Makeup exams will be given only if you have made prior arrangements with the instructor, and only if you have a valid reason for missing the test, such as illness, business trip or UAH athletic participation.

Incompletes: A grade of Incomplete is assigned by the instructor when a student, due to circumstances beyond his or her control, has not satisfied some requirement of the course. An example of a legitimate circumstance is an illness which prevents completion of a final program. If you have fallen behind in a class due to work, family obligations or other course work the appropriate solution is to withdraw from the course.

Withdrawals: The University policy for withdrawing from a class is as follows: through the eighth week of the Fall or Spring Semester a student may withdraw from any course. After the eighth week, a student may withdraw from a course only under extenuating circumstances and with the approval of the dean of the college in which the student is enrolled. Any student failing to follow the established procedure for withdrawal will continue to be enrolled in the class and may receive a failing grade in that course.

Software: You may develop your programming assignments on any computer, using any software, but they must run under Microsoft Visual Basic 5.0 or 6.0 in the CS department labs.




Class Topics and Homework Assignments

1 (May 27)

Chapter 1
Section 3.1

Course Introduction - Begin Chapter Three
Class Rules, Grading
Computer account application
Introduction to the Visual Basic Programming Environment
Creating a user interface
Homework: Chapter One
Scan sections 1.1.and 1.2.
If you are not familiar with creating files and folders carefully read section 1.3 and perform the steps on pages 18-19.
Read section 1.4
Homework: Section 3.1
Section 3.1 Read and study pages 44-55. Perform the four walkthrough cases on pages 46-53. This is VERY IMPORTANT as it teaches you how to use four Visual Basic controls that will be repeated throughout the course. It also gives you practice with the VB Environment.
Problems to turn in: Section 3.1 programs 13, 17, 20, 25, 30, 33 and 34
pages 56-57.
You may place the objects for programs 13, 17, 20, and 25 all on ONE Form. Turn in your disk and a paper copy of the Form Image and The Form as Text (no code this time). Follow the Instructions for Submitting CS-100 Home Work.
Due June 5.

2 (May 29)

Section 3.1

Forms and Properties
Continue with VB Controls
Command Buttons, Picture Boxes, Text Boxes, Picture Boxes
How to save a project to disk
Read through the Comments on pages 53-55
Examples illustrating selected comments

3 (June 3)

Section 3.1

In Class Problems
Practice with VB Forms and Controls
Homework: Section 3.2

Section 3.2 Read Section 3.2 from page 58 through page 66.
Homework: Section 3.2
Problems to turn in: Exercises 3.2 - Programs - 37-41 pages 68-69.
Due June 12.

4 (June 5)

Section 3.2

Visual Basic Events
Introduction to VB Events
Perform the Event Procedure Walkthrough on pages 60-64.
Read through the Comments on pages 65-66
Sample problems

5 (June 10)

Section 3.2

More on Events
Setting/Modifying properties with code
The form load and show methods
Moving objects with Left and Top
Homework: Section 3.3
Read Section 3.3 from page 71 through page 79
Homework: Problems to work with pen and paper (or word processor if you prefer) Exercises 1 - 22 page 80.

Due June 19.

6 (June 12)

Section 3.2

In Class Programming Problems
Introduction to Frames, Radio Buttons, and Check Boxes
Selected programming problems

7 (June 17)

Section 3.3

Intro to Numbers
Simple math expressions and printing
Using variables
In class: An event procedure for problems 23-28 page 80
Homework: Section 3.4
Read Section 3.4 page 84 through page 88 (Stop at "Using Text Boxes for Input and Output")
Homework: Programs 27, 28, 29, 30 and 31 Pages 96-97.
Due June 26

8 (June 19)

Section 3.3
Section 3.4

More on Numbers, Introduction to Strings
Structuring a program with:
Comments (Rem and ')
Variable Declarations (Dim)
Computations (+, -, * ,/, ^)
Val(), and Str()

9 (June 24)


Additional Topic - Animations
Animations Introduction to the Timer Control
Examples using the timer

10 (June 26)

Section 3.4

In Class Programming Problems
Selected programs for practice in class.
Homework: Sections 5.1 and 5.2
Read Section 5.1 and 5.2 page 200 through page 211

11 (July 1)



12 (July 3)

Section 5.1
Section 5.2

Relational and Logical Operators
Introduction to Logical Operators
Simple If statements
Homework: Paper (or word processor) - Problems 1, 2, 3, 5, 10, 11, 13, 14, 15, 19 pages 212-216.
Homework: Programs - 27, 29, 30, 33 and 36 pages 218-219.
Due July10.

13 (July 8)

Section 5.1
Section 5.2

Programs Using Conditional Statements
If - Then
If - Then - Else
If - Then - Elseif - Elseif

In class examples of programs

14 (July 10)

Section 5.1
Section 5.2

In Class Programming Problems
Practice with programs involving the If statement
Check Boxes
Option Buttons

15 (July 15)

Section 6.1
Section 6.3

Loops: Do-While and For - Next
Read pages 250-254 and 276-282
Do While and For - Next loops.
Input Box
Message Box
Section 6.1 Programs: - 23 (Use a DO-While Loop), repeat 23 using a DO-UNTIL loop
Section 6.3 Programs 20, 23, 27 (Use FOR-NEXT loops)
DUE: July 24

16 (July 17)

Section 6.1
Section 6.3

Loops - Continued

17 (July 22)

Section 6.1
Section 6.3

In Class Programming Problems

18 (July 24)


Review for Final Exam

(July 31)


FINAL EXAM (July 31, 6:30 - 9:00)