Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Eeeb Labevln2 Set3

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Amrita School of Engineering, Coimbatore-641112

Department of Computer Science and Engineering


19CSE102 COMPUTER PROGRAMMING
Lab Evaluation-2
Date: 28.06.2023 Time: 1 hour 15 minutes
Class: EEE-B Maximum: 20 Marks

Course Outcomes

CO 1: Understand the typical programming constructs: data (primitive and compound),


control, modularity, recursion etc. thereby to understand a given program
CO 2: Understand and analyze a given program by tracing, identify coding errors and
debug them
CO 3: Make use of the programming constructs appropriately and effectively while
developing computer programs
CO 4: Develop computer programs that implement suitable algorithms for problem
scenarios and applications

---------------------------------------------------------------------------------------------------------------------
SET – 3
Question 1:
There is one string array Customer (2D character arrays) and a float array Balance - the first one
stores the Customer names and the second one stores the corresponding account balances (in
Rupees). For example, if the first string in Customer is “Jeeva”, the first entry in Balance will be
the account balance for Jeeva for his first account. Write a C program that contains a function to
print the name of the customers, who have more than one account in their name.
[CO4 BTL-3, 10 Marks]

Question 2:
Write a C program to find sum of cubes of digits of a number using recursion. ( Example digit
123, answer 36)
[CO4 BTL-3, 10 Marks]
Rubrics for Evaluation:

Rubrics

Q1 – Implementation (8) Q2 – Implementation (8) Output(2+2)

0 – Not done 0 – Not done 0 - Not done


2 – Menu usage 2 – Reading the input 1 – Partial Output
2 – Function Usage 2 – Function Usage 2 – Full Output
4– Correct and complete
4– Completion logic  

*****

You might also like