Question: 1. Refer Question 6 of the Data Structures & Algorithms theory part]. A candidate is going to appear in an online admission test. The marks
1. Refer Question 6 of the Data Structures & Algorithms theory part]. A candidate is going to appear in an online admission test. The marks for each test question are different ranging from 1 to 15 based on the difficulty level of the question. The very first question has 1 mark. Each time a question with wrong answer will be followed by 1 mark question. Upon consecutive correct answers to the questions, difficulty level increases each time and so as the marks. With 2 consecutive correct answers, marks for the next question are increased by 2; With 3 consecutive correct answers, marks for the next question are increased by 3; and so on till 5 consecutive correct answers with 5 marks for the next question followed by 1 mark question with relevant difficulty level. The test finishes after attempting 100 questions or 3 consecutive wrong answers are recorded thrice. The qualifying marks are 75% A candidate will be declared disqualified in case he/she fails to obtain at least 25% marks in his/her initial 10 questions Implement the algorithm in C++ for the task mentioned above. Run the program to produce the following outputs. [50] Page 1 of 2 1 11 111 15. V One candidate "qualified with 90+% marks". One candidate "qualified exactly with 75% marks" One candidate "disqualified at the initial stage" One candidate's "disqualification at the middle of the processing" One candidate's "disqualification at the very final stages of the processing" Stencihma thermal en marcar ortam
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
