logo
  • Writing Services
    • Writing Services
      • Essays & Papers
      • Essay Service
      • Write my research paper
      • Apa paper writing service
      • Write my scholarship essay
      • Dissertation writing services
      • Coursework writing service
      • Homework & Assignment
      • Pay for homework
      • English assignment help
      • Do my assignment
      • Assignment help
      • Finance assignment help
      • Do my math homework
      • Spss assignment help
      • Do my homework
      • Biology assignment help
      • Chemistry assignment help
      • More services
      • Personal statement writing service
      • Do my excel assignment
      • Law essay writing service
      • Annotated bibliography writing service
      • Research proposal writing services
      • Nursing assignment help
      • Write my lab report
      • Capstone project writing service
      • Do my powerpoint presentation
  • Study Resources
    • Study Resources
      • Universities
      • Courses
      • Documents

Answer Key

Quiz Question Bank Software Engineering Part 1

  • University:

    Harvard University
  • Course:

    CS50 | AP Computer Science
  • Academic year:

    2021

  • Views:

    480

    Pages:

    10

  • Author:

    Kyuwon J.

1. Mathematical operators cannot be used to place restrictions on character-based attributes. False 2. The CHECK constraint is used to define a condition for the values that the attribute domain cannot have. False 3. Some RDBMSs, such as Microsoft Access, automatically make the necessary conversions to eliminate case sensitivity. True 4. When a user issues the DELETE FROM tablename command without specifying a WHERE condition all rows will be deleted the first row will be deleted no rows will be deleted the last row will be deleted 5. Which of the following queries uses the correct SQL syntax to list the table contents for either V_CODE = 21344 or V_CODE = 24288? SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE FROM PRODUCT WHERE V_CODE = 21344 OR V_CODE > 24288; SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE FROM PRODUCT WHERE V_CODE = 21344 OR V_CODE <= 24288; SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE FROM PRODUCT WHERE V_CODE = 21344 OR V_CODE => 24288; SELECT P_DESCRIPT, P_INDATE, P_PRICE, V_CODE FROM PRODUCT WHERE V_CODE = 21344 OR V_CODE = 24288; 6. The SQL query to output the contents of the EMPLOYEE table sorted by last name, first name, and initial is _____. Group of answer choices SELECT EMP_LNAME, EMP_FNAME, EMP_INITIAL, EMP_AREACODE, EMP_PHONE FROM EMPLOYEE DISPLAY BY EMP_LNAME, EMP_FNAME, EMP_INITIAL; SELECT EMP_LNAME, EMP_FNAME, EMP_INITIAL, EMP_AREACODE, EMP_PHONE FROM EMPLOYEE SEQUENCE BY EMP_LNAME, EMP_FNAME, EMP_INITIAL; SELECT EMP_LNAME, EMP_FNAME, EMP_INITIAL, EMP_AREACODE EMP_PHONE FROM EMPLOYEE ORDER BY EMP_LNAME, EMP_FNAME, EMP_INITIAL; SELECT EMP_LNAME, EMP_FNAME, EMP_INITIAL, EMP_AREACODE, EMP_PHONE FROM EMPLOYEE LIST BY EMP_LNAME, EMP_FNAME, EMP_INITIAL; 7. Although SQL commands can be grouped together on a single line, complex command sequences are best shown on separate lines, with space between the SQL command and the command’s components. True 8. Which of the following queries will output the table contents when the value of the character field P_CODE is alphabetically less than 1558-QW1? SELECT P_CODE, P_DESCRIPT, P_QOH, P_MIN, P_PRICE FROM PRODUCT WHERE P_CODE <'1558-QW1'; SELECT P_CODE, P_DESCRIPT, P_QOH, P_MIN, P_PRICE FROM PRODUCT WHERE P_CODE = [1558-QW1]; SELECT P_CODE, P_DESCRIPT, P_QOH, P_MIN, P_PRICE FROM PRODUCT WHERE P_CODE = {1558-QW1}; SELECT P_CODE, P_DESCRIPT, P_QOH, P_MIN, P_PRICE FROM PRODUCT WHERE P_CODE = (1558-QW1); 9. Which of the following is used to select partial table contents? LIST FROM WHERE ; LIST FROM
BY ; SELECT FROM
WHERE ; SELECT FROM
BY ; 10. The conditional LIKE must be used in conjunction with wildcard characters. True 11. You cannot insert a row containing a null attribute value using SQL. False 12. A(n) _____ is an alternate name given to a column or table in any SQL statement. data type trigger alias stored function 13. All changes in a table structure are made using the _____ command, followed by a keyword that produces the specific changes a user wants to make. UPDATE TABLE ALTER TABLE ROLLBACK TABLE COMMIT TABLE 14. Any changes made to the contents of a table are not physically saved on disk until you use the SAVE
command. False 15. The SQL command that allows a user to permanently save data changes is _____. UPDATE SELECT INSERT COMMIT 16. The special operator used to check whether a subquery returns any rows is _____. IN EXISTS BETWEEN LIKE 17. Oracle users can use the Access QBE (query by example) query generator. False 18. Entity integrity is enforced automatically when the primary key is specified in the CREATE TABLE command. True 19. All SQL commands must be issued on a single line. False 20. SQL requires the use of the ADD command to enter data into a table. False Chapter 6 1. Normalization works through a series of stages called normal forms. a. True b. False ANSWER: True 2. Normalization is a process that is used for changing attributes to entities. a. True b. False ANSWER: False 3. In order to meet performance requirements, portions of the database design may need to be occasionally denormalized. a. True b. False ANSWER: True 4. Denormalization produces a lower normal form. a. True b. False ANSWER: True 5. Normalization is a very important database design ingredient, and the highest level is always the most desirable. a. True b. False ANSWER: False 6. Reporting anomalies in a table can cause a multitude of problems for managers and can be fixed through application programming. a. True b. False ANSWER: False 7. Data redundancy produces data anomalies. a. True b. False ANSWER: True 8. The objective of normalization is to ensure that each table conforms to the concept of well-formed relations. a. True b. False ANSWER: True 10. Repeating groups must be eliminated by ensuring that each row defines a single entity. a. True b. False ANSWER: True 11. A dependency of one nonprime attribute on another nonprime attribute is a partial dependency. a. True b. False ANSWER: False 12. Dependency diagrams are very helpful in getting a bird’s-eye view of all the relationships among a table’s attributes. a. True b. False ANSWER: True 13. Dependencies that are based on only a part of a composite primary key are called transitive dependencies. a. True b. False ANSWER: False 14. All relational tables satisfy the 1NF requirements. a. True b. False ANSWER: True 15. In the context of partial dependencies, data redundancies occur because every row entry requires duplication of data. a. True b. False ANSWER: True 16. Since a partial dependency can exist only if a table's primary key is composed of several attributes, if a table in 1NF has a single-attribute primary key, then the table is automatically in 2NF. a. True b. False ANSWER: True 17. It is possible for a table in 2NF to exhibit transitive dependency, where the primary key may rely on one or more nonprime attributes to functionally determine other nonprime attributes. a. True b. False ANSWER: True 18. A determinant is any attribute whose value determines other values within a column. a. True b. False ANSWER: False 19. Data stored at their highest level of granularity are said to be atomic data. a. True b. False ANSWER: False 20. Atomic attributes are attributes that can be further subdivided. a. True b. False ANSWER: False 21. A table is in BCNF if every determinant in the table is a foreign key. a. True b. False ANSWER: False 22. A table is in fourth normal form if it is in third normal form and has no independent multivalued dependencies. a. True b. False ANSWER: True 23. Normalization represents a micro view of the entities within the ERD. a. True b. False ANSWER: True 24. The combination of normalization and ER modeling yields a useful ERD, whose entities can be translated into appropriate relationship structures. a. True b. False ANSWER: False 25. A good relational DBMS excels at managing denormalized relations. a. True b. False ANSWER: False 26. The advantage of higher processing speed must be carefully weighed against the disadvantage of data anomalies. a. True b. False ANSWER: True 27. Normalization purity is often easy to sustain in the modern database environment. a. True b. False ANSWER: False 28. Unnormalized database tables often lead to various data redundancy disasters in production databases. a. True b. False ANSWER: True 29. Attributes should clearly define participation, connectivity, and document cardinality. a. True b. False ANSWER: False 30. Normalization works through a series of stages called normal forms. For most purposes in business database design, _____ stages are as high as you need to go in the normalization process. a. two b. three c. four d. five ANSWER: b 31. From a structural point of view, 3NF is better than _____. a. 4NF b. 2NF c. 5NF d. 6NF ANSWER: b 32. From a structural point of view, 2NF is better than _____. a. 1NF b. 3NF c. 4NF d. BCNF ANSWER: a 33. An attribute that is part of a key is known as a(n) _____ attribute. a. important b. nonprime c. prime d. entity ANSWER: c 34. A table that displays data redundancies yields _____. a. consistencies b. anomalies c. fewer attributes d. more entities ANSWER: b 35. Data redundancy produces _____. a. slower lookups b. robust design c. efficient storage use d. data integrity problems ANSWER: d 36. Attribute A _____ attribute B if all of the rows in the table that agree in value for attribute A also agree in value for attribute B. b. derives from a. determine s c. controls d. owns ANSWER: a 37. Some very specialized applications may require normalization beyond the _____. a. 1NF b. 2NF c. 3NF d. 4NF ANSWER: d 38. Of the following normal forms, _____ is mostly of theoretical interest. a. 1NF b. 3NF c. BCNF ANSWER: d d. DKNF 39. A table that has all key attributes defined, has no repeating groups, and all its attributes are dependent on the primary key is said to be in _____. a. 1NF b. 2NF c. 3NF d. 4NF ANSWER: a 40. A(n) _____ exists when there are functional dependencies such that XY is functionally dependent on WZ, X is functionally dependent on W, and XY is the primary key. a. atomic attribute b. repeating group c. partial dependency d. transitive dependency ANSWER: c 41. A(n) _____ exists when there are functional dependencies such that Y is functionally dependent on X, Z is functionally dependent on Y, and X is the primary key. a. partial dependency b. repeating group c. atomic attribute ANSWER: d d. transitive dependency 42. A _____ derives its name from the fact that a collection of multiple entries of the same type can exist for any single key attribute occurrence. a. partial dependency b. transitive dependency c. repeating group ANSWER: c d. primary key 43. A relational table must not contain a(n) _____. a. entity b. attribute c. relationshi p ANSWER: d d. repeating group 44. In a(n) _____ diagram, the arrows above the attributes indicate all desirable dependencies. a. Chen b. dependency c. functionality d. ER ANSWER: b 45. Dependencies based on only a part of a composite primary key are known as _____ dependencies. a. primary b. partial c. incomplete ANSWER: b d. composite 46. If a table has multiple candidate keys and one of those candidate keys is a composite key, the table can have _____ based on this composite candidate key even when the primary key chosen is a single attribute. a. Boyce-Codd normal forms b. redundancies c. time-variances ANSWER: d d. partial dependencies 47. A table that is in 2NF and contains no transitive dependencies is said to be in _____. a. 1NF b. 2NF c. 3NF d. 4NF ANSWER: c 48. Improving _____ leads to more flexible queries. a. atomicity b. normalization c. denormalization ANSWER: a d. derived attribute 49. An atomic attribute _____. a. cannot exist in a relational table c. displays multiplicity b. cannot be further subdivided d. is always chosen to be a foreign key ANSWER: b 50. The most likely data type for a surrogate key is _____. a. characte b. date r c. logical d. numeric ANSWER: d 51. Granularity refers to _____. a. the size of a table c. the number of attributes represented in a table ANSWER: b b. the level of detail represented by the values in a table's row d. the number of rows in a table 52. From a system functionality point of view, _____ attribute values can be calculated when they are needed to write reports or invoices. a. derived b. atomic c. granula r ANSWER: a d. historical 53. In a real-world environment, we must strike a balance between design integrity and _____. a. robustness b. flexibility c. uniqueness ANSWER: b d. ease of use

