Skip to content

平成24年度 春期 ITパスポート試験 問90

This question's explanation and your answers so far.

問90
頻出度★★★

企業向け研修サービス会社のA社では、次の研修サービスの概要を要件とした研修申込受付システム(以下、研修システムという)の開発をソフトウェア開発業者に委託した。A社の事務担当Bさんは、研修システムの受入れテストを担当することになった。受入れテストには研修サービスの概要のとおり、表1に示す研修コースをテストデータとして使用する。 〔研修サービスの概要〕 (1) 研修の申込みは、顧客企業の申込責任者が取りまとめて行う。顧客企業には、会員企業(以下、会員という)と、非会員である一般企業(以下、一般という)がある。 (2) 研修代金は研修コースによって異なり、受講料とは別に、テキスト代を請求するコースとテキスト代を請求しないコースがある。 (3) 開講日の翌月第1営業日に申込責任者ごとに前月の受講料とテキスト代を記載した請求明細書を作成し、研修代金として顧客企業に請求する。 (4) 開講日の3営業日前(開講日を含まない)までに申込みの取消しをせずに、開講日当日に欠席をした申込者は欠席扱いとし、テキスト代は請求せず受講料を請求する。開講日の3営業日前までに取り消した申込者は取消扱いとし、受講料及びテキスト代は請求しない。 (5) 受講料には割引制度がある。その適用条件として、次の①〜③が設定されている。テキスト代については割引の適用はない。受講料の割引処理は、請求明細書の作成時に行われる。 ① 会員の申込者は、受講料を10%割り引く。 ② 同じ申込者に対して、同一月に開講された複数のコースの請求がある場合、それぞれのコースの受講料を10%割り引く。 ③ ①と②の両方に該当するときは、それぞれのコースの受講料を20%割り引く。 表1 研修コース表

研修コース名開講日受講料(円)テキスト代(円)
コースP9月4日10,0002,000
コースQ9月17日8,0002,000
コースR9月25日20,000請求なし
コースS10月2日15,0001,500

次の研修受講状況をテストケースとして,受講料とテキスト代に関する記述として,適切なものはどれか。 〔研修受講状況〕 (1) 試験花子さんは会員,応用次郎さんは一般に属している。 (2) 試験花子さんは,コースPとコースSを受講した。 (3) 応用次郎さんは,コースQとコースRを受講した。

出典 平成24年度 春期 ITパスポート試験 問90
解説

問 90

※ Our check while writing this explanation could not fully confirm the published answer; scoring follows IPA's official key.

  • Incorrectア

    The course fee of 7,200 yen is correct: rule (2) applies to Oyo Jiro, so with 10% off, Course Q comes to 8,000 × 0.9 = 7,200 yen. However, the textbook fee of 1,800 yen is wrong. Premise (5) states explicitly that no discount is applied to the textbook fee, so the 2,000 yen textbook fee listed for Course Q in Table 1 is billed as it is. 1,800 yen is 2,000 × 0.9 — the typical mistake of applying the 10% discount meant for the course fee to the textbook fee as well. Overlooking the condition that only the course fee is discounted leads to this choice.

  • イ

    正解 The correct answer is イ, “For Oyo Jiro's Course R, the course fee is 18,000 yen and there is no textbook fee charged.” Organizing the premises of the section, there are three discount rules for the course fee: (1) an applicant in the member category gets 10% off the course fee; (2) when the same applicant is billed for several courses that start in the same month, each of those course fees gets 10% off; (3) when both (1) and (2) apply, each of those course fees gets 20% off. No discount is applied to the textbook fee. Also, in the training course table (Table 1), Course R starts on September 25, its course fee is 20,000 yen, and no textbook fee is charged; Course Q starts on September 17, its course fee is 8,000 yen, and its textbook fee is 2,000 yen. From [Training course attendance] (1), Oyo Jiro is in the general category (not a member), so rule (1) does not apply to him. On the other hand, from (3) he took two courses, Course Q (starting September 17) and Course R (starting September 25); both start in September, so he is billed for several courses that start in the same month and rule (2) applies. Since rule (1) does not apply and only rule (2) does, rule (3) does not apply either, so the discount rate is 10%. The course fee for Course R is therefore 20,000 × 0.9 = 18,000 yen, which matches the amount in choice イ. As for the textbook fee, not only is no discount applied to it, but Table 1 specifies from the start that no textbook fee is charged for Course R. Both parts of the statement — a course fee of 18,000 yen and no textbook fee charged — are thus correct, so イ is appropriate.

  • Incorrectウ

    Shiken Hanako is a member, so rule (1) applies: the course fee for Course P is the 10,000 yen in Table 1 with 10% off, that is 9,000 yen, and since the textbook fee is not subject to any discount it stays at the 2,000 yen listed in Table 1. In ウ the textbook fee of 2,000 yen is correct, but the course fee is not 9,000 yen, so the statement is wrong. Shiken Hanako took Course P (starting September 4) and Course S (starting October 2), so the start months are split between September and October; she therefore does not meet the condition in rule (2) of several courses starting in the same month, and rule (3) with its 20% discount, which requires both (1) and (2), does not apply either. Judging rule (2) by the month a course starts rather than by the month of application, and not applying the 20% discount by mistake, are what separate the right answer from the wrong ones.

  • Incorrectエ

    The course fee for Course S should be 13,500 yen — the 15,000 yen in Table 1 with the 10% member discount of rule (1) applied — and the fee in エ does not match it, so the statement is wrong. The textbook fee of 1,500 yen matches Table 1 and is correct. Because Course P and Course S start in different months, Shiken Hanako does not meet rule (2); but as long as she is a member, the 10% discount of rule (1) always applies, so the list price is never billed as it is. Jumping to the conclusion that there is no discount at all the moment you find rule (2) unusable leads to this wrong choice.

ここがポイント
  • In a test case for acceptance testing, you match the business rules (discount rules (1) to (3), no discount on the textbook fee, and each course's fee, textbook fee, and start date in Table 1) against the attributes of the test case (member or general category, and the start months of the courses taken), and work out the expected value one item at a time. Only once you can produce the expected value correctly can you judge whether the system's output is correct.
  • Judging which discount condition applies: (1) a member gets 10% off the course fee; (2) if the same applicant is billed for several courses starting in the same month, each of those fees gets 10% off; (3) if both (1) and (2) apply, each of those fees gets 20% off; if none of them applies, there is no discount. Rule (2) is judged by the month of the course start date, not the application date, and no discount whatsoever is applied to the textbook fee.
用語

Your answers