Docsity

Software Requirement Specification for Hospital Management System-Computer Sciences-Projec, Exams of Applications of Computer Sciences

Toggle sidebar
bg1
Page 1
Software Requirement Specification for Hospital Management
System-Computer Sciences-Project Report, Study Guides,
Projects, Research of Applications of Computer Sciences -
Questions and Answers Already Graded A+ Premium Exam
Tested And Verified
GRADED A+
ABSTRACT
This exam assesses advanced understanding of Software Requirement Specification
(SRS) for a Hospital Management System (HMS) project, covering requirements
elicitation, specification standards (ISO/IEC/IEEE 29148:2018), non-functional
requirements (ISO/IEC 25010), use case modeling, data requirements, feasibility
analysis, and validation. Questions require synthesis, analysis, and application to
realistic project scenarios.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download Software Requirement Specification for Hospital Management System-Computer Sciences-Projec and more Exams Applications of Computer Sciences in PDF only on Docsity!

Software Requirement Specification for Hospital Management

System-Computer Sciences-Project Report, Study Guides,

Projects, Research of Applications of Computer Sciences -

Questions and Answers Already Graded A+ Premium Exam

Tested And Verified

GRADED A+

ABSTRACT

This exam assesses advanced understanding of Software Requirement Specification

(SRS) for a Hospital Management System (HMS) project, covering requirements

elicitation, specification standards (ISO/IEC/IEEE 29148:2018), non-functional

requirements (ISO/IEC 25010), use case modeling, data requirements, feasibility

analysis, and validation. Questions require synthesis, analysis, and application to

realistic project scenarios.

1. Which SRS characteristic is most violated when an HMS requirement states

'The system shall be user-friendly'?

A. Verifiability B. Correctness C. Modifiability D. Traceability

Answer: A. Verifiability

ISO/IEC/IEEE 29148 requires requirements to be verifiable; 'user-friendly' lacks a measurable criterion, making it impossible to test objectively. Correctness and modifiability are not the primary issue here, and traceability concerns linkage to sources, not clarity of the requirement itself.

2. In an HMS use case diagram, a nurse schedules appointments and updates

patient records. Which relationship best models optional authentication for

both?

A. Include B. Extend C. Generalization D. Association

Answer: A. Include

Authentication is mandatory for both use cases, so it should be modeled as an <> relationship. <> is for optional behavior, generalization is for inheritance among actors/use cases, and association merely links actors to use cases.

3. For an HMS, which non-functional requirement category from ISO/IEC

25010 addresses 'system shall process lab results within 2 seconds'?

A. Performance efficiency B. Reliability C. Security D. Maintainability

Answer: A. Performance efficiency

ISO/IEC 25010 classifies time behavior under performance efficiency. Reliability concerns availability and fault tolerance, security concerns access control, and maintainability concerns modifiability and testability.

7. For an HMS, which requirement is a functional requirement rather than

non-functional?

A. The system shall allow patients to request prescription refills online. B. The system shall be available 99.9% of the time. C. The system shall encrypt data at rest using AES-256. D. The system shall support 500 concurrent users.

Answer: A. The system shall allow patients to request prescription refills

online.

Functional requirements describe specific behaviors or functions, such as online refill requests. Availability, encryption, and concurrency are non-functional quality attributes (reliability, security, performance).

8. Which stakeholder group is most critical to consult for defining HMS

security and privacy requirements?

A. Compliance officer B. Hospital janitorial staff C. Software testers D. Marketing team

Answer: A. Compliance officer

Compliance officers ensure adherence to regulations like HIPAA and GDPR, directly shaping security and privacy requirements. Janitorial staff, testers, and marketing have limited roles in defining such requirements.

9. Which project methodology best suits an HMS with evolving requirements

and frequent stakeholder feedback?

A. Agile with iterative increments B. Waterfall with fixed scope C. V-model with rigid phases D. Spiral with heavy documentation

Answer: A. Agile with iterative increments

Agile iterative development accommodates changing requirements and continuous stakeholder involvement. Waterfall and V-model are rigid, and spiral, while risk-driven, is less flexible for frequent feedback.

10. When specifying HMS requirements, which traceability link ensures each

requirement is justified by a stakeholder need?

A. Backward traceability to source B. Forward traceability to design C. Horizontal traceability to tests D. Vertical traceability to code

