Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
CSC 240 2/19/10 Name: _____________________________ The test is 67% closed book and 33% open book. The first two sheets (closed book portion) must be turned in before the floppy with Quotations.mdb is made available. 1. (3 points) Acronyms. Spell out THREE of the following acronyms. A. DBMS B. ENIAC C. ER D. GIGO E. SQL F. 4GL 2. Synonyms. (7 points) Supply the number of synonyms indicated for the following terms. Synonyms are words that have the same meaning. Table Row Column (1)_______________, (2)_______________ (1)_______________, (2)_______________ (1)_______________, (2)_______________, (3)_______________ 3. (3 points) The red arrow in the picture above shows that the database uses a(n) ____________________ which prompts the user with parentheses and dashes to ensure that he/she enters data that is meaningful as a phone number. 4. (3 points) Codd’s Rule 3: A column entry should be allowed to remain empty. This involves the support of a _______________ value, which is distinct from an empty string or a number with a value of zero. 5. (6 points) The _______________ (a component of SQL) is used to create/modify the logical design, while the _______________ (another component of SQL) is mainly used to modify or retrieve the actual data. 6. (3 points) Codd’s Rule 6: The data can be presented to different users in different arrangements, called _______________. 7. (3 points) The bold line in the picture above indicates that the database designer has opted to ____________________. 8. (3 points) In your blue book, discuss briefly one of the following terms from the book Database Nation A. Anthropometrical Signalment B. “Data shadow” C. Fair Credit Reporting Act 9. (2 points) The ____________________ data type stores an integer that Microsoft Access increments (adds to) automatically as you add new records. You can use it as a unique record identification for tables having no other unique value. 10. (2 points) A(n) ___________________ clause in SQL specifies that a SQL SELECT statement returns a result set with the rows being sorted by the values of one or more columns. 11. (20 points) Short Essays. In your blue book, briefly (approx. 4-5 sentences) answer FOUR of the following questions. A. Distinguish between a database and a database management system. B. Distinguish between entity type and entity occurrence. C. Distinguish between cardinality and degree. D. Distinguish between a candidate key and a primary key. E. Distinguish between a strong entity and a weak entity. F. Distinguish between a primary key and a foreign key. G. What does an ER diagram represent? Give an example. 12. (12 points) Definitions. In your blue book, provide a brief definition (approx. 1-3 sentences) of THREE of the following terms. A. Ad hoc query B. Client-server model C. Concurrency D. Data integrity E. Hierarchical Model F. Metadata CSC 240 2/19/10 Name: _____________________________ Make a Word document. Place your name at the top. Use it to paste screen captures of the following skills. The questions below are based on the Stocks.mdb file that will be provided after the closed book portion of the test is turned in. Stock StockBroker StockHolder StockTransaction Market (stockSymbol, stockName, stockPrice, marketSymbol) (brokerID, firstName, lastName, licenseNumber) (holderID, firstName, lastName) (transactionID, holderID, stockSymbol, brokerID, transactionDate, transactionType, price, quantity) (marketSymbol, marketName, description) 1. Create the Market table, choosing the appropriate types for the columns. Make marketSymbol the primary key. Add the following data, then make a screen capture (9 points) NYSE, New York Stock Exchange, The largest equities marketplace in the world, …. NasdaqNM, Nasdaq, Nasdaq’s listed companies embody …. AMEX, American Stock Exchange, The American Stock Exchange has been a pioneer in …. 2. Add a marketSymbol column to the Stock table. Make it a foreign key taking its values from the market symbols found in the Market table. Update the marketSymbol column using the following data. Make a screen capture. (9 points) NasdaqNM: NYSE: MSFT, SUNW, ORCL, AOL, COKE, GIS, SLE, BAB, XOM, MSO, WWE 3. Choose a more appropriate type for the transactionDate column in the StockTransaction table. Make a screen capture. (3 points) 4. Add yourself as a StockHolder. Perform whatever steps necessary to record your buying 50 shares of World Wrestling Entertainment stock from Chuck Berry today. Make a screen capture. (6 points) 5. Create a parameterized query that allows the user to enter the symbol of a stock and get its name and price. Make a screen capture of the SQL View. (3 points) 6. Make a list of the names of the markets and the names of and symbols for the stocks belonging to them. Make a screen capture of the DataSheet View. (3 points)