SlideShare a Scribd company logo
1 of 20
AMERICAN INTERNATIONAL UNIVERSITY-BANGLADESH (AIUB) 
Online Judge Database 
DATABASE PROJECT 
GROUP NAME: 
SUBMITTED TO: 
NASHIA ISLAM NABILA 
12/22/2013
1 | P a g e 
ONLINE JUDGE DATABASE 
A REPORT SUBMITED TO DEPARTMENT OF COMPUTER SCIENCE AND 
ENGINEERING, AIUB IN PART –FULFILLMENT OF THE REQUIREMENTS OF THE 
FINAL 
EXAMINATION IN INRTODUCTION TO DATABASE, FALL SEMESTER 2013-14 
PREPARED & SUBMITTED BY 
GROUP NAME: 
SECTION: 
ISLAM, MD. IMADUL 
(12-21719-2) 
ASHAN, A.S.M SANZIDUL 
(12-21848-2) 
AHMED, TANVEER 
(12-21825-2) 
ISLAM, MD. SAIFUL 
(12-21963-2) 
COURSE ISTRUCTOR: 
NASHIA AHMED NABILA
PREFACE 
ONLINE JUDGE DATABASE IS A UNIQUE DATABASE SYSTEM THAT HELPS 
INSTRUCTORS TO VIEW HOW MANY PROBLEMS SOLVED AND TOUCHED BY 
CONTESTENTS. 
IT IS THE BEST WAY THAT ENHANCE OUR KNOWLEDGE ABOUT 
PROGRAMMING. 
IT IS THE ONLY WAY TO ARRANGE AN INTERNATIONAL PROGRAMMING 
CONTEST. 
2 | P a g e
ACKNOWLEDGEMENT 
FIRST AND FOREMOST, WE WOULD LIKE TO THANK OUR COURSE INSTEUCTOR 
OF THIS INTRODUCTION TO DATABASE COURSE TEACHER NASHIA AHMED 
NABILA FOR THE VALUABLE GUIDANCE AND ADVICE.SHE INSPIRED US GREATLY 
TO WORK IN THIS TEAM PAPER.HER WILLINGNESS TO MOTIVATE US 
CONTRIBUTED TREMENDOUSLY TO OUR WORK.WE ALSO WOULD LIKE TO 
THANK HER FOR HER VALUABLE TIME BY HELPING US FOR THIS TERM PAPER. 
FINALLY, AN HONORABLE MENTION GOES TO OUR FAMILIES AND FRIENDS FOR 
THEIR UNDERSTANDINGS SUPPORTS ON US IN COMPLETING THIS 
REPORT.WITHOUT HELPS OF THE PARTICULAR THAT MENTIONED ABOVE, WE 
WOULD FACE MANY DIFFICULTIES WHILE DOING THIS PROJECT. 
3 | P a g e
TABLE OF CONTENT 
TITLE PAGE ---------------------------------------------------------------------------------- 01 
PREFACE -------------------------------------------------------- --------------------------02 
ACKNOWLEDGEMENT ----------------------------------------------------------------------------------03 
TABLE OF CONTENT ---------------------------------------------------------------------------- ------04 
ABSTRACT -------------------------------------------------------------------------------- 05 
PREVIOUS SYSTEM -------------------------------------------------------------------------------- 06 
IDENTIFICATION NEED -------------------------------------------------------------------------------- 06 
DEVELOPED SYSTEM -------------------------------------------------------------------------------- 06 
PROBLEM ANALYSIS -------------------------------------------------------------------------------- 07 
FUNCTION REQUIREMEMT -------------------------------------------------------------------------------- 08 
ER-DIAGRAM -------------------------------------------------------------------------------- 09 
MAPING -------------------------------------------------------------------------------- 10 
SCHEMA DIAGRAM ---------------------------------------------------------------------------------11 
DESCRIPTION --------------------------------------------------------------------------------- 12 
TABLE ---------------------------------------------------------------------------------- 13 
QUERY ----------------------------------------------------------------------------------16 
VIEW --------------------------------------------------------------------------------- 18 
CONCLUSION ---------------------------------------------------------------------------------- 19 
4 | P a g e
ABSTRACT 
ONLINE JUDGE DATABASE IS A UNIQUE DATABASE SYSTEM THAT HELPS 
INSTRUCTORS TO VIEW HOW MANY PROBLEMS SOLVED AND TOUCHED BY 
CONTESTENTS. 
IT IS THE BEST WAY THAT ENHANCE OUR KNOWLEDGE ABOUT 
PROGRAMMING. 
IT IS THE ONLY WAY TO ARRANGE AN INTERNATIONAL PROGRAMMING 
CONTEST. 
5 | P a g e
PREVIOUS SYSTEM 
PREVIOUS SYSTEM REQUIRE HUMAN INTERFACR FOR JUDGEING THE 
PROBLEMS. IT IS ALMOST IMPOSSIBLE TO CHECK MILLIONS OF PROBLEM BY 
HUMAN. BUT THIS ADVANCED DATABASE SYSTEM CHANGES EVERYTHING. IT 
CAN CHECK MILLIONS OF PROBLEMS WITHIN FEW MOMENTS. 
IDENTIFICATION NEED 
ONLINE JUDGE DATABASE SYSTEM IS USE TO STORE INFORMATION ABOUT 
MILLIONS OF USER, PROBLEMS, PROBLEM SETTER, AND STATUS OF 
SUBMITTED PROBLEM AND MOST IMPORTANTLY ARRANGE PROGRAMMING 
CONTAST. THIS KIND OF DATABASE NOW MOSTLY NEEDED FOR MAKING OUR 
LIFE EASIER. 
DEVELOPED SYSTEM 
THIS DATABASE SYSTEM ARE ABLE TO KEEP ALL USERS, PROBLEMS, PROBLEM 
SETTER, AND MOST IMPORTANTLY IT’S CONTAINS HUGE COMPILER WHICH 
CAN USED MULTIPLE PROGRAMMING LANGUAGE AND its TASKING CAPACITY 
24×365. 
6 | P a g e
PROBLEM ANALYSIS 
PROBLEM STATEMENT: 
THE OBJECTIVE OF THIS PORJECT IS TO 
REDESIGN AND DEVELOP ONLINE JUDGE MANAGEMENT 
DATABASE SYSTEM. 
TECHNOLOGIES: 
Oracle Database 11g Express Edition IS USED TO SUCESSFULLY DO THIS 
PROJECT. 
7 | P a g e
FUNCTIONAL REQUIREMENT 
PERTAINING TO USER: 
8 | P a g e 
 INDIVIDUAL USER DETAILS 
 PEOBLEM LIST OF USER 
 COUNT OF SOLVE PROBLEMED 
