Syllabus

Course Code: ES-105    Course Name: Programming for Problem Solving

MODULE NO / UNIT COURSE SYLLABUS CONTENTS OF MODULE NOTES
1 Overview of Computers: Block diagram and its description, Number systems, Arithmetic of number systems, Computer Hardware: Printers, Keyboard and Mouse, Storage Devices.
Introduction to programming language: Different levels of PL: High Level language, Assembly language, Machine language; Introduction to Compiler, Interpreter, Debugger, Linker, Loader, Assembler.
Problem Analysis: Problem solving techniques, Algorithms and Flowchart representation.
2 Overview of C: Elements of C, Data types; Storage classes in C; Operators: Arithmetic, relational, logical, bitwise, unary, assignment and conditional operators, precedence & associativity of operators.
Input/output: Unformatted & formatted I/O function in C.
Control statements: if statement, switch statement; Repetition: for, while, and do-while loop; break, continue, goto statements.
3 Arrays: Definition, types, initialization, processing an array, String handling.
Functions: Definition, prototype, parameters passing techniques, recursion, built-in functions, passing arrays to functions, returning arrays from functions.
4 Pointers: Declaration, operations on pointers, pointers and arrays, dynamic memory allocation, pointers and functions, pointers and strings.
Structure & Union: Definition, processing, passing structures to functions, use of union. Data files: Opening and closing a file, I/O operations on files.
Copyright © 2020 Kurukshetra University, Kurukshetra. All Rights Reserved.