Perform the following actions to test your application

Assignment Help Basic Computer Science
Reference no: EM131313351

Create a class called Test that has data members for a student's name and a number indicating the test number. This class is used in the following scenario: When a student turns in a test, he or she places it face down on the teacher's desk. If a student wants to check an answer, the teacher has to turn the stack over so that the first test is face up, work through the stack until the student's test is found, and then remove the test from the stack. When the student finishes checking the test, it is reinserted at the end of the stack. Write a Windows application to model this situation. Include textboxes for the user to enter a name and a test number. Put a list box on the form for displaying the final list of tests. Provide four buttons for the following actions:

1. Turn in a test;

2. Let student look at test;

3. Return a test; and

4. Exit.

Perform the following actions to test your application:

1. Enter a name and a test number. Insert the test into a collection named submittedTests.

2. Enter a name, delete the associated test from submittedTests, and insert the test in a collection named outForChecking.

3. Enter a name, delete the test from outForChecking, and insert it in submittedTests.

4. Press the Exit button. The Exit button doesn't stop the application but instead deletes all tests from outForChecking and inserts them in submittedTests and displays a list of all the submitted tests. Use the Collection class from the .NET Framework library.

Reference no: EM131313351

Questions Cloud

Calculate the average grade and the highest grade : Design and implement a class that allows a teacher to track the grades in a single course. Include methods that calculate the average grade, the highest grade, and the lowest grade. Write a program to test your class implementation.
Promised to a mayor customer is running late : Preparation of the company product that was promised to a mayor customer is running late, and there pressure on the production team to deliver the product. The director of production is eventually told by the company president to deliver or "else"..
Relationship between strategic and financial planning : What is the relationship between strategic planning and financial planning?- What does financial planning involve?
Discuss market system and the need for ethics in business : Discuss the market system and the need for ethics in business and distinguish it from the law and concepts of virtue and morality. Discuss the ideas of character ethic, female ethic, human rights, and ethical action.
Perform the following actions to test your application : Press the Exit button. The Exit button doesn't stop the application but instead deletes all tests from outForChecking and inserts them in submittedTests and displays a list of all the submitted tests. Use the Collection class from the .NET Framewo..
Can you fill up the knapsack completely : Find at least two new coin denominations that make the greedy algorithm for coin changing shown in the chapter produce suboptimal results.
What is the relationship between eva and economic profit : What is EVA and how does it take into account the cost of capital?-  What is the relationship between EVA and economic profit?
Define counselor competence in your own words : Define counselor competence in your own words. How is counselor competence addressed in both the professional ethical standards and in your own state's laws
Communicate information effectively in a multimedia format : Produce documents and present work in multimedia formats appropriate for the intended audience and apply basic design elements, principles and techniques in different scenarios.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identify the possible potential faults disorders impactsor

Beach Beauties Corporation (BBC), is a regional wholesaler of women's swimwear andbeach attire. The company is located in Jacksonville, Florida, and it sells to retail stores inresort communities in Florida, Georgia, and the Carolinas.

  Entrepreneur combines four kinds of resources

An entrepreneur combines four kinds of resources into a business. What would be the effect on the business if anyone were left out?

  Identify a recently announced security vulnerability

Write a paper on Any of the topics on cyber-crime. your task is to identify a recently announced security vulnerability and write a profile of the threat. The profile should contain the name of the threat, the systems it attacks, how it performs its ..

  Repeat the test with the modified program

Repeat the test with the modified program and explain the difference.

  Assignment engages the student in understanding

This assignment engages the student in understanding how projects fit as implementation vehicles to meet organizational goals defined within the organization's  strategic plan. Organizational structures can have an impact on projects and portfolio..

  Determine which types are structurally equivalent

Determine which types are structurally equivalent. Please show work and explain your answers.

  Calculates and displays the distance the car can travel

A car with a 20-gallon gas tank averages 21.5 miles per gallon when driven in town and 26.8 miles per gallon when driven on the highway. Write a program that calculates and displays the distance the car can travel on one tank of gas when driven in..

  What is the median of the reported blood pressure values

What is the median of the reported blod pressure values?

  What is sequential access and direct access

What is the difference between a record type and an occurrence of that record? Give some examples.

  Determine the largest number of crates

The front wheels are free to roll. Assume that the engine of the loader is powerful enough to generate a torque that will cause the rear wheels to slip.

  Question regarding the hipaa privacy rule

The HIPAA privacy rule states, "An individual has the right to inspect and obtain a copy of the individual's protected health information (PHI) in a designated record set."

  Find a number alpha mod 8745437489 is not a primitive root

using a computer, show that 7 is a primitive root mod 8745437489. Find a number alpha mod 8745437489 that is not a primitive root

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd