Answered step by step
Verified Expert Solution
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:
and these are the outputs:
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 fileStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started