Back close

Course Detail

Course Name Programming Concepts Lab
Course Code 25CSA382
Program B. Sc. (Hons.) Biotechnology and Integrated Systems Biology
Semester 6
Credits 1
Campus Amritapuri

Syllabus

Unit 1

To demonstrate the usage of operators and data types in C A. Write a program to print the size of all the data types with its modifiers supported by C and its range. B. Write a program to calculate simple interest.

Unit 2

To demonstrate the usage of if, if-else, nested-if and switch A. Write a program to find the largest, smallest and second largest of three numbers. B. Write a program to accept marks of three subjects calculate the total percentage and output the result of the student. C. Write a program to find the second largest of four numbers. D. Write a program to calculate Julian date.

Unit 3

To demonstrate the usage of while, do-while and for loops A. Write a program to find the sum of numbers from 1 to N. B. Write a program to reverse a number. C. Write a program to generate the Fibonacci series.

Unit 4

To demonstrate the concept of arrays and strings A. Write a program to check whether a string is a Palindrome. B. Write a program to insert a number at a given position in an array. C. Write a program to arrange a list of numbers in ascending order. D. Write a program to check whether a given matrix is symmetric or not. E. Write a program to perform matrix multiplication.

Unit 5

To demonstrate the usage of functions and recursion A. Write a program to check whether a given number is prime or not. B. Write a program to find the roots of a quadratic equation C. Write a recursive program to find the factorial of a number. D. Write a recursive program to find xy.

Unit 6

A. To demonstrate the concept of structures B. Write a program to create a student structure and display the same. Unit 7: A. To demonstrate the concept of pointers B. Write a program using function to swap two numbers using pointers

Objectives and Outcomes

LEARNING OBJECTIVES:

To introduce concepts of programming with a basic and widely used programming language C and introduction to scripting concepts in Linux operating system. The major objective of this course is to provide students with understanding of code organization and functional hierarchical decomposition with using complex data types.

COURSE OUTCOMES (COs):

CO1: Develop ability to write, compile and debug programs in C language

CO2: Design programs involving decision structures, loops and functions

CO3: Understand the dynamics of memory by the use of pointers

Text Books / References

REFERENCES:1. Brian W. Kernighan and Dennis M. Ritchie, The C Programming Language, Prentice Hall of India.2. E. Balaguruswamy, Programming in ANSI C, Tata McGraw-Hill.3. Byron Gottfried, Schaum’s Outline of Programming with C, McGraw-Hill.

DISCLAIMER: The appearance of external links on this web site does not constitute endorsement by the School of Biotechnology/Amrita Vishwa Vidyapeetham or the information, products or services contained therein. For other than authorized activities, the Amrita Vishwa Vidyapeetham does not exercise any editorial control over the information you may find at these locations. These links are provided consistent with the stated purpose of this web site.

Admissions Apply Now