COMPUTER AND PROGRAMMING FUNDAMENTALS

Paper Code: 
CCAI 101
Credits: 
03
Periods/week: 
03
Max. Marks: 
100.00
Objective: 

The course will enable the students to:

  1. Learn the basic concepts of computer systems.
  2. Develop the programming logic and syntax of C programming.

 

Learning Outcome

Learning and Teaching Strategies

Assessment Strategies-

 

The students will:

CO1.  Distinguish the basic elements of a computer system and their interrelationships with each other.

CO2. Design C programs for various problems based on different structured programming concepts.

CO3.Apply the concept of branching and looping in different programs.
 

CO4. Implement various operations using functions and arrays .
 

CO5.Apply various string manipulation and file handling operations.  

Learning and Teaching Strategies-

Approach in teaching: Interactive Lectures, Discussions, student centered approach, Through video Tutorials 

Learning activities:

Presentations, Quizzes and Assignments

 

Assessment Strategies-

 

Class test, Semester end examinations, Quiz, Solving problems in tutorials,

Assignments, Presentation, Individual and group projects and peer review.

 

 

 

 

9.00
Unit I: 

Introduction to computers, characteristics and limitations of computers, Block diagram of computer, types of computers, uses of computers.Input and output devices.

Types of Software: system software, Application software, commercial, open source, domain and freeware software, Memories: primary, secondary and cache memory.

Number systems- Non-positional number systems and positional number systems (Binary, Octal and Hexadecimal), Converting from one number system to another- decimal to a new base, converting to decimal from another bases, converting from base other than ten to base other than ten.

 

9.00
Unit II: 

Structured Program Development in C: Algorithm-definition, Characteristics, notations. Flowchart-definition, Symbols used in writing the flow-chart Writing an algorithm and flow-chart of simple problems.

Introduction to C: Structure of C Program, Writing the first C Program, Compiling and Executing C Programs, Using Comments, Keywords, Identifiers, Basic Data Types in C, Variables, Constants, I/O Statements in C, Operators in C, escape sequences.

 

9.00
Unit III: 

Decision Control and Looping Statements: Introduction to Decision Control Statements, Conditional Branching Statements, Iterative Statements, Nested Loops, Break and Continue Statement, Goto Statement.

Functions: Introduction, Functions Definition, Function Prototypes, Header Files, Calling Functions: Call by Value and Call by reference, Recursive functions, Storage Classes, Scope rules.

 

 

9.00
Unit IV: 

Arrays: Declaring Arrays, Simple exercises on arrays, Searching (Linear, Binary Search), Sorting (bubble sort), two dimensional arrays.

Structures: Definition, declaration, initialization, array of structure, arrays within structures, structures within structures.

 

9.00
Unit V: 

C characters and Strings: Introduction, Fundamentals of Strings and characters, Character and String Handling Library, String conversions and comparison functions.

C Pointers: Introduction, Pointer variable declaration and initialization, Pointer operators.

Files in C: File handling functions, Opening a File, closing a file, Reading data from a File

 

ESSENTIAL READINGS: 

Suggested Text Books

  • Norton Peter, “Introduction to Computers”,McGraw Hill Education; 7th edition ,2017
  • Yashwant Kanetkar, “Working with C”, BPB Publications.
  • E. Balagurusami,” Programming in ‘ANSI C’ “, TMH Publications

 

REFERENCES: 

 

 Suggested Reference Books

  • P. K. Sinha & Priti Sinha, “Computer Fundamentals”, BPB Publications, 6 th edition 2017.
  • V. Raja Raman, “Introduction to Computers”, PHI,
  • H.M. Deitel and P.J. Deitel “How to program in ‘C’ “, 3rd Edition, Pearson Education.
  • B.W Kernighan,“The C Programming Language (ANSI C) “

 Reference Journals

 E-Resources including links

 

 

Academic Year: