What function must a file management system perform

Assignment Help C/C++ Programming
Reference no: EM13939487

1. What function must a file management system perform?

a. Create the file structure.

b. Add data to the file.

c. Delete data from the file.

d. All of the above

e.None of the above

2. In a network database each set is composed of two record types: an owner record and a _________________ record.

a. root

b. child

c. member

d. renter

3. Data anomalies include:

a. modification anomalies.

b. insertion anomalies.

c. deletion anomalies.

d. All of the above. a and b only

5. Which of the following statements concerning the primary key is true?

a. All primary key entries are unique.

b. The primary key may be null.

c. The primary key is not required for all tables.

d. The primary key data does not have to be unique.

6. A set of allowable operations for a date field might be:

a. compare two dates.

b. find the difference in days between two dates.

c. create a date by adding or subtracting a number of days from

a given date.

d. convert a date from its internal representation to a different presentation fore. All of the above

7. Which of the following is a database model building block?

a. relationship

b. entity

c. attribute

d. All of the above

8. The entity relationship diagram is used to graphically represent the _________ database model.

a. condensed

b. physical

c. logical

d.conceptual

9. The Crow's Foot model is more easily adapted to ____________ tools than the Chen model.

a. CASE

b. programming

c. model

d. relationship

10. The _________________ model is the representation of the database as "seen" by the DBMS.

a. internal

b. external

c. physical

d. conceptual

11. ______________ independence means that the model does not depend on the DBMS software.

a. Software

b. Hardware

c. Model

d.Relationship

12. What is not a condition for a weak entity?

a. It is existence-dependent

b. It has an identifying relationship with its parent entity

c. It has a primary key that is partially or totally derived from the parent entity in the relationship

d. None of the above

13. A ________________ entity has a primary key that is partially derived from the parent entity in the relationship.

a. strong

b. weak

c. business

d. relationship

14. In the generalization hierarchy, the ___________ contains the unique attributes.

a. subtype

b. supertype

c. unary

d. weak

15. The _____________ model combines connectivity and cardinality information in a single symbol set.

a. Chen

b. Crow's Foot

c. Rein85

d. IDEF1X

16. The _____________ model does not recognize cardinalities explicitly, relying on connectivities to lead to logical cardinality conclusions.

a. Chen

b. Crow's Foot

c. Rein85

d. IDEF1X

17. The ______________ model is a derivative of the integrated computer-aided manufacturing studies that were conducted in the late 1970s.

a. Chen

b. Crow's Foot

c. Rein85

d. IDEF1X

18. The ________ model views the data as part of a table or collection of tables in which all key values must be identified.

a. relational

b. object-oriented

c. conceptud.external

19. Normalization works through a series of normal:

a. schemas.

b. entities.

c. databases.

d. forms.

20. In a SQL environment a database schema:

a. defines the relationships between objects in a database

b. is associated with all authenticated users of a database

c. belongs to all users and applications associated with a database

d. a and b

e.b and c

21. To create a query that will output the table content when the value of the character field P_CODE = 1558-QW1, use the following query:

a. SELECT P_CODE, P_DESCRIPT, P_ONHAND, P_MIN, P_PRICE FROM PRODUCT WHERE P-CODE = '1558-QW1'

b. SELECT P_CODE, P_DESCRIPT, P_ONHAND, P_MIN, P_PRICE FROM PRODUCT WHERE P-CODE = [1558-QW1]

c. SELECT P_CODE, P_DESCRIPT, P_ONHAND, P_MIN, P_PRICE FROM PRODUCT WHERE P-CODE = (1558-QW1)

d. SELECT P_CODE, P_DESCRIPT, P_ONHAND, P_MIN, P_PRICE FROM PRODUCT WHERE P-CODE = {1558-QW1}

22. In a mainframe query command, to list all the rows in which the inventory stock dates occur on or after January 20, 2002 the command will be as follows:

