This course aims to introduce the fundamentals of structured
programming using a high-level programming language. Topics include
concepts of structured programming, program design, development,
running, and testing, and debugging programs. Syntax and semantics of
the presently adopted language so that students will develop the ability
to program in the language. Basic elements of the language: variables,constants, and data types. Basic input/output functions. Conditional and
Iterative control structures. Functions (or methods) and parameterpassing. Recursive functions (or methods). References and dynamicvariables. Basic data structures: one and two-dimensional arrays, stringmanipulation, structures. At the end of this course, students are
expected to be able to analyze a computing problem, design, and
implement a solution using a high-level programming language.
Objectives
Basic computer concepts
C programming language
C Standard Library
Typical C Program Development Environment
Print a line
Escape sequence
Variables and Data types
Arithmetic relational and logical operators
The assignment, increment and decrement operators
Objectives
To construct programs modularly from small pieces called functions.
The common math functions available in the C Standard Library.
How to create new functions.
The mechanisms used to pass information between functions.
Objectives
Objectives
The while, and for repetition statements to execute statements in a program repeatedly;
The break and continue program control statements to alter the flow of program control;
Objectives
Nesting loop structures
To define and manipulate multiple-subscripted arrays.
Objectives