Answer: A. Backward traceability to source

Backward traceability links requirements to their origin (stakeholder needs), ensuring justification. Forward traceability links to design, horizontal to tests, and vertical to code, but none directly justify requirements by stakeholder needs.

11. In an SRS conforming to ISO/IEC/IEEE 29148:2018, which characteristic

best distinguishes a 'requirement' from a 'design constraint'?

A. Requirements specify system behavior; constraints restrict implementation choices. B. Requirements are always functional; constraints are always non-functional. C. Requirements are testable; constraints are never verifiable. D. Requirements are stakeholder-derived; constraints are developer-imposed.

Answer: A. Requirements specify system behavior; constraints restrict

implementation choices.

ISO/IEC/IEEE 29148 defines requirements as statements of needed capability or behavior, while design constraints limit how the system may be built. Constraints can be stakeholder-imposed (e.g., regulatory) and are verifiable, so B, C, and D are incorrect.

14. Which feasibility dimension is most directly assessed by prototyping the

admission module and measuring clinician task completion time?

A. Economic feasibility B. Technical feasibility C. Operational feasibility D. Schedule feasibility

Answer: C. Operational feasibility

Prototyping and measuring user task performance evaluates how well the system supports real workflows, i.e., operational feasibility. Economic feasibility concerns cost-benefit, technical feasibility concerns technology capability, and schedule feasibility concerns timelines.

15. In a hospital SRS data model, a patient may have multiple admissions, and

each admission may have multiple diagnoses. Which modeling construct best

represents this?

A. One-to-one relationship B. Hierarchical inheritance C. Associative entity resolving a many-to-many relationship D. Weak entity with partial key

Answer: C. Associative entity resolving a many-to-many relationship

Admission and diagnosis form a many-to-many relationship, typically resolved by an associative entity such as AdmissionDiagnosis. One-to-one cannot capture multiplicity, inheritance models specialization, and a weak entity depends on an identifying owner but does not by itself resolve many-to-many.

16. Which SRS validation technique most directly detects inconsistent

terminology between the requirements and the hospital's domain glossary?

A. Requirements inspection with a checklist B. Prototyping C. Model checking D. Unit testing

Answer: A. Requirements inspection with a checklist

A checklist-based inspection systematically compares requirements text against a glossary to find terminology inconsistencies. Prototyping validates behavior, model checking verifies formal properties, and unit testing validates code, not SRS wording.

17. A hospital SRS must support HIPAA audit trails. Which requirement type

is 'The system shall log every access to protected health information with user

ID and timestamp'?

A. Functional requirement B. Non-functional requirement C. Design constraint D. Business rule

Answer: A. Functional requirement

The statement specifies a system behavior-logging access-so it is a functional requirement, even though it supports a security/regulatory goal. Non-functional requirements describe qualities, design constraints restrict implementation, and business rules govern organizational policy.

20. In the SRS conclusion, which statement best articulates 'future scope'

consistent with ISO/IEC/IEEE 29148 evolution guidance?

A. The system will never be modified after delivery. B. Future enhancements will be documented in subsequent SRS versions under change control. C. All future requirements are out of scope for this project. D. Future scope is irrelevant to the SRS.

Answer: B. Future enhancements will be documented in subsequent SRS

versions under change control.

ISO/IEC/IEEE 29148 emphasizes managing requirements evolution through versioned SRS documents and change control. Denying future modification, excluding future requirements, or declaring scope irrelevant contradicts lifecycle requirements engineering.

21. Under ISO/IEC/IEEE 29148:2018, which characteristic is essential for a

hospital system requirement to be verifiable?

A. It must be stated using only natural language, avoiding any formal notation. B. It must be possible to determine by objective analysis or test whether the requirement has been met. C. It must be traceable to at least one stakeholder interview transcript. D. It must be prioritized using the MoSCoW method before verification.

Answer: B. It must be possible to determine by objective analysis or test

whether the requirement has been met.

ISO/IEC/IEEE 29148 defines verifiability as the ability to objectively determine whether a requirement is satisfied via analysis, inspection, or test. Natural language exclusivity, traceability to interviews, and MoSCoW prioritization are not defining criteria for verifiability.

22. In a hospital management SRS, which requirement best exemplifies a

