Study Guide

Field 050: Computer Science
Sample Multiple-Choice Questions

Expand All | Collapse All

EDUCATIONAL COMPUTING AND TECHNOLOGY LITERACY

Objective 001
Understand basic computer technology operations and concepts.

1. Which of the following best describes the term multitasking?

  1. A user can have more than one application open and in use at the same time.
  2. Processing time is managed by the operating system so that system resources are optimized.
  3. Files and other resources are shared by users working on networked computers.
  4. A higher-priority program can interrupt lower-priority programs to use a system device.
Answer
Correct Response: A.

Objective 003
Understand the use of educational and productivity software.

2. An important criterion in the evaluation of an educational software package for use in the classroom is that the program:

  1. takes full advantage of the latest multimedia technologies.
  2. is designed so it can be used by either individuals or groups of students.
  3. loads quickly when it is started up.
  4. matches clearly identified educational needs.
Answer
Correct Response: D.

Objective 004
Understand the use of telecommunications and information access resources.

3. An advantage of interactive electronic learning is that:

  1. it is less expensive than traditional classroom learning.
  2. students can learn at their own pace and follow their own interests.
  3. less effort is required by students to achieve success.
  4. providing feedback to students is less labor-intensive for the teacher.
Answer
Correct Response: B.

Objective 005
Understand the use of computers and other technologies in research, education, problem solving, and product development.

4. Which of the following steps should be taken first in the development of a Web site?

  1. creating the links for navigating the site
  2. drafting the text for the site
  3. mapping out the structure and contents of the site
  4. inserting image placeholders
Answer
Correct Response: C.

COMPUTER SYSTEMS, DATA, AND ALGORITHMS

Objective 006
Understand basic characteristics of computer architecture.

5. A 2,000-byte file is edited so that its file size is increased to 6,000 bytes. The original location of the file on the hard drive does not contain enough unoccupied space around it to store the entire 6,000 bytes. Which of the following will occur when the file is saved?

  1. The surrounding files will be moved to make room for the larger file.
  2. The file will be compressed so that it will fit into the space occupied by the original file.
  3. The entire file will be stored in a new location on the hard drive.
  4. The file will be stored in segments with pointers linking the nonad­jacent sections.
Answer
Correct Response: D.

Objective 007
Understand characteristics and functions of operating systems.

6. The process of time-sharing on a multiuser system is achieved by:

  1. specifying the amount of time a computer has to access a peripheral device.
  2. shuffling tasks by performing a part of each task for a specified time interval.
  3. setting an upper limit on the amount of time a user can spend on a particular task.
  4. allocating processing time based on the priority level of the user.
Answer
Correct Response: B.

Objective 008
Understand types and characteristics of computer networks.

7. Which of the following accurately describes how an e-mail message is sent through the Internet to a destination in a different geographic location?

  1. It is sent directly to the destination computer with no stops in between.
  2. It is bundled with other messages that will use the same delivery route.
  3. It is split into packets that are sent to the destination and reassembled.
  4. It is sent to a central distribution point that coordinates message delivery.
Answer
Correct Response: C.

Objective 009
Understand types and applications of data structures.

8. For which of the following purposes is a queue the most likely data structure to be used?

  1. storing the high and low temperatures for each day of each month in the current year
  2. maintaining a list of jobs that are to be processed in the order in which they are received
  3. storing inventory information where the inventory is organized by part number in ascending order
  4. maintaining a list of book titles and authors so that a list of all books by a particular author can be obtained
Answer
Correct Response: B.

Objective 010
Understand characteristics and uses of algorithms.

9. A programmer uses a bubble sort algorithm to sort a list of 100,000 names into alphabetical order. Rather than physically swapping the data, the programmer employs a technique that uses an array of pointers that point to the names in the list and then reassigns the pointers' values as the names are sorted. The programmer has determined that this technique will save time during execution. A significant trade-off in using this technique is the increase in the:

  1. number of iterations needed.
  2. amount of memory required during program execution.
  3. amount of program documentation that must be written.
  4. time required to test the program adequately.
Answer
Correct Response: B.

PROGRAM DESIGN AND VERIFICATION

Objective 011
Apply principles and procedures for designing and preparing a program.

10. A programmer is designing a program to track a department store's inventory. Which of the following actions during the program's design phase would best demonstrate that the programmer understands the function of modules?

  1. using pseudocode to write the sections of the main program that will handle input and output
  2. deciding the order in which the algorithms will be coded
  3. identifying and finding solutions for the individual processes necessary to track the inventory
  4. determining the efficiency of the algorithms used in the program
Answer
Correct Response: C.

Objective 012
Apply program development and implementation procedures.

11. Use the diagram below to answer the question that follows.

The diagram is a flow chart with four steps. Step 1 is Translate. Step 2 is Link. Step 3 is Load. Step 4 is Execute.