PERTAINING TO MEMBER: 
 COMPLETE RECORD OF MENBER INDIVIDUAL 
ACTIVITY DETAILS 
PERTAINING TO PEOBLEM SOLVE: 
 COMPLETE RECORD OF PROBLEM SOLVED DETAILS 
PERTAINING TO LEVEL: 
 COMPLETE INFORMATION OF LEVEL 
PERTAINING TO CATAGEORY: 
 COMPLETE INFORMATION OF CATAGEORY 
PERTAINING TO PROBLEM SETTER: 
 COMPLETE INFORMATION OF PROBLEM SETTER
9 | P a g e 
DEF_LANGU 
AGE 
M_NAME 
JOIN_DATE 
M_ID 
MAMBER 
SOLVED 
PROBLEM 
P_ID 
PS_ID 
C_ID 
P_NAME 
VOLUME_ 
NO 
ASSINGED 
HAS 
PROBLEM_SETTER PROBLEM_SET CATAGORY 
PS_NAME PS_ID VOLUME 
_NO 
C_ID C_NAME
MAPING 
MAMBER: 
PROBLEM: 
PROBLEM_SET: 
PROBLEM_SETTER: 
CATEGORY: 
MY_SUBMISSION: 
10 | P a g e
SCHEMA DIAGRAM: 
11 | P a g e
DESCRIPTION: 
12 | P a g e
TABLE 
MEMBER: 
PROBLEM: 
13 | P a g e
PROBLEM_SET: 
PROBLEM_SETTER: 
CATEGORY: 
14 | P a g e
MY_SUBMISSION: 
15 | P a g e
QUERY: 
1. Show the info of member and problem whose problem is accepted 
= select M.M_ID, M.M_NAME, MS.P_ID, P.P_NAME FROM MAMBER M, 
MY_SUBMISSION MS, PROBLEM P where (M.M_ID = MS.M_ID) AND (MS.P_ID = 
P.P_ID) AND MS.STATUS = 1 
2. Show the info of member and there problem number that they were failed to 
solved 
= select m.M_ID, m.m_name, count(ms.p_id) from mamber m, my_submission ms 
where (m.m_id = ms.m_id) and (ms.status = 0) GROUP BY m.M_ID, m.m_name 
3. Find info of problem which problem is solved and checked by at last 3 member 
= select p.p_id, p.p_name from problem p, my_submission ms where (p.p_id = 
ms.p_id) and (ms.status = 1) group by p.p_id, p.p_name having count(ms.m_id) >=3 
4. Find the problem setter and problem info which problem is not solved 
= select p.p_id, p.p_name, ps.ps_id, ps.ps_name from problem p, problem_setter ps, 
my_submission ms where (p.p_id = ms.p_id) and (p.ps_id = ps.ps_id) and (ms.status 
= 0) group by p.p_id, p.p_name, ps.ps_id, ps.ps_name 
5. Find the info of the problems and volume number which is solved by java or C# 
= select p.p_id, p.p_name, v.VOLUME_NO from problem p, my_submission ms, 
problem_set v where (p.p_id = ms.p_id) and (v.VOLUME_NO = p.VOLUME_NO) and 
(ms.language = 'JAVA' or ms.language = 'C#') 
16 | P a g e
6. Find the info of the member and count problem no who have solved 'NASHIA 
AHMED NABILA' problem 
= select m.m_id, m.m_name, count(ms.p_id) from mamber m, problem p, 
my_submission ms, problem_setter ps where (m.m_id = ms.m_id) and (ms.p_id = 
p.p_id) and (p.ps_id = ps.ps_id) and (ps.ps_name = 'NASHIA AHMED NABILA') group 
by m.m_id, m.m_name 
7. Find the info of member who has successfully solved 'NASHIA AHMED NABILA''s 
problem. 
= select m.m_id, m.m_name from mamber m, problem p, my_submission ms, 
problem_setter ps where (m.m_id = ms.m_id) and (ms.p_id = p.p_id) and (ms.status 
= 1) and (p.ps_id = ps.ps_id) and (ps.ps_name = 'NASHIA AHMED NABILA') 
8. Find the problem and problem setter info that member were failed to solved. 
= select ps.ps_id, ps.ps_name, p.p_id, p.p_name from problem_setter ps, 
my_submission ms, problem p where (ms.p_id = p.p_id) and (p.ps_id = ps.ps_id) and 
(ms.status = 0) 
9. Find the info of problem and category that was unable to solve by member 'M1'. 
= select p.p_id, p.p_name, c.c_id, c.c_name from problem p, catagory c, 
my_submission ms where (ms.p_id = p.p_id) and (p.c_id = c.c_id) and (ms .status = 0) 
and (ms.m_id = 'M1') 
10. Show the number of the problem of category 'C1'. 
= select count(p.p_id) from problem p, catagory c where (p.c_id = c.c_id) and (c.c_id 
= 'C1') 
17 | P a g e
VIEW 
1. Show the info of member and problem whose problem is accepted. 
2. Find the problem setter and problem info which problem is not solved. 
3. Find the info of the problems and volume number which is solved by 
java or C#. 
18 | P a g e
4. Find the info of member who has successfully solved 'NASHIA AHMED 
NABILA''s problem. 
5. Find the problem and problem setter info that member were failed to 
solved. 
Conclusion: 
The Online Judge database management is beneficial for those 
who can easily judge himself/herself. The Judgment system create 
an opportunity for practice programming without facing problem. 
One’s can choose problem according his choice. Finally, it is real 
area to judge real programmer. 
19 | P a g e

More Related Content

Similar to Data Base project

HS2021 Database Design and UseWeek 2 - 2020 Tutorial
        HS2021 Database Design and UseWeek 2 - 2020 Tutorial        HS2021 Database Design and UseWeek 2 - 2020 Tutorial
HS2021 Database Design and UseWeek 2 - 2020 Tutorialtroutmanboris
 
HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx
        HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx        HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx
HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docxShiraPrater50
 
SAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESHSAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESHGanesh Tarlana
 
Gradient boosting for regression problems with example basics of regression...
Gradient boosting for regression problems with example   basics of regression...Gradient boosting for regression problems with example   basics of regression...
Gradient boosting for regression problems with example basics of regression...prateek kumar
 
Artificial Neural Networks Workshop
Artificial Neural Networks WorkshopArtificial Neural Networks Workshop
Artificial Neural Networks WorkshopYakup Görür
 
Cloudera Movies Data Science Project On Big Data
Cloudera Movies Data Science Project On Big DataCloudera Movies Data Science Project On Big Data
Cloudera Movies Data Science Project On Big DataAbhishek M Shivalingaiah
 
Easing the Complex with SPBench framework
Easing the Complex with SPBench frameworkEasing the Complex with SPBench framework
Easing the Complex with SPBench frameworkadriano1mg
 
