Wednesday, April 23, 2025

MS Access Q&A

aned, de-duplicated, and fully numbered list of MS Access questions and answers, organized by category:


🔹 Field Names

  1. What is a field name?
    A: A label for a column in a table.

  2. Can field names have spaces?
    A: Yes, but it’s better to avoid them.

  3. What is the maximum length of a field name?
    A: 64 characters.

  4. Can two fields in the same table have the same name?
    A: No.

  5. Are field names case-sensitive?
    A: No.

  6. Give an example of a good field name.
    A: StudentName

  7. Can a field name start with a number?
    A: Not recommended.

  8. What characters are not allowed in field names?
    A: Periods (.), exclamation marks (!), and square brackets ([]).

  9. Should field names be descriptive?
    A: Yes.

  10. Can numbers be used in field names?
    A: Yes.


🔹 Data Types

  1. What is a data type?
    A: It defines the kind of data a field stores.

  2. What data type is used for text?
    A: Short Text.

  3. What data type is used for long paragraphs?
    A: Long Text.

  4. Which data type is used to store numbers?
    A: Number.

  5. Which data type is used for dates and times?
    A: Date/Time.

  6. What data type stores currency values?
    A: Currency.

  7. What data type is used for Yes/No answers?
    A: Yes/No.

  8. What data type is used for attachments like files?
    A: Attachment.

  9. Which data type allows you to choose from a list?
    A: Lookup Wizard.

  10. What is the default data type in Access?
    A: Short Text.


🔹 Field Properties

  1. What are field properties?
    A: Settings that control how data is stored and displayed.

  2. What does the "Field Size" property do?
    A: Sets the maximum number of characters or digits (255 for Short Text).

  3. What is the purpose of the "Format" property?
    A: It controls how data appears.

  4. What does the "Default Value" property do?
    A: Sets a value that appears automatically in the field.

  5. What does the "Required" property do?
    A: Ensures the field must be filled.

  6. What does the "Validation Rule" property do?
    A: Restricts the type of data entered.

  7. What does the "Validation Text" property do?
    A: Displays a message if the rule is broken.

  8. What does the "Indexed" property do?
    A: Speeds up searches and sorting.

  9. Can a field have a default value?
    A: Yes.

  10. What is the maximum field size for Short Text?
    A: 255 characters.


🔹 Creating Forms

  1. What is a form in MS Access?
    A: A user-friendly way to enter and view data.

  2. Can you enter data using a form?
    A: Yes.

  3. Which tab contains the Form option?
    A: Create tab.

  4. What is a Form Wizard?
    A: A tool that helps create forms step-by-step.

  5. What view is used to design a form?
    A: Design View.

  6. What view allows you to use a form?
    A: Form View.

  7. Can a form show more than one record?
    A: Yes.

  8. Can a form include buttons and images?
    A: Yes.

  9. What is a label in a form?
    A: A text box that shows field names or instructions.

  10. Can a form be based on more than one table?
    A: Yes, using queries or subforms.


🔹 Extra Concepts

  1. What is a table in MS Access?
    A: A collection of rows and columns storing data.

  2. What is a record?
    A: A row in a table.

  3. What is a field?
    A: A column in a table.

  4. What is a primary key?
    A: A field that uniquely identifies each record.

  5. Can a table have more than one Primary Key?
    A: No, but it can have a composite key.

  6. Why is a primary key important?
    A: It prevents duplicate records.

  7. What is a query?
    A: A question to search/filter data.

  8. What is a report?
    A: A formatted display or print of data.

  9. What is a subform?
    A: A form inside another form.

  10. What happens if you change data in a form?
    A: The table updates too.

  11. What is the difference between a Validation Rule and a Validation Text?
    A: A Validation Rule sets the condition data must meet. A Validation Text is the error message shown when the rule is broken.

  12. Write a Validation Rule for a "Marks" field where the marks should only be between 0 and 50. Also write a suitable Validation Text.
    A:

    • Validation Rule: >=0 And <=50

    • Validation Text: "Please enter a value between 0 and 50."

  13. A database has a field "Joining Year". Write a Validation Rule that allows only years from 2020 to 2025.
    A:

    • Validation Rule: >=2020 And <=2025

    • Validation Text: "Year must be between 2020 and 2025."


🔹 Basic Questions

  1. What is a Database?
    A: A database is an organized collection of data that is stored electronically.

  2. What is MS Access?
    A: MS Access is a database management system (DBMS) that helps users store, manage, and retrieve data easily.

  3. What is the file extension of MS Access?
    A: .accdb (for newer versions) and .mdb (for older versions).

  4. What is a Table in MS Access?
    A: A collection of data arranged in rows and columns.

  5. What is a Record?
    A: A single row in a table that contains related information.

  6. What is a Field?
    A: A column in a table that stores specific information about each record.

  7. What is the use of MS Access?
    A: To create and manage databases for businesses, schools, and organizations.

  8. What are the objects in MS Access?
    A: Tables, Queries, Forms, Reports, and Macros.

  9. What is the purpose of a Primary Key?
    A: To uniquely identify each record in a table.

  10. Can a table have more than one primary key?
    A: No, but it can be made up of multiple fields (composite key).


🔹 Intermediate Questions

  1. What are Data Types in MS Access?
    A: Data types define the kind of data a field can store, such as Short Text, Number, Date/Time, Currency, Yes/No.

  2. What is a Query in MS Access?
    A: A tool used to retrieve and filter specific data from tables.

  3. What is the difference between a Form and a Report?
    A: Form is used to enter/edit data; Report is used to format/print data.

  4. What is Sorting in MS Access?
    A: Arranging records in ascending or descending order.

  5. What is Filtering?
    A: Displaying only specific records based on certain criteria.

  6. What is a Relationship in MS Access?
    A: A link between two tables using a common field.

  7. What is a Foreign Key?
    A: A field in one table that refers to the primary key of another table.

  8. What is Referential Integrity?
    A: It ensures data in related tables remains consistent.


🔹 Advanced Questions

  1. What is an Input Mask?
    A: A format that controls how data is entered (e.g., phone numbers, dates).

  2. What is a Macro in MS Access?
    A: A set of commands that automate tasks.

  3. What is a Report used for in MS Access?
    A: To format, summarize, and print data.

  4. What is the difference between a Table and a Query?
    A: A Table stores raw data permanently; a Query retrieves or filters data temporarily.

  5. What is Data Validation?
    A: Ensuring only correct and meaningful data is entered.

  6. What is the use of a Combo Box in MS Access?
    A: A drop-down list to select from preset values.

  7. How does MS Access help businesses?
    A: By efficiently managing data like customer records, sales, and employees.

No comments:

Post a Comment

Html Practical's with Solution