Skip to content

Pramo92/DSA-List-Tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

DSA-List-Tutorials

Tute 01

01). A student needs a small program to display a list of numbers in stem-leaf diagram. Write a complete java code using list data structure.

02). Suppose that there are 5 election parties, which participated for the Southern provincial election. Their votes for each district given below. Write the java code using list data structure for below questions.

Name of the election party: A,B,C,D,E

Galle : 45263, 25465, 12546 ,125, 23

Matara : 12546, 45236, 25648, 154, 17

Hambanthota : 45879, 45879, 45263, 189, 238

a. Find out the wining parties of each district.

b. Find out who won the southern provincial election

Tute 02

01). University of Kelaniya conducted a coding competition, and each student's performance was evaluated based on two rounds: Round 1 and Round 2. The student data is represented in the following format. Answer the following questions using List data structure.

Student Round 1 Round 2
A       95       90
B       78       85
C       85       88
D       62       75
E       72       80
F       88       92

a. Insert the provided data into the list and print the details as above.

b. Who is the top scorer in Round 1?

c. Who W is the top scorer in Round 2?

d. Implement a method named 'DisplayImprovedScores' that takes the list of students as input and displays the names of students who improved their scores from Round 1 to Round 2.

e. Determine the student who will be awarded the ‘Coding Champion title’. This title goes to the student with the highest combined score (Round 1 + Round 2).

  1. Write a program using List data structure to find the mean, median, mode and range of theuser given dataset.

Example: 10, 9, 52, 24, 35, 11, 9, 12, 3, 11, 25, 24, 8, 11, 42

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages