CSIT 10412 units · 107 topicsAcademic year 2083/84
Browse the units
1Computer Fundamental and Programming Methodology (3 hrs)
1.1
Introduction
1.2
Components of PC
1.3
Computer Architecture
1.4
Memory Types
1.5
Memory Hierarchy
1.6
Computer Peripherals
1.7
Input and Output Devices
1.8
Basic of Computer Networking
1.9
Computer Program
1.10
Steps for Program Development
1.11
Problem Solving Tools: Algorithmic Thinking and Flowchart
1.12
Pseudocode
1.13
Program Control Structures
1.14
Program Methodology
1.15
Program Models
2Overview of C Language (4 hrs)
2.1
Introduction
2.2
C Character Set
2.3
Tokens
2.4
Identifiers
2.5
Keywords
2.6
Constants
2.7
Variables
2.8
Data Types
2.9
Type Conversion
2.10
Operators and Expressions
2.11
Structure of a C program
2.12
Managing Input and Output Operations
2.13
Common Errors in Programming
2.14
Debugging Basics
3Control Structures (6 hrs)
3.1
Introduction
3.2
Decision Making Statements
3.3
Looping Statements
3.4
Branching Statements
3.5
Common Pitfalls: Infinite loops
3.6
Misplacement of Conditionals
4Arrays and Strings (6 hrs)
4.1
Introduction
4.2
Types of Arrays
4.3
One-Dimensional Array
4.4
Multidimensional Arrays
4.5
String as Array of Characters
4.6
String Handling Functions
5Functions (8 hrs)
5.1
Introduction
5.2
User Defined Functions
5.3
Return Statement
5.4
Function Call
5.5
Types of Functions based on their Return Type and Function Call
5.6
Inline Functions
5.7
Recursions
5.8
Arrays and Functions
5.9
Preprocessor Directives and Standard Library Functions
6Pointers (5 hrs)
6.1
Introduction
6.2
Pointer Declaration
6.3
Initializing Pointers
6.4
Arithmetic Operations with Pointer
6.5
Pointers and Arrays
6.6
Pointers and Strings
6.7
Pointers and Functions
6.8
Pointer to a Pointer
6.9
Pointer to Void
6.10
Dynamic Memory Allocation
7Structures and Unions (5 hrs)
7.1
Introduction
7.2
Structure Declaration and Accessing Structure Elements
7.3
Initialization of a Structure
7.4
Array and Structures
7.5
Nested Structures
7.6
Structure and Function
7.7
Unions
7.8
Pointer to Structures and Unions
8File Handling in C (5 hrs)
8.1
Introduction
8.2
Basic Terminology Associated with Files
8.3
Types of Files
8.4
Streams and Files
8.5
Binary vs Text File ad File Buffering
8.6
File System Structures
8.7
Various Types of File Access Methods
8.8
Input and Output Operations on Files and Standard Devices
8.9
File Operations
8.10
Error Handling in Files
8.11
Command Line Arguments
9Introduction to Graphics (3 hrs)
9.1
Modes
9.2
Initialization
9.3
Graphics Function
9.4
Drawing shapes
9.5
Lines
9.6
Working with Colours
10Practical Works
10.1
Create algorithms and flowchart for solving the problem
10.2
Create, compile, debug, run and test simple C programs
10.3
Create decision making programs using control statements like; if, if..else, if..else ladder, nested if, and switch cases
10.4
Create programs using loops (for, while, do while, nested loops) and realize the differences between entry controlled and exit controlled loops
10.5
Create, manipulate arrays and matrices (single and multi-dimensional), work with pointers, dynamically allocate/de-allocate storage space during runtime
10.6
Manipulate strings (character arrays) using various string handling functions
10.7
Create user-defined functions with/without parameters or return type, create recursive functions, use function call by value and call by address, work with automatic, global and static variables
10.8
Create programs that addresses pointer arithmetic, pointers and arrays, pointer and character strings, pointers and functions, pointer and structure, and dynamic memory allocation
10.9
Create and use simple structures, array of structures, nested structure. Passing structure and array of structure to function, concept of pointer to structure
10.10
Create files that address random access and input/output operations in file, create files to keep records and manipulation of records etc
10.11
Create graphics program that address some basic functions of graphics.h header file, e.g. line(), arc(), circle(), rectangle() etc.
10.12
Mini project can be assigned by Course Instructor covering the content from the syllabus taught
11Course Objectives
11.1
Familiarize with writing of algorithms, fundamentals of C and philosophy of problem solving.
11.2
Implement different programming constructs and decomposition of problems into functions.
11.3
Use and implement data structures like arrays and structures to obtain solutions.
11.4
Define and use of pointers with simple applications.
11.5
Define different modes of graphics with simple application
12Reference Books
12.1
Balagurusamy, E. (2019), Programming in ANSI C (8th ed.), New Delhi, India: Tata McGraw-Hill.
12.2
Bryon S Gottfried (2018), Programming with C (4th ed.), Mc Graw Hill India.
12.3
PK Sinha, Computer Fundamentals (8th ed.), BPB Publications, India
12.4
Dennis M. Ritchie, Brian W. Kernighan, The C Programming Language (2nd ed.), Prentice Hall.
12.5
Kanetkar, Y. P. (2022), Let us C (15th Ed.), New Delhi, BPB Publication