Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I want to answer this question, but answer it in the easiest way because I'm a beginner in using Java language. these are the questions:

I want to answer this question, but answer it in the easiest way because I'm a beginner in using Java language.

these are the questions:

image text in transcribed

image text in transcribed

and these are the outputs:

image text in transcribedimage text in transcribed

thank you ..

Problem Description: Numbering Svstems Conversion Quiz for High School Students Integrating Computer Science in school e systems. In a local high school, a technology teacher has taught his students about the numbering systems conversions. Students were taught that a decimal number, which is used in their daily lives, is represented in computers as a binary number. A binary number consists of a sequence of 0s andls. Students have also learned how to convert a decimal number to a binary number and vice versa. In addition, since binary numbers can be very large and cumbersome, the teacher has explained to the students that hexadecimal numbers are usually used to abbreviate binary numbers. Students have also learned how to convert numbers from decimal to hexadecimal and vice versa At the end of this learning module on numbering systems, student must take a computerized practice quiz. Your job is to write a program that implements this practice quiz. The quiz consists of 4 parts and in each part, students are asked 2 random questions (Total 8 questions). The four parts of the quiz are as follows ducation is emerging as a new direction in advanced education 1. Convert from Decimal to Hexadecimal (2 questions) For this part of the quiz, a student is asked two questions. For each question, a random decimal number between 0 and 255 is generated, and the student is asked to enter the equivalent hexadecimal number 2. Convert from Decimal to Binary (2 questions) For this part of the quiz, a student is asked two questions. For each question, a random decimal number between 0 and 255 is generated, and the student is asked to enter the equivalent binary number 3. Convert from Hexadecimal to Decimal (2 questions). For this part of the quiz, a student is asked two questions. For each question, a random hexadecimal number of 2 digits is generated, and the student is asked to enter the equivalent decimal number 4. Convert from Binary to Decimal (2 questions) For this part of the quiz, a student is asked two questions. For each question, a random binary number of 8 bits is generated, and the student is asked to enter the equivalent decimal number. Important Remarks about the quiz implementation: 1. 2. 3. Each question is worth 2 points and the final grade is out of 16 For each question, the student will be given 3 trials to answer the question. If the answer is correct in any of the trials 1 through 3, an appropriate message is displayed (e.g., Correct Answer!) If the maximum number of trials is exceeded, the student will lose the points for that question and an appropriate message is displayed (e.g., Sorry, you have exceeded the maximum number of trials for this question!) At the end of the practice quiz, the student's answers for all of the questions and a number of statistics are displayed. The statistics include 4. 5. A percentage grade out 100% (you need to convert the grade out of 16 to a percentage) The time taken to take the quiz from beginning to end. The passing percentage for the practice quiz is 60%, an appropriate message is displayed indicating whether or not a student has passed the test (e.g., You didn't pass the quiz!). a. b. c. 6. After each quiz is finished, the program should ask the user to continue for another quiz or not until the user choose to stop taking quizzes. Please see output in the SAMPLEOUTPUT file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions