Q1: Write a program in Java that reads 10 integers and store them in AN ArrayList. Then, do the follo a) Print the ArrayList in the reverse order b) Sort the ArrayList, and display the data after sorting c) Print the largest and the smallest element in the ArrayList

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
ori (Body)
-/12
Aa
AaBbCcDd AaBbCcDd AaBbCc AaBbCc AaBI AqBbCcL Ac
LT
abe
x,
A-
I Normal
T No Spacing Heading 1
Heading 2
Title
Subtitle
Font
Paragraph-
Styles
1 2
Student ID:
Name:
Note: You have 4 hours to upload upload your program. After 12:00 PM the link will be invisible
Submit your program in a Notepad file. File name should be 20182078_Ahemed.txt
Q1: Write a program in Java that reads 10 integers and store them in AN ArrayList. Then, do the following
a) Print the ArrayList in the reverse order
b) Sort the ArrayList, and display the data after sorting
c) Print the largest and the smallest element in the ArrayList
Q2: Write a program to implement a Singly linked list with two fields: String name and Integer Age.
a) Then, Program ask user to enter name and age of a student, and add the node in the link list
b) Store name and age of 5 students
c) Then, traverse the link List to print all the nodes
3 English (U.S)
J W
ere to search
DELL
F10
F11
F12
F3
F5
F6
F7
F8
F9
F4
Transcribed Image Text:ori (Body) -/12 Aa AaBbCcDd AaBbCcDd AaBbCc AaBbCc AaBI AqBbCcL Ac LT abe x, A- I Normal T No Spacing Heading 1 Heading 2 Title Subtitle Font Paragraph- Styles 1 2 Student ID: Name: Note: You have 4 hours to upload upload your program. After 12:00 PM the link will be invisible Submit your program in a Notepad file. File name should be 20182078_Ahemed.txt Q1: Write a program in Java that reads 10 integers and store them in AN ArrayList. Then, do the following a) Print the ArrayList in the reverse order b) Sort the ArrayList, and display the data after sorting c) Print the largest and the smallest element in the ArrayList Q2: Write a program to implement a Singly linked list with two fields: String name and Integer Age. a) Then, Program ask user to enter name and age of a student, and add the node in the link list b) Store name and age of 5 students c) Then, traverse the link List to print all the nodes 3 English (U.S) J W ere to search DELL F10 F11 F12 F3 F5 F6 F7 F8 F9 F4
Expert Solution
steps

Step by step

Solved in 2 steps with 2 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