New Perspectives Access 2013 Tutorial 3 SAM Project 1a.docx
New Perspectives Access 2013 Tutorial 3 SAM Project 1a.docxNew Perspectives Access 2013 Tutorial 3 SAM Project 1a.docx
New Perspectives Access 2013 Tutorial 3 SAM Project 1a.docxhenrymartin15260
 
The MySQL Performance Schema & New SYS Schema
The MySQL Performance Schema & New SYS SchemaThe MySQL Performance Schema & New SYS Schema
The MySQL Performance Schema & New SYS SchemaTed Wennmark
 
James Colby Maddox Business Intellignece and Computer Science Portfolio
James Colby Maddox Business Intellignece and Computer Science PortfolioJames Colby Maddox Business Intellignece and Computer Science Portfolio
James Colby Maddox Business Intellignece and Computer Science Portfoliocolbydaman
 
Hivemallを使ったリードスコアリングを入社前に作った話
Hivemallを使ったリードスコアリングを入社前に作った話Hivemallを使ったリードスコアリングを入社前に作った話
Hivemallを使ったリードスコアリングを入社前に作った話junya awata
 

Similar to Data Base project (20)

HS2021 Database Design and UseWeek 2 - 2020 Tutorial
        HS2021 Database Design and UseWeek 2 - 2020 Tutorial        HS2021 Database Design and UseWeek 2 - 2020 Tutorial
HS2021 Database Design and UseWeek 2 - 2020 Tutorial
 
HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx
        HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx        HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx
HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx
 
Benchmarking_ML_Tools
Benchmarking_ML_ToolsBenchmarking_ML_Tools
Benchmarking_ML_Tools
 
SAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESHSAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESH
 
Gradient boosting for regression problems with example basics of regression...
Gradient boosting for regression problems with example   basics of regression...Gradient boosting for regression problems with example   basics of regression...
Gradient boosting for regression problems with example basics of regression...
 
Artificial Neural Networks Workshop
Artificial Neural Networks WorkshopArtificial Neural Networks Workshop
Artificial Neural Networks Workshop
 
Cloudera Movies Data Science Project On Big Data
Cloudera Movies Data Science Project On Big DataCloudera Movies Data Science Project On Big Data
Cloudera Movies Data Science Project On Big Data
 
Data Mining.ppt
Data Mining.pptData Mining.ppt
Data Mining.ppt
 
SQL
SQLSQL
SQL
 
SQL
SQL SQL
SQL
 
Easing the Complex with SPBench framework
Easing the Complex with SPBench frameworkEasing the Complex with SPBench framework
Easing the Complex with SPBench framework
 
New Perspectives Access 2013 Tutorial 3 SAM Project 1a.docx
New Perspectives Access 2013 Tutorial 3 SAM Project 1a.docxNew Perspectives Access 2013 Tutorial 3 SAM Project 1a.docx
New Perspectives Access 2013 Tutorial 3 SAM Project 1a.docx
 
Lost cargo reconcillation
Lost cargo reconcillationLost cargo reconcillation
Lost cargo reconcillation
 
C3 w2
C3 w2C3 w2
C3 w2
 
C Programming
C ProgrammingC Programming
C Programming
 
The MySQL Performance Schema & New SYS Schema
The MySQL Performance Schema & New SYS SchemaThe MySQL Performance Schema & New SYS Schema
The MySQL Performance Schema & New SYS Schema
 
Project3
Project3Project3
Project3
 
James Colby Maddox Business Intellignece and Computer Science Portfolio
James Colby Maddox Business Intellignece and Computer Science PortfolioJames Colby Maddox Business Intellignece and Computer Science Portfolio
James Colby Maddox Business Intellignece and Computer Science Portfolio
 
Hivemallを使ったリードスコアリングを入社前に作った話
Hivemallを使ったリードスコアリングを入社前に作った話Hivemallを使ったリードスコアリングを入社前に作った話
Hivemallを使ったリードスコアリングを入社前に作った話
 
Deep learning
Deep learningDeep learning
Deep learning
 

Recently uploaded

Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023ymrp368
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfadriantubila
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...amitlee9823
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...shivangimorya083
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 

Recently uploaded (20)

Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 

Data Base project

  • 1. AMERICAN INTERNATIONAL UNIVERSITY-BANGLADESH (AIUB) Online Judge Database DATABASE PROJECT GROUP NAME: SUBMITTED TO: NASHIA ISLAM NABILA 12/22/2013
  • 2. 1 | P a g e ONLINE JUDGE DATABASE A REPORT SUBMITED TO DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING, AIUB IN PART –FULFILLMENT OF THE REQUIREMENTS OF THE FINAL EXAMINATION IN INRTODUCTION TO DATABASE, FALL SEMESTER 2013-14 PREPARED & SUBMITTED BY GROUP NAME: SECTION: ISLAM, MD. IMADUL (12-21719-2) ASHAN, A.S.M SANZIDUL (12-21848-2) AHMED, TANVEER (12-21825-2) ISLAM, MD. SAIFUL (12-21963-2) COURSE ISTRUCTOR: NASHIA AHMED NABILA
  • 3. PREFACE ONLINE JUDGE DATABASE IS A UNIQUE DATABASE SYSTEM THAT HELPS INSTRUCTORS TO VIEW HOW MANY PROBLEMS SOLVED AND TOUCHED BY CONTESTENTS. IT IS THE BEST WAY THAT ENHANCE OUR KNOWLEDGE ABOUT PROGRAMMING. IT IS THE ONLY WAY TO ARRANGE AN INTERNATIONAL PROGRAMMING CONTEST. 2 | P a g e
  • 4. ACKNOWLEDGEMENT FIRST AND FOREMOST, WE WOULD LIKE TO THANK OUR COURSE INSTEUCTOR OF THIS INTRODUCTION TO DATABASE COURSE TEACHER NASHIA AHMED NABILA FOR THE VALUABLE GUIDANCE AND ADVICE.SHE INSPIRED US GREATLY TO WORK IN THIS TEAM PAPER.HER WILLINGNESS TO MOTIVATE US CONTRIBUTED TREMENDOUSLY TO OUR WORK.WE ALSO WOULD LIKE TO THANK HER FOR HER VALUABLE TIME BY HELPING US FOR THIS TERM PAPER. FINALLY, AN HONORABLE MENTION GOES TO OUR FAMILIES AND FRIENDS FOR THEIR UNDERSTANDINGS SUPPORTS ON US IN COMPLETING THIS REPORT.WITHOUT HELPS OF THE PARTICULAR THAT MENTIONED ABOVE, WE WOULD FACE MANY DIFFICULTIES WHILE DOING THIS PROJECT. 3 | P a g e
  • 5. TABLE OF CONTENT TITLE PAGE ---------------------------------------------------------------------------------- 01 PREFACE -------------------------------------------------------- --------------------------02 ACKNOWLEDGEMENT ----------------------------------------------------------------------------------03 TABLE OF CONTENT ---------------------------------------------------------------------------- ------04 ABSTRACT -------------------------------------------------------------------------------- 05 PREVIOUS SYSTEM -------------------------------------------------------------------------------- 06 IDENTIFICATION NEED -------------------------------------------------------------------------------- 06 DEVELOPED SYSTEM -------------------------------------------------------------------------------- 06 PROBLEM ANALYSIS -------------------------------------------------------------------------------- 07 FUNCTION REQUIREMEMT -------------------------------------------------------------------------------- 08 ER-DIAGRAM -------------------------------------------------------------------------------- 09 MAPING -------------------------------------------------------------------------------- 10 SCHEMA DIAGRAM ---------------------------------------------------------------------------------11 DESCRIPTION --------------------------------------------------------------------------------- 12 TABLE ---------------------------------------------------------------------------------- 13 QUERY ----------------------------------------------------------------------------------16 VIEW --------------------------------------------------------------------------------- 18 CONCLUSION ---------------------------------------------------------------------------------- 19 4 | P a g e
  • 6. ABSTRACT ONLINE JUDGE DATABASE IS A UNIQUE DATABASE SYSTEM THAT HELPS INSTRUCTORS TO VIEW HOW MANY PROBLEMS SOLVED AND TOUCHED BY CONTESTENTS. IT IS THE BEST WAY THAT ENHANCE OUR KNOWLEDGE ABOUT PROGRAMMING. IT IS THE ONLY WAY TO ARRANGE AN INTERNATIONAL PROGRAMMING CONTEST. 5 | P a g e
  • 7. PREVIOUS SYSTEM PREVIOUS SYSTEM REQUIRE HUMAN INTERFACR FOR JUDGEING THE PROBLEMS. IT IS ALMOST IMPOSSIBLE TO CHECK MILLIONS OF PROBLEM BY HUMAN. BUT THIS ADVANCED DATABASE SYSTEM CHANGES EVERYTHING. IT CAN CHECK MILLIONS OF PROBLEMS WITHIN FEW MOMENTS. IDENTIFICATION NEED ONLINE JUDGE DATABASE SYSTEM IS USE TO STORE INFORMATION ABOUT MILLIONS OF USER, PROBLEMS, PROBLEM SETTER, AND STATUS OF SUBMITTED PROBLEM AND MOST IMPORTANTLY ARRANGE PROGRAMMING CONTAST. THIS KIND OF DATABASE NOW MOSTLY NEEDED FOR MAKING OUR LIFE EASIER. DEVELOPED SYSTEM THIS DATABASE SYSTEM ARE ABLE TO KEEP ALL USERS, PROBLEMS, PROBLEM SETTER, AND MOST IMPORTANTLY IT’S CONTAINS HUGE COMPILER WHICH CAN USED MULTIPLE PROGRAMMING LANGUAGE AND its TASKING CAPACITY 24×365. 6 | P a g e
  • 8. PROBLEM ANALYSIS PROBLEM STATEMENT: THE OBJECTIVE OF THIS PORJECT IS TO REDESIGN AND DEVELOP ONLINE JUDGE MANAGEMENT DATABASE SYSTEM. TECHNOLOGIES: Oracle Database 11g Express Edition IS USED TO SUCESSFULLY DO THIS PROJECT. 7 | P a g e
  • 9. FUNCTIONAL REQUIREMENT PERTAINING TO USER: 8 | P a g e  INDIVIDUAL USER DETAILS  PEOBLEM LIST OF USER  COUNT OF SOLVE PROBLEMED PERTAINING TO MEMBER:  COMPLETE RECORD OF MENBER INDIVIDUAL ACTIVITY DETAILS PERTAINING TO PEOBLEM SOLVE:  COMPLETE RECORD OF PROBLEM SOLVED DETAILS PERTAINING TO LEVEL:  COMPLETE INFORMATION OF LEVEL PERTAINING TO CATAGEORY:  COMPLETE INFORMATION OF CATAGEORY PERTAINING TO PROBLEM SETTER:  COMPLETE INFORMATION OF PROBLEM SETTER
  • 10. 9 | P a g e DEF_LANGU AGE M_NAME JOIN_DATE M_ID MAMBER SOLVED PROBLEM P_ID PS_ID C_ID P_NAME VOLUME_ NO ASSINGED HAS PROBLEM_SETTER PROBLEM_SET CATAGORY PS_NAME PS_ID VOLUME _NO C_ID C_NAME
  • 11. MAPING MAMBER: PROBLEM: PROBLEM_SET: PROBLEM_SETTER: CATEGORY: MY_SUBMISSION: 10 | P a g e
  • 12. SCHEMA DIAGRAM: 11 | P a g e
  • 13. DESCRIPTION: 12 | P a g e
  • 14. TABLE MEMBER: PROBLEM: 13 | P a g e
  • 17. QUERY: 1. Show the info of member and problem whose problem is accepted = select M.M_ID, M.M_NAME, MS.P_ID, P.P_NAME FROM MAMBER M, MY_SUBMISSION MS, PROBLEM P where (M.M_ID = MS.M_ID) AND (MS.P_ID = P.P_ID) AND MS.STATUS = 1 2. Show the info of member and there problem number that they were failed to solved = select m.M_ID, m.m_name, count(ms.p_id) from mamber m, my_submission ms where (m.m_id = ms.m_id) and (ms.status = 0) GROUP BY m.M_ID, m.m_name 3. Find info of problem which problem is solved and checked by at last 3 member = select p.p_id, p.p_name from problem p, my_submission ms where (p.p_id = ms.p_id) and (ms.status = 1) group by p.p_id, p.p_name having count(ms.m_id) >=3 4. Find the problem setter and problem info which problem is not solved = select p.p_id, p.p_name, ps.ps_id, ps.ps_name from problem p, problem_setter ps, my_submission ms where (p.p_id = ms.p_id) and (p.ps_id = ps.ps_id) and (ms.status = 0) group by p.p_id, p.p_name, ps.ps_id, ps.ps_name 5. Find the info of the problems and volume number which is solved by java or C# = select p.p_id, p.p_name, v.VOLUME_NO from problem p, my_submission ms, problem_set v where (p.p_id = ms.p_id) and (v.VOLUME_NO = p.VOLUME_NO) and (ms.language = 'JAVA' or ms.language = 'C#') 16 | P a g e
  • 18. 6. Find the info of the member and count problem no who have solved 'NASHIA AHMED NABILA' problem = select m.m_id, m.m_name, count(ms.p_id) from mamber m, problem p, my_submission ms, problem_setter ps where (m.m_id = ms.m_id) and (ms.p_id = p.p_id) and (p.ps_id = ps.ps_id) and (ps.ps_name = 'NASHIA AHMED NABILA') group by m.m_id, m.m_name 7. Find the info of member who has successfully solved 'NASHIA AHMED NABILA''s problem. = select m.m_id, m.m_name from mamber m, problem p, my_submission ms, problem_setter ps where (m.m_id = ms.m_id) and (ms.p_id = p.p_id) and (ms.status = 1) and (p.ps_id = ps.ps_id) and (ps.ps_name = 'NASHIA AHMED NABILA') 8. Find the problem and problem setter info that member were failed to solved. = select ps.ps_id, ps.ps_name, p.p_id, p.p_name from problem_setter ps, my_submission ms, problem p where (ms.p_id = p.p_id) and (p.ps_id = ps.ps_id) and (ms.status = 0) 9. Find the info of problem and category that was unable to solve by member 'M1'. = select p.p_id, p.p_name, c.c_id, c.c_name from problem p, catagory c, my_submission ms where (ms.p_id = p.p_id) and (p.c_id = c.c_id) and (ms .status = 0) and (ms.m_id = 'M1') 10. Show the number of the problem of category 'C1'. = select count(p.p_id) from problem p, catagory c where (p.c_id = c.c_id) and (c.c_id = 'C1') 17 | P a g e
  • 19. VIEW 1. Show the info of member and problem whose problem is accepted. 2. Find the problem setter and problem info which problem is not solved. 3. Find the info of the problems and volume number which is solved by java or C#. 18 | P a g e
  • 20. 4. Find the info of member who has successfully solved 'NASHIA AHMED NABILA''s problem. 5. Find the problem and problem setter info that member were failed to solved. Conclusion: The Online Judge database management is beneficial for those who can easily judge himself/herself. The Judgment system create an opportunity for practice programming without facing problem. One’s can choose problem according his choice. Finally, it is real area to judge real programmer. 19 | P a g e