0% found this document useful (0 votes)
5 views

PPS I sem - syllabus

The document outlines the course structure for 'Programming for Problem Solving Lab' at Priyadarshini College of Engineering, Nagpur, detailing course objectives, outcomes, and content across six units focused on C programming fundamentals. Students will learn problem-solving techniques, data types, arrays, functions, pointers, and file handling, culminating in practical lab experiments. The course aims to equip students with the skills to develop and implement C programs effectively.

Uploaded by

aryankondekar15
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

PPS I sem - syllabus

The document outlines the course structure for 'Programming for Problem Solving Lab' at Priyadarshini College of Engineering, Nagpur, detailing course objectives, outcomes, and content across six units focused on C programming fundamentals. Students will learn problem-solving techniques, data types, arrays, functions, pointers, and file handling, culminating in practical lab experiments. The course aims to equip students with the skills to develop and implement C programs effectively.

Uploaded by

aryankondekar15
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Priyadarshini College of Engineering, Nagpur.

Course Title: Programming for Problem Solving Lab Semester: I

Course Code: 23UFY1B3T Course Category: ESC

Teaching Scheme: L T P Total Credits: 03


3 0 0

Course Objectives:
1. To learn the fundamentals of Problem Solving
2. To understand the various steps in program development and learn the syntax and semantics of C
programming language
3. To learn the usage of structured programming approach in solving problems.
4. To understated and formulate and implement programs to illustrate the applications of
different elements such as arrays, pointers, functions and files.

Course Outcomes:
On Completion of the course students will be able to

CO1 Formulate simple algorithms for arithmetic and logical problems, translate the algorithms
to programs (in C language), test and execute the programs and correct syntax and logical
errors.
CO2 Implement programs using Arrays and Strings using C
CO3 Develop C programs to solve simple mathematical and decision making problems and to
Control the sequence of execution using Iterative statements.
CO4 Apply procedure oriented concept and illustrate Modularity features of ‘c’ using functions
CO5 Explain significance of pointers and Develop c programs using structures and Pointers
CO6 To create files and perform input /output operations on files

Course Content:

UNIT I
[ 8 Hours]

Introduction to Problem solving Approaches: Introduction , Components of a computer system.


Representation of Algorithm, Flowchart/Pseudocode with examples.
Overview of C: History and importance of C, Basic structure of C program, Compilation and Execution
steps
Constants, Variable and Data Types: Introduction, Character Set, C Tokens, Keywords and
Identifiers, Constants, Variables, Data Types, Declaration of Variables, Assigning Values to Variables,
Defining Symbolic Constants, Operators and Expressions
Managing Input and Output Operations: Reading a Character, Writing a Character, Formatted Input,
Formatted Output.
Priyadarshini College of Engineering, Nagpur.

UNIT II
[8 Hours]

Arrays:
One-dimensional Arrays: Declaration of One-dimensional Arrays, Initialization of One-dimensional
Arrays, Example programs- Linear search, Binary search,
Two-dimensional Arrays: Declaration of Two-dimensional Arrays, Initialization of Two
dimensional Arrays, Example programs – Matrix Multiplication, Transpose of a matrix.

Character Arrays and Strings: Declaring and Initializing String Variables, Reading Strings from
Terminal, Writing Strings to Screen, Arithmetic Operations on Characters, String-handling Functions,
Example Programs (with and without using built-in string functions)

UNIT III

[ 6 Hours]

Conditional Branching and Iterations:


Decision Making and Branching:The if-else statements, The switch statements, The ? :
Operator, The goto statement
Iterative Statements : The for() Loop, The while(), The do-while(),statements.
Implementation and evaluation of conditionals and consequent branching.

UNIT IV
[8 Hours]

Functions: Built-in and User-defined Functions: Elements of User-defined Functions, Definition of


Functions, Return Values and their Types, Function Calls, Function Declaration, Category of Functions,
No Arguments and no Return Values, Arguments but no Return values, Arguments with Return Values,
No Arguments but Returns a Value, Passing Arrays to Functions.
Recursion, significance of Recursion over Iteration in a problem solving approach.

UNIT V
[6
Hours]