Related Documents

  • Advancements in Natural Language Processing
  • How is the Complexity of an Algorithm Affected When it Encounters
  • How Binary Search Algorithm Works and Time Complexity
  • Variables Robotc
  • CSS Styling
  • LaTeX Command Summary Vocabulary
  • Introduction and Computational Thinking Pt 1
  • Tuning MATLAB For Better Perfomance
  • Python for Non-programmers - A Gentle Introduction
  • Techniques for Practical ORAM and ORAM in Hardware
  • Shortest Paths Bellman-Ford Algorithm
  • Data Stream Algorithmics
  • Systems I — Lab 6 Conditional Statements and Loops in Assembly
  • Clock Filter Algorithm
  • COSC-311 Sample Midterm Questions
  • What is the Travelling Salesman Problem
  • Hash Functions and How They Contribute to Hash
  • NTP in the Internet
  • NTP Daemon Architecture
  • Computer Network Time Synchronization

Quiz Question Bank Software Engineering Part 1

Quiz Question Bank Software Engineering Part 1 - Page 1
Quiz Question Bank Software Engineering Part 1 - Page 2
Quiz Question Bank Software Engineering Part 1 - Page 3
Quiz Question Bank Software Engineering Part 1 - Page 4
Quiz Question Bank Software Engineering Part 1 - Page 5
Quiz Question Bank Software Engineering Part 1 - Page 6
Quiz Question Bank Software Engineering Part 1 - Page 7
Quiz Question Bank Software Engineering Part 1 - Page 8
Quiz Question Bank Software Engineering Part 1 - Page 9
Quiz Question Bank Software Engineering Part 1 - Page 10
of 10
0/0

