You are on page 1of 11

DIPLOMA IN

INFORMATION TECHNOLOGY

MODULE LEARNING GUIDE

INTRODUCTION TO PROGRAMMING

Version 1: May 2007

McGraw-Hill International Edition Mod Learning Guide: Introduction To Programming: 2 . This course provides students with the knowledge and skills necessary to develop the C application using Microsoft Visual Studio. arrays and operators in C. 3. 4. OVERVIEW OF THE SYLLABUS: The module is organised into three major learning sections as outlined below: 2. SECTION 2: Introducing C Applications This is the second type of programming design stage to introduce to students on how applications flow based from the English-like language which is easily understood by students. Byron Gottfried. There is no prerequisite required to undertake this module. A complete introduction to the C programming rd language 3 Edition. AUDIENCE AND PRE-REQUISITES This module is for students who are in the semester one of the Diploma program. Kochan.  Declare variables. it is important for contemporary human beings to become IT literate. With the development in the information technology and the computer being in the forefront of all information technology.3 SECTION 3: Creating Applications in C This section teaches on how to create applications in C. 3. 1. Sams Publishing 2005 nd b. 2.  Write pseudocodes based from the flow of the applications.2. 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.  Implement the concepts of delegates in C.1. It is to provide students with a basic understanding of logic techniques and programming with C. 5. The students are required to sit and pass this module BEFORE proceeding to the next programming language module. Computers are affecting almost all aspects of our lives. LEARNING OUTCOMES On completion of this module. Stephen G. 2. through the use of C. LEARNING MATERIALS:  Indicative Readings: a. This subject is designed to further strength your skills in structured programming and acquaint you with the principles and practices of programming. students will be able to:  Draw flowcharts based from the flow of the applications. SECTION 1: Getting Started This section starts with a basic overview of the flowchart with its symbols and tools in the development of the applications. Modern man can afford to ignore the numerous computer applications in various aspects of human activities. The course will introduce students to different types of logic techniques such as flowcharts and pseudo codes to improve the logic thinking of students. Schaum’s Outlines Programming with C 2 Edition.  Create applications in C. Programming in C.Olympia College Diploma In Information Technology INTRODUCTION This module is intended for students in the beginner stage of the Diploma in Information Technology program. AIMS The focus of this subject is to implement the concept of C.

Olympia College 6. 6.4. Limitations in understanding and interpretation and difficulty in linking to relevant material may be evident.1 INDIVIDUAL ASSIGNMENT (20%) There is an individual assignment element in this module. 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. poor organising ability and poorly developed communication skills. FINAL EXAMINATION (40%) Final Examination is included in this module.  The student is able to cover basic subject matter but in a relatively unimaginative and pedestrian manner. The student is required to write the program coding in computer using the application editor to produce the output. Students will be given an assignment(s) question related to topics covered between week 1 and week 5 inclusive. organising. weak organising ability and limited communication skills. The question will be a programming question. methodology and content appropriate to the subject and to the assessment  Selects and organises material with consistent success at an exceptionally high stage  Is able to display originality and personal insight and is capable of expressing their argument clearly. 6. It seeks to determine participants’ individual effectiveness in responding to specific questions under time-constrained invigilated conditions. 6. 6. The practical examination will be conducted on week 14 / 15 and its duration will be 1 ½ hours. Diploma In Information Technology ASSESSMENT INSTRUMENTS: The following is an outline of the various assessment instruments for this module: 6. language etc 6. concisely and accurately.  < 40% The student’s performance is deficient revealing inadequate grasp of material. Final examinations will be held at the end of the semester. interpretation and a clear grasp of methodology suitable focused on the topic  An ability to synthesise material and to construct responses which reveal insight and may offer originality  A grasp of material that enables a coherent response to the assessment task to emerge  An ability to generate work that is accurate and appropriately organised. which is on week 15 6.3. requesting participants to demonstrate their knowledge and critical analysis skills in responding to questions covering the module syllabus.5. Mod Learning Guide: Introduction To Programming: 3 . PRACTICAL EXAMINATION (30%) Student has to choose 1 out of 3 questions.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% Excellent work which demonstrates that the student: Possesses an authoritative grasp of the concepts. Presentation will be held no later than week 10.6 ASSESSMENT CRITERIA Refer to assignment and final examination marking guide. The individual assignments are usually practical in nature whereby students will be required to apply the question to a real time scenario. Marks will be awarded based on the quality of the presentation.  The student’s performance is only just acceptable in most respects revealing some inadequacies in the grasp of material. The examination is a closed book examination. Organisation and presentation of material is acceptable but may display some weakness. The student demonstrates:  An above average stage of understanding.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.

INSTRUCTIONAL PLAN AND RESOURCES The base source of material to be used in the design of the teaching-learning schedule will be the print based module material provided to both staff and students. TOTAL HOURS:  28 hours of direct lecture & tutorial sessions  28 hours of lab sessions  150 hours of self and independent study 8. Other resources will be included to supplement and fill in gaps especially latest development or recent changes which are obviously not found in the module material. Data Types Arithmetic Expressions 3 Making Decisions 4 Program Looping 5 Working with Arrays 6 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 7 The Preprocessor (I) 8 The Preprocessor (II)   The #include Statement Conditional Compilation Functions (I)    Defining a function Calling a function Function Prototype 9 Mod Learning Guide: Introduction To Programming: 4 .Olympia College Diploma In Information Technology 7. CLASS LEARNING SCHEDULE WEEK LECTURE 1 Introduction to C programming 2 Variables.

Olympia College 10 11 12 13 14 Diploma In Information Technology Functions (II)   Functions and Arrays Recursive Function Working with structures (I)    Functions and Structures Initializing Structures Array of Structures Working with structures (II)    Structures containing Structures Structures containing Arrays Structure variants Pointers (I)    Defining a Pointer Variable Using Pointer in Expression Working with pointers and expression Pointers (I)      Pointers and Functions Pointers and Arrays Operations on Pointers Pointers to Function Pointers and Memory address Mod Learning Guide: Introduction To Programming: 5 .

Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried. Kochan. A complete introduction to the C rd programming language 3 Edition. Learning outcomes to attain:  Create applications using Variables.Olympia College Diploma In Information Technology LEARNING SUGGESTIONS AND GUIDELINES WEEK 1 Over the week of lecture and tutorial. Learning outcomes:  To create and compile simple applications in C. Kochan. Schaum’s Outlines Programming with C 2 Edition. Programming in C. A complete introduction to the C rd programming language 3 Edition.40 Chapter 4 from the Main reference text. Data Types and Arithmetic expressions.  Main reference text namely:  Stephen G.  Understand cast operator and combining operations with assignment operators. Readings and preparation to be undertaken by the student:  Page 21 . Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried. the focus will be to undertake the following:  Understand programming in C. Data Types and Arithmetic expressions. McGraw-Hill International Edition Mod Learning Guide: Introduction To Programming: 6 .  Create applications using cast operator and combining operations with assignment.  To apply language interpreters. Readings and preparation to be undertaken by the student:  Page 1 – 20 Chapter 1. the focus will be to undertake the following:  Understand Variables.  Main reference text namely:  Stephen G. Schaum’s Outlines Programming with C 2 Edition. Programming in C. McGraw-Hill International Edition Week 2 Over the week of lecture and tutorial. 2 & 3 from the Main reference text.

Kochan. Learning outcomes:  Create applications based from this chapter. Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried. A complete introduction to the C rd programming language 3 Edition.  Understand the use of Boolean variables. Readings and preparation to be undertaken by the student:  Page 65 – 92 Chapter 6 from the Main reference text.  Main reference text namely:  Stephen G.  Create and apply boolean variables. the focus will be to undertake the following:  Understand the use of IF. Kochan. Nested IF and SWITCH statement. Learning outcomes:  Write applications using IF. McGraw-Hill International Edition Mod Learning Guide: Introduction To Programming: 7 . Schaum’s Outlines Programming with C 2 Edition.  Create applications using conditional operators. Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried. the focus will be to undertake the following:  Understand the concepts of FOR and nested FOR statement.  Main reference text namely:  Stephen G. Programming in C.Olympia College Diploma In Information Technology WEEK 3 Over the week of lecture and tutorial.  Understand the concepts of WHILE and DO statement. Schaum’s Outlines Programming with C 2 Edition. A complete introduction to the C rd programming language 3 Edition.  Understand the conditional operators. Programming in C. Readings and preparation to be undertaken by the student:  Page 43 – 63 Chapter 5 from the Main reference text. McGraw-Hill International Edition WEEK 4 Over the week of lecture and tutorial. Nested IF and SWITCH statement.  Understand the concepts of BREAK and CONTINUE statement.

Programming in C.  Main reference text namely:  Stephen G. McGraw-Hill International Edition WEEK 6 Over the week of lecture and tutorial. Learning outcomes:  Create applications using different types of arrays Readings and preparation to be undertaken by the lecturer:  Page 95 – 117 Chapter 7 & Page 195 – 230 Chapter 10 from the Main reference text. Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried. Readings and preparation to be undertaken by the lecturer:  Page 95 – 117 Chapter 7 & Page 195 – 230 Chapter 10 from the Main reference text.Olympia College Diploma In Information Technology WEEK 5 Over the week of lecture and tutorial. Schaum’s Outlines Programming with C 2 Edition. Schaum’s Outlines Programming with C 2 Edition.  Main reference text namely:  Stephen G. the focus will be to undertake the following:  Understand the concepts of array and how it implemented.  Getting to know different types of escape characters.  Create single character input. A complete introduction to the C rd programming language 3 Edition. Kochan.  Create application on inputting character strings.  Understand the concepts of character arrays. Kochan. Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried. A complete introduction to the C rd programming language 3 Edition. McGraw-Hill International Edition Mod Learning Guide: Introduction To Programming: 8 . Programming in C. Learning outcomes to attain:  Create variable length character strings.  Understand briefly the concept of multidimensional arrays. the focus will be to undertake the following:  Understand the arrays of characters.

