SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
AMERICAN INTERNATIONAL UNIVERSITY-BANGLADESH (AIUB)
Online Judge Database
DATABASEPROJECT
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& SUBMITTEDBY
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:
NASHIAAHMEDNABILA
2 | P a g e
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.
3 | P a g e
ACKNOWLEDGEMENT
FIRSTAND FOREMOST, WEWOULD LIKETO THANK OUR COURSE INSTEUCTOR
OF THIS INTRODUCTION TO DATABASE COURSE TEACHER NASHIA AHMED
NABILA FORTHE VALUABLEGUIDANCEAND ADVICE.SHEINSPIRED 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, ANHONORABLEMENTIONGOES 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.
4 | 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
PROBLEMANALYSIS -------------------------------------------------------------------------------- 07
FUNCTION REQUIREMEMT -------------------------------------------------------------------------------- 08
ER-DIAGRAM -------------------------------------------------------------------------------- 09
MAPING -------------------------------------------------------------------------------- 10
SCHEMA DIAGRAM ---------------------------------------------------------------------------------11
DESCRIPTION --------------------------------------------------------------------------------- 12
TABLE ---------------------------------------------------------------------------------- 13
QUERY ----------------------------------------------------------------------------------16
VIEW --------------------------------------------------------------------------------- 18
CONCLUSION ---------------------------------------------------------------------------------- 19
5 | 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.
6 | P a g e
PREVIOUS SYSTEM
PREVIOUS SYSTEMREQUIREHUMANINTERFACRFORJUDGEING THE
PROBLEMS. ITIS ALMOSTIMPOSSIBLETO CHECK MILLIONS OF PROBLEMBY
HUMAN. BUT THIS ADVANCED DATABASESYSTEMCHANGES EVERYTHING. IT
CAN CHECK MILLIONS OF PROBLEMS WITHINFEW MOMENTS.
IDENTIFICATION NEED
ONLINEJUDGE DATABASESYSTEM IS USETO STOREINFORMATIONABOUT
MILLIONS OF USER, PROBLEMS, PROBLEMSETTER, AND STATUS OF
SUBMITTED PROBLEMAND MOST IMPORTANTLYARRANGEPROGRAMMING
CONTAST. THIS KIND OF DATABASENOW MOSTLYNEEDED FORMAKING OUR
LIFEEASIER.
DEVELOPED SYSTEM
THIS DATABASESYSTEMARE ABLE TO KEEP ALL USERS, PROBLEMS, PROBLEM
SETTER, AND MOSTIMPORTANTLYIT’S CONTAINS HUGECOMPILERWHICH
CAN USED MULTIPLEPROGRAMMING LANGUAGEAND its TASKING CAPACITY
24×365.
7 | P a g e
PROBLEM ANALYSIS
PROBLEM STATEMENT:
THE OBJECTIVEOF THIS PORJECTIS TO
REDESIGNAND DEVELOP ONLINEJUDGEMANAGEMENT
DATABASESYSTEM.
TECHNOLOGIES:
Oracle Database11g Express Edition IS USED TO SUCESSFULLYDO THIS
PROJECT.
8 | P a g e
FUNCTIONAL REQUIREMENT
PERTAINING TO USER:
 INDIVIDUAL USERDETAILS
 PEOBLEMLISTOF USER
 COUNT OF SOLVEPROBLEMED
PERTAINING TO MEMBER:
 COMPLETERECORD OF MENBER INDIVIDUAL
ACTIVITYDETAILS
PERTAINING TO PEOBLEM SOLVE:
 COMPLETERECORD OF PROBLEMSOLVED DETAILS
PERTAINING TO LEVEL:
 COMPLETEINFORMATIONOF LEVEL
PERTAINING TO CATAGEORY:
 COMPLETEINFORMATIONOF CATAGEORY