a. SELECT P_DESCRIPT, P_HAND, P_MIN, P_PRICE, P_INDATE FROM PRODUCT WHERE P_INDATE >= '01/20/2002'

b. SELECT P_DESCRIPT, P_HAND, P_MIN, P_PRICE, P_INDATE FROM PRODUCT WHERE P_INDATE >= #01/20/2002#

c. SELECT P_DESCRIPT, P_HAND, P_MIN, P_PRICE, P_INDATE FROM PRODUCT WHERE P_INDATE >= '20-JAN-2002'

d. SELECT P_DESCRIPT, P_HAND, P_MIN, P_PRICE, P_INDATE FROM PRODUCT WHERE P_INDATE >= {01-20-2002}

23. To delete the fifth row from the PRODUCT table, use the ____________ command.

a. KILL

b. DELETE

c. COMMITd.ERASE

24. The first step in developing the conceptual model using E-R diagrams is to:

a. normalize the entities.

b. complete the initial E-R diagram.

c. identify, analyze, and refine the business rules.

d. define the attrof the entities.

25. A Cartesian product can be formed by what kind of join?

a. An Inner Join

b. An Outer Join

c. A Cross Join

d. All of the above

26. Which of the conceptual design steps identifies the main processes: insert, update, and delete rules?

a. Database analysis and requirements

b. Entity relationship modeling and normalization

c. Data model verification

d. Distributed database design

27. What is the business rule that is being illustrated in the E-R model segment in the above figure?

a. Each item belongs to one or more inventory type.

b. Each inventory type belongs to one or more item.

c. Each item belongs to only one inventory type.

d. Each inventory type belongs to only one item.

28. What is the business rule that the E-R model segment in the above figure is illustrating?

a. Items will not be stored in the locations.

b. Items will be stored in one location. Each storage location will store only one item.

c. Some items may be stored in zero, one, or more locations.Each storage locatd. None of the above

29. What is the business rule that the E-R model segment in the above figure is illustrating?

a. An order references only one vendor, and each vendor can have zero, one, or many orders.

b. An order references many vendors, and each vendor can have only one order.

c. A vendor references only one order, and each order can have zero, one, or many vendors.

d. An order references many vendors, and each vendor can have only one order.

30. What is the business rule that the E-R model segment in the above figure is illustrating?

a. Each inventory item corresponds to one inventory type, and each inventory type can be referenced by one or many order
item lines.

b. Each inventory item corresponds to several inventory types, and each inventory type can be referenced by only one item
line.

c. Each inventory type corresponds to one inventory item, and each inventory item can be referenced by one or many order
inventory lines.

d. Each inventory item corresponds to several inventory types,and each inventory type can be referenced by several order
inventory lines.

31. You never define the foreign key at the entity level for any entity, no matter what its relationship is to other entities. You must ensure that the following actions are taken:

a. All the foreign key components that are inherited from related entities will be properly inserted into each entity that
requires the use of such inherited primary key attribute(s).

b. The foreign keys will always inherit the attribute characteristics from the primary keys that they point to.

c. The primary keys will always inherit the attribute characteristics from the foreign key that they point to.

d. All foreign keys will be deleted from the entries to properly reflect the relationship that you have defined for those
entries.

32. _______________ measures refer to the ability to retrieve information within a reasonable time and at a reasonable cost.

a. Security

b. Performance

c. Backup

d. Recovery

33. All tables, indexes, and views that were defined during the logical design phase are created during the database __________ phase.

a. conversion

b. procedure

c. loading d. creation

34. A(n) ________ Join returns not only the matching rows, but also the rows with unmatched attribute values for one or both tables to be joined.

a. Outer

b. Inner

c. Cross

d.Natural

35. The logical design process is used to translate the conceptual design into the ________ model for the selected DBMS.

a. external

b. conceptual

c. internal

d.physical

36. _________ enable designers to produce logically ordered output sequences.

a. Indexes

b. Schemas

c. Models

d. Tags

Reference no: EM13939487

Questions Cloud