Recommended Documents

TOP DOCUMENT

Module 5: Iot Physical Devices and Endpoints - Arduino UNO
Module 5: Iot Physical Devices and Endpoints - Arduino UNO
Harvard University CS50 | AP Computer Science

Lecture Note

Computer Concepts Module 6-10
Computer Concepts Module 6-10
Harvard University CS50 | AP Computer Science

Study Guide

4 Bit Arithmetic and Logical Unit
4 Bit Arithmetic and Logical Unit
Harvard University CS50 | AP Computer Science

Report

⏰ Deadline pressure?

Get your assignment done in just 3 hours. Quick, easy, and available 24/7.

Configure Account Password Policies
Configure Account Password Policies
Harvard University CS50 | AP Computer Science

Cheat Sheet

Quiz Question Bank Software Engineering Part 3
Quiz Question Bank Software Engineering Part 3
Harvard University CS50 | AP Computer Science

Answer Key

Quiz Question Bank Software Engineering Part 2
Quiz Question Bank Software Engineering Part 2
Harvard University CS50 | AP Computer Science

Answer Key

New Documents from this Course

10 Types Of Computers
10 Types Of Computers
Harvard University CS50 | AP Computer Science

Lecture Note

Python Assignment for CS50 Course
Python Assignment for CS50 Course
Harvard University CS50 | AP Computer Science

