Vous êtes sur la page 1sur 4

GLOBAL KNOWLEDGE ACADEMY LEARNING CENTER

Angeles City
SYLLABUS IN COMPUTER PROGRAMMING 1
I.

Course Code

CP24

II.

Course Title

Computer Programming 1

III.

Course Description :
Basic programming-in-the-small abilities and concepts including procedural programming (methods,
parameters, return values),
basic control structures (sequence, if/else, for loop, while loop), file processing, arrays and an introduction
to defining objects.

IV.

Course Objectives
:
Students will master basic procedural programming constructs. They will learn to write and debug
small programs (50-100 lines)
using a full range of procedural techniques using a variety of input sources (console, file) and a variety of
output destinations (console, file, graphical). Students will learn the design principles that are relevant to
this style of programming in the small including decomposition, information hiding, elimination o
redundancy, detailed documentation, and use of parameters and return values to create flexible
components. Students will be exposed to the major design issues of object oriented programming
including inheritance.

V.

No. of Units/Hrs.

VI.

Pre-requisite

VII.

Course Requirements

:
:

CP12
:

3units/72hrs.

VIII.

Course Content/Topics

WEEK

NO. OF
HRS.
3

TOPIC

2-3

Introduction
History of C
Why use C
Compilers
Memory models
Program Structure
Header and body
Use of comments
/*Comments*/
{Body} braces
File names
Standard compiler library
Data Concepts
Interactive programs
Variables, constants, and data types
Declaring words, bytes, and bits
Key and reserve words

SPECIFIC OBJECTIVES

5-6

Simple Input / Output Operations


Character strings
printf ()
scanf ()
Single characters
getchar ()
putchar ()

PRELIMINARY EXAM
1

2-3

4-5

Statements and Operators


Expressions
Conversions and typecasting
Decision Making Abilities
Relational operators
Relational expressions

Loops and Controls


Control statements for decision making
Branching and jumps (if statement)
While loop
Do while for loop
Input / Output and Redirection
Buffers
Redirection and files

MIDTERM EXAMINATION
1

Storage Classes
Automatic variables
External variables
Scope and functions

4-5

Functions and arguments


Global and local variables
Recursion
Altering variables in calling programs
String and arrays
Dimensions and initialization of arrays
String functions
Pointers & pointer operations
Pointers and multidimensional arrays
Pointers and strings

Input, Output, and Disk Files


Streams and Files
Text Streams
Binary Streams
Standard I/O
fopen () and fclose () function
fprint (), fscanf (), fgets (), and fputs ()
random access: fseek () and ftell ()
Advanced Topics (time permitted)
Structures
Pointers to Structures

FINAL EXAM
IX.

References

website (www.cobs.com/gif/ccc190sc.doc)

Vous aimerez peut-être aussi