1. ____ are collections of classes that serve related purposes.
2. In programming languages that supply existing ____ classes, you are often provided with a visual development environment in which you can create programs by dragging components such as buttons and labels onto a screen and arranging them visually.
3. (True/False) Rather than ending a method prematurely just because it encounters a piece of invalid data, one solution involves looping until the data item becomes valid.
4. A(n) ____block is a segment of code that can handle an exception that might be thrown by the try block that precedes it.
> Suntrek is a global denim fabric and jeans manufacturer. It purchases raw, baled cotton from locations around the world (primarily the United States and Mexico) and ships it (in containers) to various factories it operates to manufacture denim fabric and
> Check the pairwise comparison in Problem 48 for consistency.
> Balston Healthcare operates three hospitals and a number of clinics in its citywide network. It is planning to open a new wellness center and clinic facility that focuses on geriatric clients in one of four suburbs. The following table shows the weighted
> For Problem 49, check the consistency of the pairwise comparison matrices for all four criteria and the criteria.
> The Growall Fertilizer Company produces three types of fertilizer—Supergro, Dynaplant, and Soilsaver. The company has the capacity to produce a maximum of 2,000 tons of fertilizer in a week. It costs $800 to produce a ton of Supergro, $1,500 for Dynaplan
> Labran Jones has played for the Cleveland professional basketball team for the past eight seasons and has established himself as one of the top players in the league. He has recently become a free agent, meaning he can sign a new contract with Cleveland
> A state university interviewed three candidates (A, B, C) for a faculty position in the department of decision sciences. The university selects the best candidate based on education (Ed), experience (Ex), and references (Re). The search committee has pre
> Check the pairwise comparison in Problem 46 for consistency.
> An undergraduate student of decision sciences wants to buy a mobile. He mainly focuses on three criteria: cost, battery life, and features. He has finalized three models of phones (M1, M2, and M3). Using his knowledge of AHP, he has created pairwise comp
> For Problem 44, develop your own pairwise comparisons for and among the criteria using your own knowledge of Civil War history and any Internet research you might perform, and develop your own AHP ranking of the four generals.
> The four most famous generals during the American Civil War were Ulysses S. Grant, William Tecumseh Sherman, Robert E. Lee, and Stonewall Jackson. Historians have always debated who the greatest general from among these four was. Following are the pairwi
> Each November the Baseball Writers’ Association of America (BBWAA) releases its list of that year’s nominees for induction into the National Baseball Hall of Fame in Cooperstown, New York. There are 575 voting members of the BBWAA, and candidates must be
> A European oil exploration company wants to relocate its design center to the UAE as part of company’s consolidation strategy. The following pairwise matrix was developed to evaluate the preference. a. Determine the priorities for the t
> A faculty committee in the department of Business Analytics at Tech is evaluating three new text- books for its introductory management science course, which all business students are required to take. The texts, identified by the authors, are Adams/Jone
> The department of management science at Tech offers four sections of introductory quantitative methods in the fall semester, each taught by a different teacher. A group of students have developed the following criteria to rank the sections: time and day,
> For Problem 19, develop your own pairwise comparisons for the criteria you might use to select an apartment complex or other dwelling in your college community, and develop your own AHP ranking for the possible apartment complexes you might live in.
> A farmer in the Midwest has 1,000 acres of land on which she intends to plant corn, wheat, and soybeans. Each acre of corn costs $100 for preparation, requires 7 worker-days of labor, and yields a profit of $30. An acre of wheat costs $120 to prepare, re
> In Problem 38 check the general manager’s pairwise comparisons for consistency.
> Ben Cheery, the Sox general manager, wants to sign at least one free agent player for the coming baseball season. He is considering four players—Joe Aaron, Mike Bass, Carlos Cabrera, and Josh Donald. He is using three criteria including
> Suntrek, based in China, is a global supplier of denim jeans for apparel companies around the world. It purchases baled raw cotton from producers in the United States and then transports it to East Coast ports, where it is loaded into containers and ship
> Federated Health Care has contracted to be Tech’s primary health care provider for faculty and staff. There are three major hospitals in the area (within 35 miles)—County, Memorial, and General—that h
> Given the following pairwise comparisons, indicate your preferences according to the preference scale in Table 9.1. a. Steak to chicken b. Hot dogs to hamburgers c. Republicans to Democrats d. Soccer to football e. College basketball to professional bask
> Katherine Miller is a senior in the department of informa- tion technology at Tech. For the past few months she has been involved in the job search process. She has an excellent résumé, with a high grade point average and a strong record of campus partic
> The town of Blacksburg needs a larger modern middle school. The current middle school is in the center of town and is over 40 years old. There are two proposals for a new school—renovate and expand the current facility and keep it in to
> General elections are due to be held in a country to constitute the next government. A voter who recently became eligible is anxious to vote for the first time. The voter evaluates the performance of three political parties on the criteria governance, em
> The management science and information technology majors at Tech select one of two available options within the major—decision support systems (DSS) or operations management (OM). Student advisers use AHP with the students to determine
> Check the pairwise comparison in Problem 30 for consistency.
> Pearson plans a surprise summer vacation gift to its employees. When the publisher revealed the idea, the excited employees explored three perfect destinations for their summer getaway: Isle of Skye, Scotland; Paris, France; and Bern, Switzerland. Employ
> The Bay City Parks and Recreation Department has received a federal grant of $600,000 to expand its public recreation facilities. City council representatives have demanded four different types of facilities—gymnasiums, athletic fields,
> The Bay City Parks and Recreation Department is considering building several new facilities, including a gym, an athletic field, a tennis pavilion, and a pool. It will base its decision on which facilities to build depending on projected usage (from surv
> Professor Rakes is selecting a new graduate assistant from a pool of second-year MBA students. He will make his selection based on the student’s grade point average (GPA) to date, the overall GMAT (entrance exam) score, and the undergra
> Rockingham Systems is considering three R&D projects it has identified as A, B, and C. Rockingham is not sure it will undertake all three projects, so it wants to rank them in terms of preferability. Rockingham will use three criteria to rank the pro
> Whitney Eggleston operates a computerized dating service for students at Tech. She uses AHP to help match her clients. Whitney is attempting to match Chris with Robin, Terry, or Kelly. She evaluates her clients according to three criteriaâ€
> Broderick Crawford is the district commander for the Catawba Valley highway patrol district in western Pennsylvania. He is attempting to assign highway patrol cars to different road segments in his district. The primary function of the highway patrol for
> The Pearlsburg (West Virginia) Rescue Squad serves a mountainous, rural area in southern West Virginia. The only access to the homes, farms, and small crossroad communities and villages is a network of dirt, gravel, and poorly paved roads. The rescue squ
> When should a single-alternative decision structure be used instead of a dual-alternative structure?
> The American Association for Retired Persons (AARP) mails out applications to people who are age 50 and older. How might you write a selection question to select all persons eligible for AARP?
> 1. When structures are attached to each other end to end, this is called ____. 2. When one structure is contained completely within another structure, this is called ____. 3. Another name for looping is ____.
> What are three structures of programming?
> 1. (True/False) Many approaches can be used to write and execute a computer program. 2. A(n) ____ is a program that you use to create simple text files. 3. The ____ is a location on your computer screen where you type text entries to communicate with the
> You have an outer for loop that will execute five times, with an inner for loop that will execute three times each time it is entered. How many times in total will the inner for loop execute?
> 1. A report that contains only totals and other overall statistical information is called a(n) _____ report. 2. A variable that is used to hold a running total is called a(n) ___________ variable.
> What are some other names for modules?
> 1. Declaring a starting value is known as ____ the variable. 2. A variable’s unknown value is commonly called ____. 3. (True/False) Variable names should have some appropriate meaning. 4. A(n) ____ variable can hold text, such as letters of the alphabet,
> What purpose does a sentinel value have?
> 1. A symbol shaped like a(n) ___________ represents a decision in a flowchart. 2. A loop that runs forever is called a(n) ______________ loop. 3. A code stored in a file that marks the end of the data is called a(n) ____ marker.
> 1. A(n) ____ anomaly is a problem that occurs when the data in a table needs to be altered. 2. A table that contains repeating groups is ____. 3. A(n) ____ dependency occurs when the value of a nonkey attribute determines, or predicts, the value of anoth
> 1. You represent a(n) ____ relationship between classes with a straight line. 2. ____ diagrams are similar to class diagrams, but they model specific instances of classes. 3. You use a(n) ____ diagram to illustrate aspects of a system that show interesti
> 1. A(n) ____ represents a picture or sketch of a screen the user will see when running a program. 2. A(n) ____ diagram shows the relationship between screens in an interactive GUI program. 3. A(n) ____ is the flow of execution of one set of program state
> 1. Object-oriented programmers usually specify that their data fields will have ____ access—that is, the data cannot be accessed by any method that is not part of the class. 2. An access ____ is the adjective defining the type of access (public or privat
> 1. (True/False) When you pass an array element to a method, any changes to it are not permanent and are not reflected in the array declared in the main program. 2. Arrays, unlike simple built-in types, are passed by ____. 3. When you overload a method, y
> 1. An array whose elements you can access using a single subscript is a(n) ____dimensional array. 2. (True/False) You access a two-dimensional array value using two subscripts, in which the first subscript represents the column and the second one represe
> 1. A(n) ____ file is a file in which records are stored one after another in some order. 2. In a(n) ____ program, as you read records, you examine the same field in each record; and when you encounter a record that contains a different value from the one
> A computer program must be free of ____ errors before you can execute it.
> 1. The first element in an array has a subscript of ____. 2. The last element in an array has a subscript of ____.
> How are the items in two parallel arrays related?
> What programming construct should be used to search through an array for a matching item?
> In a for loop, is the condition tested before or after the loop body is executed?
> If the loop control variable is not initialized, what may happen?
> If the loop control variable is not altered within the loop, what will happen?
> When AND and OR operators are combined in the same statement, which has precedence?
> 1. In an OR decision, you should first ask the question that is ____ (more/less) likely to be true. 2. In an AND decision, you should first ask the question that is ____ (more/less) likely to be true.
> Which logical operator requires that both conditions be true to produce a true result?
> Which logical operator requires that only one condition be true to produce a true result?
> What is the most important phase in creating a program to solve a problem?
> List the reasons for using the three structures discussed in the chapter.
> 1. A(n) ____ is an added statement that gets the first input value in a program. 2. (True/False) When you are beginning to learn about structured program design, it is easy to detect whether a flowchart of a program’s logic is structured. 3. (True/False)
> 1. The feature of modular programs that allows individual modules to be used in a variety of applications is known as ____. 2. Programmers say the data items are ____ only within the module in which they are declared. 3. (True/False) A hierarchy chart te
> 1. A value that uniquely identifies a record is called a(n) ____ key. 2. When defining a table, you must identify a name and ____ for each column. 3. (True/False) In the following table structure, the primary key is tblStudents. tblStudents(idNumber, las
> 1. (True/False) The UML is an object-oriented programming language. 2. ____ diagrams emphasize the “things” in a system. 3. In a use case, users are called actors and are represented by ____. 4. You use a(n) ____ variation when a case can be part of mult
> 1. The ____ is the software that you use to run a computer and manage its resources. 2. (True/False) With most event-driven programs, the user might initiate any number of events in any order. 3. An object that is “interested in” an event to which you wa
> What is the name for the destructor of a class named Manager?
> What is another name for a base class?
> How many arguments are required by a default constructor?
> 1. A(n) ____ is a method that establishes an object. 2. (True/False) Constructors may be overloaded. 3. The ____ access modifier is used when you want no outside classes to be able to use a data field, except classes that are children of the original cla
> What are the three basic operations of a computer?
> 1. An object is one ____ of a class. 2. The data components of a class that belong to every instantiated object are the class’s ____ variables. 3. ____ is the process of acquiring the traits of one’s predecessors. 4. A class ____ is a set of program stat
> What are five important features of object-oriented languages?
> 1. (True/False) When you pass a data item into a method from a calling program, it is called a parameter to the method. 2. (True/False) Each time a method executes, any parameter variables listed in the method header are redeclared. 3. The ____ for a met
> 1. When records are in ____ order, they are arranged one after another on the basis of the value in a particular field. 2. (True/False) When computers sort data, they always use alphabetic values when making comparisons between values. 3. When you ____ v
> 1. ____ files contain data that has not been encoded as text. 2. The combination of the disk drive plus the complete hierarchy of directories in which a file resides is its ____. 3. ____ are groups of fields that go together for some logical reason. 4. (
> 1. Each element of an array has the same ____ and the same ____. 2. Each element of an array has a unique ____. 3. (True/False) Array elements are stored sequentially in computer memory.
> Another term for “counting down” is ____.
> When can a structured loop be exited?
> What are the three steps found in every loop?
> What values can result from evaluating Boolean expressions?
> What are the two major components of a computer system?
> Determine whether the statement is true or false. There exist two nonzero 1 x1 matrices A and B such that AB is the 1 x 1 zero matrix.
> Find the matrix products. Note that each product can be found mentally, without the use of a calculator or pencil-and-paper calculations
> Use a graphing calculator to find the solution to each system. Round any approximate solutions to three decimal places.
> George finds a company that charges 59¢ per day for each $1,000 borrowed. If he borrows $3,000 for 60 days, what amount will he repay, and what annual interest rate will he pay the company?
> How long will it take $42,000 to grow to $60,276 if it is invested at 4.25% compounded continuously?
> If you paid $120 to a loan company for the use of $2,000 for 90 days, what annual rate of interest did they charge?
> How long will it take $5,000 to grow to $7,000 if it is invested at 6% compounded quarterly?
> A check for $3,097.50 was used to retire a 5-month $3,000 loan. What annual rate of interest was charged?
> What is the annual percentage yield (APY) for money invested at an annual rate of (A) 3.05% compounded quarterly? (B) 2.95% compounded continuously?
> A loan of $10,000 was repaid at the end of 6 months. What amount (principal and interest) was repaid, if a 6.5% annual rate of interest was charged?
> What is the annual percentage yield (APY) for money invested at an annual rate of (A) 4.32% compounded monthly? (B) 4.31% compounded daily?
> If a 50% annual rate is charged, how much interest will be owed on a loan of $1,000 for 30 days?
> If an investment earns 12% compounded continuously, how much should you deposit now to have $4,800 (A) 48 months from now? (B) 7 years from now?