non-functional requirement per ISO/IEC 25010?

A. The system shall allow patients to reschedule appointments online. B. The system shall encrypt all ePHI at rest using AES-256. C. The system shall display the patient's allergy list on the order-entry screen. D. The system shall generate a discharge summary within 24 hours of discharge.

Answer: B. The system shall encrypt all ePHI at rest using AES-256.

Encryption of ePHI at rest is a security quality characteristic under ISO/IEC 25010, hence non-functional. Online rescheduling, allergy display, and discharge summary generation are functional behaviors.

23. When modeling hospital appointment scheduling with a UML use case

diagram, which relationship is appropriate for an optional 'send SMS

reminder' behavior?

A. Generalization from 'Schedule Appointment' to 'Send SMS Reminder'. B. Include relationship from 'Schedule Appointment' to 'Send SMS Reminder'. C. Extend relationship from 'Send SMS Reminder' to 'Schedule Appointment'. D. Association between 'Send SMS Reminder' and the scheduling actor.

Answer: C. Extend relationship from 'Send SMS Reminder' to 'Schedule

Appointment'.

An optional behavior that extends a base use case under certain conditions is modeled with an extend relationship from the extending use case to the base use case. Include is for mandatory behavior, generalization is for specialization, and association links actors to use cases, not optional extensions.

26. During a feasibility study for a hospital management system, which

analysis primarily addresses whether the system can meet performance and

integration needs?

A. Economic feasibility B. Legal feasibility C. Technical feasibility D. Operational feasibility

Answer: C. Technical feasibility

Technical feasibility assesses whether available technology, performance, and integration capabilities can satisfy system requirements. Economic, legal, and operational feasibility address cost, compliance, and organizational fit respectively.

27. A hospital SRS uses a state machine to model a prescription order. Which

transition is invalid under typical clinical safety rules?

A. Draft -> Submitted B. Submitted -> Verified C. Verified -> Dispensed D. Dispensed -> Draft

Answer: D. Dispensed -> Draft

Once a prescription is dispensed, reverting to Draft would bypass verification and audit controls, violating clinical safety and traceability. Draft->Submitted, Submitted->Verified, and Verified->Dispensed are standard forward transitions.

28. In a requirements traceability matrix for a hospital system, which link is

most critical for demonstrating regulatory compliance?

A. Stakeholder interview -> Use case diagram B. Regulatory requirement -> System requirement -> Test case C. Design class -> Source code module D. Project risk -> Mitigation plan

Answer: B. Regulatory requirement -> System requirement -> Test case

A trace from regulatory requirement through system requirement to test case provides auditable evidence that compliance requirements are implemented and verified. The other links support design or planning but do not directly demonstrate regulatory compliance.

29. Which acceptance-testing approach best validates a hospital management

system against its SRS before go-live?

A. Unit testing of individual modules by developers. B. User acceptance testing with representative clinical workflows and real roles. C. Static code analysis for coding standard violations. D. Load testing of the database server only.

Answer: B. User acceptance testing with representative clinical workflows

and real roles.

User acceptance testing with representative clinical workflows and actual user roles verifies that the system satisfies SRS requirements in realistic conditions. Unit testing, static analysis, and isolated load testing address lower-level quality attributes, not overall requirement acceptance.

30. In an SRS, which statement best defines the system boundary for a hospital

management system?

A. It lists all internal database tables and their relationships. B. It specifies which external systems and actors interact with the HMS and what is out of scope. C. It describes the detailed class design of the scheduling module. D. It enumerates the programming languages and frameworks to be used.

Answer: B. It specifies which external systems and actors interact with the

HMS and what is out of scope.

The system boundary in an SRS delineates what the system encompasses versus external entities and out-of-scope elements. Database schemas, class designs, and technology choices belong to design, not boundary definition.

33. During HMS feasibility analysis, which technique best quantifies the

break-even period for an electronic health record module?

A. Cost-benefit analysis with discounted cash flow and payback calculation B. Technical feasibility checklist review C. Operational feasibility survey of nursing staff D. Legal feasibility review of HIPAA compliance

Answer: A. Cost-benefit analysis with discounted cash flow and payback

calculation

Break-even period is a financial metric derived from cost-benefit analysis using discounted cash flows and cumulative payback. Technical, operational, and legal feasibility assess different dimensions and do not quantify financial break-even. Thus A is the only technique that directly yields the break-even period.

