Sei sulla pagina 1di 4

CS101-Program Logic Formulation

Course Code and Description

Prepared by:
Prerequisite/s: COMP1A
Please include course code and description whenever necessary

Professor/s handling this subject: ______________________________________________________________________


If any professor can teach this in your department, please write the name of your department

Number of units: 4 Textbook (if any): How to Program C++ by Deitel and Deitel

COURSE OUTLINE and REFERENCES: This course, which is specifically designed for students enrolled in the Paralegal
Program, focuses on the most important canons of legal ethics practiced in the legal profession.

REFERENCE/s
If it is from the textbook, just write the page number/s.
TOPIC/ACTIVITY No. of hours
For books, websites, journals, readings, etc., please write
the specific titles, URLs, author and edition
 C++ Demystified, Kent, Jeff
 C++ Primer, 4th Edition, Lippman, Stanley,
Lajoie, Josee, Moo, Barbara
 C++ For Dummies, David, Stephen
I. PROGRAMMING CONCEPT  Programming Concepts

1. Understand Computer Program  Understanding Computer Language

2. Basic Terminology  Basic Computer Terminology


 Basic Terminology

3. Categories in Programming Language  Programming Language Categories


a. 1st Generation Language  Generation Language
b. 2nd Generation Language  1st Generation ( Programming ) Language
c. 3rd Generation Language  Second Generation Language
d. 4th Generation Language  2nd Generation (Programming) Language
e. 5th Generation Language  3rd Generation (programming) Language
 Computer Languages- Third Generation
Language
 4Th Generation Language
 Computer Languages-Fourth Generation
Language
 Fourth- Generation Language
 5GL
 5th Generation Language

4. Programming Paradigm  Programming Paradigms


a. Procedural  Procedural Programming
b. Logic  Logic Programming
 Logic Programming
c. Functional  Functional Programming
d. Object Oriented  Object- Oriented Programming
5. Program Development Life Cycle  Program Development Life Cycle
a. Analyze the problem
b. Design the Program  How to Analyze a Programming Problem
c. Code the Program
d. Test and Debug the Program  How to Design Program
e. Formalize the Solution  How to Debug and Test the Project
f. Maintaining the Program
g. Documentation
6. Qualities of Good Program  Programming tips: Five Qualities of Good
Program

II. Introduction to Programming Using C++  Introduction to the Imperative Part of C++

1. Origin of C++  A Brief History of C++


 A History of C++
2. Features of C++  Features of C++
3. Understanding Structure Programming  Understanding Structure
4. Creating a Simple C++ Program  Make a Simple Program in C++
5. Understanding the Files in C++ Program  Files handling in C++
6. Working in the Development  Working in the Development Environment
Environment of C++  Typical C++ Development Environment
a. Typical C++ Environment  Typical C++ Development Environment
b. Development Environment of C++  HP C++ Development Environment
7. Use of Language Processor  The Use of Natural Language Processing in
a. Compiler Computer
b. Assembler  Compiler Design
c. Interpreter  Assembler Language
 Assembler
8. Compiling and Debugging Program in  Compiling and Debugging
C++  Compiling & Debugging
III C++ FUNDAMENTALS  Fundamentals of C++
1. Understanding the Elements of C++ 
Program

2. Good Programming Style  Good Programming Style


a. Adding Comment
b. Indention
c. Naming Identifiers
d. Programming Tips in C++

3. Basic Input and Output Statement  Basic Input/ Output


a. Output Statement- cout  Basic Input & Output
b. Input Statement- cin

IV VARIABLES, CONSTANT AND EXPRESSION


1. Overview of Variables  Variables Names
a. Introduction of Variables  Variables. Data Types
b. Rules in Naming Variables  Variables and Data Types
 Data Types in C++
c. Understanding C++ Data Types  Compatible Types
d. Selecting a Data Types
e. Types of Compatibilities

2. Declaring Variables  Declaring Variables


3. Variables Scope  Scope of Variables
a. Scope of Variables  C++ Variables Scope in Function
b. Declaring Local Variables
c. Declaring Global Variables
4. Converting Data Types Using Conversion  Data Types Conversion
Function  Types of Conversion Function
5. Using Constant
6. Using Formatting Function  Format Function
a. Setw()
b. Setprecission
7. Operators and Expressions  Operators and Expression
a. Operators
b. Expressions
V CONTROLLING PROGRAM EXECUTION
1. Understanding Basic Structure  Understanding Basic Structure
2. Comparison and Logical Operators  Comparison and Logical Operators
3. Using Selective Structure  Control Structure
a. If statement with one alternative
b. If statement with two alternative
c. If statement with more than two
alternatives
d. Switch statement
4. Using Repetitive Structure  Mapping The Design of Repetitive Structure
a. While Statement
b. Do- while statement
5. Using Goto Statement  Goto Statement
VI FUNCTIONS  Function
1. Understanding Functions  Function
2. Basic Terminology in Function  Basic Computer Terminology
3. Understanding Header Files  Understanding Data Structure and Header
Files
4. Using Built-in Function  Built – in Function
5. User-Define Function  Introduction to User- Defined Function
a. Function Definition and Function  Creating Design Function
Prototype  Function Declaration and Function Prototype
b. Calling a Function
6. Understanding Between Recursive and  Iterative and Recursive Resolution
Iteration
7. Understanding Recursive Function  Understanding Recursive Function
8. Function Overloading  Function overloading
 Function Overloading
VII ARRAYS  Arrays
1. Understanding Arrays  Arrays
2. Declaring an Array  Declaring Arrays
3. Passing Array to a Functions  Passing Arrays to Function
 7.2 Passing array to function
4. Sorting Array  Sorting Arrays
5. Understanding Multidimensional Array  Understanding Multidimensional Array
 Multidimensional Array
VIII POINTERS AND STRING  Pointers and String
1. Introduction to Pointer  Introduction to Pointer
a. Understand Between * and &  Introduction to Pointers
b. Pointer variable Declaration and  Pointer Variables Declaration and
Initialization Initialization
c. Using Pointer as Argument  Passing Pointer as Argument
d. Pointer Expression and Pointer  Pointer Expression and Pointer Arithmetic
Arithmetic
2. Introduction to Characters and String  Two introduction to Character String
a. Fundamentals of Characters and  Fundamentals of Character and String
String
b. String Manipulation Function
IX BASIC CLASSES  Basic Classes
1. Understanding Classes  Understanding Classes and Objects
2. Basic Terminology in Class  Basic Computer Terminology
3. Creating a New Type Using Class  Creating a New Type
4. Classes and Members  Classes
a. Declaring a Class  Classes and Class Members
b. Declaring an Object
c. Understanding Between Class and
Objects
5. Accessing Class Members  Accessing Class Members
 How to Access C++ Class Members?
6. Understanding Between Private and  Public Versus Private members in C++
Public
X FILE PROCESSING  C++ File Processing
 Chapter 13 File Processing
1. Introduction to Files  Introduction to File System
2. Understanding Data Hierarchy  File Handling Application
3. Understanding Files And Streams  Files and Streams
4. Creating a Sequential Access File  Creating a Sequential Access Files
5. Reading Data From Sequential Access  Using Sequential Access File(Reading from a
File File)

Potrebbero piacerti anche