DIGITAL NOTES
B.TECH
(I YEAR – I SEM)
(2018-19)
DEPARTMENT OF CSE & IT
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
Recognized under 2(f) and 12 (B) of UGC ACT 1956 (Affiliated to JNTUH, Hyderabad, Approved by
AICTE - Accredited by NBA & NAAC – ‘A’ Grade - ISO 9001:2015 Certified) Maisammaguda,
Dhulapally (Post Via. Hakimpet), Secunderabad – 500100, Telangana State, India.
,I Year B. Tech I Sem L T/P/D C
3 ‐/‐/‐ 3
(R18A0501) PROGRAMMING FOR PROBLEM SOLVING SYLLABUS
Course Objectives
• To understand the various steps in Program development.
• To understand the basic concepts in C Programming Language.
• To learn how to write modular and readable C Programs
• To learn to write programs (using structured programming approach) in C to solve problems.
UNIT ‐ I
Introduction to Computing – Computer Systems-Hardware and Software, Computer Languages, Algorithm,
Flowchart, Representation of Algorithm and Flowchart with examples.
Introduction to C– History of C, Features of C, Structure of C Program, Character Set, C Tokens-Keywords,
Identifiers, Constants, Variables, Data types, Operators.
UNIT‐II
Statements‐Selection statements (Decision Making)- if and switch statements with examples, Repetition
statements (loops)- while, for, do‐while statements with examples, Unconditional statements- break,
continue, goto statements with examples.
UNIT – III
Functions‐Designing Structured Programs, Types of Functions-User defined functions, Standard functions,
Categories of functions, Parameter Passing techniques, Storage classes, Recursion.
UNIT‐IV
Arrays- Declaration and Initialization, One dimensional Arrays, Two dimensional Arrays.
Strings- Declaration and Initialization, String Input / Output functions, String manipulation functions.
UNIT-V
Pointers- Introduction, Definition and Declaration of pointers, address operator, Pointer variables, Pointers
with Arrays.
Structures- Introduction, Declaration and Initialization, Array of Structures, Unions.
TEXT BOOKS:
, 1. Computer Programming with C, Special Edition‐MRCET, Mc Graw Hill Publishers 2017.
2. Computer Science: A Structured Programming Approach Using C, B.A.Forouzan and R.F. Gilberg,
Third Edition, Cengage Learning.
REFERENCE BOOKS:
1. The C Programming Language, B.W. Kernighan and Dennis M.Ritchie, PHI.
2. Computer Programming, E.Balagurusamy, First Edition, TMH.
3. C and Data structures – P. Padmanabham, Third Edition, B.S. Publications.
4. Programming in C, Ashok Kamthane. Pearson Education India.
5. Let us C ,Yashwanth Kanethkar, 13th Edition, BPB Publications.
Course Outcomes:
Demonstrate the basic knowledge of computer hardware and software.
To formulate simple algorithms for arithmetic and logical problems.
To translate the algorithms to programs (in C language).
To test and execute the programs and correct syntax and logical errors.
Ability to apply solving and logical skills to programming in C language and also in other
languages.
, UNIT - I
Introduction to Computing:
Computer Systems:
A computer is a system made of two major components: hardware and software. The computer
hardware is the physical equipment. The software is the collection of programs (instructions)
that allow the hardware to do its job.
Computer
System
Hardware Software
Computer Hardware
The hardware component of the computer system consists of five parts: input devices, central
processing unit (CPU) ,primary storage, output devices, and auxiliary storage devices.