Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Test Plan For a test case, use a subset of the record set. For example, create a test plan for the first 1 0 records.

Test Plan
For a test case, use a subset of the record set. For example, create a test plan for the first 10 records. Make sure to actually test your plan with your code!
Test Case 1
Expected Input:
Expected Output:
Sample Output
The ## represents numeric values.
53711: Part Time: ## Full Time: ##
53712: Part Time: ## Full Time: ##
53713: Part Time: ## Full Time: ##
53714: Part Time: ## Full Time: ##
53716: Part Time: ## Full Time: ##
Total Full Time: ##
Total Part Time: ## The records are made available to your programs with this function:
openstudentEnrollmentRecords ();
The function returns the records so you need to store them in a variable:
After the openStudentEnrollmentRecords() function has been run you have access to the firplease do it in visual studio for java Example Usage
Here's an example of how the Student Enrollment Records are used.
/*
This is the JavaScript code for "Student Enrollment Records"
File: /unit04/studentEnrollmentRecords.html
*/
function studentEnrollmentRecords(){
"use strict";
//Declare Variables
let currentNumber;
let currentName;
let currentAddress;
let currentZipCode;
let currentStatus;
let currentCourseNumber;
let studentRecords;
// Open the Student Enrollment Records and make them
// available to the script
studentRecords = openStudentEnrollmentRecords();
// Read the next record, test to see if there
// is a next record and then output it
while (studentRecords.readNextRecord()){
currentNumber = studentRecords.getStudentNumber();
currentName = studentRecords.getStudentName();
currentAddress = studentRecords.getStudentAddress();
currentZipCode = studentRecords.getStudentZipCode();
currentStatus = studentRecords.getStudentStatus();
currentCourseNumber = studentRecords.getStudentCourseNumber();
// Display the second record
document.write(currentNumber +"\t"+ currentName +"\t"
+ currentAddress +"\t"+ currentZipCode +"\t"
+ currentStatus +"\t"+ currentCourseNumber +"
");
}
}
Student Enrollment Record Data
101 Joe Coyne 123 Some St.53711 FT 18500
102 Fred Hensen 2205 Grand St.53712 PT 18500
103 Ethel Roselle 190 Fox St.53713 FT 18530
104 Barney Curry 1600 Ash St.53714 FT 18520
105 Wilma Hilgart 2205 Grand St.53712 FT 18540
106 Greg Statz 190 Fox St.53713 PT 18500
107 Kelsie Baxter 2205 Grand St.53712 FT 18500
108 Sandy Flynn 1600 Ash St.53714 FT 18530
109 Chris Foley 190 Fox St.53713 FT 18520
110 Dan Bristol 123 Some St.53716 FT 18500
111 Don Buell 190 Fox St.53713 PT 18540
112 Glen Doran 2205 Grand St.53712 FT 18500
113 Bill Gardiner 123 Some St.53711 FT 18520
114 Karen Mack 190 Fox St.53713 PT 18500
115 Dianne Klein 2205 Grand St.53712 FT 18530
116 Dawn Tillman 1600 Ash St.53714 FT 18500
117 Ed O'Connor 190 Fox St.53713 FT 18500
118 Hugo Matson 2205 Grand St.53712 PT 18500
119 Dave Koch 1600 Ash St.53714 FT 18540
120 Mike Smith 190 Fox St.53713 FT 18520
121 Alan Smith 123 Some St.53711 FT 18530
122 Brian Smith 190 Fox St.53713 PT 18500
123 Nancy Hagman 2205 Grand St.53712 PT 18500
124 Andre Dillard 1600 Ash St.53714 FT 18520
125 Jack Darrow 190 Fox St.53713 FT 18500
126 Vicki Berg 2205 Grand St.53712 PT 18540
127 Frank Marco 123 Some St.53711 FT 18500
128 Brenda Smithson 123 Some St.53711 FT 18530
129 Barry Thorpe 2205 Grand St.53712 PT 18500
130 Sheri Lytle 1600 Ash St.53714 PT 18520
131 Connie Hunter 1600 Ash St.53714 FT 18500
132 Jim Cramer 2205 Grand St.53712 FT 18540
133 Craig Kim 190 Fox St.53713 PT 18530
134 Jay Meyer 1600 Ash St.53714 FT 18500
135 John Reyes 2205 Grand St.53712 PT 18500
136 Curtis Strand 190 Fox St.53713 FT 18520
137 Fred Balmer 123 Some St.53711 PT 18500
138 Donna Gorman 2205 Grand St.53712 PT 18500
139 Janice Hall 190 Fox St.53713 FT 18530
140 Jenny Houseman 1600 Ash St.53714 FT 18540
141 Jane Linderman 2205 Grand St.53712 FT 18500
142 Sheila Moore 123 Some St.53711 PT 18520
143 Seth Olson 190 Fox St.53713 PT 18500
144 Kathy Roberts 2205 Grand St.53712 FT 18530
145 Laura Johnson 1600 Ash St.53714 FT 18520
146 Sharon Lee 2205 Grand St.53712 PT 18540
147 Jeff Sager 2205 Grand St.53712 FT 18530
148 Steve Stone 2205 Grand St.53712 PT 18520
149 Nick Mathis 190 Fox St.53713 FT 18530
150 Carrie Ramirez 2205 Grand St.53712 PT 18500 here is a sample outout for the picture: Test Plan
For a test case, use a subset of the record set. For example, create a test plan for the first 10 records. Make sure to actually test your plan with your code!
Test Case 1
Expected Input:
Expected Output:
Sample Output
The ## represents numeric values.
53711: Part Time: ## Full Time: ##
53712: Part Time: ## Full Time: ##
53713: Part Time: ## Full Time: ##
53714: Part Time: ## Full Time: ##
53716: Part Time: ## Full Time: ##
Total Full Time: ##
Total Part Time: ##Problem Statement
please provide screenshot
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students also viewed these Databases questions

Question

Explain all drawbacks of application procedure.

Answered: 1 week ago

Question

Explain the testing process of accounting 2?

Answered: 1 week ago