MAHENDRA INSTITUTE OF TECHNOLOGY
(AUTONOMOUS)
End Semester Examinations – Nov / Dec 2024
B.E-CSE(AI&ML)
Semester : I Regulations - 2022
CS2223001 &PROBLEM SOLVING TECHNIQUES IN C LAB
Date : 18.12.24 FN Duration: 3 Hours Maximum Marks: 100
Course Outcomes (Cos)
To develop programs in C using basic constructs.
CO1
Understand usage of data types and array.
CO2
CO3 To develop applications in C using strings, pointers, functions, structures
CO4 To develop applications in C using file processing
Mark Allocation
Concluding
Experimental setup Execution of Practical
Activities Viva-Voce Total
(Aim) (Program)
(Output/Result)
30 30 30 10 100
S. No QUESTIONS COs BTL
1. C Programming using I/O statements and expressions. CO1 K3
Design a calculator to perform the operations, namely, addition,
2. CO1 K3
subtraction, multiplication, division and square of a number.
Populate an array with height of persons and find how many persons are above
3. CO2 K3
the average height.
Populate a two dimensional array with height and weight of persons and compute
4. CO2 K3
the Body Mass Index of the individuals.
Given a string ―a$bcd./fg‖ find its reverse without changing the position of
5. CO3 K3
special characters.(Example input:a@gh%;j and output:j@hg%;a)
From a given paragraph perform the following using built-in functions:
• Find the total number of words.
6. CO3 K3
• Capitalize the first word of each sentence.
• Replace a given word with another word.
7. Sort the list of numbers using pass by reference. CO3 K3
Programs with user defined functions and Recursive functions.
8. a. Factorial of a number using recursion CO3 K3
Fibonacci of a number using recursion
Write functions to implement string operations such as compare, concatenate,
9. string length, Convince the parameter passing techniques. CO3 K3
Implement structures to read write and compute average marks and the students
10. CO3 K3
scoring above and below the average marks for a class of N students..
Develop a program using pointers to compute the sum, mean and standard
11. CO3
deviation of all elements stored in an array of N real numbers. K3
12. Implement Recursive functions for Binary to Decimal Conversion CO3 K3
Encl: Syllabus copy
e of the Name and Signature of the
ner External Examiner
L T P C
IT2224502 OBJECT ORIENTED ANALYSIS AND 0 0 3 1.5
DESIGN LABORATORY
OBJECTIVES:
To capture the requirements specification for an intended software system
To draw the UML diagrams for the given specification
To map the design properly to code
To test the software system thoroughly for all scenarios
To improve the design by applying appropriate design patterns.
LIST OF EXPERIMENTS
1. Identify a software system that needs to be developed.
2 Document the Software Requirements Specification (SRS) for the identified system.
3 Identify use cases and develop the Use Case model.
4 Identify the conceptual classes and develop a Domain Model and also derive a
Class Diagram from that.
5 Using the identified scenarios, find the interaction between objects and represent them
using UML Sequence and Collaboration Diagrams
6 Draw relevant State Chart and Activity Diagrams for the same system.
7 Implement the system as per the detailed design
8 Test the software system for all the scenarios identified as per the usecase diagram
9 Improve the reusability and maintainability of the software system by applying
appropriate design patterns.
10 Implement the modified system and test it for various scenarios
Total : 45 Periods
OUTCOMES:
1. Perform OO analysis and design for a given problem specification.
2. Identify and map basic software requirements in UML mapping.
3. Improve the software quality using design patterns and to explain the
rationale behind applying specific design patterns
4. Test the compliance of the software with the SRS