WINSEM2023-24_BCSE301L_TH_VL2023240500673_CAT-2-QP-_-KEY (1)
WINSEM2023-24_BCSE301L_TH_VL2023240500673_CAT-2-QP-_-KEY (1)
WINSEM2023-24_BCSE301L_TH_VL2023240500673_CAT-2-QP-_-KEY (1)
SLOT: C1 + TC1
Programme Name & Branch: B. Tech. Computer Science & Engineering (Core and Specializations)
Page 1 of 8
1. Consider the scenario of students’ academic record management software. In this a 10 3 4
set of courses are created. Each course consists of a unique course number, number
of credits, and the syllabus. Students are admitted to courses. Each student’s details
include his roll number, address, semester number and the courses registered for the
semester. The marks of student for various subjects he credited are keyed in. Once
the marks are keyed in, the semester weighted average (SWA) is calculated. The
recent marks of the student are added to his previous marks and a weighted average
based on the credit points for various subjects is calculated. The marks for the
current semester are formatted and printed. The SWA appears on the report. A check
must be made to determine if a student should be placed on the Vice-Chancellor’s
list for academic excellence. This is determined based on whether a student scores
an SWA of 85 or higher. If the SWA is lower than 50, the student is placed on a
conditional standing.(Conditional standing is the academic status assigned to
students identified as not maintaining satisfactory academic performance in their
course and who will be required to improve their academic performance and meet
certain conditions if they wish to continue in their course).
a) Create an Entity Relationship diagram that captures the information on the
scenario. (3 Marks)
b) Design a context diagram and DFD level 1 diagram for the scenario.
(3+ 4 Marks)
Entities:
Relationships:
Attributes:
Level 0 DFD:
Processes:
1. Manage Courses
2. Admit Students
3. Key in Student Marks
4. Calculate SWA
5. Calculate Weighted Average
6. Format and Print Marks
7. Check for VC list placement
8. Check for conditional standing
Level 1 DFD:
Manage Courses:
o Input: Course details
o Output: Course database
o Process: Create course
Admit Students:
o Input: Student details and selected courses
o Output: Student database
o Process: Admission process
Key in Student Marks:
o Input: Student marks
o Output: Updated student database with marks
o Process: Input marks
Calculate SWA:
o Input: Student marks
o Output: SWA
o Process: Calculate SWA
Calculate Weighted Average:
o Input: Previous marks, current semester marks
o Output: Weighted average
o Process: Calculate weighted average
Format and Print Marks:
o Input: Student marks
o Output: Printed marks
o Process: Format and print marks
Check for VC list placement:
o Input: SWA
o Output: VC list placement result
o Process: Check SWA for VC list
Check for conditional standing:
o Input: SWA
o Output: Conditional standing result
o Process: Check SWA for conditional standing
This is a basic overview of the DFDs for the students' academic record
management software. Keywords alone mentioned here..
Page 3 of 8
2. a) A simplified account system of a university is introduced as follows. Each 10 3 4
student has a unique University Account which contains an account id and a student
name. Based on this mother account, a student will have a Link Account, which has
an email address and password. Students are allowed to reset the password, but
cannot change the email address. The link account is required when accessing
Blackboard platform and Zoom software. Particularly, an important part of
Blackboard is a list of courses and it provides operations like adding new courses,
downloading, and uploading homework. Similarly, a list of meetings is an important
part of Zoom and it can create new meetings or delete existing ones. Moreover, each
Course is identified by a course id and course name and it has at least one meeting
and one homework. A Meeting has a unique meeting id and an invitation link. When
joining a meeting by its id, the password is required. Finally, each Homework has its
own course id, homework no., and a list of questions. Draw a static structure
diagram by identifying the classes, attributes and their relationship among the
classes. (6 marks)
b) Draw a diagram to model the interaction among active objects within a system
using life line for the specific action -the process of joining the online lecture of
the course BCSE301L. (4 Marks)
There are four objects involved: Student, Zoom application, Zoom server, and
University account server –
3. a) Imagine you are developing firmware for a microcontroller-based IoT device that 10 3 4
monitors environmental conditions such as temperature, humidity, and air quality in
a smart home. The device continuously samples sensor data and sends periodic
updates to a central server for analysis and visualization. To efficiently handle
asynchronous events and minimize CPU overhead, Identify the appropriate
architecture control style for the scenario and justify the same.
(5 Marks)
Answer: Data centered architecture style or Event driven – (Interrupt driven).
( Expected to write the justification and advantage of this method)
b) How does temporal cohesion contribute to the overall organization and efficiency
of a software module's functionality? Provide an example from a real-world
application where temporal cohesion is utilized effectively. (5 Marks)
Page 4 of 8
One way temporal cohesion contributes to the overall organization and
efficiency of a software module's functionality is by making it easier to
understand and maintain the code. When activities that need to occur at a
specific point in time are grouped together, it becomes clearer to developers
how they are related and can be executed in sequence. This reduces confusion
and potential errors in the code, making it easier to debug and update in the
future.
4. a) You are testing a new e-commerce website for a retail clothing store. The website 10 4 3
allows users to browse and purchase clothing items online. Describe how you would
approach testing the checkout process on the website to ensure a smooth and
efficient user experience (4 Marks)
Or –Theory Aspects
2. The interface model is reviewed to ensure that all use cases can be accommodated.
3. The design model for the WebApp is reviewed to uncover navigation errors.
10. The WebApp is tested by a controlled and monitored population of end users.
The results of their interaction with the system are evaluated for errors.
b) You are assigned with testing a banking application's transfer functionality. The
system allows users to transfer funds between their own accounts and to other
accounts within the same bank. Perform Black box testing method to ensure the
transfer functionality is working correctly in the bank. (Make your own
assumptions.) (6 Marks)
The system allows users to transfer funds within the same bank only,
not to accounts in other banks.
Users can transfer funds between their own accounts or to other
accounts within the same bank.
The transfer functionality includes entering the recipient's account
number, the amount to transfer, and any optional message.
There are two types of accounts in the bank: savings account and
checking account.
1. Transfer amount:
2. Account balances:
Account numbers:
Page 7 of 8
Cyclomatic complexity = 4
Test case suite -Need to check with the path coverage. [5]
Identifying the path and validating.
Page 8 of 8