Wednesday, March 24, 2010

IT Fundamental - VII

1. Which of the following arrangements of general-purpose data structures is from slowest to fastest for the purpose of finding objects according to a key value:
a. sorted arrays, unsorted linked lists, hash tables, binary search trees
b. sorted arrays, binary search trees, linked lists, hash tables
c. hash tables, binary search trees, unsorted arrays, sorted linked lists
d. sorted linked lists, sorted arrays, binary search trees, hash tables

2. Which of the following arrangements of general-purpose data structures is from slowest to fastest for the purpose of storing objects by key value (not necessarily in order):
a. unsorted arrays, sorted linked lists, hash tables, binary search trees
b. sorted arrays, binary search trees, linked lists, hash tables
c. hash tables, binary search trees, sorted arrays, sorted linked lists
d. unsorted arrays, linked lists, binary search trees, hash tables

3. In an abstract data type, access is often limited to certain items. Which of the following is not such an abstract data type?
a. binary search tree
b. priority queue
c. queue
d. stack

4. Which of the following is not a basic data structure that could be used to implement an abstract data type?
a. array
b. linked list
c. hash table
d. heap

5. Which of the following statements is true?
a. An abstract data type can be conveniently searched for an item by key.
b. An abstract data type can be conveniently traversed.
c. An abstract data type is an interface within a program that simplifies problems.
d. An abstract data type is a database for direct user-accessible data.

6. Which of the following methods of implementing a priority queue is best when both insertion and deletion need to be reasonably fast?
a. ordered array
b. ordered linked list
c. heap
d. binary search tree

7. If the amount of data to be stored in a stack cannot be predicted, the best data structure to implement the stack is:
a. hash table
b. binary search tree
c. linked list
d. unordered array

8. Which of the following statements is true regarding a queue?
a. It may be implemented either by an array or a linked list.
b. It may be implemented by a heap because first in is first out.
c. It may be implemented by a linked list because insertions and deletions may be from the same end.
d. It may be implemented by an array without providing for wrap-around.

9. Which of the following sort algorithms is not an O(n2) sort?
a. shell sort
b. insertion sort
c. selection sort
d. bubble sort

10. Which of the following is true regarding the efficiency of the shell sort?
a. It is slower than O(n2).
b. It is faster than O(n*log2 n).
c. It is not as efficient as the insertion sort.
d. It has not been established theoretically, i.e. as a single function of n.

Friday, February 26, 2010

IT Fundamental - VI

1. Database software allows users to __________.
a. add, change, and delete data
b. sort and retrieve data from the database
c. create forms and reports using the data in the database
d. all of the above

2. The results of presentation graphics software programs normally are viewed as __________.
a. macros
b. audience handouts
c. slides
d. notes pages

3. A clip art/image gallery can be stored on a __________.
a. hard disk
b. CD-ROM
c. DVD-ROM
d. all of the above

4. A(n) __________ is a PIM feature that can be used to record ideas, reminders, and other important information.
a. appointment calendar
b. address book
c. notepad
d. worksheet

5. Integrated software is __________.
a. less expensive than a less powerful software suite
b. more expensive than a less powerful software suite
c. less expensive than a more powerful software suite
d. more expensive than a more powerful software suite

6. Popular software suites used in schools usually include all of the following applications except __________.
a. word processing
b. spreadsheet
c. calendar
d. database

7. Integrated software and software suites offer all of the following advantages except __________.
a. lower cost
b. ease of use
c. higher cost
d. applications use a similar interface

8. Microsoft FrontPage and Netscape Composer are examples of __________ software.
a. educational
b. Web page authoring
c. reference
d. personal computer entertainment

9. On-screen talking calculators, speech synthesis software programs, and text enlargement software are examples of __________ software.
a. special needs
b. home design/landscaping
c. reference
d. personal computer entertainment

10. Tutorials are __________.
a. answers to questions that people frequently ask about an application
b. the electronic equivalent of a user manual, usually integrated into an application software package
c. step-by-step instructions using real examples to show how to use an application
d. automated assistants that help complete a task by asking questions and performing actions based on the answers

Search Aptipedia