|
Fall, 2017 |
|
Pseudonym: paydirt QuestionWhat do you think would be better to use as a Primary Key: Address, Major, Name or Social Security number? Why? AnswerObviously, Social Security number because it is supposed to be unique. Address, Major, and Name are not unique you can have people with those same attributes. This question is simple but its the basis for databases.
Pseudonym: aceone QuestionWhat are the benefits and limitations to RDBMS? AnswerThe benefits of RDBMS are: 1. the system is simple, flexible, and productive. 2. data is easier to understand and communicate with others 3. users do not have to use predefined keys to input information 4. it is more productive because SQL is easier to learn 5. it is easy to create and access data and extend it if needed. The limitations of RDBMS are: 1. do not have enough storage area to handle data such as images, digital and audio video 2. its inadequacy to operate with languages outside of SQL. 3. the requirement that information must be in tables where relationships between entities are defined by values.
Pseudonym: Cherokee QuestionHow can you tell if a database is created using RDBMS ? AnswerYou can't really, a file is a file! It would need interpreting by a host system/RDBMS package. A DB of 1 table, can actually be a relational database. Having multiple tables isn'r necessarily relational, they may be tables of autoparts, and fruit. Essentially tho' several tables which link together in a meaningful way (like an orders table, a customers table, and a products table) would be viewed as relational.. But the explicit declaration of foreign keys is not necessary, the linkd may only be formed at the time of querying. This isn't a good idea for stability, but can be done
Pseudonym: P-chan QuestionTrue or false: In a relational database system each database must be self-contained in a single table. AnswerFalse! One of the important features of a RDBS is that a single database can be spread across several tables. It is the flat-file database that requires each database to be self-contained in a single table.
Pseudonym: Tamagotchi QuestionName at least 3 Restrictions/Conventions for RDBMS. Answer1.Each relation must have a unique name. 2.All Columns Must have unique names. 3.All Columns elements must be of the same data type.
Pseudonym: survivor7 QuestionWhat is the relation between a field and a tuple. AnswerThe field is the name of the tuple. The tuple is a column in a relational table. We can name a tuple/column "id", which becomes the field name.
Pseudonym: Moglie QuestionWhat is a Realtional DBMS? What is a primary Key? AnswerA database management system that manages data as a collection of tables in which all data relationship are reperesented by common values in related tables. A primary key is an attribute (or conbination of attributes) that uniquely idetifies each row in a relation.
Pseudonym: chilidog QuestionWhat were the major concepts that Codd tried to include in the RDBMS he first developed. AnswerView a database as a 2-dimensional table. Attempt to automate the functions applied to a database Make all of the physical operations necessary be performed by the DBMS itself. Make it user-friendly
Pseudonym: meno QuestionWhat is an RDBMS foreign key Answera) A combination of keys used to produce uniqueness b) Any field or combination of fields which does not produce a unique value c) Any key or group of keys that can become a super key d) Are used to relate two or more tables (Correct answer)
Pseudonym: Primo QuestionAll of the following are purposes of RDBMS keys, except? A)Definition of entity relationships. B)Functional dependence. C)Determination. D)Modularization. AnswerAnswer: D Purposes of RDBMS: -Define Entity Relationships (Through the use of Primary/Foreign Keys). -Determination (Knowing the value of a key field means you also know (Determine) the values of the other fields). -Functional Dependence (An attribute is functionally dependent on another if can be determined by that attribute).
Pseudonym: sage1x QuestionWhy must RDBMS consider database integrity? AnswerTo maintain the wholeness and unity of the database thorough entity integrity in which all entries are unique and no null values are in the primary key fields. Also foreign keys must have a valid or null entry to their corresponding tables to maintain relational integrity.
Pseudonym: sunny QuestionWhat is ‘information rule’ in RDMS? AnswerAll information in a relational database is represented explicitly at the logical level in exactly one way— by values in tables.
Pseudonym: Chango QuestionJust what exactly is a relational model, and how is that related to a relational database management system? AnswerThe relational model defines a set of mathematical operations and constraints that can be applied to tables in databases. These comprise a fundamental theory that is provably correct. Relational operations and constraints are used to define business rules (user defined constraints). A DBMS provides mechanisms to support relational operations and constraints for user defined databases and business rules. Because of the rigid separation of physical and logical views and mathematical underpinnings, the relational model offers great power and capability. The optimization possibilities are enormous in contrast to the limited optimization available for 3rd Generation Languages (3GLs) due to their ad-hoc definition. A relational language like SQL is descriptive, specifying the results desired rather how to obtain the results (procedural).
Pseudonym: Rockets QuestionWhat is the basic theory of relational DBMS model based on? AnswerThe relational database model is based firmly in the mathematical theory of relational algebra and calculus.
Pseudonym: ARAZ QuestionWhat is Relational Algebra? AnswerThe theory of database operations is based on set theory; an algebra is a formal structure consisting of sets and operations on those sets. Therefore, relational algebra is a formal system for manipulating relations. It provides a collection of operations to manipulate relations. It supports the notion of a query, or request to retrieve information from a database. Set operations include: Union, Intersection, Difference and Cartesian Product. There are also special database operations, such as: Select, Project, and Join.
Pseudonym: foglive QuestionWhy is it that RDBMS are very powerful? AnswerAn important feature of relational systems is that a single database can be spread across several tables. This differs from flat-file databases, in which each database is self-contained in a single table.
Pseudonym: pichirilo QuestionRDBMS QUESTION Give an example of a simple select statement. AnswerSELECT STUDENT_ID FROM STUDENT TABLE WHERE FIRST_NAME = 'JUAN';
Pseudonym: EVH QuestionA CANDIDATE KEY is any key or group of keys that could become a ________. AnswerA) SUPER KEY B) PRIMARY KEY C) COMPOSITE KEY D) SECONDARY KEY
Pseudonym: Gotti QuestionWhat is the main difference between Entity Integrity Constraint and Referential Integrity Constraint? AnswerIn Entity Integrity Constraint, no primary key value can be NULL while in Referential Integrity Constraint, the value of a foreign key must match a value of the primary key in the relation to which it refers.
Pseudonym: Rockets QuestionWhat are two most prominent characteristics of a relational DBMS? Answer1) Data stored in tables. 2) Relationships between tables.
Pseudonym: barohi Questionwhat is a database key? AnswerA database key is an attribute utilized to sort or/and identify data.Each table has primary key which uniquely identifies records. Foriegn keys are used to cross reference data between relational tables. For reference and more heplful information: http://databases.about.com/library/glossary/bldef-key.htm
Pseudonym: barohi Questionwhat is a database key? AnswerA database key is an attribute utilized to sort or/and identify data.Each table has primary key which uniquely identifies records. Foriegn keys are used to cross reference data between relational tables. For reference and more heplful information: http://databases.about.com/library/glossary/bldef-key.htm
Pseudonym: texasholdem QuestionDescribe the difference between an Inner Join and and Outer Join. AnswerAn inner join selects rows from two tables such that the value in one column of the first table also appears in a certain column of the second table. For an outer join, the result also includes all rows from the first operand ("left outer join", "*="), or the second operand ("right outer join", "=*"), or both ("full outer join", "*=*"). A field in a result row will be null if the corresponding input table did not contain a matching row.
Pseudonym: chessy QuestionWhat is RDBMS? AnswerA database management system that manages data as a collection of tables in which all data relationships are represented by common values in related tables.
Pseudonym: surfgirl QuestionWhat are the most widely used RDBMS products? AnswerOracle, IBM's DB2 and Microsoft's SQL Server.
Pseudonym: Akane QuestionWhat is the difference between the following RDBMS operators: JOIN, UNION, and INTERSECT? AnswerWith a JOIN command you can make a whole new table by using data from two tables that share same column values. The out put will contain only those rows with common values in their join columns. The UNION command will take two separate unrelated tables to produce one table. If you have one table with only one column and unionize it with another table containing one unrelated column, your result will be a table with two columns. The INTERSECT command combines the results of two unrelated queries into a single output. The structure of the tables used must be compatible. Unless ALL is used, only unique records will be included in the results.
Pseudonym: javes QuestionWhat is Relational Integrity? AnswerIn a Relational Model Multiple copies of the items (entities) are avoided, this can be done creating separated tables (ex. Professors, Students, ...) and the tables are linked using Key fields, these keys specify that a record in one table is related to another record in a different table.
Pseudonym: kwu492 QuestionWhat is the difference between these two RDMS operators: SELECT and PROJECT? AnswerThe SELECT command is used to gather "all" or "specific values" from a table (hence retrieving the records with that specific value) whereas PROJECT operator produces a list of values for a "selected" attribute such as producing a new table out of an existing table by retriving only the fields (attributes) that we are interested in.
Pseudonym: wito_loko QuestionName 3 advantages and 3 disadvantages of the Hierarchical Model in DBMS AnswerAdvantages: 1)Data Integrity 2)Intended to support Large Databases 3) Numerous ‘tried-and-true’ applications Disadvantages: 1)Complex to manage 2)Complex Programming required 3)Programming Requires a complete understanding of the physical database structure (High Cost Database Administrators)
Pseudonym: snoopy QuestionWhat is a composite key? AnswerA composite key is a combination of keys (Primaries) that produce one unique key.
Pseudonym: Dr.Feelgood QuestionName one of the Advantages of using Keys in RDBMS AnswerAvoiding Data Redundancy, Avoiding Confussion, Creating Data Dependency, Defining Entity Relations |