* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Introduction to Microsoft Access 2010
Survey
Document related concepts
Data center wikipedia , lookup
Concurrency control wikipedia , lookup
Versant Object Database wikipedia , lookup
Data analysis wikipedia , lookup
Microsoft Access wikipedia , lookup
3D optical data storage wikipedia , lookup
Information privacy law wikipedia , lookup
Entity–attribute–value model wikipedia , lookup
Business intelligence wikipedia , lookup
Open data in the United Kingdom wikipedia , lookup
Data vault modeling wikipedia , lookup
Clusterpoint wikipedia , lookup
Extensible Storage Engine wikipedia , lookup
Transcript
Class 8 Choose the correct answer: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. A table is also referred to as a a) reference b) row c) column d) relation The relational data model was invented by a) Billgates b) E.F. (Ted) Codd c) Dennis Ritchie d) Charles Babbage Databases created in Access 2010 are saved with the extension a) .db2010 b) .accdb c) .acdb d) .acc Using this option, you can create a new database from scratch. a) Blank database b) Installed template c) Auto content d) None of these The bar that appears at the bottom of the window is a) Status bar b) Object bar c) Title bar d) Ribbon The columns in a table are known as fields or a) records b) data types c) attributes d) None of these Maximum characters allowed in text data type is a) 256 b) 254 c) 255 d) 65536 This property is used to give an alternate, more descriptive name to a field. a) format b) memo c) Default d) caption The rows in a table are known as a) fields b) attributes c) records d) none of these A combination of fields that uniquely identifies the records in a table is a) primary key b) foreign key c) data type d) None of these Find the odd term out. a) Date/Time b) Field size c) Required d) Allow Zero Length A field that has a unique value for every record and cannot be left blank is a) primary key b) unique key c) special key d) none of these The field properties that lets you specify the condition on the data that can be entered in a table is a) Field size b) Format c) Validation Rule d) Required Which of these objects in Access lets you retrieve selective data based on specific criteria ? a) Tables b) Queries c) Forms d) Reports The pane used to entering field names and their data types is a) Datasheet pane b) Field properties c) Field Grid pane d) None of these DBMS helps in a) reducing data redundancy b) ensuring data security c) enforcing standards d) All of these Fill in the Blanks : 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. A database is an organized collection of related data. DBMS stands for Data Base Management System. A RDBMS uses tables to store data. The databases created an Access 2010 are saved with the extension .accdb The columns in a table are called as Fields. Access is an example of RDBMS. In a relational database, data is stored in the form of Tables. The datasheet view lets you enter data in a table. The default view property is used to specify a value that is displayed automatically when the records are created. The primary key field cannot contain duplicate values. Field properties lets you have the control on the data that can be entered in a field. The language called Structured Query Language (SQL) can be used to work on any RDBMS. 2 mark questions: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Define Database. A Database is an organized collection of related data so that it can be easily accessed, managed and updated. What is DBMS ? A Data Base Management System (DBMS) is a software program that enables you to create, modify and extract data from a database. DBMS can be based on different data models such as network, hierarchical and relational. Write a short note on Microsoft Access 2010. Microsoft Access is the most popular RDBMS that comes as a part of the Microsoft Office Suite. Access provides a graphical user interface for managing data. What are the options to create a new database ? Blank database : Using this option, you can create a new database from scratch. Installed template : Access comes with several pre-installed templates. Write a short note on Quick Access tool bar. The Quick Access toolbar is present on the top left corner of the Access window. It has buttons for commands that are used frequently. Define Ribbon. The Ribbon contains multiple tabs, each with several group of commands. Some tabs appear only when you work with certain objects like Forms. These tabs are called Contextual tabs. What is the purpose of Navigation Pane ? The Navigation pane displays the names of all the objects in the database. The objects are grouped on the basis of their type. Write a note on the components of a table. The columns in a table are known as fields or attributes. A field is named unit of information. A field stores one type of information about all the objects or items. Every field has a data type that determines the type of values that can be stored under it. Define Record. The rows in a table are known as records. A record stores complete information about an object or an item. Define Primary Key. A Primary key is a field or a combination of fields that uniquely identifies the records in a table. It cannot have repetitive values and cannot be left blank. 11. Differentiate between Text and Memo data types. Text 12. Memo The field with Text data type can have a maximum of 255 characters. The field with Memo data type can have a maximum of 65536 characters. The fields with this data type can store text or a combination of text and numbers such as names, addresses and postal codes. The fields with Memo can be used for storing detailed information such as synopsis of a book or a patient’s medical history. Differentiate between Number and AutoNumber data types. Number AutoNumber The fields with this data type can store numbers. 13. 14. 15. The fields with this data type stores integer that are incremented automatically when a new row or a record is added to a table. Mention the ways to create tables in Access. Creating tables in Design view. Creating tables by using a template. Creating tables by entering data in Datasheet view. How do you delete record in a table ? Select or click on the record that needs to be deleted. Click on the Delete option in the Records group on the Home tab. List out the steps to sort records in a table. Select the field on the basis of which you want to sort the records. Click on the Ascending or Descending option in the Sort & Filter group on the Home tab. 5 mark questions: 1. 2. 3. 4. 5. Explain the advantages of a database. Explain the objects in Access. Explain the data types in Access. Explain the two types of views. List out the steps to create a table. ***************************** Microsoft Access Ex. No.:1 Class 8 Creating a Blank Database – ToyShop Ankita’s father owns a ToyShop. He wants to create a database of toys in the shop with the following details. Field Name ToyID ToyName ToyManufacturer ToyColor ToyPrice AgeGroup Data Type Text Text Text Text Number Text Description Toy’s ID Toy’s Name Toy’s Manufacturer Toy’s Color Toy’s Price Age Group for the Toy’s SOLUTION: 1. Select Start → All Programs → Microsoft Office → Microsoft Access 2007. The opening Microsoft Access Screen appears. 2. Click Blank Database. A pane appears on the right with Blank Database information. 3. Type the filename as ToyDetails. Click Browse and choose the file location. Finally, click Create. Access will create the database with an empty table named Table1. The database will open in Datasheet view. 4. Click Save under the Microsoft Office Button. The Save As dialog box appears. Type the table name as Toy and click O.K. 5. Select Design View from the Views option of Table Tools. 6. It has three columns. Field Name, Data Type, and Description. Notice that ID is already set as Primary Key with Data Type as AutoNumber. (Delete ID field) 7. Under the Field Name column, type ToyID. 8. Move to the Data Type column and select the Data Type. 9. Move to the Description column and type the required information. 10. Press TAB key again to move to the next row. Click the Microsoft Office Button and select Save. 11. Change to DataSheet view again. 12. Enter 10 records. Use TAB key to move from one column to the next. 13. Finally, select Close Database from the Microsoft Office Button. Output: (to be drawn on the left page) Ex. No.:2 Creating a Blank Database – Student Create a table [Stu_details] with the following details. Field Name Admno Rollno Stuname Class Sec Email_id Data Type Number Number Text Number Text Text Description Admission Number Roll Number Student Name Class Section Email ID SOLUTION: 1. Select Start → All Programs → Microsoft Office → Microsoft Access 2007. The opening Microsoft Access Screen appears. 2. Click Blank Database. A pane appears on the right with Blank Database information. 3. Type the filename as Student. Click Browse and choose the file location. Finally, click Create. Access will create the database with an empty table named Table1. The database will open in Datasheet view. 4. Click Save under the Microsoft Office Button. The Save As dialog box appears. Type the table name as Stu_details and click O.K. 5. Select Design View from the Views option of Table Tools. 6. It has three columns. Field Name, Data Type, and Description. Notice that ID is already set as Primary Key with Data Type as AutoNumber. 7. Under the Field Name column, type ToyID. 8. Move to the Data Type column and select the Data Type. 9. Move to the Description column and type the required information. 10. Press TAB key again to move to the next row. Click the Microsoft Office Button and select Save. 11. Change to DataSheet view again. 12. Enter 10 records. Use TAB key to move from one column to the next. 13. Finally, select Close Database from the Microsoft Office Button. Output: (to be drawn on the left page)