Unit 3

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which of the following data are needed for DineOutHelper to recommend a restaurant for the group? I. Each group member's list of food allergies or dietary restrictions II. Alejandra's geographic location III. The usernames of the people on Brandon and Cynthia's contact lists

I and II only

Which of the following best describes the behavior of the procedure?

It displays true if x is negative and displays nothing otherwise.

Which of the following is a true statement about program documentation?

Program documentation is useful during initial program development and also when modifications are made to existing programs.

Which of the following is the most appropriate documentation to appear with the swapListElements procedure?

Returns a copy of numList with the elements at indices j and k interchanged.The values of j and k must both be between 1 and LENGTH(numList), inclusive.

Which of the following data must be collected from a user's smartphone in order for RunRoutr to suggest a running route?

The user's geographic position

The upgraded system uses a directory containing additional information not supplied by the customer. The directory is used to help direct calls effectively. Which of the following is LEAST likely to be included in the directory?

A list of computers the company owns and the computers' corresponding IP addresses

Which of the following is NOT a benefit of collaborating to develop a computing innovation?

Collaboration eliminates the need to resolve differences of opinion.

A company that develops educational software wants to assemble a collaborative team of developers from a variety of professional and cultural backgrounds. Which of the following is NOT considered a benefit of assembling such a team?

Collaboration that includes diverse backgrounds and perspectives can eliminate the need for software testing.

Which of the following is the most appropriate documentation to appear with the calculate procedure?

Displays the value of (x + y) / x.The value of the parameter x must not be 0.

Three students in different locations are collaborating on the development of an application. Which of the following strategies is LEAST likely to facilitate collaboration among the students?

Having all three students write code independently and then having one student combine the code into a program

To direct a call to the appropriate destination, which of the following input data is needed by the upgraded system that was NOT needed by the original system? I. Audio signal of the customer's voice II. The customer's keypad selection III. The customer's phone number

I only

Which of the following actions are generally helpful in program development? I.Consulting potential users of the program to identify their concerns II.Writing and testing small code segments before adding them to the program III.Collaborating with other individuals when developing a large program

I, II, and III

Which of the following data is not provided by Alejandra but is necessary for DineOutHelper to recommend a restaurant for the group? I.Brandon's contact list II.Information about which restaurants Brandon and Cynthia have visited in the past III.Information about which food allergies and dietary restrictions can be accommodated at different restaurants near Alejandra

III only

Which of the following best describes one of the benefits of using an iterative and incremental process of program development?

It helps programmers identify errors as components are added to a working program.

Which of the following is the most appropriate documentation to appear with the printNums procedure?

Prints all positive odd integers that are less than or equal to max.

Which of the following best describes the behavior of the code segment?

The code segment displays the value of 2(5^3) by initializing result to 2 and then multiplying result by 5 a total of three times.

The code segment compares pairs of list elements, setting containsDuplicates to true if any two elements are found to be equal in value. Which of the following best describes the behavior of how pairs of elements are compared?

The code segment iterates through myList, comparing each element to all subsequent elements in the list.

A student is creating an application that allows customers to order food for delivery from a local restaurant. Which of the following is LEAST likely to be an input provided by a customer using the application?

The cost of a food item currently available for order

Adrianna uses RunRoutr to suggest a running route. All compatible users near Adrianna receive a notification that shows her running route. Which of the following data is not obtained using data collected from Adrianna's smartphone but necessary for RunRoutr to share Adrianna's running route?

The current locations of other RunRoutr users

A company that develops mobile applications wants to involve users in the software development process. Which of the following best explains the benefit in having users participate?

Users can provide feedback that can be used to incorporate a variety of perspectives into the software.


Kaugnay na mga set ng pag-aaral

Maternal Newborn Practice 2019 A***

View Set

CLU3 Lesson 4 chapters 5/6 quiz and def

View Set

giving and get achieve 3000 answers

View Set