Readings and preparation to be undertaken by the student:  Page 119 – 162 Chapter 8 & Page 299 – 319 Chapter 13 from Main reference text. Kochan. the focus will be to undertake the following:  Understand the use of functions. Programming in C. Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried. A complete introduction to the C rd programming language 3 Edition. Readings and preparation to be undertaken by the student:  Page 119 – 162 Chapter 8 & Page 299 – 319 Chapter 13 from Main reference text.  Main reference text namely:  Stephen G.  Understand function prototype Learning outcomes to attain:  Create application on functions. A complete introduction to the C rd programming language 3 Edition. Learning outcomes to attain:  Create application on #include statement and conditional compilation.  Main reference text namely:  Stephen G. Programming in C. Schaum’s Outlines Programming with C 2 Edition. Kochan.  Understand defining and calling a function.  Create application on recursive function. Readings and preparation to be undertaken by the student:  Page 119 – 162 Chapter 8 & Page 299 – 319 Chapter 13 from Main reference text. Sams Publishing 2005 Mod Learning Guide: Introduction To Programming: 9 . A complete introduction to the C rd programming language 3 Edition. Learning outcomes to attain:  Create application on # and ## operator.Olympia College Diploma In Information Technology WEEK 7 Over the week of lecture and tutorial.  Understand the # and ## operator. Programming in C. Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried. McGraw-Hill International Edition WEEK 9 Over the week of lecture and tutorial. McGraw-Hill International Edition WEEK 8 Over the week of lecture and tutorial.  Understand the conditional compilation. the focus will be to undertake the following:  Understand the #define statement. Kochan. Schaum’s Outlines Programming with C 2 Edition.  Main reference text namely:  Stephen G. the focus will be to undertake the following:  Understand the importance of #include statement.

A complete introduction to the C rd programming language 3 Edition. Programming in C. Schaum’s Outlines Programming with C 2 Edition. McGraw-Hill International Edition WEEK 12 Over the week of lecture and tutorial. Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried.  Create application to combine arrays with structures. Readings and preparation to be undertaken by the student:  Page 165 – 191 Chapter 9 from Main reference text. Mod Learning Guide: Introduction To Programming: 10 . Learning outcomes to attain:  Create application on initializing structures.  Create application on recursive function. Readings and preparation to be undertaken by the student:  Page 165 – 191 Chapter 9 from Main reference text. Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried. the focus will be to undertake the following:  Understand the concept of functions and structures. Learning outcomes to attain:  Create application to combine structure with another structures.  Create array of structures.Olympia College  Diploma In Information Technology Refer to the following reference books: nd  Byron Gottfried. the focus will be to undertake the following:  Understand the structure variants. Programming in C. Kochan. Learning outcomes to attain:  Create application on functions. Schaum’s Outlines Programming with C 2 Edition.  Main reference text namely:  Stephen G. McGraw-Hill International Edition WEEK 10 Over the week of lecture and tutorial. Readings and preparation to be undertaken by the student:  Page 119 – 162 Chapter 8 & Page 299 – 319 Chapter 13 from Main reference text. Kochan.  Main reference text namely:  Stephen G. Schaum’s Outlines Programming with C 2 Edition. the focus will be to undertake the following:  Understand the concept of arrays in function. McGraw-Hill International Edition WEEK 11 Over the week of lecture and tutorial. A complete introduction to the C rd programming language 3 Edition.

the focus will be to undertake the following:  Understand how pointer variable is defined. Programming in C. the focus will be to undertake the following:  Understand pointers with functions and arrays.  Main reference text namely:  Stephen G. Kochan. Kochan. A complete introduction to the C rd programming language 3 Edition.  Understand briefly on pointers and memory address.  Main reference text namely:  Stephen G. Schaum’s Outlines Programming with C 2 Edition.Olympia College   Diploma In Information Technology Main reference text namely:  Stephen G. Schaum’s Outlines Programming with C 2 Edition. Programming in C. McGraw-Hill International Edition WEEK 14 Over the week of lecture and tutorial. Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried. Readings and preparation to be undertaken by the student:  Page 235 – 253 Chapter 11 from Main reference text. Sams Publishing 2005  Refer to the following reference books: nd  Byron Gottfried. Kochan. A complete introduction to the C rd programming language 3 Edition. Readings and preparation to be undertaken by the student:  Page 235 – 253 Chapter 11 from Main reference text. McGraw-Hill International Edition WEEK 13 Over the week of lecture and tutorial. Schaum’s Outlines Programming with C 2 Edition.  Understand pointer in expression. Learning outcomes to attain:  Apply pointers and expression.  Apply pointers to function. McGraw-Hill International Edition WEEK 15 FINAL EXAMINATION Mod Learning Guide: Introduction To Programming: 11 . Programming in C. A complete introduction to the C rd programming language 3 Edition. Sams Publishing 2005 Refer to the following reference books: nd  Byron Gottfried. Learning outcomes to attain:  Apply operations on pointers.