AP Notes, Outlines, Study Guides, Vocabulary, Practice Exams and more!

Database Flashcards

Terms : Hide Images
5842151922What is a database?A database is a structured set of data held in a computer, especially one that is accessible in various ways.0
5842151923What is a field?A field in a record that holds unique data which identifies that record from all the other records in the file or database.1
5842151924What is a record?A complete row of information about a person or thing.2
5842151925What is a flat file?A database that holds all the information in one file.3
5842151926What is a relational database?A database comprised of linked tables.4
5842151927A relational database allows you to save space. [True] / [False]True.5
5842151928A relational database causes data redundancy by making you repeat data entries. [True] / [False]False.6
5842151929A relational database helps you avoid making data entry mistakes. [True] / [False]True.7
5842151930DatabaseContains information in fields and columns8
5842151931Filing CabinetIs an old database9
5842151932Data FieldInformation about one specific thing. Example 'Artist' or 'Surname'10
5842151933RecordA ______________________ is a collection of fields, possibly of different data types.11
5842151934What is a FLAT FILE?A file having no internal structure. No other file is more important than the other.12
5842151935Relational DatabaseA database structured to recognize relations between stored items of information.13
5842151936A database allows you to save space? TRUE or FALSE?True14
5842151937To make a search better.Add more information about the person you are looking for.15
5842151938GoalOld English word meaning Jail16
5842151939FileSomething containing data stored on a computer.17
5842151940DBMSDatabase management system18
5842151941A Record RowGoes across a database19
5842151942An example of a databaseiTunes20
5842151943An example of a non-digital databaseThe Yellow pages21
5842151944Databasemaintains information about various types of objects (inventory), events (transactions), people (employees), and places (warehouses)22
5842151945Database management system (DBMS)creates, reads, updates, and deletes data in a database while controlling access and security23
5842151946Relational database modela type of database that stores its information in the form of logically-related two-dimensional tables24
5842151947process modelformal way of representing how a business operates by looking at the system itself versus users. Ultimately, guides what code must do25
5842151948Data modelThe logical data structure that details the relationships among data elements using graphics or pictures26
5842151949Entity Relationship (ER) diagramconsists of entities, attributes and relationships27
5842151950EntityAlso called a Table (in MSAccess), stores information about a person, place, thing, transaction, or event28
5842151951Instancethe representation of a particular entity, i.e. STUDENT(John Smith, 123-45-6789)29
5842151952Entity ExamplesWine Club Member, employee, wine, customer, product30
5842151953Attributesdata elements associated with an entity ( Customer - name, address, number... Item - item number, price, genre)31
5842151954There are several types of attributes includingStored versus derived (DOB-12-Jan-1987 vs. current age), Null-valued (no home phone number), Simple versus composite, single-valued versus multi-valued32
5842151955Simple AttributesAttributes that are not divisible into subparts33
5842151956Composite attributescan be divided into smaller subparts, which represent more basic attributes that have their own meanings34
5842151957Single-valued attributehaving only a single value of each attribute of an entity at any given time35
5842151958Multi-valued attributehaving the potential to contain more than one value for an attribute at any given time36
5842151959IdentifiersPrimary keys and foreign keys identify the various entity classes (tables) in the database, i.e. StudentIDNumber, SSAN, AutoNumber.37
5842151960Primary keya field (or group of fields) that uniquely identifies a given entity in a table. Two qualities of all primary keys: A primary key should contain some value that is highly unlikely ever to be null A primary key should never change38
5842151961Foreign keya primary key of one table that appears an attribute in another table and acts to provide a logical relationship among the two tables39
5842151962Cardinalityexpresses the specific number of entity occurrences associated with one occurrence of the related entity40
5842151963Composite entitiesEntities that exist to represent the relationship between two other entities. Customer buys Products and Products can be purchased by many customers. Below is a Many-to-Many Relationship41
5842151964theta-joinA theta-join is a binary operation that combines two relations where the combination of rows satisfies a predicate. A theta-join can be viewed in terms of a restricted Cartesian product operation. Any of the comparison operators can be used in the predicate. If the predicate contains only the equality operator, the join is known as an equi-join.42
5842151965Which type of join shows rows in the first relation even if they have no matching values in the shared column of the second relation?Left outer join43
5842151966natural joinA natural join is a binary operation that combines two relations over their common attributes, eliminating one occurrence of each common attribute.44
5842151967Right outer joinOn occasion, when joining two relations based on matching values in a join column, you will want rows to appear in the result relation even though no matching values occur in the second relation. Outer join operations make this possible. Several types of outer joins exist. In a left outer join, a binary operation, rows from the first relation that do not have matching values in the shared column of the second relation are included in the result relation. Right outer joins keep every unmatched row in the second relation in the result relation.45
5842151968In regard to serializability, which of the following is true?When determining serializability, you must consider the following: If concurrent transactions only read data, no conflict exists and the order of execution is not significant. If concurrent transactions read or write entirely different data structures, no conflict exists and the order of execution is not significant. If concurrent transactions read or write the same data structures, the order of execution is significant.46
5842151969Inner JoinAn inner join only returns those records that have "matches" in both tables. So for every record returned in T1 - you will also get the record linked by the foreign key in T2. In programming logic - think in terms of AND.47
5842151970Outer JoinAn outer join is the inverse of the inner join. It only returns those records not in T1 and T2. "Give me the records that DON'T have a match." In programming logic - think in terms of NOT AND.48
5842151971Left JoinA left join returns all the records in the "left" table (T1) whether they have a match in the right table or not. If, however, they do have a match in the right table - give me the "matching" data from the right table as well. If not - fill in the holes with null.49
5842151972LEFT OUTER JOINA left outer join combines the ideas behind a left join and an outer join. Basically - if you use a left outer join you will get the records in the left table that DO NOT have a match in the right table.50
5842151973Theta JOINA theta join is the Cartesian product of the 2 tables and not normally what people are looking for - but what they sometimes get by mistake. How many of us have written a join similar to this only to get way more then we were ever expecting.51
5842151974Entity52
5842151975FieldData and information of someone or something.53
5842151976RecordAll information of someone or something in a line.54
5842151977Flat FileA data that contains information without structures.55
5842151978Relational DatabaseData that are organised formally for many ways.56
5842151979Advantage of Relational DatabaseData is only stored once so that storage are easily efficient, if the user wants to delete then it is easy and links are easy.57
5842151980Primary KeyUnique number that helps to tell each record apart.58
5842151981Data Type of a Primary KeyAuto Number- so the computer automatically generates the number.59
5842151982Data Types1. Text- Letters, numbers, punctuation. 2. Number- Numbers only. 3.Date/Time- Dates or times.60
5842151983Validation CheckThe way the computer checks if the data that is entered is sensible and reasonable.61
5842151984Presence CheckSee if data has been properly entered. For example are letters and numbers.62
5842151985Length CheckCheck the data if it has the same number open. This are like passwords.63
5842151986Range CheckCheck that the value entered is determined.64
5842151987Type CheckMake sure the data is correct.65
5842151988Check DigitAllows a number to be checked. For example is a calculator.66
5842151989Format CheckMake sure a data is in correct format. This is like postcodes.67
5842151990Lookup CheckThis compares a data like an address.68
5842151991VerificationChecks for human error so that it makes sure the user did not get a typo. For example: passwords and captcha.69

Need Help?

We hope your visit has been a productive one. If you're having any problems, or would like to give some feedback, we'd love to hear from you.

For general help, questions, and suggestions, try our dedicated support forums.

If you need to contact the Course-Notes.Org web experience team, please use our contact form.

Need Notes?

While we strive to provide the most comprehensive notes for as many high school textbooks as possible, there are certainly going to be some that we miss. Drop us a note and let us know which textbooks you need. Be sure to include which edition of the textbook you are using! If we see enough demand, we'll do whatever we can to get those notes up on the site for you!