Information Systems Technology
Introduction to Computer
Programming
CNET 1133
Course Handbook/Syllabus
|
|
Southeast Arkansas College
1900 Hazel Street
Pine Bluff, AR 71603
Contents
Instructor
Information........................................................................................... 4
Letter to the
Student ............................................................................................ 3
Course
Information
Course Description...................................................................................... 5
Grading
Procedures.................................................................................... 4
Academic
Integrity Policy: Honesty Statement.............................................. 15
Course Leaders
Bill McNew:
Information Systems Instructor
Room 6201B
Telephone: 870-543-5979
FAX:
870-543-5979
E-Mail:bmcnew@seark.edu
Office Hours:
Posted on door
Rob Edleston,
Dean, Technical Studies
McGeorge Room 6201F
Telephone:
870-543-5948
FAX:
870-543-5952
E-Mail: redleston@seark.edu
Office Hours:
Walk-in
Linda Lewis, Vice
President of Academic Affairs
McGeorge Room
6101B
Telephone:
870-543-5906
FAX:
870-543-5952
E-Mail: llewis@seark.edu
Office Hours:
By Appointment
Letter to the Student
Welcome to CNET
1133: Introduction to Computer Programming. I have great hopes for this year’s
class. You are about to enter into a
sixteen-week journey and when you finish, you should be able to impress your
friends and family with your newfound knowledge.
I have a few
expectations of you, as adult students.
If you look around you will find that your classes are made up of people
from all walks of life. Our classes
have men and women of all races and cultural diversity. I expect you to take advantage of the
situation by learning and growing from the interaction that you will experience
in these classes. You will be in
classes with people who work full- or part-time, with parents and grand
parents. The average age of our student
population is 28 years old. Take
advantage of the wisdom of those older than you and the energy of those
younger. You will find fresh ideas on
how to live life and improve in the area of this subject by keeping an open and
active mind. We are living in exciting
times and I hope that you can learn to feel some of that excitement.
I expect you to
read all of your assignments, do all of your homework and participate in each
class. This is not only because each of
these things will effect your grade; it is because it will also make this a
learning experience that will add value to your life and mine. You are here to prepare to enter the work
world. That means that I will expect
you to come to class on time, to earn your grades, and not to quit just because
you have a bad day or week. I expect
you to respect your fellow students and me and I will do the same for you. This holds especially true when it come to
asking questions. There are no stupid
questions except for those that you don’t ask. If you class mates ask a question that
sounds silly to you, show them respect by keeping that opinion to
yourself. You may have the opportunity
to ask a question someday and would want that same respect.
Let’s get ready and begin our
exploration into the world of computer programming.
Introduction
to Computer Programming
Southeast
Arkansas College
Syllabus
Instructor: William M. McNew, MBA, CNE.
Office: McGeorge Hall
Email: bmcnew@seark.edu
Textbook: Visual Basic.NET:How to
Program, by Deitel & Deitel. Prentice Hall. © 2002.
Grading Scale:
A: 90-100
B: 80-89
C: 70-79
F: below 60
Introduction: MS Visual BASIC.NET (VB) is a modern, powerful, intuitive, and advanced Windows computer language. It was designed by Microsoft engineers to work within the Windows programming environment and with it you can program anything that can be done with any other Windows based language. There is a substantial demand for programmers in industry today for people who can conveniently program in Windows languages.
The course will entail mostly hands-on teaching in the lab as well as lecture and testing. The class can also be adopted to focus on any reasonable particular needs of someone who wants to apply the language in their workplace. Much of the programming will be done in the lab and students are also encouraged to program outside lab time if they can, although that is not a mandatory requirement.
Visual BASIC is intended to be an entry-level programming course using standard exe applications, but some of the more advanced programming features will be taught as well.
Prerequisite: COMP -1123 - Introduction to Computers
Most of the training will focus on the book exercises and students who have a computer at home may install the trainer CD onto their hard drive.
Evaluation: The course grade for the semester will be evaluated on 3 major tests making up 75% of the total grade and daily grades making up the other 25%.
Expectations: Students are required to be in class and on time. Assignments are due on time unless there is a family emergency. Cheating will not be tolerated. There will be no disrespect of the teacher or fellow classmates.
There will be 3 exams that count most of the grade. Daily grades are based on finishing programs in the lab in a timely manner.
The semester grade is based on the following:
25% Test 1
25% Test 2
25% Test 3
25% Daily grades (programs)
Course Description
CNET 1133: Introduction to Computer Programming 3 Cr. (3 Lec.)
(Prerequisite: COMP 1123 Introduction to Computers) This
course is designed to introduce students to the fundamental concepts of
object-oriented programming, modular programming, modeling, and object oriented
problem solutions. Students will
demonstrate proficiency through programming exercises and written exams.
Course and Unit Objectives
1. Basic graphical user interface concepts
Upon completion of this course the student will be oriented with :
1. Components dialog
2. Maskedit control
3. Property Pages dialog for the MaskEdit control
4. Common combobox property methods and events.
5. ListBox styles
6. Multiselect property values
7. Demonstrating the ListBox control
8. HScrollBar control
9. Sliders
10. Tickstyle
11. Menu Editor dialog
12. MsgBox methods and properties
2
Advanced Graphical User Interface Concepts
1. Multiple Document Interface
2. Multiple Forms
3. Template Forms
4. Rich TextBox control
5. UpDown control
6. ImageList control
7. ImageCombo control
8. FlatScrollBar
9. Native code compilation
3. Mouse and
Keyboard
1. Changing the shape of the mouse pointer
2. Mouse events
3. Mouse buttons
4. Shirt, Ctrl, and Alt keys
5. Drag and Drop
6. Key events
7. KeyPreview Property
4 Sequential File processing
1. DirListBox, FileListBox, and DriveListBox
2. Data Hierarchy
3. File System Objects
4. Creating a sequential access file
5. Reading data from a sequential access file
6. Updating sequential access files
1. Records and Random-Access files
1. Random access files
2. Records as user-defined types
3. Creating a random access file
4. Reading data sequentially from a random access file
5. Example: A transaction Processing program
2. Object Oriented programming
1. Data abstraction and information hiding
2. Implementing a time abstract data type with a class
3. Class members
4. Composition:Objects as instance variables of other classes
5. Software engineering with components
6. Type fields and Select Case statements
7. Polymorphism
8. Case study:IShape, Cpoint, Ccircle
9. Case study: A payroll system using polymorphism
10. Case study: Polymorphic processing of shapes
11. Simulating Implementation Inheritance with Interface Inheritance and Delegation
12. Object Browser
13. Events and Classes
3. Active X
1. Components, COM, and DCOM
2. Active X control types
3. Active X control lifetime and events
4. UserControl object
5. Creating an Active X control that contains constituent controls
6. Active X control example: Clock control
7. Active X control interface wizard
8. Property pages and the Property Page Wizard
9. ActiveX DLLs
10. ActiveX EXEs
11. Friend Access
4. Database management
1. Database systems
2. Advantages of a database system
3. Data independence
4. Database languages
5. Distributed Database
6. Relational database model
7. The Microsoft ADO Data Control 6.0 and Microsoft DataGrid Control 6.0
8. Structured Query Language
9. Basic SELECT Query
10. WHERE clause
11. ORDER BY clasue
12. Using INNER JOIN to merge data from multiple tables
13. Revisiting the ADO Data control and DataGrid control
14. Hierarchical FlexGrid control
15. DataList and DataCombo controls
16. Using the Data Environment designer
17. Other programming capabilities of RecordSets
5. Networking, the internet and the World Wide Web
1. Visual Basic Internet Controls
2. WebBrowser control
3. Internet Transfer control
4. Winsock control
5. Establishing a simple server (Using TCP control)
6. Establishing a simple client (Using TCP control)
7. Typical format of an HTML document
8. Variant subtypes supported by VBScript
9. Some intrinsic HTML controls
6. Multimedia: Images, Animation, Audio
1. Demonstrating Microsoft Agent
2. Other events for Microsoft Agent control
3. Multimedia MCI control
4. Using the MCI control to play AVI files containing audio and video
5. Demonstrating the RealAudio ActiveX control.
6. Key properties, methods, and events for the ActiveMovie control
When you write programs consisting of numerous variables and modules, adhering to a well-defined set of standards will make a program more readable and easier to maintain. The standards used in this syllabus are derived from the Reddick VBA Naming Conventions, naming conventions recommended by Microsoft in their reference documentation, and suggestions from other sources. In some cases, subtle differences exist between naming conventions. In these situations, the chosen prefix represents the author's interpretation of the most common and intuitive name.
The following naming conventions reflect a standardized technique to name objects. As you develop more and more applications, you will undoubtedly derive your own prefixes. The key point is to be consistent.
Object names should begin with a prefix, which is usually three characters long, followed by the body of the object name. The body of the object name should consist of upper and lower case characters such that the first character of each word is capitalized as illustrated in the example column of Figure 1. Object names should be less than 32 characters. To adhere to variable length requirements, use standard abbreviations for words when necessary. Figure 1 lists suggested names for several Visual Basic objects
Object Name |
Prefix |
Example |
|
ActiveX Document |
doc |
docCurrent |
|
Collection |
col |
pcolPrinters |
|
Control (generic) |
ctl |
ctlCurrent |
|
Error |
err |
perrCurrentOperation |
|
Form |
frm |
frmMain |
|
Object |
obj |
pobjCurrent |
|
Property Page |
pag |
pagGeneral |
|
Screen |
scr |
scrCurrentScreen |
Figure 2 lists the prefixes for several intrinsic and supported ActiveX controls:
Control Name |
Prefix |
Sample |
|
3D Panel |
pnl |
pnlItems |
|
ADO Data control |
adc |
adcData |
|
Animated Button |
ani |
aniOpen |
|
CheckBox |
chk |
chkOnOff |
|
Combo box |
cbo |
cboSelectionList |
|
Command button |
cmd |
cmdCancel |
|
Common dialog |
cdl |
cdlFileSave |
|
Communications |
com |
comModem |
|
Data control |
dat |
datCurrentDB |
|
Data-bound combo box |
dbc |
dbcCurrentField |
|
Data-bound grid |
dbg |
dbgCurrentTable |
|
Data-bound list box |
dbl |
dblCurrentField |
|
Date Time Picker |
dtp |
dtpCurrentDate |
|
Directory list box |
dir |
dirInitialDirectory |
|
Drive list box |
drv |
drvInitialDrive |
|
File list box |
fil |
filInitialFile |
|
Flat scroll bar |
fsb |
fsbVertical |
|
Frame |
fra |
fraOptions |
|
Gauge |
gau |
gauPercentFull |
|
Graph |
gph |
gphSalaryComparison |
|
Grid |
grd |
grdAmortization |
|
Horizontal scroll bar |
hsb |
hsbHowMany |
|
Image |
img |
imgCurrent |
|
Image Combo |
ic |
icList |
|
ImageList |
ils |
ilsAllPictures |
|
Internet Transfer control |
itt |
ittFTPClient |
|
Key status |
key |
keyCapsStat |
|
Label |
lbl |
lblItemPrompt |
|
Line |
lin |
linSeperateSections |
|
List box |
lst |
lstAllowableCodes |
|
ListView |
lvw |
lvwHeadings |
|
MAPI message |
mpm |
mpmMessageReceived |
|
MAPI session |
mps |
mpsSession |