PERTAINING TO PROBLEM SETTER:
 COMPLETEINFORMATIONOF PROBLEMSETTER
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
10 | P a g e
MAPING
MAMBER:
PROBLEM:
PROBLEM_SET:
PROBLEM_SETTER:
CATEGORY:
MY_SUBMISSION:
11 | P a g e
SCHEMA DIAGRAM:
12 | P a g e
DESCRIPTION:
13 | P a g e
TABLE
MEMBER:
PROBLEM:
14 | P a g e
PROBLEM_SET:
PROBLEM_SETTER:
CATEGORY:
15 | P a g e
MY_SUBMISSION:
16 | 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#')
17 | 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')
18 | P a g e
VIEW
1. Show the info of member and problem whoseproblem 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#.
19 | P a g e
4. Find the info of member who has successfully solved 'NASHIA AHMED
NABILA''s problem.
5. Find the problem and problemsetter 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.

Mais conteúdo relacionado

Semelhante a Database project

Comparison of SSADM and XP using NIMSAD framework
Comparison of SSADM and XP using NIMSAD frameworkComparison of SSADM and XP using NIMSAD framework
Comparison of SSADM and XP using NIMSAD frameworkWael Almadhoun, MSc, PMP®
 
A random decision tree frameworkfor privacy preserving data mining
A random decision tree frameworkfor privacy preserving data miningA random decision tree frameworkfor privacy preserving data mining
A random decision tree frameworkfor privacy preserving data miningVenkat Projects
 
A random decision tree frameworkfor privacy preserving data mining
A random decision tree frameworkfor privacy preserving data miningA random decision tree frameworkfor privacy preserving data mining
A random decision tree frameworkfor privacy preserving data miningVenkat Projects
 
03 Analyzing The Problem
03 Analyzing The Problem03 Analyzing The Problem
03 Analyzing The ProblemSandeep Ganji
 
Data mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, ClassificationData mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, ClassificationDr. Abdul Ahad Abro
 
IRJET- Improving the Performance of Smart Heterogeneous Big Data
IRJET- Improving the Performance of Smart Heterogeneous Big DataIRJET- Improving the Performance of Smart Heterogeneous Big Data
IRJET- Improving the Performance of Smart Heterogeneous Big DataIRJET Journal
 
Bca2020 data structure and algorithm
Bca2020   data structure and algorithmBca2020   data structure and algorithm
Bca2020 data structure and algorithmsmumbahelp
 
Introduction to Datamining Concept and Techniques
Introduction to Datamining Concept and TechniquesIntroduction to Datamining Concept and Techniques
Introduction to Datamining Concept and TechniquesSơn Còm Nhom
 
Tasks In this assignment you are required to design and imp.pdf
Tasks In this assignment you are required to design and imp.pdfTasks In this assignment you are required to design and imp.pdf
Tasks In this assignment you are required to design and imp.pdfacsmadurai
 
IRJET- Big Data and Bayes Theorem used Analyze the Student’s Performance in E...
IRJET- Big Data and Bayes Theorem used Analyze the Student’s Performance in E...IRJET- Big Data and Bayes Theorem used Analyze the Student’s Performance in E...
IRJET- Big Data and Bayes Theorem used Analyze the Student’s Performance in E...IRJET Journal
 
IRJET- Analysis of Music Recommendation System using Machine Learning Alg...
IRJET-  	  Analysis of Music Recommendation System using Machine Learning Alg...IRJET-  	  Analysis of Music Recommendation System using Machine Learning Alg...
IRJET- Analysis of Music Recommendation System using Machine Learning Alg...IRJET Journal
 
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...wajrcs
 
Business analytics Project.docx
Business analytics Project.docxBusiness analytics Project.docx
Business analytics Project.docxkushi62
 
Recommending Movies Using Neo4j
Recommending Movies Using Neo4j Recommending Movies Using Neo4j
Recommending Movies Using Neo4j Ilias Katsabalos
 
IMPROVING QUALITY OF FEEDBACK MECHANISM IN UN BY USING DATA MINING TECHNIQUES
IMPROVING QUALITY OF FEEDBACK MECHANISM IN UN BY USING DATA MINING TECHNIQUESIMPROVING QUALITY OF FEEDBACK MECHANISM IN UN BY USING DATA MINING TECHNIQUES
IMPROVING QUALITY OF FEEDBACK MECHANISM IN UN BY USING DATA MINING TECHNIQUESijscmcj
 

Semelhante a Database project (20)

Comparison of SSADM and XP using NIMSAD framework
Comparison of SSADM and XP using NIMSAD frameworkComparison of SSADM and XP using NIMSAD framework
Comparison of SSADM and XP using NIMSAD framework
 
