Thanks:  0
Likes:  0
Dislikes:  0

1. ## Testing exercise

Hi! This is my first post. I need to solve the following testing exercise but cant figure out how to do it. If you have the time...

MTEST is a program that evaluates multiple choice exams. The input is a file called OCR, with multiple records, each one is 80 characters long.

The first record is a title that will be used as a title of the output reports.

The next group of records describes the correct answers of the exam. This records have a "2" as the last character. In the first record of this group, the number of questions is listed in the columns 1 to 3. The columns 10 to 59 have the correct answers to the questions 1 to 50 (any character is valid as answer). Subsequent records have, in the columns 10 to 59, the answers to the questions 51-100, 101-150, and so on.

The third group of records describes the answers of each student. Each one of this records have a "3" in the column 80. For each student, the first record have the name or number of the student in the columns 1 to 9 (any character), the columns 10 to 59 have the answers to the questions 1 to 50. If the exam have more than 50 questions, the following records for the student have the answers 51 to 100, 101 to 150, and so on, in the columns 10 to 59. The maximum number of students is 200.

The output is the following:

1. A report, sorted by student id, showing the grade of each student (Percentage of correct answers) and
a ranking.

2. A similar report but sorted by grade.

3. A report showing the mean, median and standard deviation of the grades.

4. A report sorted by number of question, showing the percentage of students who answered the question correctly.

Given the above specification, design the group of test cases using the equivalence partitioning and the boundary value analysis techniques.

Thanks in advance and sorry for my english.

2. ## Re: Testing exercise

So what job are you applying for?
What kind of experience/background do you have?

What have you come up with so far?
What part of the exercise are you struggling with?

Do you know what Equivalence Partitioning means?

3. ## Re: Testing exercise

Hi Joe, Im not applying for a job, is a exercise for a training couse in software testing. Im studing systems analysis in Argentina.

Mi problem with the exercise is that I cant figure out how to write the equivalence intervals or classes. So far Ive been doing other types of excercises with numeric intervals, like numbers entered in a textbox. But I dont know if I have to white intervals by record, group of records, columns... in other words, I dont know how to start.

4. ## Re: Testing exercise

[ QUOTE ]
Mi problem with the exercise is that I cant figure out how to write the equivalence intervals or classes. So far Ive been doing other types of excercises with numeric intervals, like numbers entered in a textbox. But I dont know if I have to white intervals by record, group of records, columns... in other words, I dont know how to start.

[/ QUOTE ]

Ok. Let's see if we can get you started.

There seem to be several classes of interest here. How about starting with a simple one?

Looking at record types - can you determine the classes?

5. ## Re: Testing exercise

[ QUOTE ]

MTEST is a program that evaluates multiple choice exams. The input is a file called OCR, with multiple records, each one is 80 characters long.

The first record is a title that will be used as a title of the output reports.

The next group of records describes the correct answers of the exam. This records have a "2" as the last character. In the first record of this group, the number of questions is listed in the columns 1 to 3. The columns 10 to 59 have the correct answers to the questions 1 to 50 (any character is valid as answer). Subsequent records have, in the columns 10 to 59, the answers to the questions 51-100, 101-150, and so on.

The third group of records describes the answers of each student. Each one of this records have a "3" in the column 80. For each student, the first record have the name or number of the student in the columns 1 to 9 (any character), the columns 10 to 59 have the answers to the questions 1 to 50. If the exam have more than 50 questions, the following records for the student have the answers 51 to 100, 101 to 150, and so on, in the columns 10 to 59. The maximum number of students is 200.

The output is the following:

1. A report, sorted by student id, showing the grade of each student (Percentage of correct answers) and
a ranking.

2. A similar report but sorted by grade.

3. A report showing the mean, median and standard deviation of the grades.

4. A report sorted by number of question, showing the percentage of students who answered the question correctly.

Given the above specification, design the group of test cases using the equivalence partitioning and the boundary value analysis techniques.

Thanks in advance and sorry for my english.

[/ QUOTE ]

This problem is from an example in "The Art of Software Testing" book.

6. ## Re: Testing exercise

Ah, yes. Good catch, Tarun.

Too bad MaximoArg hasn't come back with any attempt at a follow-up. I wonder if "The Art of Software Testing" was a textbook from the training course?

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.