subject

1. (8 pts) write an application that is including a three-question multiple choice quiz about java programming language. each question must have four possible answers (numbered 1 to 4). also, ask user to type 0 to exit the test. [assume that a user enters only integers 1,2,3,4, or 0]. firstly, display a message that this quiz includes three questions about the java programming language and display that each question has four possible answers. if the answer is correct for the given question, display that the answer is correct. if the answer is not correct for the given question, display that the answer is wrong. if the user answers three questions correctly, display "excellent", if two, display "very good", if one or fewer, display "it is time to start to learning java". after that, ask user whether he or she wants to play again [you can use a boolean variable]. if user inputs true, start the game again. if user inputs false, then display a goodbye message and finish the game [assume that user enters only true or false]. upload mytest. java

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:00
When you collaborate or meet with a person or group online, it is called
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
Lisa’s company, abc ltd., lost its biggest client and is now facing a financial crunch. most of her colleagues have resigned, but lisa decides to stay with the company and assist the management in overcoming the financial situation. which quality is lisa demonstrating? a. self-management b. cooperativeness c. responsibility d. loyalty
Answers: 2
question
Computers and Technology, 22.06.2019 16:50
Consider a slotted aloha system, where the time slot equals the fixed duration of each packet. assume that there are 4 stations a,b,c,d sharing the medium. (a) stations a,b,c,d receive one packet each from higher layers at times 1.3, 1.5, 2.6,5.7 respectively. show which transmissions take place when, according to the slottedaloha protocol; describe all transmissions until all four packets have been successful.when needed, each station has access to the following sequence of random number, provided by a random number generator and drawn uniformly between 0 and 1: (1) station a draws numbers: 0.31, 0.27, 0.78, 0.9, 0.9, 0.11, 0. (2) station b draws numbers: 0.45, 0.28, 0.11, 0.83, 0.37, 0.22, 0. (3)station c draws numbers: 0.1, 0.2, 0.3, 0.4, 0. (4) station d draws numbers: 0.36, 0.77, 0.9, 0.1, 0.1, 0.1, 0.1, 0. (b) in slotted aloha, a station transmits in each time slot with a given probability. what probabilities would you assign to each of the four stations so as to: (i) maximize the efficiency of the protocol? (ii) maximize fairness among the four stations? (c) will the efficiency increase or decrease if we modify slotted aloha as follows: (i) get rid of slots and allow stations to transmit immediately? (ii) implement carrier sensing? (iii) implement collision detection? (iv) implement collision avoidance?
Answers: 3
question
Computers and Technology, 24.06.2019 17:30
What is the next step if your volume does not work on computer
Answers: 2
You know the right answer?
1. (8 pts) write an application that is including a three-question multiple choice quiz about java p...
Questions
question
Social Studies, 28.01.2020 22:06
question
Mathematics, 28.01.2020 22:06
Questions on the website: 13722359