Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

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

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M91610361
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in C/C++

What are the legal requirements with which websites must

What are the legal requirements with which websites must comply in order to meet the needs of persons with disabilities? Why is maximizing accessibility important to everyone?

Project - space race part a console Project - Space Race Part A: Console Implementation

Project - Space Race Part A: Console Implementation INTRODUCTION This assignment aims to give you a real problem-solving experience, similar to what you might encounter in the workplace. You have been hired to complete a ...

There are several ways to calculate the pulse width of a

There are several ways to calculate the pulse width of a digital input signal. One method is to directly read the input pin and another method (more efficient) is to use a timer and pin change interrupt. Function startTi ...

Software development fundamentals assignment 1 -details amp

Software Development Fundamentals Assignment 1 - Details & Problems - In this assignment, you are required to answer the short questions, identify error in the code, give output of the code and develop three C# Console P ...

Assignment word matchingwhats a six-letter word that has an

Assignment: Word Matching What's a six-letter word that has an e as its first, third, and fifth letter? Can you find an anagram of pine grave. Or how about a word that starts and ends with ant (other than ant itself, of ...

Question 1find the minimum and maximum of a list of numbers

Question: 1. Find the Minimum and Maximum of a List of Numbers: 10 points File: find_min_max.cpp Write a program that reads some number of integers from the user and finds the minimum and maximum numbers in this list. Th ...

1 implement the binary search tree bst in c using the node

1. Implement the Binary Search Tree (BST) in C++, using the Node class template provided below. Please read the provided helper methods in class BST, especially for deleteValue(), make sure you get a fully understanding ...

Why do researcher drop the ewaste and where does it end

Why do researcher drop the ewaste and where does it end up?

Assign ment - genetic algorithmin this assignment you will

ASSIGN MENT - GENETIC ALGORITHM In this assignment, you will use your C programming skills to build a simple Genetic Algorithm. DESCRIPTION OF THE PROGRAM - CORE REQUIREMENTS - REQ1: Command-line arguments The user of yo ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As