INFORMATION TECHNOLOGY
INTRODUCTION TO PROGRAMMING
Olympia College
INTRODUCTION
This module is intended for students in the beginner stage of the Diploma in Information Technology
program. It is to provide students with a basic understanding of logic techniques and programming with
C.
Computers are affecting almost all aspects of our lives. With the development in the information
technology and the computer being in the forefront of all information technology, it is important for
contemporary human beings to become IT literate. Modern man can afford to ignore the numerous
computer applications in various aspects of human activities.
1. AIMS
The focus of this subject is to implement the concept of C. This subject is designed to further strength
your skills in structured programming and acquaint you with the principles and practices of
programming, through the use of C.
This course provides students with the knowledge and skills necessary to develop the C application
using Microsoft Visual Studio. You will be able to apply the knowledge you gain in the real life situation
when you actually start your profession as an IT personnel.
The course will introduce students to different types of logic techniques such as flowcharts and pseudo
codes to improve the logic thinking of students.
2.
3.
LEARNING OUTCOMES
On completion of this module, students will be able to:
Create applications in C.
4.
5.
LEARNING MATERIALS:
Indicative Readings:
a. Stephen G. Kochan, Programming in C, A complete introduction to the C programming
rd
language 3 Edition, Sams Publishing 2005
nd
b. Byron Gottfried, Schaums Outlines Programming with C 2 Edition, McGraw-Hill
International Edition
Olympia College
6.
ASSESSMENT INSTRUMENTS:
The following is an outline of the various assessment instruments for this module:
6.1 INDIVIDUAL ASSIGNMENT (20%)
There is an individual assignment element in this module. Students will be given an
assignment(s) question related to topics covered between week 1 and week 5 inclusive. The
individual assignments are usually practical in nature whereby students will be required to apply
the question to a real time scenario.
6.2 PRESENTATION (10%)
The students need to present their assignment on week 10 in the form of a PowerPoint
presentation or any other presentation tools. Marks will be awarded based on the quality of
the presentation, language etc
6.3. PRACTICAL EXAMINATION (30%)
Student has to choose 1 out of 3 questions. The question will be a programming question. The
student is required to write the program coding in computer using the application editor to
produce the output.
6.4. FINAL EXAMINATION (40%)
Final Examination is included in this module. It seeks to determine participants individual
effectiveness in responding to specific questions under time-constrained invigilated conditions.
The examination is a closed book examination, requesting participants to demonstrate their
knowledge and critical analysis skills in responding to questions covering the module syllabus.
6.5. ASSESSMENT TIMELINES
The coursework assignment is to be distributed to students by the end of Week 1 and its
submission deadline is no later than week 10.
Presentation will be held no later than week 10.
The practical examination will be conducted on week 14 / 15 and its duration will be 1 hours.
Final examinations will be held at the end of the semester, which is on week 15
6.6 ASSESSMENT CRITERIA
Refer to assignment and final examination marking guide.
6.7 ASSESSMENT DESCRIPTOR
The following general principles should be used when marking and awarding grade:
Grade
Characteristics
Above 70%
60-69%
50-59%
40-49%
< 40%
Olympia College
7.
TOTAL HOURS:
8.
WEEK
LECTURE
Introduction to C programming
Variables,
Data
Types
Arithmetic Expressions
Making Decisions
Program Looping
Character Strings
TUTORIALS / ACTIVITIES
and
The history of C
High level and Low level languages
Operating System
Compiling Programs
Language Interpreters
Variables
Data types
Constants
Arithmetic Expression
Cast Operator
Combining Operations with Assignment
The if Statement
Nested if Statement
Switch statement
Boolean variables
The Conditional Operators
The for statement
Nested for statement
The while statement
The do statement
The break and continue statement
Defining an Array
Initializing Arrays
Character Arrays
Multidimensional Arrays
Array of Characters
Variable length Character Strings
Inputting Character Strings
Single Character Input
Escape Characters
The #define Statement
The # Operator
The ## Operator
Functions (I)
Defining a function
Calling a function
Function Prototype
Olympia College
10
11
12
13
14
Functions (II)
Pointers (I)
Pointers (I)
Olympia College
WEEK 1
Over the week of lecture and tutorial, the focus will be to undertake the following:
Understand programming in C.
Learning outcomes:
Week 2
Over the week of lecture and tutorial, the focus will be to undertake the following:
Create applications using cast operator and combining operations with assignment.
Readings and preparation to be undertaken by the student:
Olympia College
WEEK 3
Over the week of lecture and tutorial, the focus will be to undertake the following:
WEEK 4
Over the week of lecture and tutorial, the focus will be to undertake the following:
Olympia College
WEEK 5
Over the week of lecture and tutorial, the focus will be to undertake the following:
Page 95 117 Chapter 7 & Page 195 230 Chapter 10 from the Main reference text.
WEEK 6
Over the week of lecture and tutorial, the focus will be to undertake the following:
Page 95 117 Chapter 7 & Page 195 230 Chapter 10 from the Main reference text.
Olympia College
WEEK 7
Over the week of lecture and tutorial, the focus will be to undertake the following:
Page 119 162 Chapter 8 & Page 299 319 Chapter 13 from Main reference text.
WEEK 8
Over the week of lecture and tutorial, the focus will be to undertake the following:
Page 119 162 Chapter 8 & Page 299 319 Chapter 13 from Main reference text.
WEEK 9
Over the week of lecture and tutorial, the focus will be to undertake the following:
Page 119 162 Chapter 8 & Page 299 319 Chapter 13 from Main reference text.
Olympia College
WEEK 10
Over the week of lecture and tutorial, the focus will be to undertake the following:
Page 119 162 Chapter 8 & Page 299 319 Chapter 13 from Main reference text.
WEEK 11
Over the week of lecture and tutorial, the focus will be to undertake the following:
WEEK 12
Over the week of lecture and tutorial, the focus will be to undertake the following:
10
Olympia College
WEEK 13
Over the week of lecture and tutorial, the focus will be to undertake the following:
WEEK 14
Over the week of lecture and tutorial, the focus will be to undertake the following:
WEEK 15
FINAL EXAMINATION
11