GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Database Fundamental Ch 1 - 3

cindyngien 38 Fragen Aktualisiert am 19 Feb 2016

Quiz starten

Fragen in diesem Quiz (38)

  1. 1High-school student Rajesh M. Patel works part-time in his dad’s cycle shop in Pune, India. Pune was the first city in India to have dedicated lanes for cycles. Raj’s dad currently keeps track of his inventory using pencil and paper. Ordering parts and accessories or counting inventory takes several days. Raj is taking a database management class in school and he realizes that his dad’s business could benefit greatly by implementing a database management system. Raj needs to review a few basic concepts before he starts, and has made of list of topics he knows will be important in the first steps of the project.

    Identify tables that Raj might create for the database.
    1. AA part table, a cycle table, and an accessories table
    2. BOne table for all parts, cycles, and accessories
    3. CA table for each part, each cycle, and each type of accessory (a helmet table, a biking glove table, and so on)
  2. 2High-school student Rajesh M. Patel works part-time in his dad’s cycle shop in Pune, India. Pune was the first city in India to have dedicated lanes for cycles. Raj’s dad currently keeps track of his inventory using pencil and paper. Ordering parts and accessories or counting inventory takes several days. Raj is taking a database management class in school and he realizes that his dad’s business could benefit greatly by implementing a database management system. Raj needs to review a few basic concepts before he starts, and has made of list of topics he knows will be important in the first steps of the project.

    Identify the fields that Raj should use for column headings of the parts table.
    1. A part number, part name, cycle number, and cycle name
    2. Bpart number and quantity sold
    3. Cpart number, part name, quantity, color, and cycle identifier
  3. 3High-school student Rajesh M. Patel works part-time in his dad’s cycle shop in Pune, India. Pune was the first city in India to have dedicated lanes for cycles. Raj’s dad currently keeps track of his inventory using pencil and paper. Ordering parts and accessories or counting inventory takes several days. Raj is taking a database management class in school and he realizes that his dad’s business could benefit greatly by implementing a database management system. Raj needs to review a few basic concepts before he starts, and has made of list of topics he knows will be important in the first steps of the project.

    What is the name of the data located at the intersection of a row and column?
    1. Afield
    2. Brecord
    3. Cvariable
  4. 4The next step for Raj in the design of the database to streamline his father’s cycle business is to determine the most useful relationships between the tables. He knows that he needs to create a relational database because it will be important to conduct searches by using data in one table to find additional data in another table. Figuring out a design that best meets the needs of the cycle shop is a critical step. While reviewing his current business requirements, he realizes that he needs to add another table to include the suppliers of the parts for the cycles. This new table requires Raj to update the parts table to include a foreign key to the supplier table.

    What is the relationship between the supplier table and the parts table?
    1. Aone-to-one
    2. Bone-to-many
    3. Cmany-to-many
  5. 5The next step for Raj in the design of the database to streamline his father’s cycle business is to determine the most useful relationships between the tables. He knows that he needs to create a relational database because it will be important to conduct searches by using data in one table to find additional data in another table. Figuring out a design that best meets the needs of the cycle shop is a critical step. While reviewing his current business requirements, he realizes that he needs to add another table to include the suppliers of the parts for the cycles. This new table requires Raj to update the parts table to include a foreign key to the supplier table.

    What is a good foreign key for the relationship between the cycle table and the parts table?
    1. Apart number
    2. Bcycle model number
    3. Cpart name
  6. 6The next step for Raj in the design of the database to streamline his father’s cycle business is to determine the most useful relationships between the tables. He knows that he needs to create a relational database because it will be important to conduct searches by using data in one table to find additional data in another table. Figuring out a design that best meets the needs of the cycle shop is a critical step. While reviewing his current business requirements, he realizes that he needs to add another table to include the suppliers of the parts for the cycles. This new table requires Raj to update the parts table to include a foreign key to the supplier table.

    What is a suggested primary key for the accessory table?
    1. Aaccessory number
    2. Baccessory name
    3. Caccessory model
  7. 7Raj has the cycle database setup for his dad’s cycle shop in India. The next step is to work with his dad to learn what operations he will need to perform with the database. These are called user requirements. His dad needs the new application to perform these initial tasks (other requirements will be defined later):

    What DML (data manipulation language) command must be used to indicate that a cycle was sold and should be removed from the Cycle table?
    1. ADELETE FROM Cycle WHERE cycle _ id = T1234
    2. BREMOVE FROM Cycle WHERE cycle _ id = T1234
    3. CERASE FROM Cycle WHERE cycle _ id = T1234
  8. 8Raj has the cycle database setup for his dad’s cycle shop in India. The next step is to work with his dad to learn what operations he will need to perform with the database. These are called user requirements. His dad needs the new application to perform these initial tasks (other requirements will be defined later):

    What command is used to report on the current on-hand quantities of red cycles?
    1. ASELECT cycle _ model WHERE cycle _ color = ‘red’
    2. BSELECT * FROM Cycle WHERE cycle _ color = ‘red’
    3. CFIND * FROM Cycle WHERE cycle _ color = ‘red’
  9. 9Raj has the cycle database setup for his dad’s cycle shop in India. The next step is to work with his dad to learn what operations he will need to perform with the database. These are called user requirements. His dad needs the new application to perform these initial tasks (other requirements will be defined later):

    How is a new cycle added to the Cycle table in the database?
    1. AINSERT INTO Cycle (C3425, ‘Rockrider, ‘red’, 9999.00)
    2. BADD INTO Cycle VALUES (C3425, ‘Rockrider’, ‘red’, 9999.00)
    3. CINSERT INTO Cycle VALUES (C3425, ‘Rockrider’, ‘red’, 9999.00)
  10. 10Raj is making excellent progress automating his dad’s cycle shop. He has reduced the amount of paperwork and provided more accurate information for his dad to maintain the current inventory. As a result of the automation, his dad has decided that he wants to use a website to advertise and sell cycles. Raj is in charge of the next phase of this exciting change to the cycle shop business. Raj immediately realizes that the current database schema needs to be changed. If they are going to allow users to buy from the internet, he needs to have photos of all their products, including cycles, accessories, and parts.

    Which DDL command can Raj use to add a new field to the Cycle table to store the file name of the photo?
    1. AALTER TABLE Cycle ADD photo _ file _ name CHAR (30) NULL
    2. BADD photo _ file _ name TO TABLE Cycle
    3. CALTER Cycle TABLE USING photo _ file _ name CHAR(30) NULL

Informationen

Beschreibung
Quiz am Database Fundamental Ch 1 - 3, erstellt von cindyngien am 02/04/2015.
Sprache
English
Aufrufe
4
Verlauf
Erstellt am 2 Apr 2015 · aktualisiert am 19 Feb 2016
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck