Upload
anthony-vergara
View
216
Download
0
Embed Size (px)
Citation preview
GLOBAL KNOWLEDGE ACADEMY LEARNING CENTERAngeles 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. : 3units/72hrs.
VI. Pre-requisite : CP12
VII. Course Requirements :
VIII. Course Content/Topics :
WEEK NO. OF HRS. TOPIC SPECIFIC OBJECTIVES1 3 Introduction
History of C Why use C Compilers Memory models
2-3 6 Program Structure Header and body Use of comments
/*Comments*/ {Body} braces File names Standard compiler library
4 3 Data Concepts Interactive programs Variables, constants, and data types Declaring words, bytes, and bits Key and reserve words
5-6 6 Simple Input / Output Operations Character strings
printf () scanf ()
Single characters getchar () putchar ()
P R E L I M I N A R Y E X A M1 3 Statements and Operators
Expressions Conversions and typecasting
2-3 6 Decision Making Abilities Relational operators Relational expressions
4-5 6 Loops and Controls Control statements for decision making Branching and jumps (if statement) While loop Do while for loop
6 3 Input / Output and Redirection Buffers Redirection and files
M I D T E R M E X A M I N A T I O N1 3 Storage Classes
Automatic variables External variables Scope and functions
2 3 Functions and arguments Global and local variables Recursion Altering variables in calling programs
3 3 String and arrays Dimensions and initialization of arrays String functions Pointers & pointer operations Pointers and multidimensional arrays Pointers and strings
4-5 6 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 ()
6 3 Advanced Topics (time permitted) Structures Pointers to Structures
F I N A L E X A M
IX. References : website (www.cobs.com/gif/ccc190sc.doc)