Write the cost formula for delivery cost : Using a computer spreadsheet program such as Excel, run a regression on these data. Print out your results. Using your results from Requirement 1, write the cost formula for delivery cost.
State of probability of economy state of economy stock : Rate of Return If State Occurs State of Probability of Economy State of Economy Stock I Stock II Recession .20 .04 −.35 Normal .60 .26 .15 Irrational exuberance .20 .10 .55 The market risk premium is 5 percent, and the risk-free rate is 4 percent.
Empowerment is essential to the success : The essay will be of 1,000 words and be written in accordance with the guidelines for writing argumentative essays at Dwyer, Judith, Communication for Business and the Professions, Strategies and Skills, 5th ed., Pearson Education, Australia pp. 6..
Sallie mae fisher health history and discharge orders : Identify, prioritize, and describe at least four problems. Provide substantiating evidence (assessment data) for each problem identified.
What function must a file management system perform : Which of the conceptual design steps identifies the main processes: insert, update, and delete rules?
New strategies to tackle impacts : How the new policies and technologies will impact the Oil and Gas Industry in terms of production and consumption? What would be the new strategies to tackle these impacts?
Prepare for the sale of toronto marlies tickets : The purpose of this assignment is to outline the process you went through to prepare for the sale of Toronto Marlies Tickets, what strategies and tactics you employed in the selling of the tickets, what worked for you, what was unsuccessful and fi..
Sales increase-what is its self-supporting growth rate : Maggie's Muffins, Inc., generated $2,000,000 in sales during 2013, and its year-end total assets were $1,400,000. Also, at year-end 2013, current liabilities were $1,000,000, consisting of $300,000 of notes payable, $500,000 of accounts payable, and ..
Find the length of each segment : Find the length of each segment whose endpoints are (-8, -4) and (4,-8) , (6,4) (-5, 0)

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Irrespective of the old ui

Generate a Drag and Drop UI, where the enduser can change UI elements by dragging and dropping then later when the same user again comes and access the UI then what the changes he made on UI earlier should be presented there irrespective of the ol..

  Determine frequency of each character found in the array

Determines the frequency of each character found in the array - array of pointers to strings and the number of strings as arguments

  Write a c program to pick up the largest number

Write a C program to pick up the largest number from any 5 row by 5 column matrix - It must compile with no errors and follow the directions.

  List of command line arguments

Write a program that takes a list of command line arguments, each of which is a full path of a command (such as /bin/ls, /bin/ps, /bin/date, /usr/bin/who, /bin/unameetc). Assume the number of such commands is N, your program would then create N ch..

  Program that computes and prints the 1000th prime number

You will need some variables to keep track of which prime number you're on and keep track of where you are in your loop.

  Define a 2-element array of characters

Write an if statement that sets the variable age to 21 when the flag variable adult is set and define a 2-element array of characters named alpha initialized with the characters P, Q.

  Determines and prints the smallest and largest integer

Write a program that accepts 10 integers and determines and prints the smallest and largest integer input by the user.

  Savingsaccount objects and two checkingaccount objects

Develop a polymorphic banking application using the Account hierarchy you created. Create the following two SavingsAccount objects and two CheckingAccount objects and store them in an array called "arrays" of Account references to the objects

  Compute the sum of the first

Assume there is a variable , h already associated with a positive integer value. Write the code necessary to compute the sum of the first h perfect squares, starting with 1 .

  Define and implement structures in c

Define and implement structures in C and summarize the operations of a linked list - Generate a random number between 1 - 5 and 3 - 8 for express and normal lanes, respectively. This represents the arrival time of the first customer into each lane.

  Write a program that inputs a line of text into char

8.6 (Displaying Strings in Uppercase and Lowercase) Write a program that inputs a line of text into char array s[100]. Output the line in uppercase letters and in lowercase letters.

  Uml diagram of all the classes

Speaking of converting into the correct object-type, the goal of the factory is to abstract away object creation.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd