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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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