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

Are these features present in java

What is object-oriented programming? What are some features you would expect to find in an object-oriented programming language? Are these features present in Java? Use brie

Application development and programming languages

Compare and contrast object-oriented languages (Java, C++, C#, etc.) to imperative languages (C, Pascal, etc.) in terms of: Programmability, Maintainability, Performance, Deve

Undirected graph representing a social network

You are given an undirected graph representing a social network. Nodes are users in the network, edges represent interactions between users (i.e., messages exchanged between

Determine the rates of heat addition and rejection

Assuming both the compressor and the turbine to be isentropic, determine the rates of heat addition and rejection for this cycle when it produces 115 kW. Use constant specif

Explain whether or not believe there discernible difference

Explain whether or not you believe there is a discernible difference in efficiency between compressing and decompressing audio data and compressing and decompressing image d

Arandom seed, the name of the algorithm to use

All I/O requests will be handled in 40 milliseconds. That is, when a job is blocked and removed from the ready queue, it can be added back at the next opportunity if 40 mill

Pseudocode to represent the logic of a program

Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter two values. The program outputs the product of the two values.  In ord

Four techniques for analyzing

Briefly compare and contrast the four techniques for analyzing the costs and benefits of a proposed system. What do you see as particular strengths and weakness of each meth

Reviews

Write a Review

 
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