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

  Multiprotocol operational network using eigrp

The above network has RIPv2, OSPF, and EIGRP protocols in Intranet and is connected to two ISPs thru BGP protocol. As a consultant write a technical proposal to implement the following solutions.

  Discuss the factors that affect query decomposition

How is the decomposition of an update request different from the decomposition of a query? How are guard conditions and attribute lists of fragments used during the decomposition of an update request?

  Measure of the remaining angle

a quadrilateral, each of the two angles has a measure of 37 degrees. Another angle has a measure of 118 degrees. What is the measure of the remaining angle?

  Maintain an awareness of the processes and requirements

What skills make a business professional adept at maintain an awareness of the processes and requirements of each of the primary business functions?

  Networks, collaboration and sustainability

Continue to store the same postings made to the blog each week, as defined in Assessment Item 1 previously.There are two topics for each week. I put the following topics in each work. For 1 topic it is 150 word each and one refernce for each topic.

  Receiver r is conducting an auction

Assume the receiver R is conducting an auction in which two bidders each encrypt their bids using the scheme above and send them to R.

  Verify local police department-s findings on current case

Your computer investigation firm has been hired to verify local police department's findings on current case. Tension over the case is running high in the city.

  Change the code to allow capturing this information

Change the code to allow capturing this information.

  Estimating the modularizing code

Imagine you are a part of a team that is tasked with writing a mobile application (app) that will allow users to send pictures to their friends. The manager does not want to waste time creating code modules. Describe at least one (1) advantage of ..

  Item is to identify causes of erp implementation

This assessment is worth 45% of the total available marks for this course. The purpose of this assessment item is to identify causes of ERP implementation failure at Waste Management Company and provide possible solutions which can be used for fut..

  Kb with the following rules

Suppose we have a KB with the following rules, use forward chaining or backward chaining to show S11 is true, i.e. when 7B00 and 7B10, the space 11 is not a trap and it is safe. "7" means "Not".

  Identify if it is a file- directory

Examine the following list of permissions for four items included in a directory listing. Identify if it is a file, directory, or other. Specify the access allowed to listening.

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