Data Base Lab
Data Base Lab
COURSE PLAN
PROGRAM OUTCOMES :
PO 2: Problem Solving & Analysis: Identify, Formulate, Analyse and Solve Complex
Scenarios related to Computer Applications.
PO 7: Profession and Society: Apply the knowledge of the values and beliefs of
multicultural society and a global perspective in the profession.
PO 8: Ethics: Identify ethical issues and embrace ethical values in conduct of Profession.
PO 10: Communication: Express thoughts and ideas effectively in writing and oral
communication
PO 12: Life-long Learning: Recognize the need for and have the preparation and ability to
engage in independent and life-long learning in the broadest context of societal and
technological change.
At the end of the B. Tech. Program in Computer Science and Engineering the students shall:
On successful completion of the Program, the students shall be able to:
PSO-1: [Data Analysis]: Demonstrate comprehensive knowledge using statistical and
machine learning techniques to analyze data and derive meaningful insights and patterns.
PSO-3: [AI/ML Applications]: Design, develop, and implement Artificial Intelligence and
Machine Learning algorithms to solve real-world problems across various domains such as
healthcare, finance, agriculture, robotics, and other emerging fields, demonstrating domain-
specific adaptability and innovation.
COURSE DESCRIPTION:
This course introduces the fundamentals of C programming, including data types, control
structures, arrays, and strings. Students will analyze problems, draw flowcharts, and implement
solutions using modular programming techniques. The course also covers advanced topics such as
functions, structures, unions, and pointers for efficient problem-solving.
COURSE OBJECTIVES:
The objective of the course is to familiarize the learners with the concepts of Problem-Solving Using C and attain
Skill Development through Experiential Learning techniques.
COURSE OUTCOMES:
CO Expected BLOOMS
CO
Number LEVEL
CO1 Apply the basic structure and fundamental concepts of C programming to Apply
write simple programs for problem-solving.
Apply control structures such as conditional and looping statements to
CO2 Apply
develop logic-driven programs in C.
CO1 M L L
CO2 M L L
CO3 M L L
CO4 M L L
Lab Sheet 1
Lab Sheet 2
a) Write a C program to perform addition, subtraction, multiplication, and division of two numbers.
b) Extend the program to calculate modulus and display all results clearly.
Lab Sheet 3
Lab Sheet 4
a) Write a program to demonstrate the use of different data types and print their sizes using `sizeof`.
b) Explain the importance of each data type in comments within your code.
Lab Sheet 5
a) Write a program to take input from the user for age and print whether the user is eligible to vote or not.
b) Modify the program to check eligibility for driving (minimum age 18).
Lab Sheet 6
Lab Sheet 7
b) Modify the program to check whether a given number is positive, negative, or zero.
Lab Sheet 8
Lab Sheet 9
Lab Sheet 10
Lab Sheet 11
Lab Sheet 12
b) Modify the program to find the sum and average of array elements.
Lab Sheet 13
Lab Sheet 14
Lab Sheet 15
Lab Sheet 16
Lab Sheet 17
Lab Sheet 18
Lab Sheet 19
Lab Sheet 20
b) Modify it to compare two strings using `strcmp` and print whether they are equal.
Lab Sheet 21
a) Write a program to demonstrate a function without arguments and without return value.
Lab Sheet 22
b) Modify the program to find the nth Fibonacci number using recursion.
Lab Sheet 23
Lab Sheet 24
Lab Sheet 25
Lab Sheet 26
Lab Sheet 27
Lab Sheet 28
Lab Sheet 29
Lab Sheet 30
a) Write a program to store and retrieve employee records using file handling.
REFERENCE MATERIALS:
Text Book:
T1. E. Balaguruswamy, “Programming in ANSI C”, Eighth Edition - Tata McGraw Hill.
References:
R1. Behrouz A Forouzan, Richard F Gilberg, “Computer Science: A structured programming
approach using C”, Third Edition Cengage Learning.
R2. Brian W. Kernighan / Dennis Ritchie, “The C Programming Language “ ,Second Edition, Pearson
YashavantKanetkar, “Let Us C”, Eighteenth edition , BPB Publications
ONLINE RESOURCES:
NOTICES:
All course-related information will be displayed on the PSCS notice board.
All the notices related to this course will be communicated through email and posted in LMS.
Chamber Consultation Hour: Will be announced.
COURSE SCHEDULE:
1. An attitude of enquiry.
2. Confidence and ability to tackle new problems.
3. Ability to interpret events and results.
4. Ability to work as a leader and as a member of a team.
5. Assess errors in systems/processes/programs/computations and eliminate them.
6. Observe and measure physical phenomena.
7. Write reports.
8. Select suitable equipment, instrument, materials & software
9. Locate faults in system/Processes/software.
10. Manipulative skills for setting and handling systems/Process/ Issues
11. The ability to follow standard /Legal procedures.
12. An awareness of the Professional Ethics.
13. Need to observe safety/General precautions.
14. To judge magnitudes/Results/issues without actual measurement/actual contacts
Number
RBT of Lab
LOL HOL Sessions
Task & Learning Objectives Course
Task (Lower (Higher required Skills to Outcome
Sl.No Order Order to be
No to be
Learning Learnin complete developed
developed
) g) the
LO: Student shall be able to task
Lab Sheet 2
L2
Lab Sheet 3
L1
Lab Sheet 4
L3
Lab Sheet 6
L2
Lab Sheet 7
SK1,
a) Write a program to check whether a
SK2,SK3,SK CO1,CO2,CO
07 P7 given number is even or odd. - 2 5,SK8,SK9, 3,CO4
b) Modify the program to check whether S14
a given number is positive, negative, or
zero L3
L3
Lab Sheet 8
P9 2 SK1, CO1,CO2,CO
Lab Sheet 9 SK2,SK3,SK 3,CO4
a) Write a program to print numbers
from 1 to 10 using a `while` loop.
L3
L1
Lab Sheet 10 L3
L1
L3
Lab Sheet 11
Lab Sheet 12
SK1,
a) Write a program to read and display
SK2,SK3,SK CO1,CO2,CO
13 P13 elements of a one-dimensional array. - 2 5,SK8,SK9, 3,CO4
b) Modify the program to find the sum S14
and average of array elements.
Lab Sheet 13
L1
L3
Lab Sheet 15 L3
Lab Sheet 16 L3
Lab Sheet 17 L3
Lab Sheet 18 L3
Lab Sheet 20
Lab Sheet 21
SK1,
SK2,SK3,SK CO1,CO2,CO
22 P22 Lab Assesment-2 2 5,SK8,SK9, 3,CO4
S14
Lab Sheet 23
Lab Sheet 25
Lab Sheet 26
Lab Sheet 27
Lab Sheet 28
SK1,
SK2,SK3,SK CO1,CO2,CO
30 P30 Revision 2 5,SK8,SK9, 3,CO4
S14
SDGs – MAPPING:
Topics relevant to “SKILL DEVELOPMENT”: The lab experiments and assessments enable the student to acquire
Skill Development through Experiential Learning techniques.
ASSESSMENT SCHEDULE:
As per the prior appointment from the faculty, students can meet the faculty member. Will be announced in the
class.
SAMPLE THOUGHT PROVOKING QUESTIONS:
Course
Outcome Bloom’s
Sl No. Question Marks
No. Level
After completing your basic input/output and arithmetic lab
exercises, analyze how errors in data type selection (e.g.,
using int instead of float) can affect program accuracy and
10 Marks CO1 Apply
1 results. Suggest situations where using appropriate data
types is critical, and explain how to handle these issues
effectively.
Your lab programs in this module use various loops and
conditional statements. Evaluate the efficiency of switch-
case versus nested if-else for a menu-driven application.
10 Marks CO2 Analyze
2 Discuss in detail the scenarios where one approach is
preferable to the other and justify your reasoning with
examples.
You implemented matrix and string operations in your lab
sheets. Analyze the challenges of handling large data sets
3 (e.g., matrices with size 1000×1000 or very long strings). 10 Marks CO3 Apply
Propose possible optimization strategies to improve
performance and reduce memory usage in such cases.
Reflect on your file handling lab sheets where you stored
and retrieved records. Evaluate the importance of data
security and integrity when dealing with file operations.
4 Suggest practical methods (e.g., error checking, backups, 10 Marks CO4 Apply
encryption) to enhance data safety in real-world
applications.
TABLE 8: TARGET SET FOR ATTAINMENT OF EACH CO and ATTAINMENT ANALYSIS AFTER RESULTS
Target set Remarks on
Actual C.O.
Threshold for attainment
C.O. Attainment
Sl.no Course Outcomes Set for the attainment &Measures to
No. In Percentage
CO in enhance the
percentage attainment
Apply the basic structure
and fundamental
concepts of C
01 CO1 programming to write
65 70%
simple programs for
problem-solving. [Apply]
Apply control structures
such as conditional and
looping statements to
02 CO2 develop logic-driven 65 70%
programs in C. [Apply]
APPROVAL:
Master IC:
Learning Outcomes Verbs at Each Bloom Taxonomy Level to be used for writing the course Outcomes.
SUSTAINABLE DEVELOPMENT GOALS (SDGS)