
































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































































Database design and development|
When submitting evidence for assessment, each student must sign a declaration confirming that the work is their own. Student Name Supriya Baniya Assessor Name Bikul Raj Koirala Issue Date 03 November 2022 Submission Date 31 December 2022 Programmer BTEC HND in Computing Unit Name Database Design & Development Assignment Title Vehicles Management System Plagiarism Plagiarism is a particular form of cheating. Plagiarism must be avoided at all costs and students who break the rules, however innocently, may be penalized. It is your responsibility to ensure that you understand correct referencing practices. As a university-level student, you are expected to use appropriate references throughout and keep carefully detailed notes of all your sources of materials for the material you have used in your work, including any material downloaded from the Internet. Please consult the relevant unit lecturer or your course tutor if you need any further advice. Student Declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student signature: Date: Pearson Education 2018 Higher Education Qualifications
You have been asked to produce a report for the CEO of the given company on the design of a database system. The report should contain a comprehensive design for a fully functional system, including interface and output designs, data validations and cover data normalization. It should have concise descriptions of user and system requirements and at least four related tables.
A database is a group of connected data that simulates a certain aspect of reality. The Database system has been created to be developed and filled with information for a specific activity. It is a structured collection of data that is often kept electronically in a computer system. A database is a set of data stored in a computer. This data is usually structured in a way that makes data easily accessible. A database management system (RDBMS) is a set of software and features that enables IT teams to design, maintain, & connect to relational databases. The majority of commercial database management systems use Structured Query Language (SQL) to access the database. SQL is not required for RDBMS use because it was created after the relational paradigm was first developed. (Chamberlin, 1976). Potential consumers outside the conventional fields in which such systems have been used are very interested in relational database systems. In applications like engineering design, office automation, and graphics, features of current relational systems include extensive query facilities, information, and resource independence (Roger L. Haskin IBM Research Laboratory et al., 1982).
(a) Hierarchical databases A hierarchical database is a data model in which the data are arranged in a tree-like form. Records containing the information are connected to one another through links. In a hierarchical model, data are viewed as a collection of tables, or tables that form a hierarchical relation.
(b) Network database Database that is arranged according to record ownership, allowing for various owners for the same record and therefore offering numerous access points to the data. The hierarchical database model was replaced by the network database model, which was created to address some of its shortcomings, particularly its lack of flexibility. (c) Object-oriented database The term "object-oriented databases" (OODB) refers to databases that store data as objects and classes. An object is a key item in an object-oriented language, while a class is a group of objects. The basic tenets of object-oriented programming are adhered to by object- oriented databases (OOP). (d) Relational database A relational database is a type of database that employs a structure that enables us to locate and retrieve data in connection to other database elements. Tables are frequently used in relational databases to arrange data. RDBMS allows us to create, edit, and manage relational databases. The SQL language is mostly used by relational database management systems to access databases.
o Each relation has a unique name by which it is identified in the database. o Relation does not contain duplicate tuples. o The tuples of a relation have no specific order.
It is frequently used across a broad range of industries including banking, transportation, higher education, human resources, manufacturing, and retail. Some of the characteristics are: ❖ Controls data redundancy ❖ Enforces user-defined rules ❖ Ensures data sharing ❖ It has automatic and intelligent backup and recovery procedure
Figure 1 : XAMPP Logo, visual studio, php my admin
An artificial language called a programming language is used to direct how a machine, especially a computer, behaves. Syntactic and semantic principles are used to design programming languages, just as human languages, to specify their structure and meaning, respectively. Programming languages are tools used by computer programmers to create software programs, scripts, and other sets of instructions for computers to follow. Some authors only consider a language to be a "programming language" if it can express every feasible algorithm; other times, the term "computer language" is used to refer to artificial languages with fewer capabilities. There are different types of programming languages they are: (a) MY SOL: Based on structured query language, MySQL is a relational database management system (RDBMS) created by Oracle (SQL). One of the most well-known RDBMS software brands is MySQL, which uses a client-server architecture. MySQL is a tool used to manage databases and servers, so while it’s not a database, it’s widely used in relation to managing and organizing data (B., 2022).
Figure 2 : MY SQL Logo (b) HTML: The structure of web pages is specified by the markup language HTML, or Hypertext Markup Language. It is essential to learn if you want to pursue a career in web development because it is one of the most fundamental building elements of every website. Figure 3 : HTML Logo (c) CSS: The language used to describe how Web pages are presented, including their colors, design, and fonts, is called CSS. It enables the presentation to be adjusted for use on many sorts of devices, including printers, tiny displays, and huge screens. CSS may be used with any XML-based markup language and is not dependent on HTML. CSS Syntax : h1 { color: red; font-size: 5em; }
(b) RELATIONAL Diagram: Relational datasets—datasets in which each individual is characterized by both their own qualities and their relationships to other individual people from a wide range of sources, including relational and object-oriented databases, knowledge bases, and software models like UML class diagrams (Huchard et al., 2007). (c) Attributes A property or characteristic of an entity. Often shown as an oval or circle. Attributes are categorized as simple, composite, derived, as well as single-value or multi-value. It belongs to the entity, in other terms. Attributes act as a representation of the most important database information. Figure 6 : ER DIAGRAM The ER diagram shown above illustrates the connection between the entity sets. An entity set is a group of similar entities that share attributes. By showing the relationship between the tables and
attributes and, in terms of DBMS, an entity set is a table in the database, the ER diagram illustrates the whole logical structure of the database. In the above diagram, we have 5 entities (branch, vehicle, employee, customers and colors) which has their own relationships. Each entity contains multiple attributes. The relationship between vehicle and color is many-to-many because many suppliers can use different colors. Hence, the ER diagram shows the logical flow or the structure of an Inventory Management System. In the above designed ER diagram, the Customer entity where it has all the information required of a customer like, Name, Address, Number can be saved. In the entity vechicle, the detail of vehicle which is placed by customer such as vech_id , vech_number and total amount can be saved.
The process of graphically displaying a system's primary players, functions, activities, objects, or classes in order to better comprehend, modify, preserve, or record information about the system. Today, UML diagrams are also utilized for project and process management. It supports the creation, construction, and documentation of new software systems and designs by software engineers. A UML diagram is most frequently used to prioritize software development, assess current software, and model new software. Simply defined, a UML diagram is quite beneficial if you need a way to visualize and organize your software development process (MiroBlog, 2022). (a) Class diagram The class diagram is a UML diagram that can be directly mapped with object-oriented languages. It represents the static view of an application. Because they are the only UML diagrams that can directly map with OO languages, class diagrams are frequently employed in the modeling of systems. (Herchi & Abdessalem, 2012). (i) Purpose of Class Diagrams
Figure 8 : ACTIVITY DIAGRAM (c) Schema diagram A schema diagram is a visual representation of the elements and attributes that make up the schema. The database design is only visible in a schema diagram. The database's real data is not displayed. The schema may consist of only one table or may have several connected tables. A database schema, along with primary key and foreign key dependencies, can be depicted by schema diagrams (padakuu.com, n.d.).
Figure 9 : SCHEMA DIAGRAM The schema diagram for the Toyota company is shown in the picture. Each relation is shown as a box, with the relation name in blue at the top and the characteristics listed inside. The highlighted primary key properties are displayed. Foreign key dependencies show up as arrows connecting the main key of the referred relation to the foreign key properties of the referring relation.
Data validation is the process of making sure that data has been cleaned up to ensure data quality, which means that they are accurate and valuable. Whether you're collecting data on the field, analyzing the data, or getting ready to deliver the data to stakeholders, data validation is an important factor of every data handling process. Your results won't be accurate if your data is inaccurate from the start. For this reason, data must be verified and validated before use (Kupzyk & Cohen, 2014).
Normalization or database normalization is the process of structuring a relational database in accordance with a series of so-called normal forms in order to reduce data redundancy and improve data integrity. It may have the effect of duplicating data within the database and often results in the creation of additional tables for each row or column. (Rouse & Vaughan, 2019). Some of the benefits of normalization are:
Anurag [email protected] 9875838972 Bhaktapur 04/16/202 1 Toyota 86 black Crete [email protected] 9874638923 Chitwan 07/22/2022 Avalon Red Yubraj [email protected] 9867224562 Pokhara 04/16/2021 Toyota 86 silver Tenisha [email protected] 9846512523 Palpa 02/30/2020 Corolla/ Avalon blue/ White Ruhan [email protected] 9811565321 9845625251 9811565321 Kathmandu 08/13/202 1 03/02/ 06/02/