Wikis allow many individuals to edit the site's content.

a. true
b. false


a. true

Computer Science & Information Technology

You might also like to view...

Consider a class that uses the following variables to implement an array-based stack:

``` String [] s = new String[100]; int top = -1; // Note top == -1 indicates stack is empty ``` a method that implements a String peek() operation can be written as A) if (top == -1) throw new RuntimeException("Empty Stack"); else return s[top -1]; B) if (top > -1) return s[top]; else throw new RuntimeException("Empty Stack"); C) top--; if (top == -1) throw new RuntimeException("Empty Stack"); else return s[top]; D) if (top == 0) throw new RuntimeException("Empty Stack"); else { top--; return s[top]; }

Computer Science & Information Technology

Answer the following statement(s) true (T) or false (F)

1. Viewing a Flash project in Flash is essentially the same as viewing the published movie in a Web browser or mobile device. 2. Publishing a movie is a highly efficient way to test it. 3. Purging helps reduce the overall size of the Flash movie. 4. The downside to purging is that you may accidentally delete an item that is in use on the stage. 5. Flash offers a Select Unused Items command to select all unused items.

Computer Science & Information Technology

The integrity constraint that ensures that every many record in a one-to-many relationship has a matching record in the one file is called:

A) entity integrity. B) referential integrity. C) domain integrity. D) ordinal integrity. E) cardinal integrity.

Computer Science & Information Technology

Write an application that implements a trip-time calculator. Define and use a class TripComputer to compute the time of a trip. TripComputer should have the private attributes

• totalTime—the total time for the trip • restStopTaken—a boolean flag that indicates whether a rest stop has been taken at the end of the current leg and the following methods: • computeLegTime(distance, speed)—computes the time for a leg of the trip having a given distance in miles and speed in miles per hour. If either the distance or the speed is negative, throws an exception. • takeRestStop(time)—takes a rest stop for the given amount of time. If the time is negative, throws an exception. Also throws an exception if the client code attempts to take two rest stops in a row. • getTripTime—returns the current total time for the trip. This structure of this project is similar to project 9. Even though the class TripComputer is pretty simple, developing and testing it first is advisable.

Computer Science & Information Technology