Principles of Information Systems (MindTap Course List)
13th Edition
ISBN: 9781305971776
Author: Ralph Stair, George Reynolds
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Concept explainers
Expert Solution & Answer
Chapter 5, Problem 1SAT
Program Description Answer
A key which is used to identify the field or set in a
Hence, the answer is option “D”.
Expert Solution & Answer
Explanation of Solution
Primary key:
- To identify each record in a table, at least there must be one data field which should be unique. That is, corresponding data field of every record should be unique. It is called a primary key.
- Primary key is used to identify the unique record from a collection of records.
- To relate two tables, a primary key field in one table is added to the related table, and it is called as a foreign key.
Explanation for incorrect options:
Attribute:
- It is a property of an entity.
- It has the information about the entity and this information is captured within the attribute.
- For example, “name”, “address”, and “contact_number” are used to define the attribute about the customer.
Hence, the option “A” is wrong.
Data item:
- Data item describes the particular object of the table.
- The collection of data item in the same object may consider as row in a table.
Hence, the option “B” is wrong.
Record:
- Record is an element which is present in the database.
- The row of the table also known as record.
Hence, the option “C” is wrong.
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
What are the four basic types of operations for a database application?
a. Insert, Select, Update, and Delete
b. Insert, Update, Delete, and Create
c. Insert, Update, Delete, and Render
d. Insert, Select, Update, and Render
If stringa="Good Morning", what is the value of stringa[1:5]?
a. "Good "
b. "ood "
c. "Good"
d. "ood M"
The instance that “a survey respondent in service occupation (x) is less likely to report income ” is an example of __________ .
a. Missing completely at random.
b. Missing at random.
c. Missing not at random.
d. None of the above.
create a new database (named MyUniversity), the creation (using the CREATE command) shouldbe done once. The database is now created and saved locally on your computer. When you close the workbench and reopen it again, no need to re-run this CREATE command again (the compiler will give you an error, as the database you would like to create was already created)
Task Description: consider the following relations for a university:
Student (sid: integer, sname: string(100 chars), GPA: real, dateOfBirth: date, Did: integer, FirstYear: integer)
Department (did: integer, dname: string(30 chars), capacity: integer)
Course (cid: integer, cname: string(50 chars), credit: integer)
Enroll (studentID: integer, courseID: integer, departmentID: integer, enrollmentDate: date, finalGrade: real)
studentID, courseID, and departmentID in Enroll are foreign keys referencing the primary keys of the student, course, and department relations, respectively. Did in Student is a foreign key referencing the…
Create new class DbConn containing a connection string and a single function to insert,update and delete records. It takes query as input and return boolean.• Error correction in search and update records.• Create another function in DbConn to search records that returns the ResultSet.
Chapter 5 Solutions
Principles of Information Systems (MindTap Course List)
Ch. 5.1 - Prob. 1RQCh. 5.1 - Which attribute would you designate as the primary...Ch. 5.1 - Prob. 1CTQCh. 5.1 - Prob. 2CTQCh. 5.2 - Prob. 1RQCh. 5.2 - Prob. 2RQCh. 5.2 - Prob. 1CTQCh. 5.2 - Prob. 2CTQCh. 5.3 - Prob. 1RQCh. 5.3 - Prob. 2RQ
Ch. 5.3 - What additional questions need to be answered...Ch. 5.3 - Prob. 2CTQCh. 5.4 - Prob. 1RQCh. 5.4 - Telefonica Brasil is one of the largest...Ch. 5.4 - Prob. 1CTQCh. 5.4 - Prob. 2CTQCh. 5.5 - Prob. 1RQCh. 5.5 - Prob. 2RQCh. 5.5 - Why is it unlikely that a traditional SQL database...Ch. 5.5 - Prob. 2CTQCh. 5 - Prob. 1SATCh. 5 - Prob. 2SATCh. 5 - Prob. 3SATCh. 5 - The ______________ model is a simple but highly...Ch. 5 - The ability to combine two or more tables through...Ch. 5 - Prob. 6SATCh. 5 - Prob. 7SATCh. 5 - Prob. 8SATCh. 5 - Prob. 9SATCh. 5 - Prob. 10SATCh. 5 - Prob. 11SATCh. 5 - Prob. 12SATCh. 5 - Prob. 13SATCh. 5 - Prob. 14SATCh. 5 - Prob. 15SATCh. 5 - Prob. 16SATCh. 5 - Prob. 1RQCh. 5 - In the hierarchy of data, what is the difference...Ch. 5 - Prob. 3RQCh. 5 - What is meant by data archiving? Why is this an...Ch. 5 - What is an entity-relationship diagram, and what...Ch. 5 - Identify four basic data manipulations performed...Ch. 5 - Prob. 7RQCh. 5 - Prob. 8RQCh. 5 - Prob. 9RQCh. 5 - Prob. 10RQCh. 5 - Prob. 11RQCh. 5 - Prob. 12RQCh. 5 - Prob. 13RQCh. 5 - Prob. 14RQCh. 5 - Prob. 15RQCh. 5 - Prob. 16RQCh. 5 - Prob. 17RQCh. 5 - Prob. 1DQCh. 5 - Outline some specific steps an organization might...Ch. 5 - SQL databases conform to ACID properties. Briefly...Ch. 5 - Prob. 4DQCh. 5 - Prob. 6DQCh. 5 - Prob. 8DQCh. 5 - Prob. 1PSECh. 5 - Describe the role of a database administrator....Ch. 5 - Prob. 2CECh. 5 - Prob. 1CTQ1Ch. 5 - Prob. 2CTQ1Ch. 5 - Prob. 3CTQ1Ch. 5 - Prob. 1CTQ2Ch. 5 - Prob. 2CTQ2Ch. 5 - Prob. 3CTQ2
Knowledge Booster
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
- Which of the keys below are not supported by a relational database? a. Foreign keys b. Composite keys c. Dynamic keys d. Primary keysarrow_forwardCreate a new database (named MyUniversity) Student (sid: integer, sname: string(100 chars), GPA: real, dateOfBirth: date, Did: integer, FirstYear: integer) Department (did: integer, dname: string(30 chars), capacity: integer) Course (cid: integer, cname: string(50 chars), credit: integer) Enroll (studentID: integer, courseID: integer, departmentID: integer, enrollmentDate: date, finalGrade: real) studentID, courseID, and departmentID in Enroll are foreign keys referencing the primary keys of the student, course, and department relations, respectively. Did in Student is a foreign key referencing the primary key of the department relation. Using SQL create these relations under the MyUniversity database. Place the constraints (e.g., default values, check, primary keys) you find appropriate:arrow_forwardCreate a new database (named MyUniversity) Student (sid: integer, sname: string(100 chars), GPA: real, dateOfBirth: date, Did: integer, FirstYear: integer) Department (did: integer, dname: string(30 chars), capacity: integer) Course (cid: integer, cname: string(50 chars), credit: integer) Enroll (studentID: integer, courseID: integer, departmentID: integer, enrollmentDate: date, finalGrade: real) studentID, courseID, and departmentID in Enroll are foreign keys referencing the primary keys of the student, course, and department relations, respectively. Did in Student is a foreign key referencing the primary key of the department relation. Using SQL, develop and execute the following queries: For each student with GPA between 2.5 (included) and 3.5 (included), display the student’s name, GPA,and his/her department ID. Sort the results by the students’ IDs in descending order. For each student who joined the Computer Science department between 2018 (included) and 2020(included), display…arrow_forward
- Create a new database (named MyUniversity) Student (sid: integer, sname: string(100 chars), GPA: real, dateOfBirth: date, Did: integer, FirstYear: integer) Department (did: integer, dname: string(30 chars), capacity: integer) Course (cid: integer, cname: string(50 chars), credit: integer) Enroll (studentID: integer, courseID: integer, departmentID: integer, enrollmentDate: date, finalGrade: real) studentID, courseID, and departmentID in Enroll are foreign keys referencing the primary keys of the student, course, and department relations, respectively. Did in Student is a foreign key referencing the primary key of the department relation. Using SQL, insert (random but meaningful) data records in the above tables. Create at least four different courses that include Operating Systems (3 credit hours), Data Bases (4 credithours), and Marketing (5 credit hours) courses – consider one more course. Create three departments that include a Computer Science department and a Business department…arrow_forwardCreate a GUI APPLICATION in JAVA PROGRAMMING LANGUAGE based on the following conditions :• Adding new record• Deleting record• Read all the record from the database• Searching record by using StudentID• Searching record by using CourseID• Sort Data by TotalScore• Exit the application.Detailed Steps are as follows ::: There will entry (Unique ID) of all the employee of any Organization. According to the date of joining and date up to which salary is created, Number of days will be entered. Basic pay will be defined according to the post of employee and department. Then component like medical allowance will be added, and Charges of Hostel/ Bus, Security, welfare fund and other will be deducted. Number of leaves taken by the employee. INSTRUCT ME WITH FULL DETAILS ON HOW TO DO THE NEXT STEPS IN MY IDE, LIKE HOW TO COPY AND PASTE THE CODE, AND ADDITIONAL APPLICATIONS, DON'T SEND ME FAKE AND IRRELEVANT SOLUTIONS WHICH IS ALREADY IN THE CHEGG. I WILL DIRECTLY REPORT YOUR SOLUTIONSarrow_forwardChapter 17 How to manage database security Exercises using the My Guitar Shop Database Use Microsoft SQL Server Write a script that creates a user-defined database role named OrderEntry in the MyGuitarShop database. Give INSERT and UPDATE permission to the new role for the Orders and OrderItems table. Give SELECT permission for all user tables. 2.Write a script that (1) creates a login ID named “RobertHalliday” with the password “HelloBob”; (2) sets the default database for the login to the MyGuitarShop database; (3) creates a user named “RobertHalliday” for the login; and (4) assigns the user to the OrderEntry role you created in exercise 1.arrow_forward
- Which of the keys below are not supported by a relational database? a. Foreign keys b. Composite keys c. Dynamic keys d. Primary keys In InfluxDB, it is advantageous to store data used in search queries using tags rather than fields. What is the advantage of storing data in tags over fields? a. Tags are indexed which improves search speed. b. Tags retain the datatype of the data whereas fields converting every data to string. c. It is easier to write search query using tags rather than fields. d. Data stored in tags can be easily exported to other formats. Our Neo4j database consists of ‘Student’ and ‘Course’ nodes. A student node is connected to course node via a relationship ‘STUDIES_IN’. Write a query to retrieve all courses that the student ‘Peter Parker’ is enrolled in? a. a) RETURN c WHERE (: Student { name: ‘Peter Parker’ }) –[:STUDIES_IN]-> (c:Course) b.…arrow_forwardWhich of these would not be a good primary key for a file of employee records? a. A and B b. Social security number c. Company employee number d. Last namearrow_forwardcreate Database CTU_YOURICASNOGOUSE CTU_YOURICASNO;GOCREATE TABLE Course( CourseID int PRIMARY KEY, CourseName varchar(255), CourseDesc varchar(255),);CREATE TABLE Students( ICASNo int Primary Key, StudentName varchar (255)NOT NULL, StudentSurname varchar (255)NOT NULL, StudentContact varchar (255)NOT NULL, StudentEmail varchar(255)NOT NULL, HighSchoolAttended varchar(255)NOT NULL, courseID int,);CREATE TABLE Semester( SemesterID int Primary Key, SemesterStartDate varchar(255)NOT NULL, SemesterEndDate varchar(255)NOT NULL, ICASNo varchar(255),);CREATE TABLE Facilitator( FacilitatorID int Primary Key, FacilitatorName varchar(255) Not Null, FacilitatorContact varchar(255)Not Null, FacilitatorEmail varchar(255)Not Null, ICASNo varchar(255)Not Null, ); CREATE TABLE Module( ModuleID int Primary Key, ModuelName varchar(255)Not Null, ModuleDuration varchar(255)Not Null, FacilitatorID varchar(255)Not Null,); Using the…arrow_forward
- A database administrator wants to grant access to an application that will be reading and writing data to a database. The database is shared by other applications also used by the finance department Which of the following account types Is MOST appropriate for this purpose? A-Service B-Shared C-eneric D-Adminarrow_forwardA database for inventory and transaction of Apple store has been developed. There are three tables in this database – Inventory, Transaction, Inventory_history. You can use the following script to create the tables. create table Inventory ( itemid varchar(20) primary key, name varchar(30), price decimal(6,2), quantity int ); create table Transaction ( transid int auto_increment primary key, itemid varchar(20), quantity int, time datetime, foreign key (itemid) references Inventory(itemid) ); create table Inventory_history ( id int auto_increment primary key, itemid varchar(20), action varchar(20), oldprice decimal(6,2), time datetime, foreign key (itemid) references Inventory(itemid) ); 2) Create a trigger “change_quantity” on table “Transaction”. The trigger is fired after a row is inserted in table “Transaction”. After a row is inserted in table “Transaction”, update the “quantity” in table “Inventory”. For example, if 3 iWatch are sold, then the quantity of iWatch in table…arrow_forwardCreate a library database that includes two tables, one for books and the other for accounts, and create a relationship between them.Select records from MySQL database using PHPInsert records into MySQL database using PHPUpdate records into MySQL database using PHPDelete records into MySQL database using PHParrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning