Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 17

UNIVERSITY OF REGINA CARMELI

CITY OF MALOLOS, BULACAN 3000 PHILIPPINES


College of Computer Science and Engineering

COURSE SYLLABUS
SCHOOL YEAR 2009-2010

I. COURSE CODE: CS 2

II. COURSE TITLE: Programming 1

III. COURSE DESCRIPTION:

This course aims to make students understand the role of the computers and computer programmers in society. It also

aims to introduce to the students general techniques of programming; develop good programming habits, teach programming

in the C language; introduce some significant applications of programming; and, let students create C application programs of

their own.

IV. PRE-REQUISITES:

V. CREDIT UNITS: 3 Units

VI. GENERAL OBJECTIVES:

At the end of the term, the student is expected to develop, debug and document a user-friendly program using C
language.
Specifically, the student should be able to know the following:

1. Introduction to programming, Hardware and Software Concepts.


2. Flowcharting Techniques
3. Know the syntax and semantics of the language.
4. Acquire the necessary skills and understanding of C concepts.
5. Develop a program using the language.
6. Demonstrate the Filipino-Catholic Augustinian Spirituality through value webbing.
VII. COURSE CONTENT

Value
Strategies/ Evaluatio
Course Content Objectives Schedule Webbin
Activities n
g
Week 1 Discuss the content
COURSE ORIENTATION List and Discuss to the students of the course CS2 –
the content of the course CS2 – Programming 1.
Programming 1
Enumerate the
Identify the different different
requirements for the course requirements of the
course
List and discuss the different
topics related to CS2 – Enumerate and
Programming 1 Explain the
different topics to
this course
Discuss the Vision, Mission and • Introduction to
Goals of URC and VMG of CSE Programming
Department • Systems
Development
• Algorithms and
Flowcharting
• Programming
Basics
• Simple C
Program
• Conditional
Statements
• Looping
Statements
• Functions as
Subprograms
• Array
Value
Strategies/ Evaluatio
Course Content Objectives Schedule Webbin
Activities n
g
• Strings
• Mathematical
Functions of C-
Language
• Graphics
Functions

INTRODUCTION TO Week 2 Discussion Recitation on


PROGRAMMING Define the following Patience Introduction
terminologies 1. Define and to
explain the programming
• Hardware Concepts • Computer
following and System
o Computer • Digital Representation Critical
terminologies: Development.
o Digital • Digital Electronics Thinking
Representation • Computer
• Digital Device
o Digital • Digital
• Analog Devices
Electronics Representation
• Software
o Digital Device • Digital
• Type of License
o Analog Device Electronics
• Computer Program
• Software Concepts • Digital Device
• Support Module
o Software • Analog Devices
• Data Module
o Type of License • Software
• Application Software
o Computer • Type of License
• System Software
program • Computer
o Support module Program
Enumerate and explain types of
o Data Module • Support Module
License
o Application • Data Module
software • Application
o System Software
Software • System
Software
SYSTEMS
DEVELOPMENT Define System Development 2. Enumerate and
explain the different
• What is systems types of License
Enumerate and discuss the
development? different components of the 3. Define system
Value
Strategies/ Evaluatio
Course Content Objectives Schedule Webbin
Activities n
g
• What is a systems system life cycle.
development cycle? Development
o Analysis
4. Enumerate and
o Design
Explain the different
o Programming stages of the SDLC
o Testing phase.
o Implementation
OBJECTIVES/ EVALUATIO
STRATEGIES/ VALUE
COURSE CONTENT LEARNING SCHEDULE N
ACTIVITIES WEBBING
OUTCOME

ALGORITHMS AND
FLOWCHARTING
o Algorithm
.
 What is an Define Algorithm?
Algorithm
Discussion
 Characteristics of Understand the Evaluation
Patience
an Algorithm Characteristics of an of flowcharts
Topics focusing on
Algorithm. develop by
the ff.
students
Critical
FLOWCHART 1. Algorithms and Thinking
o ADVANTAGES OF USING Define flowchart?
FLOWCHARTS Flowcharting
o LIMITATIONS OF USING Enumerate and Flowchart
FLOWCHARTS discuss the output of
2. Flowchart Accuracy
advantages and students
limitations of
3. Flowchart Symbols
FLOWCHART SYMBOLS flowcharting
o Flowchart Example 4. Conditional
Problem 1 WEEK
Honesty
o Flowchart Example Identify the different
Statements
Problem 2 Flowchart symbols
o Flowchart Example and solve problems 3&4
Problem 3 5. Counters and
using the symbols.
o Flowchart Example
Problem 4 Loops Precision
Explain the role of
conditional statement
CONDITIONAL STATEMENTS Activities
in flowchart design
o Flowchart Example Problem solving
Problem 5 flowchart problems
o Flowchart Example
Problem 6
Ennumerate the use
of Counter and loops
in program flowchart
and understand the
COUNTERS AND LOOPS
o Flowchart Example
importance in
Problem 7 program design
OBJECTIVES/ EVALUATIO
STRATEGIES/ VALUE
COURSE CONTENT LEARNING SCHEDULE N
ACTIVITIES WEBBING
OUTCOME

