CS 1408 – Introduction to Computer Programming with Visual Basic

Summer III 2012
Section: 40270 MTWR 12:30- 3:15pm
Class room:
N620

Instructor: Dr. Hong Lin

Office:  S717     Tel: (713) 221-2781

E-mail: linh@uhd.edu            

URL: http://cms.dt.uh.edu/faculty/linh/courses/cs1408

Office Hours: MTWR 3:30PM – 4:30PM and by appointment.

 

Catalog description:  This course covers the history, nature and uses of the computer, algorithms, number systems, information representation, and organization, with an overview of computer hardware and software, computing systems and major applications. An introduction to programming using Visual Basic with an emphasis on event-driven programming and  Graphical User Interfaces design in the Windows environment. Topics include Visual Studio IDE, VB objects, events, code, and properties, control statements, subprograms, data types, arrays, and Graphical User Interface design.

Course prerequisites: Credit or enrollment in MATH 1404 or MATH 1505 or MATH 1306; and placement in ENG 1301 or above. Students not meeting these prerequisites are subject to being dropped from the course without prior notification at their own expense.

Course Objectives: After taking this course, a student should

 

1.      Be able to use standard data types (Integer, Decimal, Single, Double, Char, String) to represent data. Be able to design, implement, and modify programs that use the basic standard data structures and basic operations provided by Visual Basic.

2.      Be able to use Visual Basic controls (Label, TextBox, Button, RadioButton, CheckBox, ListBox, etc.) to design Graphical User Interfaces (GUIs) for event-driven applications.  Be able to develop GUIs with basic user-friendly features (access keys, tab order, accept/cancel button, tool tips etc.).

3.      Be able to use standard control structures: sequence, selection, iteration, and function calls to design basic algorithms.

4.      Be able to use functions and subprograms for modular program design: function/procedure definition and call, scope rules, parameter passing.

5.      Be able to develop robust applications: exception handling, input validation, and user-friendly interface.

6.      Be able to use an Integrated Development Environment (IDE) for application design, implementation, and debugging.  Be able to define effective tests, identify and correct syntax, run-time and logic errors.

Textbook: Starting Out with Visual Basic 2010,5th edition, Tony Gaddis and Kip Irvin, Addison Wesley printed version: ISBN 013611340-0, e-text: ISBN 0132131455. Visual Basic .Net IDE downloaded from http://www.microsoft.com/express/product/

 

 

Course Topics: Chapters 1-9 of the textbook

 

  1. Introduction to Computer Programming
  2. Creating Applications with Visual Basic
  3. Variables and Calculations
  4. Making Decisions (Selection) and Strings
  5. Lists and Loops
  6. Functions and Procedures
  7. Arrays (Chapter 8)
  8. Files, Printing, and Structures (Chapter 9)

 

Topic prerequisites: Knowledge and understanding of the use, terminology, and notation of mathematical functions.

Course grade: Course grades will be determined as follows:

Assignment

Weight

Midterm Exams1-4

40 % 

Final Exam

30 %

Programming assignments

15 %

In-class quizzes, lab exercises, and participation  

15 %

Programming Assignments: One of the key educational objectives of this course is to provide you knowledge and experience with the modern programming concepts and methodologies required in upper-level courses, industry, and graduate schools. Therefore, you can expect to do a great deal of programming in this course. We will spend (at least) 30 minutes of each class doing laboratory exercises.  In addition, it is anticipated that a student will spend at least 4 hours per week working on programming assignments and reading course material (in addition to class time).  So plan accordingly.

Online Course Support: I will use the Blackboard system to provide you with online course material.  As the semester progresses, various material will be posted there, including course syllabus, lecture notes, homework assignments, and exam solutions. I will also post course announcements such as exam dates, homework due dates as well as urgent messages, if needed.  So you may want to check it regularly.  You can access UHD Blackboard through the university main web page or the following URL: http://www.uhd.edu/blackboard/

 

