Course code CC-ID1
Category Core Courses (CC)
Course title Fundamentals of Computer & Programming in C
Course ID 240/BCA/CC101
L T P Credits
Scheme and Credits
3 0 2 4
Theory Internal 25
Theory External 50
Practical Internal 05
Practical External 20
Total 100
Duration of Exam 3 hrs
Note: The examiner will set nine questions in total. Question one will have seven parts from all
units and the marks of first question will be of 20% of total marks of Question Paper and the
remaining eight questions to be set by taking two questions from each attempt FIVE questions in
all, selecting one question from every unit apart from the Question Number 1.
Course outcomes
CO1: Learn the functional units and classify types of computers, their applications and effects.
CO2: Understand system softwares and their working.
CO3: Understand the logic building used in programming.
CO4: Design and develop algorithms for solving various real-life problems.
UNIT-I
Computer Fundamentals: Concept of data and information. Components of Computer. Input and
Output Device, Components of CPU, Memory and Storage Devices, Classification of Computers,
Advantages and Limitations of Computer, Applications of Computer, Social concerns of Computer
Technology: Positive and Negative Impacts, Computer Crimes, Viruses and their remedial
solutions.
Computer Software: System and Application Software, Overview of Operating System
Programming Languages Machine. Assembly. High Level Language, 4GL. Language Translator,
Linker and Loader.
UNIT-II
Problem Solving: Problem Identification. Analysis, Algorithms, Flowcharts. Pseudo codes.
Decision Tables. Program Coding. Program Testing and Execution.
C Programming Fundamentals: Keywords, Variables and Constants, Structure of a C program.
UNIT-Ill
Operators & Expressions: Arithmetic, Unary, Logical. Bit-wise, Assignment & Conditional
Operators.
Decision Making: Decision making using if...else. Else If Ladder; Switch, break. Continue and
Goto statements.
UNIT-IV
Loops: Looping using while, do...while, for statements. Nested loops.
Functions: Defining & Accessing User defined functions. Library Functions, Function Prototype,
Passing Arguments, Passing array as argument. Recursion, Use of Library Functions. Macro vs.
Functions, Pointers in C.
Textbooks & Reference Books:
1. Nasib Singh Gill, Computing Fundamentals and Programming in C, Khanna Books Publishing Co., New
Delhi.
2. Rajender Singh Chhillar, Application of IT to Business, Ramesh Publishers, Jaipur.
3. E. Balaguruswamy, Programming in C. Tata McGraw Hill.
4. Kanetker Yashwant, Let us C, BPB.
5. Rajaraman, V., Computer Programming in C, PHI
Fundamentals of Computer & Programming in C LAB
List of Experiments
1. Write a C program to compute roots of quadratic equation ax2+bx+c=0, where a, b, and c are
three coefficients of a quadratic equation are inputs.
2. Design and develop an algorithm to find the reverse of an integer number.
3. Design and develop an algorithm to check whether given number is PALINDROME or NOT.
Implement a C program for the developed algorithm that takes an integer number as input and
output the reverse of the same with suitable messages. Ex: Num: 2019, Reverse: 9102, Not a
Palindrome.
4. Design and develop a c program to implement simple calculator using switch case statement.
5. Develop, implement and execute a C program to search a Number in a list using linear searching
Technique.
6. Develop an algorithm, implement and execute a C program that reads N integer numbers and
arrange them in ascending order using Bubble Sort.
7. Design and develop a C program to read and print a matrix and check whether a given Matrix
is a sparse Matrix or not.
8. a. Write a C program to implements the following string manipulation functions till the use
wishes to continue (infinite loop): (i) strcpy() (ii) srrlen() (iii) strrev () (iv) strcmp() (v) strcat().
b. Read a sentence and print frequency of vowels and total count of consonant
9. Design and develop a C function RightRotate (x, n) that takes two integers x and n as input and
returns value of the integer x rotated to the right by n positions. Assume the integers are
unsigned.
10. Draw the flowchart and write a recursive C function to find the factorial of a number, n!, define
by fact(n)=1, if n=0. Otherwise fact (n) =n*fact (n-1). Using this function, write a C program
to compute the binomial coefficient nCr. Tabulate the results for different values of n and r with
suitable messages
11. Write a C program to maintain a record of n student details using an array of structures with
four fields (Roll number, Name, Marks, and Grade). Assume appropriate data type for each
field. Input & Print the members of the structure
12. Write a C program using pointers to compute the sum, mean and standard deviation of all
elements stored in an array of n real numbers.