Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
93 views8 pages

11th Computer CH-11

Uploaded by

Ilesh Shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views8 pages

11th Computer CH-11

Uploaded by

Ilesh Shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Sub: Computer Std.

:11th EC

Chapter: 11 Retrieving data using query

11.1 Introduction
Here students will able to understand meaning of query.
1. _______ is a huge collection of data.
A Database B Data File
C Data Model D None of them
2. _______ is the feature of Base, which can be used to retrieve specific set information from database.
A Table B Query
C Form D Report
3. The user can retrieve data according to his _______ irrespective of how it is stored in the database.
A Choice B Criteria
C Format D All of them
4. What is the reason behind using Database Management System?
A Ability to design query B Storage purpose
C Use the queries as and when D All of them
required
11.2 Defining Query
Here students will able to create practically query .
5. _______ basically means asking question, doing inquiry or performing analysis.
A Table B Form
C Query D Report
6. In Base, to _______ is to ask a question about the information in the database.
A Table B Form
C Query D Report
7. What do you mean by Query?
A Asking question B Doing inquiry
C Performing analysis D All of them
8. Through a _______ one can tell Base to display exactly which fields and records a person would like to
view from the database.
A Table B Form
C Query D Report
9. Query is a set of _______ for fetching information from a table, or from several tables at once.
A Tables B Form
C Rules D Reports
10. The result of a query is itself in the form of a _______ .
A Table B Query
C Label D Report
11. The result of query is in the form of table which consists of a set of _______ .
A Row B Report
C Column D (a) and (b) both
12. If some queries already created then it will be listed under the pane titled _______ .
A Tables B Queries
C Form D Report
13. Different ways to create a query will be shown in the _______ .
A Task bar B Task pane
C Status bar D Navigation bar
14. How many ways are there to create a query in Base?
A one B two
C three D four
15. In Base, which of the following options are available in task pane to create query?
A Create Query in Design View B Use Wizard to Create Query
C Create Query in SQL View D All of them
16. In Base, which view provides a minimal amount of guidance to create a query?
A Create Query in Design View B Use Wizard to Create Query
C Create Query in SQL View D None of them
17. Which view guides through the process of query creation?
A Create Query in Design View B Use Wizard to Create Query
C Create Query in SQL View D None of them
18. Which of the following provides no guidance at all while creating Query?
A Create query in Design View B Use Wizard to Create Query
C Create query in SQL View D None of them
19. Users need to have knowledge about fourth generation computer language called ______ .
A Structure Query Language B Structure Query Like
C Standard Query Language D Standard Question Language
20. Base’s _______ has the advantage of helping us to organize our thoughts while requiring no previous
knowledge .
A Design View B Query Wizard
C SQL View D Table View
11.3 Query Creation Using Wizard
21. How many steps are there to create a query using wizard?
A four B eight
C ten D eleven
22. What is the first step of query wizard?
A Field Selection B Sorting order
C Grouping D Aliases
23. In Query wizard, which steps field is selected?
A first B second
C third D fourth
24. In Query wizard, which button is used to move the fields from ‘Available fields’ list box to ‘Fields in the
Query’ List box?
A Left and right arrow B Up and down
C In and out D None of them
25. Fields in ‘Fields in the Query’ list box can be arranged in the required order by using the _______
buttons.
A Left and right arrow B Up and down
C In and out D None of them
26. Which of the following helps in identifying the fields that is to be displayed in output?
A Field Selection B Sorting order
C Grouping D Aliases
27. What is the second step of query wizard?
A Field Selection B Sorting order
C Grouping D Aliases
28. Base allows to select up to ______ fields for deciding the sorting order of the output.
A one B two
C three D four
29. What is the third step of query wizard?
A Field selection B Search condition
C Grouping D Aliases
30. How many search conditions can be defined in one query while creating Query using Query Wizard?
A one B two
C three D four
31. In which steps we have to select appropriate values of Fields, the Conditions and Value parameters?
A first B second
C third D fourth
32. If multiple search conditions are to be set like last name may be ‘Shah’ or ‘Patel’ then choose _______ .
A Match all of the following B Match any of the following
C Match any one D No match
33. What is the seventh step in query wizard?
A Field Selection B Searching condition
C Grouping D Aliases
34. What is the purpose of the seventh step?
A Display the field names in human B Store the field names in machine
readable form language
C Display the field names as in table D Non e of them
35. In the _______ step, Base expects aliases for selected field names.
A Fifth B Sixth
C Seventh D Eighth
36. Query wizard, __allows space between words and writing full forms of short field names.
A Alias B Full form
C Similar D None of them
37. In Query wizard, the step of Aliases is _______ .
A Optional B Compulsory
C Both (a) and (b) D None of them
38. Which step is compulsory in query wizard?
A Field Selection B Grouping
C Detail or summary D Alias
39. In which step desired name can be assigned to query?
A Fifth B Sixth
C Seventh D Eighth
40. Once the query is created, the only way to make changes is through the ______ .
A SQL B Wizard
C Show Query D Design View
41. What is the eighth step of query wizard?
A Field Selection B Search condition
C Grouping D Overview
42. Which option is selected in eighth step of query wizard to view the query result immediately ?
A Display Query B Modify Query
C Show Query D Design view
43. Which option is selected in eighth step of query wizard to open the Design view?
A Display Query B Modify Query
C Show Query D Design view
44. What will be shown is ‘Display Query’ selected in eighth step of Query Wizard?
A Result of query B Design view
C Report D None of them
45. The limitation of Query Wizard is allowing _______ table to be selected .
A Only one B Two
C Three D Multiple
46. Which aggregate function allows to do sum of the required field?
A Sum of get B Get the sum of
C Sum of D Add of sum
47. Which step allows doing Grouping of required field?
A third B fourth
C fifth D sixth
11.4 Creation of Query Using Design View
Here students can create query in design view by giving criteria
48. There is no limitation of including multiple _______ in Query Design View.
A Tables B form
C Reports D None of them
49. In ‘Add Table or Query’ dialog box, which button is clicked to add tables in Query Design View?
A + B Add
C Add All D Include
50. The ‘Add Table or Query’ button available in _______ toolbar.
A Query Design B Standard
C Formatting D None of them
51. In Query Design View, what is the default value for visible option for each field?
A True B False
C True or False D None of them
52. In query design view, there are rows with heading _______ .
A Alias,Criterion B Sort, Or
C Function, Visible D All of them
53. What is the limitation of creating a query using wizard?
A Allow signal table to create query B Not allowing to specify conditions
C Not able to perform sorting D None of them
54. Which dialog box will appear after clicking on ‘create Query in Design View…’?
A Add Table dialog box B Add Query dialog box
C Add Table or Query dialog box D Add Report
55. Which option is selected to save a query?
A File → Save B File → Store
C File → Save Query D File → Query

