MIAMI-DADE COLLEGE - NORTH Computer Information Systems Department Introduction to Programming Using Visual BASIC.Net COP1332 PROFESSOR: OFFICE: PHONE: e-mail: web page: MICHAEL J. WALTON 3242-9 (305) 237-1211 michael.walton@mdc.edu http://faculty.mdc.edu/mwalton/ Course Description This course introduces computer science and non-major students to fundamental programming skills using the Visual Basic Integrated Development environment. Students learn program design, the fundamentals of event driven object-oriented programming, arrays, validation of user input, and how to create menu driven programs and multiple form applications. This course may be taken by those not majoring in Computer Information Systems. Knowledge of high school algebra is recommended. Laboratory fee. (3 hr. lecture; 2 hr. lab). SUPPLIES Programming in Visual Basic .NET 2010 Edition ISBN 978-0-07-351725-4 Pub. McGraw-Hill Higher Education by Bradley and Millspaugh 1 Flash Drive – 1 GB or greater GRADE COMPOSITION: The final grade will consist of the following areas: 2) Programming Assignments 60% 3) Midterm exam 10% 4) Final exam 20% vbol.doc (7/25/2016) 1 LAB WORK and ASSIGNMENTS: Students are required to complete at least two hours per week of class assignments in the computer laboratory. All programming assignments will be given a due date with a grace day unless otherwise specified. Late assignments will have 10 points deducted for each day after the due day. A programming assignment may be resubmitted by the next class to receive back one-half of the points lost, except for late points, or to receive a grade of 70, whichever is higher. Makeup exams will be allowed by the instructor only if contacted prior to the next class session and the student has a valid excuse. An incomplete for this course is normally not given. GRADING SCALE: A B C D F - 90-100 80-89 70-79 60-69 0-59 Academic Honesty: Don’t cheat! If you are caught cheating you will receive zero points of that assignment. If you are caught a second time you will receive an F for the course! Allowing another student to copy your work is cheating. Withdrawal: It is your responsibility to withdraw/drop. If you choose to drop the course please process the necessary paperwork with the registrar’s office. If you fail to attend 4 classes you may be administrative withdrawn (purged) from the class. Incomplete Policy: A grade of incomplete will only be given in extenuating circumstances as defined in the Student Rights and Responsibilities manual. In addition, you must have completed at least ¾ of all the course work in order to be granted an incomplete. In order to receive an incomplete the student must make a request to the instructor in writing with documentation to support his/her request, the instructor must approve the request, and both the instructor and the student must fill-out and sign an Incomplete Contract Form to be submitted to the CIS department with the class grades. Classroom Conduct: 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. vbol.doc (7/25/2016) 2 Children in Class: Children are not allowed in the classroom or in the computer labs. Please contact Childcare services at 305 237-1019. Electronic Devices: Cellular phones, pagers, CD players, radios, and similar devices are prohibited in the classroom. ADA: If you are in need of ADA accommodations please contact the Access Services Department at 305 237-1272. TOPIC OUTLINE I) Introduction A) General Information B) History of Visual BASIC C) Procedure Oriented vs. Object Oriented/Event Drive D) Introduction to Windows E) Starting and stopping Visual BASIC II) Visual BASIC Screen A) Project Window B) Properties Window C) Tool Box D) Forms Window E) Menu Bar F) Tool Bar G) Mouse vs. keyboard actions III) Visual BASIC Components A) Forms B) Objects C) Controls D) Events E) Properties F) Methods G) Modules IV) Visual BASIC Development Cycle A) Plan B) Create Application Layout 1) Draw form labels 2) Add Controls vbol.doc (7/25/2016) 3 C) D) E) Customize properties Write Visual BASIC code Test/Debug V) Label Box, Image/Picture Box and Command Button A) Add Controls B) Deleting Controls C) Properties of Controls D) Code Window E) Color for form and controls VI) Managing the Solution/Project A) Saving the solution\project B) Run time vs. Design Time C) IPO, OEA, and Pseudo Code VII) Text Box A) Properties B) Data type C) Modules/Events D) Command Buttons/Access Keys E) Naming Objects/Controls F) Formatting text G) Variable types H) Definition of variables I) Using variables to hold values J) Methods K) Focus L) Properties 1) Enabled 2) Visible VIII) User Input Validation A) Selection 1) IF B) User Input Validation 1) IsNull 2) IsNumeric C) Dialog Box 1) MsgBox a) function vbol.doc (7/25/2016) 4 IX) CheckBox A) Properties B) Dialog Box function X) RadioButton, GroupBox A) RadioButtons B) GroupBox C) Selection 1) SELECT CASE 2) Switches/Enabled Property E) Summation F) Scroll Bars XI) Multiple forms A) Design application B) Startup form XII) Looping A) For Next B) Do Loops XIII) List Box Course Competencies Competency 1: The student will demonstrate knowledge of computer system architecture. Competency 2: The student will apply and synthesize knowledge of User Interface design. Competency 3: The student will demonstrate understanding and application of a modern Integrated Development Environment (IDE). Competency 4: The student will demonstrate analytical knowledge of fundamental computer program components. Competency 5: The student will demonstrate analytical knowledge of fundamental computer programming data structures. Competency 6: The student will demonstrate analytical knowledge of fundamental computer programming constructs. Competency 7: The student will demonstrate analytical knowledge of fundamental computer programming operations. vbol.doc (7/25/2016) 5 Competency 8: The student will demonstrate analytical knowledge of computer input/output. Competency 9: The student will demonstrate analytical knowledge of the program development and maintenance processes. Competency 10: The student will demonstrate the ability to synthesize knowledge of fundamental computer programming by designing, implementing, testing and debugging event-driven, object-oriented programs that use each of the following fundamental programming constructs: basic computation, simple I/O, and standard conditional and iterative constructs. vbol.doc (7/25/2016) 6 As graduates of Miami Dade College, students will be able to: 1. Communicate effectively using listening, speaking, reading, and writing skills. In this course, the communication outcome will be reinforced by the students developing their logic using Pseudocode (English like wording) and providing meaningful comments in their programs. 2. Use quantitative analytical skills to evaluate and process numerical data. In this course, the student will be required to read and identify pertinent numerical data in word problems. The student will be required to determine the required manipulation of the data to produce the desired results, 3. Solve problems using critical and creative thinking and scientific reasoning. In the programming field, critical thinking is essential skill. Solving problems is not enough. The student must be able to critically view the problem and determine whether or not the answer makes sense. The student must be able to determine a logical sequence of steps to solve problems, both qualitative and numerical. Critical thinking and scientific reasoning are heavily reinforced in this course. 4. Formulate strategies to locate, evaluate, and apply information. This outcome is not reinforced in this course. 5. Demonstrate knowledge of diverse cultures, including global and historical perspectives. This outcome is lightly touched upon in this course, primarily in sharing their ideas to solve various logic problems using the computer and working it teams to derive a solution to a problem. 6. Create strategies that can be used to fulfill personal, civic, and social responsibilities. This outcome is not reinforced in this course. 7. Demonstrate knowledge of ethical thinking and its application to issues in society. This outcome is not reinforced in this course. 8. Use computer and emerging technologies effectively. All the homework will require the student to use a word processor and the Visual Studio program development environment to design and develop their computer solution to a problem. The student must be able to compress their solution and send it via e-mail for grading and then retrieve from their e-mail their graded assignment, additionally, various components required for the course will be posted on my web site and they will be required to download and possibly uncompress. The slide presentations for each chapter are available on my web site for use with PowerPoint for review by the student. vbol.doc (7/25/2016) 7 9. Demonstrate an appreciation for aesthetics and creative activities. This outcome is not reinforced in this course. 10. Describe how natural systems function and recognize the impact of humans on the environment. This outcome is not reinforced in this course. vbol.doc (7/25/2016) 8