A program is compiled and run according to the steps in the diagram above. After the program has executed successfully, it is run again with new input but with no changes to the source code. At which step will the process begin the second time the program is executed?

  1. Step 1
  2. Step 2
  3. Step 3
  4. Step 4
Answer
Correct Response: C.

Objective 013
Apply program verification principles and procedures.

12. Use the pseudocode below to answer the question that follows.

BEGIN PROGRAM AVERAGE

     SET SUM = 0

     SET J = 0

     DO WHILE J < 3

          DISPLAY ("Enter a number between 1 and 100")

          ACCEPT NUM

          IF (NUM >= 1 AND <= 100)

               THEN SUM = SUM + NUM

          END IF

     END DO WHILE

     AVG = SUM / J

END PROGRAM AVERAGE

The pseudocode above is written to calculate the average of three integers between 1 and 100. With inputs of 1, 0, 4, 8, and 12, the program will:

  1. display the correct average.
  2. be stuck in an infinite loop.
  3. generate a run-time error.
  4. display a number that is incorrect.
Answer
Correct Response: B.

Objective 014
Apply documentation and communication principles to software development.

13. An important purpose of system documentation for a software program is to:

  1. describe the internal structure of the software so that it can be maintained through its life cycle.
  2. report the results of testing and debugging procedures performed on the software.
  3. list the source code for the major modules of the program.
  4. provide instructions to the user on how to access and revise the program's code.
Answer
Correct Response: A.

PROGRAMMING LANGUAGE CONCEPTS

Objective 015
Understand types and characteristics of programming languages.

14. Which of the following functions is performed by a compiler?

  1. formatting program output
  2. evaluating the data passed to program modules
  3. connecting multiple object programs
  4. translating a source program into object code
Answer
Correct Response: D.

Objective 016
Understand the characteristics and application of data types and declarations in high-level languages.

15. Use the information below to answer the question that follows.

An object-oriented computer program is written to manage a simple automatic teller machine (ATM). Each customer can have a checking and a savings account. The functions listed in the table below can be performed on each type of account.

Accounts Functions
Checking

Savings
Deposit Funds
Withdraw Funds
Transfer Funds
Print Account Balances

A class called "money_manage" is defined that contains the functions listed above. Which of the following will be an object of type "money_manage"?

  1. the function "Withdraw Funds"
  2. a balance printout
  3. the account "Savings"
  4. a recorded deposit
Answer
Correct Response: C.

Objective 017
Understand types and characteristics of statements, operators, and control structures in high-level languages.

16. In a computer program, conditional control structures are used to:

  1. alter the execution sequence of the program.
  2. verify the values that are returned from procedures.
  3. ensure that data type declarations are made in the correct order.
  4. store the values of arguments being passed to procedures.
Answer
Correct Response: A.

Objective 018
Understand the characteristics and use of program modularization in high-level languages.

17. In a program module such as a procedure or a function, the role of parameters is to:

  1. serve as the module's input and output.
  2. indicate the number of variables that will be declared in the module.
  3. isolate calculations that could potentially cause errors.
  4. reassign data types to variables declared in the main program.
Answer
Correct Response: A.

PROFESSIONAL PREPARATION

Objective 019
Understand appropriate materials, methods, resources, and curricula for teaching computer science.

18. A computer science teacher would like to include instruction on a relatively new computer science topic but has had difficulty finding instructional materials. Which of the following sources would likely be most useful in terms of getting suggestions for materials to use?

  1. a publisher of computer science textbooks
  2. an online newsgroup for computer science teachers
  3. a national conference for computer professionals working on the topic
  4. a professional journal for instructional technology teachers
Answer
Correct Response: B.

Objective 021
Apply classroom and instructional management methodologies for teaching computer science.

19. A computer science teacher is planning a lab activity in which students will explore and compare features of three different operating systems. There are only a limited number of stations in the computer lab for two of the operating systems, however. Which of the following strategies is likely to be the most effective way for the teacher to manage this activity?

  1. assigning students to groups of three and having each student explore a different operating system and then share their findings with the others
  2. scheduling the students to perform the lab activity at different times during the term so that only a few are working on it at any one time
  3. having students learn about the operating systems through whole-class demonstrations instead of through individual hands-on work
  4. having students rotate among the stations so that they all have an equal opportunity to work with those operating systems
Answer
Correct Response: D.

Objective 022
Understand societal issues in computer science.

20. The development of the World Wide Web has had which of the following important consequences for individuals?

  1. It has made individuals much more critical consumers of information.
  2. It has given individuals access to a much greater amount and diversity of information.
  3. It has allowed individuals to have greater control over who has access to their personal information.
  4. It has improved individuals' communication skills.
Answer
Correct Response: B.