The data below gives the resulte of a T/F exam for a class ofcomputer sience stu
ID: 3609049 • Letter: T
Question
The data below gives the resulte of a T/F exam for a class ofcomputer sience student . Each line contains a student `s name ,identification number , and the student`s answers to 10 T/Fquestions. name id answers(1=T, 0=F) Jaims 19991021 0110101101 Daived 19991043 0101011111 Thomas 20000032 0101100010 Jamaal 20001052 1110001011 - - 1110010100 - - 0001101011 - - 0110001101 - - 1100110001 - - 0000000000 - - 0010011011Tha correct answers are 0100100101 a) Declare a single-structure datatype suitable for a student for a student record of the type shownabove. Include the student`s score in thestructure. b) Using the data type declared, write a program that acceptthe student-data showen above into an array of ten structure. The program should thencreate a report listing each student`sname, id-number and score. c) Let your program accept an input valuerepresenting a given year (eg 2001) and then produce a list of the name of the students registeredthat year.
d) Let your program accept the id-numberof a student , then search the stored datafor that student . If the student is on the list ,display the relevant details about him,including his score. Use function for the searching process. The data below gives the resulte of a T/F exam for a class ofcomputer sience student . Each line contains a student `s name ,identification number , and the student`s answers to 10 T/Fquestions. name id answers(1=T, 0=F) Jaims 19991021 0110101101 Daived 19991043 0101011111 Thomas 20000032 0101100010 Jamaal 20001052 1110001011 - - 1110010100 - - 0001101011 - - 0110001101 - - 1100110001 - - 0000000000 - - 0010011011
Tha correct answers are 0100100101 a) Declare a single-structure datatype suitable for a student for a student record of the type shownabove. Include the student`s score in thestructure. b) Using the data type declared, write a program that acceptthe student-data showen above into an array of ten structure. The program should thencreate a report listing each student`sname, id-number and score. c) Let your program accept an input valuerepresenting a given year (eg 2001) and then produce a list of the name of the students registeredthat year.
d) Let your program accept the id-numberof a student , then search the stored datafor that student . If the student is on the list ,display the relevant details about him,including his score. Use function for the searching process.