Computer Programming Laboratory 2017 – 2018 Syllabus for BE/B.Tech sem I & sem II is covered here. This will help you to understand complete curriculum along with details such as exam marks and duration. The details are as follows.
Subject Code  17CPL 16 / 17CPL26  IA Marks  40 

Number of Lecture Hours/Week  01Hr Tutorial (Instructions) + 02 Hours Laboratory  Exam Marks  60 
Number of Lecture Hours  48  Exam Marks  30 
CREDITS – 02
Course objectives: To provide basic principles C programming language. To provide design & develop of C programming skills. To provide practical exposures like designing flowcharts, algorithms, how to debug programs etc.
Descriptions (if any): Demonstration of Personal Computer and its Accessories: Demonstration and Explanation on Disassembly and Assembly of a Personal Computer by the facultyincharge. Students have to prepare a writeup on the same and include it in the Lab record and evaluated.
Laboratory Session1: Writeup on Functional block diagram of Computer, CPU, Buses, Mother Board, Chip sets, Operating System & types of OS, Basics of Networking & Topology and NIC.
Laboratory Session2: Writeup on RAM, SDRAM, FLASH memory, Hard disks, Optical media,CDROM/R/RW, DVDs, Flash drives, Keyboard, Mouse, Printers and Plotters. Introduction to flowchart, algorithm and pseudo code.Note: These TWO Laboratory sessions are used to fill the gap between theory classes and practical sessions.
Both sessions are to be evaluated as lab experiments.
Laboratory Experiments:
Implement the following programs with WINDOWS / LINUX platform using appropriate C compiler.
 Design and develop a flowchart or an algorithm that takes three coefficients (a, b, and c) of a Quadratic equation (ax2+bx+c=0) as input and compute all possible roots. Implement a C program for the developed flowchart/algorithm and execute the same to output the possible roots for a given set of coefficients with appropriate messages.
 Design and develop an algorithm to find the reverse of an integer number NUM and check whether it 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: 2014, Reverse: 4102, Not a Palindrome
 3a. Design and develop a flowchart to find the square root of a given number N. Implement a C program for the same and execute for all possible inputs with appropriate messages.
Note: Don’t use library function sqrt(n) 3b. Design and develop a C program to read a year as an input and find whether it is leap year or not. Also consider end of the centuries.  Design and develop an algorithm to evaluate polynomial f(x) = a4x 4 + a3x 3 + a2x 2 + a1x + a0, for a given value of x and its coefficients using Horner’s method. Implement a C program for the same and execute the program with different set of values of coefficients and x.
 Draw the flowchart and Write a C Program to compute Sin(x) using Taylor series approximation given by Sin(x) = x – (x3 /3!) + (x5 /5!) – (x7 /7!) + ……. Compare your result with the built in Library function. Print both the results with appropriate messages.
 Develop an algorithm, implement and execute a C program that reads N integer numbers and arrange them in ascending order using Bubble Sort.
 Develop, implement and execute a C program that reads two matrices A (m x n ) and B (p x q ) and Compute product of matrices A and B. Read matrix A and matrix B in row major order and in column major order respectively. Print both the input matrices and resultant matrix with suitable headings and output should be in matrix format only. Program must check the compatibility of orders of the matrices for multiplication. Report appropriate message in case of incompatibility.
 Develop, implement and execute a C program to search a Name in a list of names using Binary searching Technique.
 Write and execute a C program that
i. Implements string copy operation STRCOPY(str1,str2) that copies a string str1 to another string str2 without using library function.
ii. Read a sentence and print frequency of vowels and total count of consonants.  a. Design and develop a C function RightShift(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. Write a C program that invokes this function with different values for x and n and tabulate the results with suitable headings.
b. Design and develop a C function isprime(num) that accepts an integer argument and returns 1 if the argument is prime, a 0 otherwise. Write a C program that invokes this function to generate prime numbers between the given range.  Draw the flowchart and write a recursive C function to find the factorial of a number, n!, defined by fact(n)=1, if n=0. Otherwise fact(n)=n*fact(n1). 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.
 Given two university information files “studentname.txt” and “usn.txt” that contains students Name and USN respectively. Write a C program to create a new file called “output.txt” and copy the content of files “studentname.txt” and “usn.txt” into output file in the sequence shown below . Display the contents of output file “output.txt” on to the screen.

Student Name USN Name 1 USN 1 Name 1 USN 2 ……… ……… ……… ……… 
 13. 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. Print the marks of the student, given the student name as input.
14. 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.
Course outcomes:
 Gaining Knowledge on various parts of a computer.
 Able to draw flowcharts and write algorithms
 Able design and development of C problem solving skills.
 Able design and develop modular programming skills.
 Able to trace and debug a program
Conduction of Practical Examination:
 All laboratory experiments ( nos ) are to be included for practical examination.
 Students are allowed to pick one experiment from the lot.
 Strictly follow the instructions as printed on the cover page of answer script for breakup of marks
 Change of experiment is allowed only once and 15% Marks allotted to the procedure part to be made zero.
For all other B.E / B.Tech Sem 1st and 2nd syllabus go to VTU B.E / B.Tech 1st and 2nd Year Sem Course Structure for (2017 – 2018) Batch.
All details and cutoffs for previous years are provided at Inspire n Ignite (InI). For all updates please like us on Facebook and follow us on google plus.
Do share this with friends and in case of questions please feel free to drop comments.