C Programming for Problem Solving

Syllabus

As per VTU, Belagavi- Choice Based Credit System (CBCS) scheme

Theory: click here to download (Effective from the academic year 2018 -2019)

Laboratory: click here to download (Effective from the academic year 2018 -2019)

Overview

C Programming: C is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations. (source).

Pre-Requisites

  1. Basics awareness of computer knowledge

  2. Interest of learning computer language

Course Objectives

This course will enable students to

  1. Familiarize with writing algorithms, fundamentals of C and philosophy of problem solving.

  2. Implement different programming constructs and decomposition of problems into functions.

  3. Use and implement data structures like arrays and structures to obtain solutions.

  4. Define and use of pointers with simple applications.

Course Outcomes

The students should be able to:

  1. Illustrate simple algorithms from the different domains such as mathematics, physics, etc.

  2. Construct a programming solution to the given problem using C.

  3. Identify and correct the syntax and logical errors in C programs.

  4. Modularize the given problem using functions and structures.

Course Materials:

  1. Introduction to Computers

  2. Managing Input/ Output operations

  3. Arrays

  4. User defined Functions

  5. Structures and Pointers

Assignments/Mini Projects

Submit the assignments with filename as Student_name_usn_assign1

1. Write algorithms, flowcharts and C-program for simple arithmetic operations and to find are of circle, triangle, rectangle.

Assign date: Deadline:

Text book

  1. E. Balaguruswamy, Programming in ANSI C, 7 th Edition, Tata McGraw-Hill . (click to View/buy: Amazon, Flipkart, McGraw Hill, Google Book)

  2. Brian W. Kernighan and Dennis M. Ritchie, The C Programming Language, Prentice Hall of India. (click to View/buy: Amazon, Google Books, ACM -DL)


Reference Books

  1. Sumitabha Das, Computer Fundamentals & C Programming, Mc Graw Hill Education.

  2. Gary J Bronson, ANSI C Programming, 4th Edition, Ceneage Learning.

  3. Vikas Gupta: Computer Concepts and C Programming, Dreamtech Press 2013.

  4. R S Bichkar, Programming with C, University Press, 2012.

  5. V Rajaraman: Computer Programming in C, PHI, 2013.

  6. Basavaraj S. Anami, Shanmukhappa A Angadi, Sunilkumar S. Manvi, Computer Concepts and C Programming: A Holistic Approach to Learning C, Seond edition, PHI India, 2010.

Laboratory Materials

  1. Laboratory Session 1 : Familarize the computer hardware and programming environment (.DOC)

Examination (VTU End Semester Exam)

  • The question paper will have TEN questions.

  • There will be TWO questions from each module.

  • Each question will have questions covering all the topics under a module.

  • The students will have to answer FIVE full questions, selecting ONE full question from each module.