PROGRAMMING BASICS Explain basic


o Programming Basics programming
o Programming Language techniques in Turbo c.
 Machine Identify and
Language differentiate different Critical
Machine
 Assembly types of programming Discussion Thinking
Problem
Language language.
solving
 High Level
Language Topics focusing on Patience
Trace the History of C the ff.
INTRODUCTION TO C Language
BASIC C
PROGRAMMING 1. Programming Understand
PROGRAMS
List the Basics ing
o A Brief History of C Characteristics of C as
a programming 2. Introduction to C
language
Language programming Precision
o Characteristics of C
Language
List and explain the 3. The Basic
o Reasons why WEEK
Reasons why Input/Output
programmers use C
programmers choose Statements of C
language
C as a Programming
o Examples of Structure 5
Language
and Non Structured
Programming Language List examples of Activities
Structure and Non
THE BASIC INPUT/OUTPUT Structure Language Answer examples on
STATEMENTS OF C
c language
Explain the basic
o The Basic Input/Output input/output
o Variable Declaration statement in C Seat work
o Rules in declaring Language
variables
o Identifiers List and explain the
o Identifiers/Variable rules in declaring
Declaration variables.
o Constants
o Operators in C List and explain the
Operators use in C
language
OBJECTIVES/ EVALUATIO
STRATEGIES/ VALUE
COURSE CONTENT LEARNING SCHEDULE N
ACTIVITIES WEBBING
OUTCOME

Machine
Identify and explain Discussion
SIMPLE C PROGRAM Patience Problem
the program parts of
o Parts of a C program solving
a C Language
o The printf() function program.
o Escape Sequence Understand
Topics focusing on
o Escape Sequence ing Basic c
Explain the printf() the ff.
Example programs
function.
1. Simple C Program
Precision
List and explain the
DATA TYPE use and importance of 2. Data type
Escape Sequence in C
o Int (Integer) Critical
Language. 3. Reasons to declare
Thinking
o Float Show and explain the variables
Week 6
examples given in WEEK
Prelim exam
o Double Escape sequence.

o char Differentiate the 6 Activities


different data types
used in C language. Answer examples
related to C
REASONS TO DECLARE List the reasons why it Programs
VARIABLES is important to
declare variables.
SCANF() FUNCTION Problem Solving
Analyze and explain
o Basic Input/Output the use of the Scanf()
Example 1:Problem function in C language
o Basic Input/Output
Example 2:Problem Analyze and explain
o Basic Input/Output the examples in C
Example 3:Problem program
OBJECTIVES/
STRATEGIES/ VALUE EVALUATIO
COURSE CONTENT LEARNING SCHEDULE
ACTIVITIES WEBBING N
OUTCOME
WEEK 7
CONDITIONAL STATEMENTS
o The Conditional Explain the use of Discussion
Statements Syntax Conditional Precision
o Sample problem (If Machine
statement. Topics focusing on
Statement) Problem
the ff. solving
o If – Else Statement Outline, List and Critical
 Sample problem Discuss the syntax of Thinking
(If/Else conditional statement. 1. Conditional
Statement) Conditional
Statement.
 Program Code Show how to solve Statements Patience
• If Statement problems related to if
o Conditional Statement (If) conditional statement. 2. If Statement
Example 1:Problem Understand
o Conditional Statement (If) Understand how ing
3. Ladderized If /
Example 2:Problem ladderized if/else if /
o Conditional Statement (If) else statement works
Example 3:Problem WEEK Else If / Else
o Conditional Statement (If)
Show examples on Conditional
Example 4:Problem
ladderized if/.else if
LADDERIZED IF / ELSE IF /
/else statement. Statements
ELSE CONDITIONAL 7&8
STATEMENTS
o Conditional Statement (If) Outline the Switch 4. Switch/Case
Example 5:Problem case statement.
o Conditional Statement (If)
Example 6:Problem Illustrate and explain Activities
o Conditional Statement (If) the syntax and format Solve Examples on
Example 7:Problem of the Switch case Conditional
WEEK 8 conditional statement. Statement
SWITCH/CASE
o Conditional Statement Show how to solve Problem Solving
(switch) problems related to
Example 8:Problem Switch/Case
o Conditional Statement Conditional
(switch) statement.
Example 9:Problem
o Conditional Statement
(switch)
Example 10:Problem
OBJECTIVES/ EVALUATIO
STRATEGIES/ VALUE
COURSE CONTENT LEARNING SCHEDULE N
ACTIVITIES WEBBING
OUTCOME

WEEK 9 Discussion
Machine
LOOPING STATEMENTS Explain the use of Patience Problem
Topics focusing on
looping statement in solving
o What are loops? the ff.
C Language
o Looping Statement Understand Looping
 For 1. Looping
ing statement
 While
Statements
 Do While Define loops
o Syntax of the Looping Precision Oral
2. For Loop
statements Enumerate and recitation
 For explain the different
Statement
 While types of looping Critical
 Do While structure use in C Thinking
3. While Loop
Language
WEEK
Statement
FOR LOOP STATEMENT
4. Do While loop
Show and explain the
9 , 10, 11
syntax of the different
Statement
looping statement.
5. Why do loops?
WEEK 10 Week 12
Exam
WHILE LOOP STATEMENT Explain the reasons
why use loops in
Activities
programming
Solve example
Show the examples
problems on looping.
using the for, while
WEEK 11 and do while looping
statements.
DO WHILE LOOP STATEMENT
OBJECTIVES/ EVALUATIO
STRATEGIES/ VALUE
COURSE CONTENT LEARNING SCHEDULE N
ACTIVITIES WEBBING
OUTCOME

Week 13
FUNCTIONS AS
SUBPROGRAMS Defines a function Discussion Critical
Machine
o Function Thinking
Topics focusing on Problem
the ff. solving
o Function (syntax) Explain the use of
Patience
 Function functions in C- 1. Functions as Functions
Example 1: Problem Language Subprograms
 Function
Example 2: Problem Understand
WEEK 2. Function
 Function ing
Example 3: Problem Illustrate and explain
 Function
3. Function (syntax)
the syntax of function.
Example 4: Problem Precision
13 Activities
 Function
Example 5: Problem
 Function Problem solving on
Example 6:
Analyze and explain Subprograms –
Simulation the examples in Functions
 Program Simulation functions.
Example: 7
 Program Simulation
Example: 8
OBJECTIVES/ EVALUATIO
STRATEGIES/ VALUE
COURSE CONTENT LEARNING SCHEDULE N
ACTIVITIES WEBBING
OUTCOME

WEEK 14 Critical
ARRAY Discussion
Define Array Thinking
o Array
o Example of Array 1. Array
Explain the function
o Two-Dimensional Arrays 2. Functions of Array
of array Patience Machine
3. Example of Array
syntax: WEEK Problem
4. Two-Dimensional
Array List the syntax used solving
Example 1: Problem Arrays syntax:
in array in C 14 Understandi
Example 2: Problem Language ng Array
Example 3: Problem Activities
Example 4: Problem Problem solving on
Show examples of
Example 5: Problem Array
Example 6: Program Code array in C language Precision
Example 7: Program Code
WEEK 15
STRINGS Define String
o String Patience
o Example of string data:
o Basic String Functions Describe the use of
• getch( ) String in C Critical
Discussion
• puts( ) Programming Thinking
• strlen( )
• strcpy( ) Topics focusing on Machine
• strcat( ) the ff. Problem
• strlwr( ) Demonstrate the use
solving
• strupr( ) of different string Accuracy
• strrev( ) WEEK Strings
function in c
• strcmp( ) Examples of String
• language.
strcmpi( ) 15 String Functions String
• strncpy( )
• toupper( )
• tolower( ) Activities
Honesty
String - Example 1: Problem
Show examples of
String - Example 2: Problem Problem solving on
String - Example 3: Problem String function in C
String functions
String - Example 4: Problem language.
String - Example 5: Problem
String - Example 6: Problem Precision
String - Example 7: Problem Design programs
String - Example 8: Problem Code using String functions
String - Example 9: Program Code in C Language.
OBJECTIVES/ EVALUATIO
STRATEGIES/ VALUE
COURSE CONTENT LEARNING SCHEDULE N
ACTIVITIES WEBBING
OUTCOME

Show and apply the


mathematical
Week 16 Functions of C –
Language
Mathematical Functions of C-
Language Explain the
properties of the
Mathematical Functions following Discussion

Trigonometric Functions *Trigonometric Topics focusing on Patience


