Skip to content

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

This question's explanation and your answers so far.

問91
頻出度★★★

企業向け研修サービス会社の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

Bさんは,請求明細書が正しく作成されるかどうかを確認するために,表3に示すNo.1~4のテストデータを用意した。このテストデータを使って確認できることとして,次の記述(1),(2)中のb,cに入れる適切な字句の組合せはどれか。 表3 テストデータ

No.申込日/変更日会社名会員/一般請求先申込責任者申込者受講コース登録/取消出席/欠席
18月4日M社会員情報太郎試験花子コースP登録出席
29月2日M社会員情報太郎技術太郎コースQ登録欠席
39月1日M社会員情報太郎試験花子コースQ登録出席
48月4日N社一般基本良子応用次郎コースR登録欠席

(1) No.1とNo. b のデータを使うと,会員の申込者が同一月に複数受講した場合に,受講料の割引が適用されたことを確認できる。 (2) No. c のデータを使うと,欠席の場合にテキスト代が請求されないことを確認できる。

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

問 91

  • Incorrectア

    b-2 is wrong. The applicant of No.2 is Gijutsu Taro, a different person from Shiken Hanako in No.1. Even though the billing applicant manager is the same Joho Taro, what you want to check is “the discount when one applicant takes multiple courses in the same month”, so a combination with different applicants does not verify anything. c-4 is also wrong: Course R in No.4 is a course whose textbook fee is “not billed” to begin with. You could not distinguish whether nothing was billed because of the absence or because it was never billed anyway, so it is test data with no discriminating power.

  • Incorrectイ

    b-2 is wrong for the same reason as in ア (the applicant is Gijutsu Taro, a different person from Shiken Hanako in No.1). Moreover, c-3 is decisively wrong: No.3 is “Attended” data. You cannot use attendance data to test the behavior for an absence.

  • ウ

    正解 The premises of this multi-part question are the training course table (Course P: starts Sep 4 / course fee 10,000 yen / textbook fee 2,000 yen; Course Q: starts Sep 17 / 8,000 yen / 2,000 yen; Course R: starts Sep 25 / 20,000 yen / textbook fee not billed) and the discount table (the discount rate on the course fee is decided by two conditions, “is the person a member” and “are there charges for multiple courses in the same month”; 20% when both hold, 10% when only one holds). Test data must be chosen so that “only the condition you want to check holds, and its effect shows up in the billing statement”. About b: No.1 is member / applicant Shiken Hanako / Course P (starts in September). To create the situation “a member applicant took multiple courses in the same month”, you need data for another course with the same applicant, Shiken Hanako, and the same starting month, September. No.3 is member / Shiken Hanako / Course Q (starts Sep 17), so combining No.1 and No.3 gives the same applicant taking two courses in September, and you can use the billing statement to check whether the “member Y / multiple courses in the same month Y” cell of the discount table (20% discount) took effect. Therefore b is 3. Note that the judgement is based on the starting month of the course, not on the application date. About c: To confirm that “the textbook fee is not billed when the applicant is absent”, you need absence data for a course that would generate a textbook fee in the first place; otherwise you cannot tell. No.2 is Course Q (textbook fee 2,000 yen) with “Absent”, so if the textbook fee on the billing statement shows as not billed, you can judge that the behavior matches the specification. Therefore c is 2, and the combination is ウ (b-3, c-2).

  • Incorrectエ

    b-3 is correct, but c-4 is wrong. Course R in No.4 has a textbook fee that is “not billed” to begin with, so even if no textbook fee appears on the billing statement, you cannot separate whether that is due to the absence or simply the original specification. Only No.2, which is an absence from Course Q with its 2,000 yen textbook fee, allows you to confirm it.

ここがポイント
  • A basic principle of test data design: let only the condition you want to check hold, and keep the other conditions identical. Also choose data that lets you “tell from the result that the specification actually took effect” (Course R, whose textbook fee is never billed anyway, cannot verify the no-billing rule for absences).
  • The business rules of this multi-part question: the discount on the course fee is decided by the two conditions “is the person a member” and “are there charges for multiple courses in the same month”; the month is judged by the course start date, not the application date, and the judgement is made per applicant. The textbook fee is not subject to the discount, and it is not billed when the applicant is absent.
用語

Your answers