0% found this document useful (0 votes)
382 views

CSC301 Course Information

This document provides information on the Visual Programming course offered by Universiti Teknologi MARA. The course code is CSC301, it is a diploma level course worth 3 credits. The course aims to teach students how to develop visual applications using Visual Basic. Key topics covered include variables, conditions, menus, forms, arrays, files and databases. Students will be assessed through exams, quizzes, assignments and a mini project.

Uploaded by

flower boom
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
382 views

CSC301 Course Information

This document provides information on the Visual Programming course offered by Universiti Teknologi MARA. The course code is CSC301, it is a diploma level course worth 3 credits. The course aims to teach students how to develop visual applications using Visual Basic. Key topics covered include variables, conditions, menus, forms, arrays, files and databases. Students will be assessed through exams, quizzes, assignments and a mini project.

Uploaded by

flower boom
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

UNIVERSITI TEKNOLOGI MARA

COURSE INFORMATION

Course Code : CSC301

Course Name : Visual Programming

Level : Diploma

Total SLT : Equivalent to 3 credit


Face-to-Face (F2F): 4
Non Face-to-Face: 0 Guided

Part : 5

Course Status : None Core (Elective)


(Core/Non Core)

Prerequisite : None

Course Outcomes

At the end of the course, students should be able to:


 Describe the process of visual program design development;
 Explain the term event-driven programming
 Explain the concepts of objects, properties and methods; and
 Develop good programming skills by utilizing a modern programming methodology,
which includes problem solving techniques and structured programming.

Course Description

This course covers an introduction to Visual Basic (VB) software package. Visual Basic is
used to design windows applications. VB codes and experiment will be introduced during the
design phase of windows applications. The aim of this course is to enable students to
develop visual application, become familiar with visual development environment and use its
facilities to build the applications.
Syllabus Content

1. Introduction to Visual Basic


 Describe the three steps for writing a Visual Basic Project.
 Write, run, save, print and modify VB project
 Identify compile errors, run-time errors and logic errors
 Use text box, frames, check boxes, option buttons, images, shapes and lines
effectively

2. Variables, Constants and Calculation


 Distinguish between variables, constants and controls.
 Differentiate among the various data type.
 Format values for output using the formatting functions.

3. Decisions and Conditions


 Use block Ifs and nested Ifs to control the flow of logic
 Call event procedures from other procedures
 Create message boxes to display error conditions
 Debug projects using breakpoints, stepping program execution and displaying
intermediate results.

4. Menus, Sub Procedures and Sub Functions


 Create menus and submenus for program control
 Display and use the windows common dialog boxes
 Write reusable code in sub procedures and function procedures and call the
procedures from other locations.

5. Multiple Forms
 Create a project with multiple forms, use the Show and Hide methods to display
the hide forms
 Differentiate between variables that are global to project and those visible only to
a form

6. List, Loops and Printing


 Create and use list boxes and combo boxes
 Use DO/LOOPS and FOR/NEXT statements to iterate through a loop
 Use the string functions Left, Right and Mid to refer to part of a string
 Use Len functions to count the number of characters in a string
 Using the Print method
7. Arrays
 Set up and use a control array
 Code selection logic using a Select Case Statement
 Establish and array to variables and refer to individual elements in the array with
variable subscripts
 Use the For Each/Next to traverse the array
 Store the data in multidimensional array

8. Data Files
 Creating Sequential Files
 Using Sequential Files
 Random Data Files

9. Accessing Database
 Visual Basic and Database Files
 Navigating the Database in code
 Using list boxes and combo boxes
 Adding lookup table
 Updating database file

Teaching Methodology : A combination of any of the following methods:


 Lectures
 Labs

Assessment : Final Examination : 50%

Coursework : 50%
 Test (2)
 Quizes(2)
 Assignments(2)
 Mini Project(1)

Recommended Text : 1. Julia Case Bradley & Anita C. Millspaugh,


Programming in Visual Basic 6.0, Mc Graw – Hill
International, 1999.

References : 1. David I, Schneider., Visual Basic 6.0 (Update Edition,


4th Ed), Prentice Hall 2004.

2. Shelly Cashman, Visual Basic 6.0, Course Technology,


1999.

You might also like