Hyperbolic Functions Functions the ff.
Exponential and logarithmic *Hyperbolic Functions
Functions *Exponential and Mathematical Critical
*logarithmic Function of c- Thinking
• Acos() Functions Language
• Asin()
Work with the Trigonometric
• Atan() Machine
following c-functions Functions Accuracy
• Atan2() WEEK problem
• Acos() Hyperbolic Functions
• Cos() solving on
• Asin() Exponential and
• Cosh() 16 mathematic
logarithmic
• Exp() • Atan() al function
Functions
• Fabs() • Atan2()
Honesty
• Fmod() • Cos()
• Log() • Cosh()
• Log10() • Exp() Activities
• Pow() • Fabs()
• Pow10() • Fmod() Problem solving Precision
• Log() on
• Sin()
• Log10() mathematica
• Sinh()
• Pow() l functions
• Sqrt()
• Tan() • Pow10()
• Tanh() • Sin()
• Sinh()
• Sqrt()
• Tan()
• Tanh()
OBJECTIVES/ EVALUATIO
STRATEGIES/ VALUE
COURSE CONTENT LEARNING SCHEDULE N
ACTIVITIES WEBBING
OUTCOME

List and explain the


Graphic capabilities of
c-language

Work with the


different functions
Week 17
• Function
Graphics Functions initgraph
• Function
Graphics.h - C Language Discussion
detectgraph Patience
Reference Topics focusing on
• Function
the ff.
cleardevice
• Function initgraph Critical
• Function
• Function detectgraph Thinking Machine
closegraph Graphics Function
• Function cleardevice problem
• Function arc Graphics.h - C solving on
• Function closegraph
• Function bar Language Graphic
• Function arc Reference
• Function Accuracy Functions
• Function bar bar3d Week 17
• Function bar3d • Function
• Function circle circle
• Function drawpoly • Function Activities Honesty Week 18
• Function ellipse drawpoly
• Function floodfill • Function Problem solving Final Exam
• Function line ellipse on Graphics
• Function outtext • Function
• Function outtextxy floodfill Individual Project Precision
• Function putpixel • Function line on graphics
• Function rectangle • Function
outtext
• Function
outtextxy
• Function
putpixel
• Function
rectangle
VIII. COURSE REQUIREMENTS

1. Class interaction and participation


2. Written examinations
3. Quizzes
4. Regular attendance
5. Programming

IX. COMPUTATION OF GRADES

Preliminary Class Standing = 3/5 (60%)


Grade Preliminary Exam = 2/5 (40%)
= PG
Midterm Class Standing = 3/5 (60%)
Grade Midterm Exam = 2/5 (40%)
= MG
Final Class Standing = 3/5 (60%)
Grade Final Exam = 2/5 (40%)
= FG

Final Rating PG + MG + FG = FR
Average 3

X. SUGGESTED REFERENCES

A. BOOKS
Vine, M. (2008) C programming for the absolute beginner 2nd ed. Boston: Thomson Course Technology.
Farrell M. (2008) Computer programming for teens. Boston, Mass. Thomson Course Technology.
Wall, K. (2008) TCL and TK programming for absolute beginner. Australia: Thomson.
Farrell J. (2008) Programming Logic and Design 5th Edition. Australia: Thomson.
Herbert, C. W. (2007) Introduction to programming using Alice. Boston: Thomson.
Dietel, HM (2006) Visual C# 2005how to program. 2nd ed. New Jersey: Pearson Education.
McMillan M. (2006) Data Structure and algorithm using C#. New York: Cambridge.
Weis M. (2006) Data Structure and algorithm in C++. Boston: Person Addison Wesley.
Bronson, G. J. (2006) C++ for engineers and scientist. Australia: Thomson.
Hughes, A. (2005) Beginning programming. Indianapolis.
Nyhoff. L. (2005) Abstract data types, data structure and problem solving. Person Education.
Dos R. (2004) Assembly Language and computer architecture using C++ and Java. Australia: Thomson.
Savitch W. (2003) Problem Solving with C++: the object of programming. Addison Wesley.
Deitel, Deitel, (2002) C: how to program, 3rd ed. New Jersey: Pearson Prentice-Hall.
Deitel, H,M. (2001) C: how to program. New Jersey: Pearson Prentice-Hall.

B. INTERNET REFERENCES
http://www.mycplus.com/
http://www.csee.wvu.edu/~mvalenti/research.html
http://www.csee.wvu.edu/%7Emvalenti/documents/DOWLA-CH12.pdf
http://www.sandroid.org/TurboC/
http://www.at-mix.de/turbo_c.htm
http://www.borland.com/us/products/classic_products/index.html
http://99-bottles-of-beer.net/language-turbo-c-469.html
http://www.fsref.com/pr/tc.shtml
http://www.pricegrabber.com/search_getprod.php/masterid=3094830/

C. COURSEWARE
URC, ITC1 Courseware, 2006

D. JOURNAL
Journal of ACM
ACM Transactions of Computer System
Technology Review
Journal on Computing in Higher Education

Prepared by: Noted / Recommending Approval: Approved by:

HADJI J. TEJUCO DR. REGINA R. PIMENTEL DR BELEN DE JESUS


DEAN, COLLEGE OF C.S.E. DEAN OF INSTRUCTION V.P. FOR ACADEMIC
AFFAIRS

You might also like