Write a function that will compare the candidate's response with the desired response, counts the number of correct answers, and displays it. The output of your program should display the candidate and the total number of desired responses that each received. The main body of your code will call this function.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Note: Please do this using Python 3.

Here is the text version:

Q1,Q2,Q3,Q4,Q5,Q6,Q7,Q8,Q9,Q10
A,B,A,C,C,D,E,E,A,D
D,B,A,B,C,A,E,E,A,D
E,D,D,A,C,B,E,E,A,D
C,B,A,E,D,C,E,E,A,D
A,B,D,C,C,D,E,E,A,D
B,B,E,C,C,D,E,E,A,D
B,B,A,C,C,D,E,E,A,D
E,B,E,C,C,D,E,E,A,D

The Human Resources department conducted a behavioural interview for a highly skilled job. There were 8 job
candidates that participated in the interview in which they had to fill a questionnaire with 10 questions. The
answers to each question, can be "A", "B", "C", "D", and "E".
Here were the responses per candidate:
Responses to 10 questions
Q3 04 Q5 Q6 Q7 Q8 Q9 Q10
CDE
AE
Q1 Q2
Candidate 1
A.
B
A
E
A.
D
Candidate 2
D
В
A
B
E
Candidate 3
E
D
D
A
B
E
Candidate 4
C B
A
E
D
Candidate 5
A
В
D
D
CcD
Candidate 6 B B
Candidate 7 B B
Candidate 8 E B
E
E
A
A
D
E
E
A
D
E Cc DEE A
The desired response that the Human Resources department was looking for was the following:
Desired ResponseDBD C | C D
Q1 Q2 Q3 04 05 06 07 Q8 09 Q10
A E A D
Write a function that will compare the candidate's response with the desired response, counts the number of
correct answers, and displays it. The output of your program should display the candidate and the total number
of desired responses that each received. The main body of your code will call this function.
<AAAAA
Transcribed Image Text:The Human Resources department conducted a behavioural interview for a highly skilled job. There were 8 job candidates that participated in the interview in which they had to fill a questionnaire with 10 questions. The answers to each question, can be "A", "B", "C", "D", and "E". Here were the responses per candidate: Responses to 10 questions Q3 04 Q5 Q6 Q7 Q8 Q9 Q10 CDE AE Q1 Q2 Candidate 1 A. B A E A. D Candidate 2 D В A B E Candidate 3 E D D A B E Candidate 4 C B A E D Candidate 5 A В D D CcD Candidate 6 B B Candidate 7 B B Candidate 8 E B E E A A D E E A D E Cc DEE A The desired response that the Human Resources department was looking for was the following: Desired ResponseDBD C | C D Q1 Q2 Q3 04 05 06 07 Q8 09 Q10 A E A D Write a function that will compare the candidate's response with the desired response, counts the number of correct answers, and displays it. The output of your program should display the candidate and the total number of desired responses that each received. The main body of your code will call this function. <AAAAA
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Bare Bones Programming Language
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education