34. Which ISO/IEC 25010:2011 quality characteristic is most directly

addressed by an SRS requirement that the HMS remain operational during

peak load?

A. Performance efficiency B. Reliability C. Maintainability D. Portability

Answer: B. Reliability

ISO/IEC 25010:2011 defines reliability as the degree to which a system performs specified functions under stated conditions for a specified period, including availability during peak load. Performance efficiency concerns time behavior and resource use, maintainability concerns modification effort, and portability concerns transferability. The requirement emphasizes continued operation, i.e., reliability.

35. In an SRS for an HMS, which statement is a well-formed non-functional

requirement per ISO/IEC/IEEE 29148:2018?

A. The system shall be user-friendly for all hospital staff. B. The system shall respond to 95% of medication-order queries within 2 seconds. C. The system should be secure and compliant with regulations. D. The system will use a relational database for patient records.

Answer: B. The system shall respond to 95% of medication-order queries

within 2 seconds.

A well-formed non-functional requirement must be measurable, bounded, and verifiable. Option B specifies a metric (95%), a condition (medication-order queries), and a threshold (2 seconds). Options A and C are vague and unverifiable; D is a design constraint, not a non-functional requirement.

36. A hospital SRS models patients, admissions, and beds. Which cardinality

best represents a patient having multiple admissions over time?

A. One-to-one between Patient and Admission B. One-to-many from Patient to Admission C. Many-to-many between Patient and Admission D. Many-to-one from Patient to Admission

Answer: B. One-to-many from Patient to Admission

A patient can have zero, one, or many admissions over time, but each admission belongs to exactly one patient. This is a one-to-many relationship from Patient to Admission. One-to-one would restrict to a single admission; many-to-many would allow an admission to involve multiple patients, which is incorrect.

39. An SRS includes a requirement: 'The HMS shall encrypt all patient data at

rest using AES-256.' Which SRS section does this best belong to?

A. Functional requirements B. External interface requirements C. Non-functional requirements (security) D. Design constraints

Answer: C. Non-functional requirements (security)

Encryption of data at rest is a quality attribute-specifically a security non-functional requirement under ISO/IEC 25010. It does not describe a function, an external interface, or an externally imposed design constraint. Therefore it belongs in the non-functional requirements section.

40. In a use case description for 'Register Patient', which element specifies

preconditions and postconditions?

A. Actors and stakeholders B. Basic flow and alternate flows C. Preconditions and postconditions D. Business rules and constraints

Answer: C. Preconditions and postconditions

A use case description typically includes preconditions (what must be true before the use case starts) and postconditions (what must be true after it completes). Actors identify participants, flows describe behavior, and business rules provide constraints, but the explicit pre/postcondition fields are the correct answer.

41. Which ISO/IEC/IEEE 29148:2018 characteristic is violated when an SRS

states 'The system shall be user-friendly'?

A. Verifiable B. Unambiguous C. Complete D. Modifiable

Answer: A. Verifiable

The term 'user-friendly' is subjective and cannot be objectively measured, violating the verifiability characteristic. While ambiguity is also present, the primary violation is that no test can determine whether the requirement is met. Completeness and modifiability are unrelated to this phrasing.

42. In a hospital management system SRS, which requirement is best classified

as a non-functional requirement?

A. The system shall allow patients to schedule appointments online. B. The system shall encrypt all patient data at rest using AES-256. C. The system shall generate a discharge summary within 24 hours. D. The system shall support barcode scanning for medication administration.

Answer: B. The system shall encrypt all patient data at rest using AES-256.

Encryption of data at rest is a security quality attribute, which is a non-functional requirement. Options A, C, and D describe specific functional behaviors the system must perform. Non-functional requirements constrain how the system performs its functions.

43. Which UML diagram is most appropriate for modeling the interactions

between a patient, nurse, and physician with the hospital system's appointment

module?

A. Class diagram B. Use case diagram C. Sequence diagram D. State machine diagram

Answer: B. Use case diagram

A use case diagram captures the actors (patient, nurse, physician) and their interactions with system use cases, making it ideal for showing external behavior and scope. Class diagrams show static structure, sequence diagrams show message ordering for a single scenario, and state machines show object states.