Preview

Database and Programming

Powerful Essays
Open Document
Open Document
1574 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Database and Programming
College of Business Hospitality & Tourism Studies Department of Computer Science & Information System CIN623 Database Design & Programming
Final Examination Trimester 1 – 2011
Date: Duration:3 hours plus 10 minutes INSTRUCTION TO STUDENTS 1. You are allowed ten minutes extra reading time during which you are not to write 2. Write all answers to each question in the Answer Booklet. 3. Write your Student ID number at the top of each attached sheet. 4. Insert all written foolscaps in their correct sequence. 5. Read the instruction of each section carefully. 6. There are 3 sections altogether A, B and C. SECTION DESCRIPTION 15 Multiple Choice Questions Short Answer Questions 5 Long Answer Questions Q1. Entity Relationship Diagram Q2. Relational Algebra Q3. Normalisation Q4. SQL Q5. Transaction Management and Concurrency Control MARKS 15 20 10 10 15 20 10 Time: Total Marks: 100

A B

C

Total Marks

100

1

SECTION A: MULTIPLE CHOICE

[15 Marks]

Instruction: There is only ONE best answer. Write the correct answer (only the letter) in the Answer Sheet provided. Each question is worth 1 mark. 1. Which of the following is not a Multi-user database? (a) SQL Server (b) MS Access (c) Oracle (d) All of the Above 2. What deals with fixing the database after a failure, such as a hard disk malfunction? (a) Backup (b) Recovery (c) Security (d) Access Control 3. Which of the following might be represented with a multivalued attribute? (a) person’s name (b) class location (c) bank account balance (d) book title 4. To restore a table’s content, the command to be used is (a) COMMIT; RESTORE; (b) COMMIT; BACKUP; (c) COMMIT; ROLLBACK; (d) ROLLBACK; 5. Which kind of relationship exists when there are three entities associated? (a) unary (b) binary (c) ternary (d) weak

2

6.

Which SQL keyword is use to change a column value? (a) (b) (c) (d) CHANGE SET MODIFY SELECT

7.

What do we call when one user’s changes to the database are lost by second user’s changes to the same database? (a)

You May Also Find These Documents Helpful

  • Satisfactory Essays

    For each question, mark tbe appropriate response (a), (b), (c), or (d). There is only one correct response to each question in Part A.…

    • 472 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    - Any action that a database takes, creating objects, adding rows, changing data in rows, removing rows, and so on.…

    • 327 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 18 M1 Research Paper

    • 268 Words
    • 2 Pages

    Student Name Course Computer Science and IT Unit 18 Database Design Assignment Title Features of a relational databes and Testing Mia’s Sandwich Shop Database Assign 2/2 Complete this section before submitting your work: Student declaration: I certify this is my own work. Any sources I have used to assist me with this assignment are fully referenced. Student evaluation: Develop future SMART Targets.…

    • 268 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    CMGT 400 Week 1 DQs

    • 676 Words
    • 3 Pages

    The project for CIS336 is designed to touch all aspects of the fundamental concepts of database design and logical data modeling covered during the class. The project is team centered and each team will be responsible for designing, developing, and demonstrating the functionality of a database created based on a defined set of business specifications. At the end of the session, each project team will submit the database designed by the team and demonstrate the database's ability to deliver the required information as outlined in the project specifications. All aspects of the project will be ...…

    • 676 Words
    • 3 Pages
    Good Essays
  • Good Essays

    In210 Sql Assignment

    • 3278 Words
    • 14 Pages

    3.sql, it will appear that this is the only part of the assignment you’ve done, so you’ll get no marks for the other…

    • 3278 Words
    • 14 Pages
    Good Essays
  • Satisfactory Essays

    Sql Database Language

    • 1101 Words
    • 5 Pages

    Using the Chapters 4 & 9 University Database create one “SELECT” SQL statement for each of the following question.[1] [Note, the SQL statement may include nested queries.]…

    • 1101 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    Bec Case Study

    • 1621 Words
    • 7 Pages

    1. Review the data flow diagrams you developed for questions in the BEC case at the end of Chapter 5 (or diagrams given to you by your instructor.) Study the data flows and data stores on these diagrams and decide if you agree with the team’s conclusion that there are only the six entity types listed in this case and in BEC Figure 6-1. If you disagree, define additional entity types, explain why they are necessary, and modify BEC Figure 6-1.…

    • 1621 Words
    • 7 Pages
    Good Essays
  • Good Essays

    Yea Yeah Yeah

    • 386 Words
    • 2 Pages

    o consists of one or more database operations (insert, delete, update) which together reflect the data changes…

    • 386 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    The "Select" statement is very simple, but valuable query tool. It allows a person to select one or more rows of data based upon the level of detail, or filter the data chosen by a person.…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Physical Database Design

    • 971 Words
    • 10 Pages

    Example 1 – Consider the following relational database for the Super Baseball League. It keeps track of teams in the league, coaches and players on the teams, work experience of the coaches, bats belonging to each team, and which players have played on which teams. Note the following facts about this environment:…

    • 971 Words
    • 10 Pages
    Good Essays
  • Good Essays

    What DBMS component is responsible for concurrency control? How is this feature used to resolve conflicts?…

    • 597 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Database Sql

    • 755 Words
    • 4 Pages

    [Note: The words marked in dark in this text work as keywords in SQL language. For example “select”, “from” and “where” in the above paragraph are shown in bold font to indicate that they are keywords]…

    • 755 Words
    • 4 Pages
    Good Essays
  • Good Essays

    slips

    • 5191 Words
    • 38 Pages

    A) Write a C Program to accept a four digit number from user and count zero , odd…

    • 5191 Words
    • 38 Pages
    Good Essays
  • Good Essays

    Syllabus Ba 305

    • 1745 Words
    • 7 Pages

    Stair/Reynolds: Information Systems Essentials, Cengage, 6th ed., ISBN 0‐324‐82926‐4 Each student has to read the textbook chapter according to the course schedule at the end of this syllabus before coming to class.…

    • 1745 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Form B Course Plan 1

    • 1468 Words
    • 13 Pages

    2. Stair, R.M. and Reynolds, G.W. 2011. Information Systems, International Edition, 10th edition, Course Technology…

    • 1468 Words
    • 13 Pages
    Satisfactory Essays