ICT.ED.4168 units · 72 topicsAcademic year 2083/84
Browse the units
1Introduction to Programming Concept (2T+4P)
Give an introduction of programming language
Describe assembler, compiler and interpreter
State syntax and semantics
Explain programming design tools
Identify the features of good programme
Design algorithm and draw diagram of flow chart of sequence, decision making and repetition concept of programming
Introduction of Programming Language
Assembler, Compiler and Interpreter
Syntax and Semantics
Programming Design Tools
Algorithm
Flowchart
Pseudo codes
Lab Work: Designing algorithm and draw flow chart for sequence, decision making and repetition concept of general programming
2Introduction to C (5T+5P)
Outline historical development of C programming language
Describe basic structure of C program, character set, token and comments, variables and constants
Apply data types and conversion in program
Outline input and output in relation to C
Apply operators and operands in program
History of C Language
Basic Structure of C Program
Escape Sequence
Comment
Variables and Constants
Storage Classes in C
Data Types
typedef keyword
Enumeration
Format Specifiers
Type Conversion
Formatted and unformatted I/O functions
Operators
Arithmetic
Relational
Logical
Assignment
Conditional operator (?:)
Lab Works: Developing basic structure of C program; declaring and assigning variables and constants; applying I/O functions; using operators and type casting
3Control Statements in C (4T+10P)
Write decision making problems using if, switch, goto, break and continue statements
Apply loop concept in program
if statement
switch statement
goto statement
break statement
continue statement
Loop statement
while
do-while
for
Nested loop
Infinite loop
Practical Works: Apply if, switch, goto, break and continue statements; use all types of loop statements; create different patterns using nested loop
4Array and String (5T+7P)
Generate the program using 1D array and 2D array
Solve simple computing problems using array
Use different string functions to manipulate strings
Introduction to Array
Declare, access and initialize array/array elements
Multi-dimensional array
Application of array (searching, matrix addition, multiplication, transpose of matrix, sorting, finding greatest & smallest value in the list etc.)
Practical Works: Array declaration, definition and initialization; creating single/multi-dimensional array; applying 1D/2D array; using string manipulation functions
5Structure in C (3T+5P)
Create a program to bind heterogeneous data
Apply the array of structure concept to collect large no of records in structure
Differentiate between union and structure
Concept of Structure
Initializing, accessing member of structure
Array of Structure
Nested Structure
Union
Practical Works: Binding different types of data in structure; creating union data types
6Pointer
Demonstrate pointer and address references
Apply pointer in array
Identify relationship among pointer, array and structure
Know to allocate memory dynamically
Pointer variable introduction
Address of operator (&) and indirection operator (*)
Pointer Arithmetic
Relationship between 1D Array and Pointer
Dynamic Memory Allocation (malloc, calloc, realloc and free)
Pointer and Structure
Practical Works: Using pointer to dereference; illustrating array-pointer and structure-pointer relationships; allocating memory dynamically; using string functions
7Function
Clarify the concept of functions
Create function with different parameter passing methods
Function introduction
Creating and using user defined function
Passing Parameters/arguments
Returning value from function
Pointer and Function
Arguments and return type of main function
Command line arguments
Practical Works: Prototype, call and define function; pass parameters and return values; call by reference vs call by value; using command line arguments
8File Handling (5T+5P)
Define the concept of file handling in C
Apply file access methods
Apply different formatted and unformatted I/O functions