Object-Oriented Software Design Chapter 2 Questions For Creating Computer Program Can Described Fourstep Process Using Problem

subject Type Homework Help
subject Pages 3
subject Words 680
subject Authors Randy Pausch, Wanda P. Dann

Unlock document.

This document is partially blurred.
Unlock all pages and 1 million more documents.
Get Access
page-pf1
Questions for Chapter 2
1) Creating a computer program can be described as a four-step process using problem
solving techniques. List the four steps and give a brief description of each.
Read the scenario a description of the problem
2) Describe two major differences between a visual storyboard and a textual storyboard.
A visual storyboard includes images representing a snapshot of a scene, and includes a
3) In what way does the design and implementation of a computer program resemble the
process that an artist goes through when creating a painting or an engineer when
constructing a bridge or other such product?
While the final product is the painting, bridge, or computer program, all three have to
4) Describe the differences between translational motion and rotational motion.
Translational motion describes the movement of the center of an object (and the rest of
5) Create sketches of an object in an Alice world to describe the results of the following: a)
move right 90, b) turn right 90, and c) roll right 90?
In part a. the object should be 90 meters to the right of where it started. In part b, the
6) Do in order and Do together are described as control statements. Why?
7) Explain how to synchronize the orientation of two objects in Alice.
8) Explain how to synchronize the motion of two objects in Alice.
9) What does a method define?
10) Which control statement is used in Alice to create a block of instructions that will occur
in sequence when the program is run?
page-pf2
11) Which control statement is used in Alice to create a block of instructions that will occur
simultaneously when the program is run?
12) What is meant by the phrase “one block of code is nested in another”?
Nesting means that one program statement is writing inside another. It is worthwhile to
13) How do you know whether a program has a bug?
This is a really hard question. If when you run your program and your program does not
14) If comments are ignored by Alice, why do we add comments to our program?
15) Which built-in method in Alice is used to: a) change the orientation of an object, b)
display a comic-book style text bubble on the screen, and c) synchronize the movement
of one object to the movement of another object?
a) Orient to
16) In a move, turn, or roll instruction, what are the choices of arguments that can be used by:
a) duration, b) style, and c) asSeenBy?
a) This must be a number greater than or equal to 0
17) Sketch a flowchart for exercise 3 below.
page-pf3

Trusted by Thousands of
Students

Here are what students say about us.

Copyright ©2022 All rights reserved. | CoursePaper is not sponsored or endorsed by any college or university.