Programming for Problem Solving using C Lab Syllabus (BCA 101P)
Programming for Problem Solving using C Lab BCA 101P
All syllabus, notes, question bank & PYQ for this subject
- English
- Semester 1
- 0 downloads
- 0 views
Syllabus — Programming for Problem Solving using C Lab
Download PDFBCA 101P · 2 credits · L-T-P 0-0-4
GGSIPU | Paper code BCA 101P | L-T-P 0-0-4 | Credits 2
Course Name: Programming for Problem Solving using C Lab 0 4 2 LEARNING OBJECTIVES: In this course, the learners will be able to develop expertise related to:
- Understanding of the syntax and the semantics of C programming language
- Building of their logics for solving a given problem. PRE-REQUISITES: None COURSE OUTCOMES (COs): After completion of this course, the learners will be able to: CO # Detailed Statement of the CO
- CO1: Develop programming skills by learning the fundamentals of structured programming using C Language. Design and develop programs using arrays, storage classes, functions and
- CO2: to understand memory management through pointers Critically analyze real world problems using structures, unions and develop
- CO3: applications for handling text and binary files. Explore the use of command line arguments, string manipulation and
- CO4: standard libraries. List of Practicals
S. No. Detailed Statement Mapping to CO # Core Practicals (Implement minimum 8 out of 10 practical) 1 Write a program to convert temperature from Celsius to CO1 Fahrenheit by taking input from the user. 2 Write a program to find the greatest number among 3 CO1 numbers given by the user. 3 Write a program to check if a given number is a prime CO1 number or not. 4 Write a program to display the following pattern upto N rows, taking the value of N from the user: 1 CO1 5 Write a program to input marks of 50 students using an array CO2 and display the average marks of the class. 6 Write a program to search for a number entered by the user CO2 in a given array and display the array in ascending order. 7 Write a program to check if a string is palindrome or not. CO2 8 Write a program to add, subtract, multiply and divide two CO2 numbers using pointers. 9 Write a program to create a structure for employees containing the following data members: Employee ID, CO3 Employee Name, Age, Address, Department and Salary. Input data for 10 employees and display the details of the employee from the employee ID given by the user. 10 Write a program to create two files with names EvenFile and CO3 OddFile. Input 20 numbers from the user and save even numbers in EvenFile and odd numbers in OddFile. Application Based Practicals (Implement minimum 5 out of 10 practicals) 1 Write a menu driven program to construct a calculator for CO1 following arithmetic operations: addition, subtraction, multiplication, division, average and percentage. 2 Write a menu driven program to perform the following CO1 operations: (i) Print armstrong numbers upto N, (ii) Display prime numbers between 1 to N, (iii) Reverse of an integer 3 Write a program to convert a hexadecimal number into a CO1 binary number. 4 Write a program to calculate factorial of a number and CO2 display fibonacci series upto N terms using recursive functions. 5 Write a program to perform matrix addition, (ii) matrix CO2 multiplication, and (iii) Matrix transpose) on 2D arrays. 6 Write a program to make use of arrays with structures in the CO3 following ways: (i) Use array as a structure data member (ii) Create array of structure variables 7 Write a program to compare the contents of two files by taking names of the files through command line arguments. CO3, CO4 8 WAP to perform I/O and make use of file positioning functions on Binary files. (using fseek, ftell, rewind CO4 functions) 9 Write a menu driven program to implement the following string operations: (i) Calculate length of a string CO4 (ii) Concatenate at the end of a given (iii) Copy one string to another (iv) Compare contents of two strings Copy nth character string to another 10 Write a program to read time in string format and extract CO4 hours, minutes and second also check time validity Note:
- In total 15 practicals to be implemented. 2 additional practicals may be given by the course instructor.
- This is a suggestive list of programs. However, the instructor may add programs as per the requirement of the course.
Prepared from the official GGSIPU syllabus. Please check the latest official notification on ipu.ac.in for any change.
Ratings & Reviews
No reviews yet — share your experience with this item.