THINK FIRST·CODE LATER

← Software Engineering
Chapter 4 · Week 4

Requirements Engineering II: Specifying and Managing

Answered 0/30 Correct 0
Sign in to save progress across devices
Q1

"The system shall be user-friendly." Which quality of a good requirement does this most clearly lack?

Q2

"Buddy shall never give a wrong answer." What is the main problem?

Q3

"Students can post questions and vote on answers and search old threads." Which quality is violated?

Q4

R5 says "Posts are anonymous to other students." R9 says "Every post displays the author's full name." These two requirements are…

Q5

"The post shall be deleted after the course ends." What ambiguity does this contain?

Q6

Which EARS pattern fits: "____ a login fails 5 times within 10 minutes, ____ the system shall lock the account for 15 minutes."

Q7

"____ the AI service is unavailable, the system shall show 'Buddy is offline'." Which keyword belongs in the blank?

Q8

"Where anonymous posting is enabled for a course, the system shall display 'Anonymous student'." Which EARS pattern is this?

Q9

Which is the best measurable version of "Buddy must be fast"?

Q10

Why is "95% of requests within 2 s" usually better than "average response time 2 s"?

Q11

In an SRS following IEEE 830 / ISO 29148, where do the glossary and definitions belong?

Q12

An agile team says: "We don't write specifications; we only have stories with Given/When/Then acceptance criteria." What is the most accurate comment?

Q13

In MoSCoW, what does the W mean?

Q14

The team has 100 points of capacity for release 1. The Must-haves already total 95 points. What is the main risk?

Q15

On a value/effort grid, a feature with high value and low effort is called…

Q16

A traceability matrix shows that requirement R3 ("Buddy gives hints only for graded work") has no linked test. What does this reveal?

Q17

A test named testEmojiReactions is linked to no requirement. This is called…

Q18

The instructor asks to change "hide a post after 3 reports" to "after 5 reports". What should the team do before accepting it?

Q19

What is scope creep?

Q20

A tester cannot write any test for the requirement "The system shall handle large files appropriately." This tells us that the requirement is…

Q21

Buddy's "graded question" detector is tested on 100 questions: TP = 18, FP = 6, FN = 2, TN = 74. What is its recall for "graded"?

Q22

For the same detector, which error is worse from an academic-integrity point of view?

Q23

Only 3% of questions are about graded exercises. A detector that always answers "not graded" has what accuracy, and what does this show?

Q24

Omar gives an AI coding agent the requirement "hide a post after 3 reports". It implements "3 reports, even from the same student". What is the best lesson?

Q25

Which prompt is the best way to use an AI assistant for requirements review?

Q26 Short answer

Rewrite the following requirements using EARS templates, making them unambiguous and testable. State any assumption you make.

(a) "Notifications should be sent when appropriate." (b) "The system must cope with AI outages." (c) "Users who misbehave will be blocked."

Q27 Short answer

Explain traceability and describe the three practical questions a traceability matrix answers, with a StudyBuddy example for each.

Q28 Short answer

Buddy's graded-question detector gave TP = 45, FP = 15, FN = 5, TN = 135 on the instructor's test set. Compute precision, recall, F1 and accuracy (two decimals), and say whether it meets the requirement "recall ≥ 0.95 and precision ≥ 0.80".

Q29 Short answer

List five elements that a complete specification of an AI feature (such as Buddy) should contain beyond ordinary functional requirements, with one example sentence for each.

Q30 Short answer

Here are seven candidate items for StudyBuddy's first release (capacity 60 points): WKU login (8), post a question (8), privacy notice & consent (5), Buddy answers from course files (21), search (8), emoji reactions (3), study-group matching (13). Assign MoSCoW priorities and justify, respecting the guideline that Musts use at most about 60% of capacity (36 points).