SDF LESSON 3

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which of the following data structures allows direct access to all of its items? a. Array b. Stack c. Queue d. Linked list

A. Array

Which of the following activities in the application lifecycle is used by an architect to create the technical blueprint of a system? a. Requirements analysis b. Design c. Development d. Maintenance

B. Design

You are developing a program that simulates a job processor. Often, the jobs come faster than you can process them, and in such cases, the jobs wait for their turn to be processed. You need to make sure that the job that arrived first is the first to be processed as well. Which of the following data structures is best suited for this requirement? a. Array b. Queue c. Linked list d. Stack

B. Queue

The testers of a software application have access to its source code, and they plan to write test cases that ensure that the methods return correct values. Which of the following testing levels will this activity fall under? a. Integration testing b. Unit testing c. Alpha testing d. Beta testing

B. Unit Testing

You write the following code in a program: int[] numbers = {2, 3, 1, 4}; numbers [2] = 4; What will be the contents of the array after the second statement is executed? a. {2, 4, 1, 4} b. {2, 3, 4, 4} c. {2, 4, 1, 2} d. {4, 3, 1, 4}

B. {2, 3, 4, 4}

The product that you are developing is not yet finished, but you would like to release the product to a wider customer audience for feedback and testing. Under which of the following testing levels would this activity fall? a. Integration testing b. System testing c. Acceptance testing d. Regression testing

C. Acceptance testing

You are developing a program that performs frequent insert and delete operations on the data. The data items need to be accessed like a stack with last-in, first-out functionality. Your solution must require as little memory as possible. Which of the following data structures will best suit these requirements? a. Array b. Circular linked list c. Linked list d. Doubly linked list

C. Linked List

In your application, you are using a queue data structure to manipulate information. You need to find which data item will be processed next, but you don't want to actually process that data item yet. Which of the following queue operations will you use? a. Enqueue b. Dequeue c. Peek d. Contains

C. Peek

You are developing a program that performs frequent insert and delete operations on the data. Your requirement also dictates the capability to access previous and next records when the user presses the previous or next button. Which of the following data structures will best suit your requirements? a. Array b. Circular linked list c. Linked list d. Doubly linked list

D. Doubly linked list

You are developing a program that requires you to track the method calls. You can only invoke one method at a time. However, a method call may in turn invoke other methods. When a method ends, it returns control back to the calling method. Which data structure should you use to keep track of these method calls? a. Queue b. Array c. Linked list d. Stack

D. Stack

______ is the process of determining the detailed business requirements for a new software system

Requirements Analysis

In ______ testing, testers use their knowledge of system internals to assess the system.

White Box

Alpha testing and beta testing both are part of the ______ testing of a system

acceptance

A(n) ______ is responsible for analyzing business needs and converting them into requirements that can be executed by the development team.

business analyst

The ______ operation adds an item to a queue, whereas the ______ operation removes an item from a queue

enqueue, dequeue

A linked list is a collection of nodes such that each node contains a(n) ____ to the next node in the sequence

link or reference

The QuickSort algorithm uses ______ and comparison operations to arrange the elements of a list in the correct order.

partitioning and comparison

Usually, with every new fix, software testers run a battery of ______ to make sure that all functionality that was known to be working is still working.

regression tests

A(n) ______ is a collection of items in which the last item added to the collection is the first one to be removed.

stack or LIFO

The BubbleSort algorithm uses a series of ______ and ______ operations to arrange the elements of a list in the correct order.

swap, comparison


Conjuntos de estudio relacionados

15 Most Popular Programming Languages

View Set

A8 Engine Performance practice test

View Set

Physics Chapter 14.1-14.3 Multiple Choice

View Set

Insurance agents and producers 1.6

View Set

Chapter 5: Security in the Cloud

View Set