Make-up assignments and exams: Homework/programming assignments are to be completed and turned in by the due date at the beginning of class. Late assignment will not be accepted. Make-up exams will only be given in cases of documented emergencies.  It is your responsibility to contact your instructor with documentation of your emergency as soon as possible.  No make-up quizzes will be given. All missed grades will be recorded as zeros.

 

CLASS POLICIES

 

Student Conduct In Class Policy

Any acts of classroom disruption that go beyond the normal rights of students to question and discuss with instructors the educational process relative to subject content will not be tolerated, in accordance with the Academic Code of Conduct described in the Student Handbook.

 

Children In Class Policy

Only in extreme cases are children allowed in classroom or laboratory facilities, and then only with approval of the instructor prior to class.

 

Electronic Devices In Class Policy

Cellular phones, pagers, CD players, radios, and similar devices are prohibited in the classroom and laboratory facilities. Calculators and computers are prohibited during examinations and quizzes, unless specified. Reasonable laptop-size computers may be used in lecture for the purpose of taking notes.

Academic Dishonesty: For this class, all work must be done individually -- no group work is allowed. You are encouraged to generally discuss assignments with fellow students, but may not copy their solution or code. Doing so constitutes academic dishonesty which will be sanctioned with a grade of F in the course. See http://www.uhd.edu/about/hr/PS03A19.pdf for more information on UHD’s policy on academic dishonesty.

Statement on Reasonable Accommodations:

UHD adheres to all applicable federal, state, and local laws, regulations, and guidelines with respect to providing reasonable accommodations for students with disabilities. Students with disabilities should be notified to register with Disabled Student Services (in S409) and contact the instructor in a timely manner to arrange for appropriate accommodations. Whenever possible, and in accordance with 504/ADA guidelines, UHD will attempt to provide reasonable academic adjustments/auxiliary aids to students who request and require them. Students may call 713-226-5227 for more assistance.

 

Course Schedule

This is the tentative course schedule. It will be updated during the proceeding of the course. You should check it regularly for the assignment due dates and exam dates. Although it will be updated in the best effort, any conflicts should be resolved according to the announcements made in the class.

 

Week\Day

Monday

Tuesday

Wednesday

Thursday

1

7/9

Chapter 1

7/10

Chapter 1

Lab 1: Wage Calculator Form

7/11

Chapter 2

Lab 2: Name and Address (Programming Challenges Q#2 pp. 105)

1st Project Handout: State Abbreviations

(Programming Challenges Q#4 pp. 106)

7/12

Chapter 2

1st Exam

2

7/16

Chapter 3

Lab 3: Miles per Gallon Calculator (Programming Challenges Q#1 pp. 198)

7/17

Chapter 3

Lab 4: Stadium Seating (Programming Challenges Q#2 pp. 198)

7/18

Chapter 3

Lab 5: Debug this program and turn in a correct version

1st Project Due

2nd Project Handout: Celsius to Fahrenheit (Design Your Own Forms Q#6 pp. 201)

7/19

Chapter 4

2nd Exam

3

7/23

Class begins at 1:30pm

Chapter 4

Lab 6: Complete the Test Score Average Application

7/24

Chapter 4

Lab 7: Secret Word

7/25

Chapter 4

Lab 8: Chapter 4 Programming Challenges Question #1

2nd Project Due.

3rd Project Handout: Chapter 4 Programming Challenges Question #2

7/26

Chapter 5

3rd Exam

4

7/30

Chapter 5

Lab 9: Chapter 5 Programming Challenges Question #1

7/31

Chapter 5

Lab 10: Chapter 5 Programming Challenges Question #2

8/1

Chapter 6

Lab 11: Chapter 6 Programming Challenges Question #1

3rd Project Due.

4th Project Handout: Chapter 6 Programming Challenges Question #2

8/2

Chapter 6

4th Exam

5

8/6

Chapter 8

Lab 12: Chapter 8 Programming Challenges Question #1

8/7

Chapter 8

8/8

Review for the Final Exam

4th Project Due

8/9

Final Exam