Leip103
Leip103Leip103
Leip103
 
A random decision tree frameworkfor privacy preserving data mining
A random decision tree frameworkfor privacy preserving data miningA random decision tree frameworkfor privacy preserving data mining
A random decision tree frameworkfor privacy preserving data mining
 
A random decision tree frameworkfor privacy preserving data mining
A random decision tree frameworkfor privacy preserving data miningA random decision tree frameworkfor privacy preserving data mining
A random decision tree frameworkfor privacy preserving data mining
 
03 Analyzing The Problem
03 Analyzing The Problem03 Analyzing The Problem
03 Analyzing The Problem
 
Benchmarking_ML_Tools
Benchmarking_ML_ToolsBenchmarking_ML_Tools
Benchmarking_ML_Tools
 
Data mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, ClassificationData mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, Classification
 
IRJET- Improving the Performance of Smart Heterogeneous Big Data
IRJET- Improving the Performance of Smart Heterogeneous Big DataIRJET- Improving the Performance of Smart Heterogeneous Big Data
IRJET- Improving the Performance of Smart Heterogeneous Big Data
 
Bca2020 data structure and algorithm
Bca2020   data structure and algorithmBca2020   data structure and algorithm
Bca2020 data structure and algorithm
 
Introduction to Datamining Concept and Techniques
Introduction to Datamining Concept and TechniquesIntroduction to Datamining Concept and Techniques
Introduction to Datamining Concept and Techniques
 
Tasks In this assignment you are required to design and imp.pdf
Tasks In this assignment you are required to design and imp.pdfTasks In this assignment you are required to design and imp.pdf
Tasks In this assignment you are required to design and imp.pdf
 
IRJET- Big Data and Bayes Theorem used Analyze the Student’s Performance in E...
IRJET- Big Data and Bayes Theorem used Analyze the Student’s Performance in E...IRJET- Big Data and Bayes Theorem used Analyze the Student’s Performance in E...
IRJET- Big Data and Bayes Theorem used Analyze the Student’s Performance in E...
 
IRJET- Analysis of Music Recommendation System using Machine Learning Alg...
IRJET-  	  Analysis of Music Recommendation System using Machine Learning Alg...IRJET-  	  Analysis of Music Recommendation System using Machine Learning Alg...
IRJET- Analysis of Music Recommendation System using Machine Learning Alg...
 
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...
 
SQL
SQLSQL
SQL
 
SQL
SQL SQL
SQL
 
Business analytics Project.docx
Business analytics Project.docxBusiness analytics Project.docx
Business analytics Project.docx
 
Deep learning
Deep learningDeep learning
Deep learning
 
Recommending Movies Using Neo4j
Recommending Movies Using Neo4j Recommending Movies Using Neo4j
Recommending Movies Using Neo4j
 
IMPROVING QUALITY OF FEEDBACK MECHANISM IN UN BY USING DATA MINING TECHNIQUES
IMPROVING QUALITY OF FEEDBACK MECHANISM IN UN BY USING DATA MINING TECHNIQUESIMPROVING QUALITY OF FEEDBACK MECHANISM IN UN BY USING DATA MINING TECHNIQUES
IMPROVING QUALITY OF FEEDBACK MECHANISM IN UN BY USING DATA MINING TECHNIQUES
 

Último

React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...Karmanjay Verma
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialJoão Esperancinha
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxAna-Maria Mihalceanu
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...itnewsafrica
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Mark Simos
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFMichael Gough
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Karmanjay Verma
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 

Último (20)

React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorial
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance Toolbox
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDF
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 

