No student devices needed. Know more
17 questions
Any programming language that lets users create programs by manipulating “blocks” or graphical programming elements, rather than writing code using text.
Command
Run Program
Algorithm
Block-based programming language
A sequence of steps written in a programming language that can be followed to solve a problem, especially by a computer.
Debug
Event
Algorithm
Computer Program
An error in a program that prevents the program from running as expected
onEvent
Bug
Moth
Fly in the Ointment
Statements that should only run upon a specific user action should be placed
inside an onAction block
below an onEvent command
after the first programming statement
within an onEvent programming statement
Finding and fixing problems in an algorithm or program
Debugging
Event Driven Programming
Run Programs
Algorithms
Cause the computer to execute the commands you've written in your program
console.log
Run Program
Debug
onEvent
A single instruction for the computer. Put many together and you get algorithms and computer programs.
Algorithm
onEvent
console.log
Command
A set of steps you can follow in order to solve a problem or achieve a result often written down in regular spoken language.
Debugging
Event
Algorithm
Computer Program
When the user hovers their mouse over the hawk, the
both birds will appear only in the middle of the screen
The sparrow will be confined to the upper right and the hawk to the upper left
The sparrow will be confined to the lower right and the hawk to the upper left
The sparrow will be confined to the lower left and the hawk to the upper right
Choose all the correct options. When debugging, you should
run the program over and over, staring really hard at it
add some console.log statements to see what is going on
describe your program and the odd behavior to a friend
reduce the amount of code and see if the behavior improves
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.
Collaboration that includes diverse backgrounds and perspectives can help the team anticipate the needs of a variety of software users.
Collaboration that includes diverse backgrounds and perspectives can help the team avoid bias.
Collaboration that includes diverse backgrounds and perspectives can reflect the strengths of the individual team members.
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 participate in frequent video chat sessions to discuss ideas about the project and to provide feedback on work done so far
Having all three students use an online shared folder to contribute and discuss components to be considered for use in the application
Having all three students write code independently and then having one student combine the code into a program
Having all three students work in a shared document that each can edit to provide comments on the work in progress
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 identify and correct errors they encounter when using released versions of the software.
Users can review the algorithms used in the software to help improve their efficiency.
Users can provide documentation for program code at the end of the software development process.
Users can provide feedback that can be used to incorporate a variety of perspectives into the software.
DineOutHelper is a mobile application that people can use to select a restaurant for a group meal. Each user creates a profile with a unique username and a list of food allergies or dietary restrictions. Each user can then build a contact list of other users of the app.
A user who is organizing a meal with a group selects all the members of the group from the user’s contact list. The application then recommends one or more nearby restaurants based on whether the restaurant can accommodate all of the group members’ allergies and dietary restrictions.
Suppose that Alejandra is using DineOutHelper to organize a meal with Brandon and Cynthia.
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
I and III only
II and III only
I, II, and III
DineOutHelper is a mobile application that people can use to select a restaurant for a group meal. Each user creates a profile with a unique username and a list of food allergies or dietary restrictions. Each user can then build a contact list of other users of the app.
A user who is organizing a meal with a group selects all the members of the group from the user’s contact list. The application then recommends one or more nearby restaurants based on whether the restaurant can accommodate all of the group members’ allergies and dietary restrictions.
Suppose that Alejandra is using DineOutHelper to organize a meal with Brandon and Cynthia.
Which of the following data is not provided by Alejandra but is necessary 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
II only
III only
II and III only
I, II, and III
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 address where the order should be delivered
The cost of a food item currently available for order
The credit card or payment information for the purchaser
The name of a food item to be included in the delivery
Directions: The question or incomplete statement below is followed by four suggested answers or completions. Select the one that is best in each case.
Which of the following is a true statement about program documentation?
Program documentation should not be changed after it is first written.
Program documentation is only needed for programs in development; it is not needed after a program is completed.
Program documentation is useful when programmers collaborate but not when a programmer works individually on a project.
Program documentation is useful during initial program development and also when modifications are made to existing programs.
Explore all questions with a free account