0% found this document useful (0 votes)
48 views

Coding Problem - Jvd2101

The document describes a coding problem involving analyzing IPL cricket dataset from two CSV files, DELIVERIES.csv and MATCHES.csv, containing match delivery and metadata. The problem involves writing a Java program to analyze the datasets and output specific statistics like top teams electing to field first after winning the toss in 2016-2017, team statistics by year, top economy bowlers by year, and team with highest net run rate by year. The solution must be written in Java without using other languages or databases, and showcase good coding practices and object-oriented design.

Uploaded by

dp jabun
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views

Coding Problem - Jvd2101

The document describes a coding problem involving analyzing IPL cricket dataset from two CSV files, DELIVERIES.csv and MATCHES.csv, containing match delivery and metadata. The problem involves writing a Java program to analyze the datasets and output specific statistics like top teams electing to field first after winning the toss in 2016-2017, team statistics by year, top economy bowlers by year, and team with highest net run rate by year. The solution must be written in Java without using other languages or databases, and showcase good coding practices and object-oriented design.

Uploaded by

dp jabun
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CODING PROBLEM

The problem mentioned below revolves around IPL dataset. The dataset contains 2 files
which are as follows

DELIVERIES.csv MATCHES.csv
MATCH_ID MATCH_ID

INNING SEASON

BATTING_TEAM CITY

BOWLING_TEAM DATE

OVER TEAM1

BALL TEAM2

BATSMAN TOSS_WINNER

BOWLER TOSS_DECISION

WIDE_RUNS RESULT

BYE_RUNS WINNER

LEGBYE_RUNS

NOBALL_RUNS

PENALTY_RUNS

BATSMAN_RUNS

EXTRA_RUNS

TOTAL_RUNS

The dataset can be downloaded from the link:

https://drive.google.com/file/d/1I_2eX55sliYXfwn4Tl4nUsQBBG1etmb1/view?usp=sharing
Solve the below questions in Only in Java.
1. Top 4 teams which elected to field first after winning toss in the year 2016 and
2017.

Output Expected:
YEAR TEAM COUNT

2. List total number of fours, sixes, total score with respect to team and year.

Output Expected:
YEAR TEAM_NAME FOURS_COUNT SIXES_COUNT TOTAL_SCORE

3. Top 10 best economy rate bowler with respect to year who bowled at least 10
overs (LEGBYE_RUNS and BYE_RUNS should not be considered for Total Runs Given
by a bowler)

Economy = (Total Runs Given/Overs bowled)


Output Expected:
YEAR PLAYER ECONOMY

4. Find the team name which has Highest Net Run Rate with respect to year.
Net Run Rate = (Total Runs Scored / Total Overs Faced) – (Total Runs
Conceded /Total Overs Bowled)

Instructions:
1. Code will be accepted only if it is solved in Java, other languages or jdbc coding
will be rejected.
2. Don’t use scala, python, sql, jdbc connection and sql queries
3. Please make your program readable and well structured. Showcase your object-
oriented skills and/or functional programming skills.
4. Your solution should be scalable to larger data sets.
5. You would get 3 Days to revert with the solution.
6. You can send us the ZIP file with the source code.
7. Don’t send .doc, .text and .class files. Send Java project with proper structure.

You might also like