Database project

  • 1. AMERICAN INTERNATIONAL UNIVERSITY-BANGLADESH (AIUB) Online Judge Database DATABASEPROJECT 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& SUBMITTEDBY 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: NASHIAAHMEDNABILA
  • 3. 2 | P a g e 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.
  • 4. 3 | P a g e ACKNOWLEDGEMENT FIRSTAND FOREMOST, WEWOULD LIKETO THANK OUR COURSE INSTEUCTOR OF THIS INTRODUCTION TO DATABASE COURSE TEACHER NASHIA AHMED NABILA FORTHE VALUABLEGUIDANCEAND ADVICE.SHEINSPIRED 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, ANHONORABLEMENTIONGOES 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.
  • 5. 4 | 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 PROBLEMANALYSIS -------------------------------------------------------------------------------- 07 FUNCTION REQUIREMEMT -------------------------------------------------------------------------------- 08 ER-DIAGRAM -------------------------------------------------------------------------------- 09 MAPING -------------------------------------------------------------------------------- 10 SCHEMA DIAGRAM ---------------------------------------------------------------------------------11 DESCRIPTION --------------------------------------------------------------------------------- 12 TABLE ---------------------------------------------------------------------------------- 13 QUERY ----------------------------------------------------------------------------------16 VIEW --------------------------------------------------------------------------------- 18 CONCLUSION ---------------------------------------------------------------------------------- 19
  • 6. 5 | 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.
  • 7. 6 | P a g e PREVIOUS SYSTEM PREVIOUS SYSTEMREQUIREHUMANINTERFACRFORJUDGEING THE PROBLEMS. ITIS ALMOSTIMPOSSIBLETO CHECK MILLIONS OF PROBLEMBY HUMAN. BUT THIS ADVANCED DATABASESYSTEMCHANGES EVERYTHING. IT CAN CHECK MILLIONS OF PROBLEMS WITHINFEW MOMENTS. IDENTIFICATION NEED ONLINEJUDGE DATABASESYSTEM IS USETO STOREINFORMATIONABOUT MILLIONS OF USER, PROBLEMS, PROBLEMSETTER, AND STATUS OF SUBMITTED PROBLEMAND MOST IMPORTANTLYARRANGEPROGRAMMING CONTAST. THIS KIND OF DATABASENOW MOSTLYNEEDED FORMAKING OUR LIFEEASIER. DEVELOPED SYSTEM THIS DATABASESYSTEMARE ABLE TO KEEP ALL USERS, PROBLEMS, PROBLEM SETTER, AND MOSTIMPORTANTLYIT’S CONTAINS HUGECOMPILERWHICH CAN USED MULTIPLEPROGRAMMING LANGUAGEAND its TASKING CAPACITY 24×365.
  • 8. 7 | P a g e PROBLEM ANALYSIS PROBLEM STATEMENT: THE OBJECTIVEOF THIS PORJECTIS TO REDESIGNAND DEVELOP ONLINEJUDGEMANAGEMENT DATABASESYSTEM. TECHNOLOGIES: Oracle Database11g Express Edition IS USED TO SUCESSFULLYDO THIS PROJECT.
  • 9. 8 | P a g e FUNCTIONAL REQUIREMENT PERTAINING TO USER:  INDIVIDUAL USERDETAILS  PEOBLEMLISTOF USER  COUNT OF SOLVEPROBLEMED PERTAINING TO MEMBER:  COMPLETERECORD OF MENBER INDIVIDUAL ACTIVITYDETAILS PERTAINING TO PEOBLEM SOLVE:  COMPLETERECORD OF PROBLEMSOLVED DETAILS PERTAINING TO LEVEL:  COMPLETEINFORMATIONOF LEVEL PERTAINING TO CATAGEORY:  COMPLETEINFORMATIONOF CATAGEORY PERTAINING TO PROBLEM SETTER:  COMPLETEINFORMATIONOF PROBLEMSETTER
  • 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. 10 | P a g e MAPING MAMBER: PROBLEM: PROBLEM_SET: PROBLEM_SETTER: CATEGORY: MY_SUBMISSION:
  • 12. 11 | P a g e SCHEMA DIAGRAM:
  • 13. 12 | P a g e DESCRIPTION:
  • 14. 13 | P a g e TABLE MEMBER: PROBLEM:
  • 15. 14 | P a g e PROBLEM_SET: PROBLEM_SETTER: CATEGORY:
  • 16. 15 | P a g e MY_SUBMISSION:
  • 17. 16 | 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#')
  • 18. 17 | 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')
  • 19. 18 | P a g e VIEW 1. Show the info of member and problem whoseproblem 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#.
  • 20. 19 | P a g e 4. Find the info of member who has successfully solved 'NASHIA AHMED NABILA''s problem. 5. Find the problem and problemsetter 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.