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
Basics awareness of computer knowledge
Interest of learning computer language
Course Objectives
This course will enable students to
Familiarize with writing algorithms, fundamentals of C and philosophy of problem solving.
Implement different programming constructs and decomposition of problems into functions.
Use and implement data structures like arrays and structures to obtain solutions.
Define and use of pointers with simple applications.
Course Outcomes
The students should be able to:
Illustrate simple algorithms from the different domains such as mathematics, physics, etc.
Construct a programming solution to the given problem using C.
Identify and correct the syntax and logical errors in C programs.
Modularize the given problem using functions and structures.
Course Materials:
Introduction to Computers
Managing Input/ Output operations
Arrays
User defined Functions
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
E. Balaguruswamy, Programming in ANSI C, 7 th Edition, Tata McGraw-Hill . (click to View/buy: Amazon, Flipkart, McGraw Hill, Google Book)
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
Sumitabha Das, Computer Fundamentals & C Programming, Mc Graw Hill Education.
Gary J Bronson, ANSI C Programming, 4th Edition, Ceneage Learning.
Vikas Gupta: Computer Concepts and C Programming, Dreamtech Press 2013.
R S Bichkar, Programming with C, University Press, 2012.
V Rajaraman: Computer Programming in C, PHI, 2013.
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
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.
Reference Materials
Online C-program Compilers:
Learn C- https://www.learn-c.org/
Tutorial Point: https://www.tutorialspoint.com/compile_c_online.php
Online GB- https://www.onlinegdb.com/online_c_compiler
Codechef- https://www.codechef.com/ide