About Me

header ads

COMPUTER PROGRAMMING LABORATORY (21CPL17/27)

COMPUTER PROGRAMMING LABORATORY

Course Code: 21CPL17/27
CIE Marks: 50
Teaching Hours/Week (L: T:P: S): 0:0:2:0
SEE Marks:50
Total Hours of Pedagogy:--
Total Marks:100
Credits: 01
Exam Hours: 03

Course Objectives:

1. Explain problem statements and identify appropriate solutions
2. Demonstrate the use of IDE, C Compiler, and identify and rectify the syntax and syntactic errors during programming.
3. Development of algorithms and programs using constructs of C programming language
4. Reporting the observations

Practise Programs

1. Calculation of Simple Interest,
2. Check whether the given number is even or odd
3. Convert string case
4. Check for the palindrome, prime number, perfect square.
5. Development of linear search algorithm Etc…

PART A-List of problems for which students should develop the program and execute in the Laboratory

1) Simulation of a Simple Calculator.

2) Compute the roots of a quadratic equation by accepting the coefficients. Print appropriate messages.

3) An electricity board charges the following rates for the use of electricity: for the first 200 units 80 paise per unit: for the next 100 units 90 paise per unit: beyond 300 units Rs 1 per unit. All users are charged a minimum of Rs. 100 as meter charge. If the total amount is more than Rs 400, then an additional surcharge of 15% of the total amount is charged. Write a program to read the name of the user, the number of units consumed, and print out the charges.

5) Implement Binary Search on Integers / Names.

6) Implement Matrix multiplication and validate the rules of multiplication.

7) Compute sin(x)/cos(x) using Taylor series approximation. Compare your result with the built-in library function. Print both the results with appropriate inferences.

8) Sort the given set of N numbers using Bubble sort.

9) Write functions to implement string operations such as compare, concatenate, string length. Convince the parameter passing techniques.

10) Implement structures to read, write and compute average- marks and the students scoring above and below the average marks for a class of N students.

11) Develop a program using pointers to compute the sum, mean and standard deviation of all elements stored in an array of N real numbers.

12) Implement Recursive functions for Binary to Decimal Conversion.


PART B – Practical Based Learning

A problem statement for each batch is to be generated in consultation with the co-examiner and the student should develop an algorithm, program, and execute the program for the given problem with appropriate outputs.


Course Outcome (Course Skill Set)

At the end of the course the student will be able to:
1. Define the problem statement and identify the need for computer programming
2. Make use of C compiler, IDE for programming, identify and correct the syntax and syntactic errors in programming
3. Develop algorithm, flowchart and write programs to solve the given problem
4. Demonstrate use of functions, recursive functions, arrays, strings, structures and pointers in problem solving.
5. Document the inference and observations made from the implementation.
Assessment Details (both CIE and SEE)
The weightage of Continuous Internal Evaluation (CIE) is 50% and for Semester End Exam (SEE) is 50%. The minimum passing mark for the CIE is 50% of the maximum marks (25 marks). A student shall be deemed to have satisfied the academic requirements and earned the credits allotted to each course. The student has to secure not less than 35% (18 Marks out of 50) in the semester-end examination(SEE).

Continuous Internal Evaluation (CIE):

75% CIE marks awarded in case of practical shall be based on the weekly evaluation of laboratory journals/ reports after the conduction of every experiment and 25% marks for one practice test for practical-based learning.

Semester End Evaluation (SEE):

1. The practical examinations are to be conducted as per the timetable of the University in batch-wise with the strength of students not more than 10-15 per batch.
2. All laboratory experiments (Part A) are to be included for practical examination.
3. Students can pick one experiment from the questions lot of PART A with the equal choice to all the students in a batch. 
For PART B examiners should frame a question for each batch, the student should develop an algorithm, program, execute and demonstrate the results with appropriate output for the given problem.
4. Weightage of marks for PART A is 80% and for PART B is 20%
5. Change of experiment is allowed only once for part A and 15% Marks allotted to the procedure part to be made zero. However, PART B question is mandatory (change of question is not allowed).
6. Marks distribution: procedure (15%) + execution (70%) + viva voce (15%)
PART A (12+56+12 = 80) AND FOR PART B (3+14+3 = 20)

Suggested Learning Resources:

1. Yashavanth Kanetkar, Let us C, Authentic Guide to C Programming Langauge, bpb publisher, 17th Edition, 2020.
2. Herbert Schildt, C: The complete reference, Mc Graw Hill, 4th Edition, 2017
3. Programming in C, Reema Theraja

Weblinks and Video Lectures (e-Resources):

1. http://elearning.vtu.ac.in/econtent/courses/video/BS/14CPL16.html
2. https://nptel.ac.in/courses/106/105/106105171/

Post a Comment

0 Comments