Essentials of MIS (12th Edition)
Essentials of MIS (12th Edition)
12th Edition
ISBN: 9780134238241
Author: Kenneth C. Laudon, Jane P. Laudon
Publisher: PEARSON
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 6, Problem 1RQ

Explanation of Solution

Database:

Database is the organized collection of associated data elements which is used to have the record the things or items of interest.

  • It is often defined as the structure to hold the data.
  • It contains the elements like schemas, views, tables (which are linked through foreign keys), queries and many other elements.
  • Database and database management are interdependent.

Entity:

The basic block for building the data collected about person, place, event, or thing is called as entity.

  • Entities denote attributes that can have many instances.
  • Entity is about the gathering of the information about the place, person, or thing. For example: a patient, a musician, and so on.
  • To locate the information in the entity, they have a name, short description about what they are and identifier.
  • Identifiers are used to find each and every specific instance of an entity.
  • So, it is the purpose of having identifiers with unique values.

Example:

The example of an entity is given below:

  • STUDENT – the student is the person name that collects the details of student information. So the STUDENT acts as the entity.
  • EMPLOYEE - the employee is the person name that collects the details of employee information. So the EMPLOYEE acts as the entity.

Attribute:

  • The data are organized in tables, which consist of rows and columns is called as attributes.
    • A data in a row or column of a table are called fields.
    • In a database table, column fields are also referred as attributes of a database object.
  • For example: In a customer table, “cust_id”, “cust_name”, “cust_addr” and “mobile_no” are the attributes.

Field:

  • Relational database is a database, which organizes data according to the relational model as table and table consists of rows and columns.
    • The table is also called data file.
    • Group of related row is called record which is also called database object or entity.
    • Often, the group of related column is called field.
    • Group of records is called table.

Relational database:

  • Relational database is a set of multiple data organized by tables, records, and columns and it creates the relationship between the database tables.
  • The individual value in table provides the link from one table to another.

Storage of data in relational database:

  • Relational database is a database which organizes data according to the relational model as table and table consists of rows and columns.
    • A data in a row or column of a table is called fields.
    • Fields in a database table are also referred as attributes of a database object.
      • Group of related fields is called record which is also called database object or entity.
      • Group of records are called table
  • Storing data in relational database offers the following advantages:
    • The data stored in this can be retrieved quickly and easily by the computer.
    • The data stored in relational database can be displayed in any order.
      • For example, to get information about songs from a music CD, the information about a particular artist, songs, and song title can be displayed individually in any order.

Role of Entity-relationship diagram in database:

An entity-relationship diagram represents the important elements of database in a graphical form.

  • Entity-relationship (ER) diagram is the technique used to design the relational database.
  • ER diagram is useful to create the data model, which serves business process. Additionally, the diagram ensures whether data is accurate, well-formed and easy for retrieval.
  • An Entity-relationship diagram is represented in the graphical form that shows only important elements such as:
    • Record types
    • Attributes
    • Relationship between entities
  • For example, consider the following diagram:
    • The rectangular box represents the entities such as Customer and Account.
    • The oval symbol represents the attributes such as Firstname, Customer _id, Address, Username and Password.
    • The diamond symbol represents the relationship between two entities.
      • Here, it shows the one-to-one relationship between the Customer and Account.
        • The relationship shows that one customer is allowed to access the one account.

Essentials of MIS (12th Edition), Chapter 6, Problem 1RQ

Role of normalization in database:

Normalization is a process of dividing the tables by more than one idea into set of tables such that each and every table contains only one idea.

Nature and purpose of normalization process in database:

The nature and purpose of normalization process in database is given below:

  • The normalization process helps to minimize the data redundancy and dependency in database.
  • It is a method to remove all inconsistencies and bring the database to consistent state.

The normalization process obeys the following rules.

  • Select the source of data and transform into an unnormalized table (UNF).
  • Convert the unnormalized table into first normal form (1NF).
  • Convert the first normal form data into second normal form (2NF).
  • Convert the second normal form data into third normal form (3NF).

In some cases, the data in third normal form may be inconsistencies state. For this case, we may perform the following transformations. There are,

  • Convert the third normal form data into Boyce-Codd normal form (BCNF).
  • Convert the Boyce-Codd normal form data into fourth normal form (4NF).
  • Convert fourth normal form data into fifth normal form (5NF).

Non-relational database management system:

  • A non-relational database gives a mechanism for storing and recovery of data that is modeled in means other than the tabular relationships used in relational databases.
  • The non-relational databases are gradually used in big data and real time web applications.

Difference between relational DBMS and non-relational DBMS:

Relational DBMSNon-relational DBMS
The relational DBMS works with structured data.The non-relational DBMS works with semi-structured data.
It supports joins.It does not contain join, so it will work fast.
The relationship in RDBMS via constraints.It supports documents with different fields.
It is built-in data integrity.Huge data stores

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Add a timer in the following code. public class GameGUI extends JPanel {    private final Labyrinth labyrinth;    private final Player player;    private final Dragon dragon;    private Timer timer;    private long elapsedTime;  public GameGUI(Labyrinth labyrinth, Player player, Dragon dragon) {        this.labyrinth = labyrinth;        this.player = player;        this.dragon = dragon;        String playerName = JOptionPane.showInputDialog("Enter your name:");        player.setName(playerName);        elapsedTime = 0;        timer = new Timer(1000, e -> {            elapsedTime++;            repaint();        });        timer.start(); }    @Override    protected void paintComponent(Graphics g) {        super.paintComponent(g);        int cellSize = Math.min(getWidth() / labyrinth.getSize(), getHeight() / labyrinth.getSize());}
Change the following code so that when player wins the game, the game continues by creating new GameGUI with the same player. However the player's starting position is same, everything else should be reseted. public static void main(String[] args) {        Labyrinth labyrinth = new Labyrinth(10);        Player player = new Player(9, 0);        Random rand = new Random();        Dragon dragon = new Dragon(rand.nextInt(10), 9);        JFrame frame = new JFrame("Labyrinth Game");        GameGUI gui = new GameGUI(labyrinth, player, dragon);         frame.setLayout(new BorderLayout());        frame.setSize(600, 600);        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);        frame.add(gui, BorderLayout.CENTER);        frame.pack();        frame.setResizable(false);        frame.setVisible(true);    } public class GameGUI extends JPanel {    private final Labyrinth labyrinth;    private final Player player;    private final Dragon dragon;    private Timer timer;    private long…
Create a menu item which restarts the game. Also add a timer, which counts the elapsed time since the start of the game level. When the restart is pressed, the restarted game should ask the player' name  (in the GameGUI constructor) and set the score of player to 0 (player.setScore(0)), and the timer should restart again. And create a logic so that if the player loses his life (checkGame if the condition is false), then save this number together with his name into two variables. And display two buttons where one quits the game altogether (System.exit(0)) and the other restarts the game. public class GameGUI extends JPanel {    private final Labyrinth labyrinth;    private final Player player;    private final Dragon dragon;     private final ImageIcon playerIcon = new ImageIcon("data/images/player.png");    private final ImageIcon dragonIcon = new ImageIcon("data/images/dragon.png");    private final ImageIcon wallIcon = new ImageIcon("data/images/wall.png");    private final ImageIcon…
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education