Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (1 vote)
1K views

Programming For Problem Solving1'

This document outlines a course on programming for problem solving using the C language. The course objectives are to understand problem solving concepts, apply programming constructs in C to solve real-world problems, and explore data structures like arrays and strings for implementing solutions. The course covers fundamentals of problem solving methodology, C programming basics, control statements, arrays, strings, functions, pointers, structures, unions and file operations across 5 modules. The outcomes are to understand problem solving fundamentals, use decision/control constructs, apply concepts of arrays/strings, functions and pointers to problems, and create solutions using structures and files.

Uploaded by

Ankush
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
1K views

Programming For Problem Solving1'

This document outlines a course on programming for problem solving using the C language. The course objectives are to understand problem solving concepts, apply programming constructs in C to solve real-world problems, and explore data structures like arrays and strings for implementing solutions. The course covers fundamentals of problem solving methodology, C programming basics, control statements, arrays, strings, functions, pointers, structures, unions and file operations across 5 modules. The outcomes are to understand problem solving fundamentals, use decision/control constructs, apply concepts of arrays/strings, functions and pointers to problems, and create solutions using structures and files.

Uploaded by

Ankush
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Programming for Problem Solving

[As per Choice Based Credit System (CBCS) scheme]


(Effective from the academic year 2022-2023)
SEMESTER – I/II
Subject Code 22PPS15/25 CIE Marks 50
Number of Lecture Hours/Week 3 SEE Marks 50
Total Number of Lecture Hours 40 Exam Hours 3
CREDITS – 03
Course objectives: This course will enable students to
● Understand the concepts of Problem Solving.
● Apply Programming constructs of C language to solve the real-world problems.
● Explore the user defined data structures like arrays, structures, and pointers in implementation
solutions to problems.
● Design and Develop Solutions to problems using modular programming constructs such as
functions and procedures.

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

After studying this course, students will be able to:


CO 1: Understand the fundamental concepts of problem solving.
CO 2: Identify and use proper decision /control constructs for solving different type of problems.
CO 3: Explore the concepts of arrays and strings in the implementation of solutions to given problems.
CO 4: Apply functions and pointer concepts for a given problem.
CO 5: Create a solutions for real world problem using Structures and file operations
TEXTBOOKS:
1. Brian W. Kernighan and Dennis M. Ritchie: The C Programming Language, Prentice Hall of
India.
th
2. E. Balaguruswamy: Programming in ANSI C, 7 Edition, Tata McGraw-Hill.
REFERENCE BOOKS:
1. Vikas Gupta: Computer Concepts & C Programming, Dreamtech Press 2013
2. R S Bichkar: Programming with C, University Press, 2012.
3. Perter Norton: Introduction to Computers, by Peter Norton 7th edition.
4. https://www.geeksforgeeks.org/
st
5. Jacqueline Jones and Keith Harrow: Problem Solving with C, 1 Edition, Person 2011.
6. Behrouz A. Forouzan, Richard F. Gilberg: Computer Science - A Structured Approach Using C,
3rd Edition, Cengage Learning, 2007.

You might also like