Podcast
Questions and Answers
Which of the following best describes a database?
Which of the following best describes a database?
- A collection of unrelated documents.
- A disorganized assortment of digital images.
- A file system for storing software applications.
- An organized collection of related data stored in a computer. (correct)
What is the primary difference between data and information in the context of databases?
What is the primary difference between data and information in the context of databases?
- There is no difference; the terms are interchangeable.
- Data is raw facts, while information is processed data in a meaningful form. (correct)
- Data is processed, while information is raw.
- Data is used for decision making, while information is not.
Which of the following is NOT a typical use of databases?
Which of the following is NOT a typical use of databases?
- Storing earnings and tax information for a government.
- Storing operating system files. (correct)
- Tracking customer purchases in a grocery store.
- Managing student records at a school.
In the context of database models, what is a key characteristic of relational databases?
In the context of database models, what is a key characteristic of relational databases?
Which function is NOT typically performed by a Database Management System (DBMS)?
Which function is NOT typically performed by a Database Management System (DBMS)?
Which of the following is an example of a Relational Database Management System?
Which of the following is an example of a Relational Database Management System?
In Microsoft Access, which object is used primarily to store data?
In Microsoft Access, which object is used primarily to store data?
What is the purpose of Forms in Microsoft Access?
What is the purpose of Forms in Microsoft Access?
What is a primary function of Queries in Microsoft Access?
What is a primary function of Queries in Microsoft Access?
Which Microsoft Access object is used to extract information and present it in a well-organized, formatted manner, such as invoices or transcripts?
Which Microsoft Access object is used to extract information and present it in a well-organized, formatted manner, such as invoices or transcripts?
What are Macros used for in Microsoft Access?
What are Macros used for in Microsoft Access?
When creating a new database in Microsoft Access, which is the typical first step after starting the application?
When creating a new database in Microsoft Access, which is the typical first step after starting the application?
What is the primary function of a table in a database?
What is the primary function of a table in a database?
What is the term for the rows in a database table?
What is the term for the rows in a database table?
What is the term for the columns in a database table?
What is the term for the columns in a database table?
Which of the following is NOT a typical step in creating a table?
Which of the following is NOT a typical step in creating a table?
What is the purpose of 'Field Descriptions' when creating a table?
What is the purpose of 'Field Descriptions' when creating a table?
What do 'Data Types' specify in a database table?
What do 'Data Types' specify in a database table?
What is the primary use of 'Design View' when working with tables?
What is the primary use of 'Design View' when working with tables?
What is the primary use of 'Datasheet View' when working with tables?
What is the primary use of 'Datasheet View' when working with tables?
In Microsoft Access, where can you switch between 'Design View' and 'Datasheet View'?
In Microsoft Access, where can you switch between 'Design View' and 'Datasheet View'?
Which data type is most suitable for storing names?
Which data type is most suitable for storing names?
Which data type is most suitable for storing large amounts of text, such as comments or descriptions?
Which data type is most suitable for storing large amounts of text, such as comments or descriptions?
Which data type is most appropriate for storing monetary values?
Which data type is most appropriate for storing monetary values?
Which data type is best for automatically generating a unique numeric identifier for each record?
Which data type is best for automatically generating a unique numeric identifier for each record?
What is the purpose of 'Field Properties'?
What is the purpose of 'Field Properties'?
What does the 'Field Size' property control?
What does the 'Field Size' property control?
What is the purpose of the 'Default Value' property?
What is the purpose of the 'Default Value' property?
What is the primary purpose of a 'Primary Key' in a database table?
What is the primary purpose of a 'Primary Key' in a database table?
Which of the following best describes the purpose of a 'Form' in a database?
Which of the following best describes the purpose of a 'Form' in a database?
Which tab do you click on to create a 'Form' in Microsoft Access?
Which tab do you click on to create a 'Form' in Microsoft Access?
Which of the following views allows you to view, create, and edit records within a 'Form'?
Which of the following views allows you to view, create, and edit records within a 'Form'?
Which view is the most visually-oriented and allows you to set the size of controls, or perform many other tasks that affect the visual appearance and usability of a 'Form'?
Which view is the most visually-oriented and allows you to set the size of controls, or perform many other tasks that affect the visual appearance and usability of a 'Form'?
Which view gives you a more detailed view of the structure of a 'Form', where you can see the header, detail, and footer sections?
Which view gives you a more detailed view of the structure of a 'Form', where you can see the header, detail, and footer sections?
Flashcards
What is a Database?
What is a Database?
An organized collection of related data stored in a computer for easy access and retrieval.
What is Data?
What is Data?
Raw, unorganized facts that need processing.
What is Information?
What is Information?
Processed data in a meaningful and useful form for decision-making.
What are Relational Databases?
What are Relational Databases?
Signup and view all the flashcards
What are Hierarchical Databases?
What are Hierarchical Databases?
Signup and view all the flashcards
What are Network Databases?
What are Network Databases?
Signup and view all the flashcards
What is a Database Management System (DBMS)?
What is a Database Management System (DBMS)?
Signup and view all the flashcards
What are Tables in Access?
What are Tables in Access?
Signup and view all the flashcards
What are Forms in Access?
What are Forms in Access?
Signup and view all the flashcards
What are Queries in Access?
What are Queries in Access?
Signup and view all the flashcards
What are Reports in Access?
What are Reports in Access?
Signup and view all the flashcards
What are Macros in Access?
What are Macros in Access?
Signup and view all the flashcards
Creating a Table
Creating a Table
Signup and view all the flashcards
What is a Field Name?
What is a Field Name?
Signup and view all the flashcards
What are Field Descriptions?
What are Field Descriptions?
Signup and view all the flashcards
What are the Data Types?
What are the Data Types?
Signup and view all the flashcards
What is Design View?
What is Design View?
Signup and view all the flashcards
What is Datasheet View?
What is Datasheet View?
Signup and view all the flashcards
What is 'Number' Data Type?
What is 'Number' Data Type?
Signup and view all the flashcards
What is 'Date/Time' Data Type?
What is 'Date/Time' Data Type?
Signup and view all the flashcards
What is 'Currency' Data Type?
What is 'Currency' Data Type?
Signup and view all the flashcards
What is 'AutoNumber' Data Type?
What is 'AutoNumber' Data Type?
Signup and view all the flashcards
What is 'Yes/No' Data Type?
What is 'Yes/No' Data Type?
Signup and view all the flashcards
What is 'Attachment' Data Type?
What is 'Attachment' Data Type?
Signup and view all the flashcards
What does Field Size specify?
What does Field Size specify?
Signup and view all the flashcards
What is Default Value?
What is Default Value?
Signup and view all the flashcards
What is an Input Mask?
What is an Input Mask?
Signup and view all the flashcards
What is a Validation Rule?
What is a Validation Rule?
Signup and view all the flashcards
What is Validation Text?
What is Validation Text?
Signup and view all the flashcards
What does 'Required' mean in field properties?
What does 'Required' mean in field properties?
Signup and view all the flashcards
What does 'Indexed' mean?
What does 'Indexed' mean?
Signup and view all the flashcards
What are the uses of a Primary Key?
What are the uses of a Primary Key?
Signup and view all the flashcards
What is a Form?
What is a Form?
Signup and view all the flashcards
What is Form view?
What is Form view?
Signup and view all the flashcards
What is Layout View?
What is Layout View?
Signup and view all the flashcards
Study Notes
Introduction to Databases
- Databases are organized collections of related data stored in a computer
- They allow easier storage, access, and retrieval of data
- Databases provide a mechanism for creating, querying, modifying, and deleting data
- Data is a collection of raw facts
- Information is processed data or data represented in a meaningful form
- Organizations require information for decision-making
Examples of Databases
- Databases are prevalent, with examples including:
- Schools keeping data on students
- Governments tracking earnings and taxes
- Credit information storage
- Grocery stores use for tracking purchases
- Banks use it to keep track of account data
- Cookies used on website collect user information
- Databases drive the information age by facilitating quality decision-making
Types of Database Models
- Relational databases
- Collection of relations or two-dimensional tables
- Connects data in different files (tables) using common data elements or a key field
- Hierarchical databases
- Can be visualized as a parent-child relationship
- Child may have one parent, but a parent can have multiple children
- Can also be imagined as an inverted tree, where the single table is the root and other tables act as branches
- Data access requires passing through the root table
- Network databases
- Developed to address problems within the hierarchical model
- Allows a child to have multiple parents, similar to the parent-child model
- Data can be accessed from any table, unlike in hierarchical models where access begins from the root table
- Replaced by relational database model
Database Management System (DBMS)
- Set of programs to manage databases
- A DBMS must perform the following functions:
- Create, modify, and delete data structures, such as tables
- Add, modify, and delete data
- Selectively retrieve data
- Generate reports based on the data
- Examples of Relational Database Management Systems include:
- Microsoft Access
- Oracle
- SQL Server
- MYSQL
Microsoft Access Database Objects
- Tables
- Used to store data
- Forms
- Permit users to enter, view, and modify data stored in tables
- Queries
- Pose questions about information stored in tables
- Search and compile data from one or more tables
- Define specific conditions for finding data
- Reports
- Allow you to print data based on queries/tables
- Used to extract information and present it in an organized, formatted manner (e.g., invoices, transcripts)
- Macros
- Easy-to-use commands to automate tasks in Access
- Example: Jumping to a new record every time database opens
Tables
- Two-dimensional structures storing data
- Contain information about one subject
- Examples: Customers, students, books
- Made up of records (rows)
- Each record represents a single item
- Student, customer
- Each record is subdivided into fields (columns)
- Fields define attributes for each record
- Employee salary, student grade
Creating Tables
- Usually the first objects created in a database
- Table is a collection of data about a specific topic
- Employee information, products, customers
- The first step is entering field names and data types
- Add field names, their data types, descriptions, properties
- Field name is the identifier for a field (e.g. Surname)
- Field descriptions are more descriptive than field names, they clarify what each field is for
- Example: “Current physical address"
- Data Types specify
- Types of values to allow in the field
- Storage space to use
- Whether Access can index or sort data in the field
Understanding Views
- Design View
- Used to set data types
- Insert or delete fields
- Set the Primary Key
- Datasheet View
- Used to enter and view the data for the records
Data Types
- Short Text
- Alphanumeric data (names, titles, etc.)
- Up to 255 characters
- Long Text
- Large amounts of alphanumeric data: sentences and paragraphs
- Maximum is 64,000 characters
- Number
- Numeric data
- Date/Time
- Dates and times
- Currency
- Monetary values
- AutoNumber
- Unique value generated by Access for each new record
- Yes/No
- Yes or no values
- Fields contain only one of two values
- OLE Object
- Pictures, graphs, or other ActiveX objects from another Windows-based application
- Hyperlink
- A link address to a document or file on the Internet
- Attachment
- You can attach files
- Such as pictures, documents, spreadsheets, or charts
- Limited by the storage limit of the size of a database file
- Calculated
- Create an expression that uses data from one or more fields
- Designate different result data types from the expression
- Lookup Wizard
- Displays a list of values from a table or query, or a set of specified values
- Creates a lookup field
- Data type is either text or number, depending on choices made in the wizard
Field Properties
- Control appearance of data
- Specifying the format of date
- Prevent improper entries
- Specify default values
- Sort of values to enter
- Control size of field
Field Properties (Continued)
- Field Size
- Maximum number of characters allowed
- Format
- Layout to use when displaying data (e.g., Date)
- Default Value
- Value inserted automatically when new record is created
- Input Mask
- Pattern to use when entering data (e.g. //____)
- Validation Rule
- Rules for field data (e.g. “
- Validation Text
- Rule error message (e.g. "CA can't be greater than 50")
- Required
- Field cannot be blank
- Index (Required)
- Set field as indexed, use to order records
- Speeds up searches
- Caption
- Specifies a label other than the field name to be used in forms and reports
Forms
- Database object to enter or display data
- Data entry, editing, display for review
- Clear viewing because you can look at one record at a time
- Navigation buttons at the bottom-left are used to move between records and create new ones
- To Create a Form
- Open the table or query on which you based the form
- Click “Create” tab
- Click “Form” in the “Forms” group
Views
- Form View
- Allows to view, create, and edit records
- Layout View
- Similar to Design View
- More visually-oriented so that each control displays real data
- Useful for setting the size of controls, or performing many other tasks that affect the visual appearance and usability of the form
- Design View
- Provides a more detailed view of the form's structure
- View the header, detail, and footer sections
- Unable to see the underlying data while making design changes
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.