Lecture Note

File Operations & File Atributes
File Operations & File Atributes
Harvard University CS50 | AP Computer Science

Lecture Note

Fair Use Policy

EduBirdie considers academic integrity to be the essential part of the learning process and does not support any violation of the academic standards. Should you have any questions regarding our Fair Use Policy or become aware of any violations, please do not hesitate to contact us via support@edubirdie.com.

logo

Popular Services

  • Essay writing service
  • Pay someone to do my homework
  • Do my assignment for me
  • Research paper writing services
  • Dissertation writing services
  • Do my homework

Study Resources

  • Essay Examples
  • Blog
  • Study Notes

About Us

  • How it works?
  • Testimonials
  • FAQ
  • Money back guarantee

Contact us

mail icon
  • support@edubirdie.com
phone-icon
  • +3 (595) 691 8356
  • +1 (888) 337 5415
DMCA.com Protection Status

For press

  • Press and media
  • Brand assets
Facebook Twitter Instagram LinkedIn

Local sites

  • Ca.EduBirdie.com- The Best Essay Writing Service for Canadian Students

We accept

2024 © EduBirdie.com. All rights reserved

RADIOPLUS EXPERTS LTD. Louki Akrita, 23 Bellapais Court, Flat/Office 46 1100, Nicosia, Cyprus

Privacy Policy
|
Terms of Use
|
Fair use policy
Subscription rules
|
Referral program Rules
|
Payment policy

Report

Tell us what’s wrong with it:

Thanks, got it!
We will moderate it soon!

Report

Tell us what’s wrong with it:

Almost There!

Two easy ways to download this document

or
Upgrade to premium for unlimited access
Calendar Icon

Free up your schedule!

Our EduBirdie Experts Are Here for You 24/7! Just fill out a form and let us know how we can assist you.

Unlock Icon

Take 5 seconds to unlock

Enter your email below and get instant access to your document

This field is required
Please enter a valid email address
This field is required
This field is required

By clicking 'Sign Up', you agree to our Terms and Conditions and Privacy Policy.