56. Run Query button is present on _______ toolbar.


A Query Design B Table Design
C Wizard D None of them
57. To make changes in Query, select _______ options from the popup menu came by right clocking on the
query.
A Add B Edit
C Design D Alias
58. Specifying a _______ will limit the records.
A field B criterion
C sort D table
59. Applying criteria means to display a subset of _______ .
A Selected records B Single record
C Any random records D None of them
11.5 Using Single Field
Here students will get idea how we can give single field as criteria to create
query
60. Which of the following delimiter is used in criteria cell if there is a Text?
A ‘ ‘ B #
C $ D “ “
61. Which of the following delimiter is used in criteria cell if there is a Date?
A Asterisk B Hash
C Double quotes D Colon
62. Which of the following is hash symbol ?
A % B #
C @ D $
63. Which of the following delimiter is used in criteria cell if there is a Number?
A Quotes B Delimiter not required
C Double quotes D asterisk
64. What Base will do if delimiter is not used?
A Report error B Apply delimiters automatically
C Exit from base D None of them
65. What should be done to get desired result of query?
A Run query B Show query
C Display query D Delete query
66. How many Logical operators are available in Base?
A One B Two
C Three D Four
67. Which of the following is not a Logical operator?
A And B Or
C Is D Not
68. Which of the following symbols are special operator?
A Like B Is
C Between D All of them
69. Which of the following is comparison operator?
A <, > B <=, >=
C <>,= D All of them
70. Base allows design _______ for defining criteria using different types of operators.
A report B form
C expression D query
71. What is the expression to display the list of employees who joined after 1 st June 2011?
A > 01/06/2011 B >= #01/06/2011
C > #01/06/2011# D <01/06/2011
72. To hide any field used in the query output, clear the check mark shown in the _______ property of that
field.
A Visible B Show
C Display D Hide
73. Base offers _______ operator to specify the criteria like >= #1/6/2009# and <= #11/1/2006#.
A Like B In
C Between D Is
74. What should be written in criteria to display the employees list that joined between 1 st June 2005 and
1st Nov 2012?
A >= 1/6/2005 and <= 1/11/2012 B > #1/6/2005# and < #1/11/2012#
C >= #1/6/2005# and <= D <= 1/6/2005 and >= 1/11/2012
#1/11/2012#
75. What should be written in criteria to display the employees list that joined between 1 st June 2005 and
1st Nov 2012?
A >= #1/6/2005# and <= B > #1/6/2005# and <#1/11/2012#
#1/11/2012#
C Between #1/6/2005# and <= D (a) and (c)
#11/1/2012#
76. What is the criteria using special operator to retrieve those record whose city is Ahmedabad or Patan ?
A ‘Ahmedabad, Patan’ B = ‘Ahmedabad’, = ‘Patan’
C In(‘Ahmedabad’, ‘Patan’) D None of them
11.6 Using Multiple Fields
Here students will get idea how we can give multiple field as criteria to
create query
77. What dose NULL signifies?
A Not empty B Empty
C Both (a) and (b) D None of them
78. What criteria should to send discount coupons only to card holders of Modern Electronic Store
residing in Ahmedabad or Patan ?
A City coloum = B City column = “In(‘Ahmedanad’,
“Between(‘Ahmedabad’,’Patan’) and ‘Patan)and CardHolder column =
CardHolder column = ‘Is Not Empty’ ‘Is Not Empty’
C City column = “In(ahmedabad, D City column = “In(‘Ahmedabad’,
Patan) and CardHolder column = ‘Is ‘Patan) and CadrHolder column = ‘Is
Not Empty’ Empty’
79. Which logical operator ensures that all the given conditions must be true?
A AND B OR
C NOT D None of them
80. Which logical operator ensures that any one of all the given conditions must be true?
A AND B OR
C NOT D None of them
81. Which logical operator ensures that given condition must not be true?
A AND B OR
C NOT D None of them
82. What is the criteria to retrieve records of customers from all other places except Ahmedabad or
Patan ?
A In(‘Ahmedabad’, ‘Patan) B Not in(Ahmedabad, Patan)
C In(Ahmedabad, Patan) D Not in(‘ahmedabad’, ‘Patan’)
83. In Base, two or more expressions are in same row means _______ condition applied between fields .
A AND B OR
C NOT D BETWEEN
84. In Base, two or more expressions are in separate rows means _______ condition applied between fields.
A AND B OR
C NOT D BETWEEN
11.7 Using Wild Cards
Here students will get idea how many wild cards are there in computer and
how to use same in the query.
85. what expression to see the list of products with their model names starting with character set ‘hp’?
A hp B Hp*
C *hp D H*p
86. A _______ wild card represents any character or combination of characters.
A hash B Quotes
C Asterisk D caret
87. which operator must include with the wildcard charater?.
A Is B Like
C Between D And
89.In how many way calculation within a query can be performed?.
A 1 B 2
C 3 D 4
90.Calculation within a query in Base can be performed using –
A Custom calculation B Complex calculation
C Predefined caculation D (a) and(c)
91._______ includes performing numberic, date and text calculation on each record using data from one or
more fields.
A Custom calculation B Complex calculation
C Predefined calculation D (a) and (b)
92. _______includes operation like addition, multiplication, subtraction or division between different fields.
A Addition B Deletion
C Calculations D Expressions
93. To perform custom calculation we need to add an extra field know as ______
A Calculated field B Expression field
C new field D Added field
94. what expression should be written in calculated field to multiply ‘Quantity’ and ‘sale price’?
A Quantity *Sale Price B Quantity x sale price
C Quantity * Sale_ price D Quantity % sale price
11.8 Parameter Query
Here students will get idea and understand why there is need for
parameter query and meaning for same.
95. _______ queries are designed to accept values from the user at run time.
A Structure B Parameter
C Wizard D Table
96. _______ query will display dialog box asking the user to enter the values .
A Structure B Parameter
C Wizard D Table
97. To create a _______, the design of the query will remain same but parameter needs to enter rather than
specifying the actual value criteria cell.
A Wizard Query B Parameter Query
C Cross-tab Query D Select Query
11. 9 Structured Query Language
Here students will understand SQL to create query
98. The _______ queries are in the form of statements.
A Design View B Wizard view
C SQL D None of them
99. Which option should be selected to open Execute SQL Statement dialog box?
A Tools → SQL… B Tools → SQL Statements…
C Tools → Execute SQL D None of them
100. Under which label, instructions has to type to perform different operations related to table or a query?
A Command to execute B Execute Command
C Execute SQL Command D None of them
101. Which button will run the SQL command?
A Run B Execute
C Implement D None of them
102. Which of the following are written in the form of statements?
A SQL queries B Queries in Design View
C Queries using Wizard D None of them
103. which of the following can be done using SQL?
A Create a table B Insert a data into table
C Edit and Delete data D All of them
104. What care must be taken to avoid errors in execution of SQL queries?
A Quote signs B Capitalization
C Syntax D All of them
105. Which button gets highlighted when instructions entered?
A Execute B OK
C Help D Close
106. Which of the following SQL statement helps to create table?
A CREATE TABLE B ON TABLE
C NEW TABLE D SAVE TABLE
107. Under which option ‘Refresh Tables’ option is available?
A View B File
C Tables D Edit
108. The _______ statement is used to remove a table.
A DROP TABLE B DELETE TABLE
C REMOVE TABLE D DROP DATABASE
109. Which is the correct statement o delete ‘scheme’ Table?
A DROP TABLE scheme IF EXISTS; B DELETE TABLE scheme IF EXISTS;
C REMOVE TABLE scheme IF EXISTS; D None of them
110. Which option should be clicked to create query using SQL view ?
A Create Query in SQL view B Create Query in Design view
C Using SQL and Wizard D None of them
111. The SQL statements start with _______ keyword to retrieve information and are also known as SQL
queries.
A SELECT B RETRIEVE
C CREATE D SELECTION
112. What is the data type in “Description” Varchar(25)?
A Var B Varchar
C Description D 25
113. What is the size in “Description” Varchar(25)?
A Var B Varchar
C Description D 25
114. Which statement retrieve FirstName and LastName from Employee Table?
A SELECT FirstName, LastName from B SELECT, FirstName,LastName
Employee: from Employee;
C SELECT FirstName, LastName from D None of them
Employee
115. Query created using Design View can be open in SQL view right click on the related query and
selecting _______ .
A Edit in SQL View B Show in SQL View
C Display in SQL View D SQL View
116. The key board _______ is used to indicate that output needs to be sorted on field.
A ORDER BY B SORT BY
C ARRANGE BY D None of them
117. The keyword __ mention that data should be sorted in ascending order of given field.
A ASC B DSC
C ASCEND D INCRE
118. query created using ______ can be seen in SQL .
A Wizard B Design view
C Select D Both (a) and (b)
119. In SQL, the words after the keyword _______ are aliases.
A ASC B AS
C ALIAS D None of them

You might also like