Pointers: Introduction, Declaring Pointer Variables, Initialization of Pointer variables, accessing a


Variable through its Pointer, Pointer Expressions, Pointer Increments and Scale Factor, Pointers and 1-
D Arrays, Calling function by Reference. Structures : definition, Input, Output.
Priyadarshini College of Engineering, Nagpur.
UNIT VI
[ 6 Hours]
Files in C : Buffer and streams, Working with text files and Binary Files, Defining and opening a file,
closing a file, Input/output and Error Handling on Files. Random Access Files, Dynamic Memory
Allocation, Command-line Arguments.

Textbooks:
1. Programming in ANSI C, E Balaguruswamy, Tata McGraw Hill
2. Let us C, Yashavant P. Kanetkar, BBP Publications, Delhi

Reference books:
1. The C programming language (ANSI C version), Kerningham Dennis Ritchie ,2nd
Edition, PHI India
2. Problem solving and program design in C , Jeri R Hanly Elliot B Koffman Person
Addison Wesley
3. Computer Concepts and Programming in C, R.S. Salaria, Khanna Publishing
4. C & Data Structures,P. S. Deshpande, O. G. Kakde, Charles River Media Computer
Engineering,Electrical and computer engineering series ITPro collection

Programming for Problem Solving Laboratory


Course Title: Programming for Problem Solving Lab. Semester: I

Course Code: 23UFY1B3T Course Category: ESC

Teaching Scheme: Total Credits: 01


L T P
0 0 2

Course Outcomes: On Completion of the course students will be able to

CO1 Study computer system, its components and Devlop simple ‘c’ program
CO2 Demonstrate programs using 1-D and 2-D Arrays and strings using C
CO3 Demonstarte execution of C programs to Control the sequence of execution using
conditional and iterative statements.
CO4 Implement Modularity features of ‘c’ using functions
CO5 Demonstarte use of pointers and Develop c programs using structures and Pointers
CO6 implement programs for creation of files and perform input /output operations on files
Priyadarshini College of Engineering, Nagpur.

List of Experiments: (Minimum 8 – 10 Experiments based on following topics)

Experiment - 1: Fundamentals of Computers and Operating System


1) To Study the internal structure of Computer, its assembly, use of each I/O device and ports, use
of System Software like: Windows, Linux
2) To Demonstrate all types of operators ( Arithemetic, Logical and Relational ) , different data
types and the use of “printf” and “scanf” with all possible options.

Experiment - 2: 1-D and 2-D Arrays


1) To demonstrate the creation of array, addition of an element and displaying the elements
from one dimensional array.
1) To demonstarte 2 D Array declaration, Input and output array elements for displaying
multiplication table.

Experiment - 3: Conditional Branching


1) To demonstrate the use of if - else structure
2) To demonstrate the use of switch case construct.

Experiment - 4: Loop Control or Iterations


1) To demonstrate the use of “while” or “do-while” control structure.
2) To demonstrate the use of “for” loop with “break” or “continue” construct

Experiment - 5 Searching techniques


1) To demonstrate the implementation of linear search
2) To demonstrate the implementation of Binary search.

Experiment 6 : Pointers
1) To demonstrate the pointer declaration and its use
2) To demonstrate the implementation of pointer on array
Experiment - 7: Structures and Dynamic memory allocation
1) To demonstrate the creation structures and reading and writing of records using structures
2) To demonstrate the use of malloc() and calloc()

Experiment - 8 Strings
1) To demonstrate the basic operations on string like “length”, “copy”, “reverse”, truncate”.
2) To demonstrate the implementation of two dimentional array of characters.

Experiment t - 9 Functions
1) To demonstrate the call by value parameter passing method.
2) To demonstrate the call by reference parameter passing method.

Experiment - 10 Files
1) To demonstrate the creation of files and reading and writing files
Beyond/Additional Syllabus Experiments
Programs on Computer Graphics

Reference Books:
1. Programming in ANSI in C, E Balaguruswamy, Tata McGraw Hill
2. Computer Concepts and Programming in C, R.S. Salaria, Khanna Publishing
3. Let us C, Yashavant P. Kanetkar, BBP Publication
Priyadarshini College of Engineering, Nagpur.

You might also like