Tenhagen_7-2_Activity

docx

School

Southern New Hampshire University *

*We aren’t endorsed by this school

Course

510

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

4

Uploaded by SargentGuanacoMaster291

Report
Ted Tenhagen IT-510-Q2517 7-2 Homework Activity 1/28/2024
2.) What is a DBMS? Briefly describe the components of a DBMS. A DBMS is commonly known as a Database Management System. It can be defined as a collection of tools, features, and interfaces that enable users to add, update, manage, access, and analyze data (Tilley and Rosenblatt, 2017). Components: - Interfaces for Users, Database Administrators, and Related Systems: Users typically work with predefined queries and switchboard commands but also use query languages to access stored data (Tilley and Rosenblatt, 2017). Database Administrators are responsible for DBMS management and support. DBAs are concerned with data security and integrity, preventing unauthorized access, providing backup and recovery, audity trails, maintaining the database, and supporting user needs (Tilley and Rosenblatt, 2017). Related Information Systems are defined as a DBMS that can support sdeveral related information syustems that provide input to, and require specific data from, the DMBS. Unlike a user interface, no human intervention is required for two-way communications between the DBMS and teh related systems (Tilley and Rosenblatt, 2017). - Data Manipulation Language: A DML controls database operations, including storing, retrieving, updating, and deleting data. Most commercial DBMSs, like Oracle and DB2, use a DML (Tilley and Rosenblatt, 2017). - Schema: A schema is the complete definition of a database, including descriptions of all fields, tables, and relationships. Subschemas can also be used and defined as a view of the database used by one or more systems or users. They also define only those portions of the database that a particular system or user needs os is allowed access to (Tilley and Rosenblatt, 2017).
- Physical Data Repository: A physical data repository is a transformed data dictionary. It can also include schemas and subschemas and can be either centeralized or distributed at several locations (Tilley and Rosenblatt, 2017). 3.) Describe a primary key, candidate key, secondary key, foreign key, and a combination key. Use your imagination to provide an example of each key that is not in the textbook. Primary Key: A primary key is defined as a field or combination of fields that uniquely and minimally identifies a particular member of an entity (Tilley and Rosenblatt, 2017). Example: technician id for an auto repair company’s repairs table Candidate Key: A candidate key is defined as any field that can be used as a primary key(Tilley and Rosenblatt, 2017). It has to be unique to a single person or item to qualify for this. Example: tech id, customer number, and repair number Secondary Key: A secondary key is defined as a field or combination of fields that cna be sussed to access or retrieve records. These values are not unique to a single item or person (Tilley and Rosenblatt, 2017). Example: technician number and repair number to determine the client’s information Foreign Key: A foreign key is defined as a field in one table that must match a primary key value in another table in order to establish the relationship between the two tables (Tilley and Rosenblatt, 2017). Example: technician id in the repair history table, showing which tech performed a repair for a certain client’s car even though there can be multiple techs on a single repair number. Combination Key: A combination key is when a primary key must be made up of two or more not unique fields in a table to create a new unique identifier.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Example: house number and street name in an client table, creating a unique address for the client 4.) What entity-relationship diagrams and how are they used? What symbol is used for a relationship? What is an associative entity? Provide an example. An entity-relationship diagram is a model that shows logical relationships and interaction among system entities, providing an overall view of the system and a blueprint for creating the physical data structures (Tilley and Rosenblatt, 2017). To show a relationship between entities, a diamond is used and sometimes has the details of the relationship enclosed within. Other times, the relationship symbol is a solid color without any detail. An associative entity is when a many to many relationship takes place in an ERD (Tilley and Rosenblatt, 2017). These have their own properties that are different than one to one relationships and 1 to many relationships. An example of this would be assigning user acces to different tables and databases in an organization. Source Tilley, Scott, and Harry J. Rosenblatt. “Chapter 9.” Systems Analysis and Design , Cengage Learning, Boston, 2017.