A university assigns the Register Number for the students in the format of AABBBCCCC, where AA represents year of joined (Valid range is between 10 to 21), BBB represents Programme code, CCCC represents Four-digit number. The following table provides various degrees, programmes code, duration, and sample registration numbers.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Java code for the following question. Sample output is also given in the 2nd picture do according to the sample
QUESTION:
A university assigns the Register Number for the students in the format of AABBBCCCC,
where AA represents year of joined (Valid range is between 10 to 21), BBB represents
Programme code, CCCC represents Four-digit number. The following table provides various
degrees, programmes code, duration, and sample registration numbers.
SNO
Degree
Programme Duration of Sample
Codes
Programme Registration
Numbers
1
UG - Engineering
ВСЕ
4 Years
19BCE2021
ВМЕ
17BITO001
BIT
21BEE0123
BEE
21BMЕ0034
UG - Arts
BCS
3 Years
18BСА0021
ВСА
19BCS2341
PG
MIT
2 Years
20MITO023
MCS
16MCS0045
MPC
21MPC0456
4
PG(Integrated)
MIS
5 Years
17MISO021
MSE
18MSE3456
Assume that the Placement officer of the same University announced like, only Final Year
students are eligible to apply for placements and applications will be received through
interface.
Write a JAVA program to take input as set of register numbers of the students and display
their current year of study and whether eligible to apply for placement or not.
Transcribed Image Text:QUESTION: A university assigns the Register Number for the students in the format of AABBBCCCC, where AA represents year of joined (Valid range is between 10 to 21), BBB represents Programme code, CCCC represents Four-digit number. The following table provides various degrees, programmes code, duration, and sample registration numbers. SNO Degree Programme Duration of Sample Codes Programme Registration Numbers 1 UG - Engineering ВСЕ 4 Years 19BCE2021 ВМЕ 17BITO001 BIT 21BEE0123 BEE 21BMЕ0034 UG - Arts BCS 3 Years 18BСА0021 ВСА 19BCS2341 PG MIT 2 Years 20MITO023 MCS 16MCS0045 MPC 21MPC0456 4 PG(Integrated) MIS 5 Years 17MISO021 MSE 18MSE3456 Assume that the Placement officer of the same University announced like, only Final Year students are eligible to apply for placements and applications will be received through interface. Write a JAVA program to take input as set of register numbers of the students and display their current year of study and whether eligible to apply for placement or not.
Sample Input/Output:
Enter no.of students: 7
1/2
Enter 7 Regnos of students:
18BITO001
21BMЕ0034
18ВСА0021
19BCS2341
20MITO023
17MISO021
18MSE3456
Result is:
18BITO001 : Eligible for Placement due to Final Year Student
21BME0034 : Not eligible for Placement due to First Year Student
18BCA0021: Not eligible for Placement due to Passedout(Duration Over) Student
19BCS2341 : Eligible for Placement due to Final Year Student
20MITO023 : Eligible for Placement due to Final Year Student
17MISO021 : Eligible for Placement due to Final Year Student
18MSE3456 : Not Eligible for Placement due to Fourth Year Student
Transcribed Image Text:Sample Input/Output: Enter no.of students: 7 1/2 Enter 7 Regnos of students: 18BITO001 21BMЕ0034 18ВСА0021 19BCS2341 20MITO023 17MISO021 18MSE3456 Result is: 18BITO001 : Eligible for Placement due to Final Year Student 21BME0034 : Not eligible for Placement due to First Year Student 18BCA0021: Not eligible for Placement due to Passedout(Duration Over) Student 19BCS2341 : Eligible for Placement due to Final Year Student 20MITO023 : Eligible for Placement due to Final Year Student 17MISO021 : Eligible for Placement due to Final Year Student 18MSE3456 : Not Eligible for Placement due to Fourth Year Student
Expert Solution
steps

Step by step

Solved in 3 steps with 5 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY