Programming For Problem Solving1'
Programming For Problem Solving1'
Module I Teaching
Hours
Fundamentals of Problem Solving :Problem solving Methodology: Introduction to
Problem solving, Problem definition, Problem Analysis, Design of a Solution,
Algorithms, Flowcharts, Development of Programs(Coding, testing, debugging),
Characteristics of a Good Program, Types of Errors, Approaches to Problem solving 8 Hours
( Top-down, Bottom-up, Modular, Structured)
Overview of C: Basic Structure of C Program, C-tokens, variable and data types,
Operators, and expressions.
Module II
Managing input and output operations. Unformatted and Formatted Input and Output.
Control Statements: Decision Making with if statement, Simple if statement, the if else and
nested if statements, the else if ladder, Switch statement, Unconditional control Statements. 8 Hours
Decision Making and Looping: while statement, do-while statement, for statement, jumps in
loops, Example programs.
Module III
Arrays: One dimensional Array, declaration, Initialization, Two dimensional Arrays
notations and representations, manipulating with arrays, Example programs.
8 Hours
Strings: Declaring and Initializing String Variables, Reading Strings from Terminal,
Writing strings to Screen, String-handling functions, Example programs.
Module IV
Functions: Definition of function, Elements of User Defined Functions, Parameter
Passing techniques, Categories of functions, recursive function, programming
examples. 8 Hours
Pointers: Introduction to pointers, declaring pointer variables, Types of pointers,
Passing arguments to functions using pointers programming examples.
Module V
Structures and Unions: Initialization. Defining a Structures, Declaration of
Structure variables, Accessing Structure Members, Structure Initialization, Copying
and comparing structure variables, operations on individual members Unions: Union,
8 Hours
Size of Structures, bit fields , Programming examples.
Files: Introduction to files, using files in C, reading and writing data files. , Detecting
end of file
Course Outcomes