All Matches
Solution Library
Expert Answer
Textbooks
Search Textbook questions, tutors and Books
Oops, something went wrong!
Change your search query and then try again
Toggle navigation
FREE Trial
S
Books
FREE
Tutors
Study Help
Expert Questions
Accounting
General Management
Mathematics
Finance
Organizational Behaviour
Law
Physics
Operating System
Management Leadership
Sociology
Programming
Marketing
Database
Computer Network
Economics
Textbooks Solutions
Accounting
Managerial Accounting
Management Leadership
Cost Accounting
Statistics
Business Law
Corporate Finance
Finance
Economics
Auditing
Ask a Question
Search
Search
Sign In
Register
study help
computer science
programming logic & design comprehensive
Questions and Answers of
Programming Logic & Design Comprehensive
Design the wireframes and storyboard, interactivity diagram, object dictionary, and any necessary scripts for an interactive program for customers of the Friar Farm Market. Allow customers the option
The Lucky Dog Grooming Parlor maintains data about each of its clients in a table named tblClients. Attributes include each dog’s name, breed, and owner’s name, all of which are text attributes.
Which of the following is not a feature of most database management software?a. Sorting records in a tableb. Creating reportsc. Preventing poorly designed tablesd. Relating tables
a. Registration workers at a conference for authors of children’s books have collected data about conference participants, including the number of books each author has written and the target age
Computer programs also are known as ___________ .a. Hardwareb. Softwarec. Datad. Information
Match the definition with the appropriate term.1. Computer system devices2. Another word for programs3. Language rules4. Order of instructions5. Language translatora. Compilerb. Syntaxc. Logicd.
Match the term with the appropriate shape (see Figure 1-15). 1. Input 2. Processing 3. Output 4. Decision 5. Terminal A. B. C. D. 0 Figure 1-15 Identifying shapes
Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value. The program divides the value by 2 and outputs the result.
a. Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter values for the width and length of a room’s floor in feet. The program outputs the area of
a. Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter values for the width and length of a wall in feet. The program outputs the area of the wall
Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter values for a salesperson’s base salary, total sales, and commission rate. The program computes
A consignment shop accepts a product for sale and sets an initial price. Each month that the item doesn’t sell, the price is reduced by 20 percent. When the item sells, the item’s owner receives
Explain why each of the following names does or does not seem like a good variable name to you.a. Db. Dsctamtc. DiscountAmountd. Discount Amounte. Discountf. DiscountAmountForEachNewCustomerg.
If productCost and productPrice are numeric variables, and productName is a string variable, which of the following statements are valid assignments? If a statement is not valid, explain why not.a.
Assume that income = 8 and expense = 6. What is the value of each of the following expressions?a. Income + expense * 2b. Income + 4 – expense / 2c. (Income + expense) * 2d. Income – 3 * 2 +
Which of the following is true about arithmetic precedence?a. Multiplication has a higher precedence than division.b. Operators with the lowest precedence always have left-to-right associativity.c.
Which of the following is a term used as a synonym for module in some programming languages?a. Methodb. Procedurec. Both of thesed. None of these
Which of the following is a reason to use modularization?a. Modularization avoids abstraction.b. Modularization reduces overhead.c. Modularization allows you to more easily reuse your work.d.
Every module has all of the following except.a. A headerb. Local variablesc. A bodyd. A return statement
Which of the following is not a typical housekeeping task?a. Displaying instructionsb. Printing summariesc. Opening filesd. Displaying report headings
Program comments are.a. Required to create a runnable programb. A form of external documentationc. Both of the aboved. None of the above
The structure that tests a condition, takes action if the result is true, and then tests the condition again can be called all of the following except a(n).a. Iterationb. Loopc. Repetitiond.
Attaching structures end to end is called.a. Stackingb. Untanglingc. Buildingd. Nesting
Assume that the following variables contain the values shown:NumberBig = 300 NumberMedium = 100 NumberSmall = 5WordBig = "Elephant" WordMedium = "Horse" wordSmall = "bug”For
Mortimer Life Insurance Company wants several lists of salesperson data. Design a flowchart or pseudocode for the following:a. A program that accepts one salesperson’s ID number and number of
If x <= y is true, then.a. X = y is trueb. Y <= x is truec. X > y is falsed. X >= y is false
If m is true and n is false, then .a. M AND n is trueb. M AND n is falsec. M OR n is falsed. If m is true, then n must be true.
Amanda Cho, a supervisor in a retail clothing store, wants to acknowledge high achieving sales people. Design a flowchart or pseudocode for the following:a. A program that continuously accepts each
Which of the following is a trivial Boolean expression?a. K < b AND k > bb. M = 10 OR m = 20c. N > 12 OR p > 12d. Q > 10 AND q < 19
If sales = 100, rate = 0.10, and expenses = 50, which of the following expressions is true?a. Sales >= expenses AND rate < 1b. Sales < 200 OR expenses < 100c. Expenses = rate OR sales =
Design the logic for a program that outputs every number from 1 through 20 along with its value doubled and tripled.
Which of the following is a definite loop?a. A loop that executes as long as a user continues to enter valid datab. A loop that executes 1000 timesc. Both of the aboved. None of the above
When you decrement a variable, you.a. Set it to 0b. Reduce it by one-tenthc. Subtract a value from itd. Remove it from a program
Yabe Online Auctions requires its sellers to post items for sale for a six-week period during which the price of any unsold item drops 12 percent each week. For example, an item that costs $10.00
Ellison Private Elementary School has three classrooms in each of nine grades, kindergarten (grade 0) through grade 8, and allows parents to pay tuition over the nine-month school year. Design the
Design a program for the Café Noir Coffee Shop to provide some customer market research data. When a customer places an order, a clerk asks for the customer’s zip code and age. The clerk enters
a. Watson Elementary School contains 30 classrooms numbered 1 through 30. Each classroom can contain any number of students up to 35. Each student takes an achievement test at the end of the school
Suppose that you have declared an array as follows: num values[4] = 0, 0, 0, 0.Which of the following is an allowed operation?a. Values[2] = 17b. Input values[0]c. Values[3] = values[0] + 10d. All of
Countrywide Tours conducts sightseeing trips for groups from its home base in Iowa. Create an application that continuously accepts tour data, including a three-digit tour number; the numeric month,
After the annual dog show in which the Barkley Dog Training Academy awards points to each participant, the academy assigns a status to each dog based on the criteria in Table 6-1.The academy needs a
Each element in a seven-element array can hold ________ value(s).a. Oneb. Sevenc. At least sevend. An unlimited number of
Random access memory is _________ .a. Volatileb. Permanentc. Persistentd. Continual
The Vernon Hills Mail Order Company often sends multiple packages per order. For each customer order, output a mailing label for each box to be mailed. The mailing labels contain the customer’s
Boardman College maintains two files—one for Sociology majors and another for Anthropology majors. Each file contains students’ ID numbers, last names, first names, and grade point averages. Each
The Martin Weight Loss Clinic maintains two patient files—one for male clients and one for female clients. Each record contains the name of a patient and current total weight loss in pounds. Each
a. The Palmertown Elementary School has 30 classrooms. The children in the school donate used books to sell at an annual fundraising book fair. Write a program that accepts each teacher’s name and
The MidAmerica Bus Company charges fares to passengers based on the number of travel zones they cross. Additionally, discounts are provided for multiple passengers traveling together. Ticket fares
In golf, par represents a standard number of strokes a player needs to complete a hole. Instead of using an absolute score, players can compare their scores on a hole to the par figure. Families can
Create the logic for a program that continuously prompts the user for a number of dollars until the user enters 0. Pass each entered amount to a conversion method that displays a breakdown of the
Create the logic for a program that accepts an annual salary as input. Pass the salary to a method that calculates the highest monthly housing payment the user can afford, assuming that the year’s
Create the logic for a program that calls a method that computes the final price for a sales transaction. The program contains variables that hold the price of an item, the salesperson’s commission
Create the logic for a program that continuously prompts the user for two numeric values that represent the dimensions of a room in feet. Include two overloaded methods that compute the room’s
Identify three objects that might belong to each of the following classes:a. Buildingb. Artistc. Bank Loan
Which of the following means the same as object?a. Classb. Instancec. Fieldd. Category
Identify three different classes that might contain each of these objects:a. William Shakespeareb. My favorite red sweaterc. Public School 23 in New York City
An instance method ________ .a. Is staticb. Receives a this referencec. Both of the aboved. None of the above
An object can be _________ .a. Stored in an arrayb. Passed to a methodc. Returned from a methodd. All of the above
Every class has _____________ .a. Exactly one constructorb. At least one constructorc. At least two constructorsd. A default constructor and a programmer-written constructor
Complete the following tasks:a. Create a class named Trip that includes four string variables: destination (for example, “London”), means of transportation (for example, “air”), departure
Compared to using a command line, an advantage to using an operating system that employs a GUI is __________.a. You can interact directly with the operating system b. You do not have to deal
When users can initiate actions by clicking the mouse on an icon, the program is ___________ -driven.a. Command b. Prompt c. Event d. Incident
An object that responds to an event is a ___________ . a. Source b. Snooper c. Transponder d. Listener
Design the wireframes and storyboard, interactivity diagram, object dictionary, and any necessary scripts for an interactive program for customers of Sanderson’s Ice Cream Sundaes.Allow customers
All of the following are user-initiated events except a ________ . a. Key press b. Key drag c. Right mouse click d. Mouse drag
Design the wireframes and storyboard, interactivity diagram, object dictionary, and any necessary scripts for an interactive program for customers of Carrie’s Custom T-Shirts.Allow customers the
All of the following are typical GUI components except a ______ . a. Button b. Text box c. List box d. Handle
Design the wireframes and storyboard, interactivity diagram, object dictionary, and any necessary scripts for an interactive program for customers of the Dharma Day Spa.Allow customers the option of
GUI components operate like ________ . a. Black boxes b. Procedural functions c. Looping structures d. Command lines
Design the wireframes and storyboard, interactivity diagram, object dictionary, and any necessary scripts for an interactive program for clients of Larry’s Lawn Service.Allow clients to choose the
Which of the following aspects of a GUI layout is most predictable and natural for the user?a. A menu bar runs down the right side of the screen.b. Help is the first option on a menu.c. A dollar sign
In most GUI programming environments, the programmer can change all of the following attributes of most components except their _______ .a. Colorb. Screen locationc. Sized. The programmer can change
Depending on the programming language, you might ______ to change a screen component’s attributes.a. Use an assignment statementb. Call a modulec. Enter a value into a list of propertiesd. All of
When you create an event-driven application, which of the following must be done before defining objects?a. Translate the program.b. Create wireframes and storyboards.c. Test the program.d. Code the
A ________ is a sketch of a screen the user will see when running a program.a. Flowchartb. Hierarchy chartc. Storyboardd. Tale timber
An object is a list of objects used in a program.a. Thesaurusb. Glossaryc. Indexd. Dictionary
A(n) _______ diagram shows the connections between the various screens a user might see during a program’s execution.a. Interactivityb. Helpc. Cooperationd. Communication
The flow of execution of one set of program statements is a _________ .a. Threadb. Stringc. Pathd. Route
When a computer contains a single CPU, it can execute _______ computer instruction(s) at a time.a. Oneb. Severalc. An unlimited number ofd. From several to thousands of
Multithreaded programs usually _______ than their procedural counterparts.a. Run fasterb. Are harder to usec. Are olderd. All of the above
An object’s horizontal position on the computer screen is its ________ .a. A-coordinateb. H-coordinatec. X-coordinated. Y-coordinate
You create computer animation by ________ .a. Drawing an image and setting its animation property to trueb. Drawing a single image and executing it on a multiprocessor systemc. Drawing a sequence of
The detailed specification of how all the parts of a system will be implemented and coordinated is called ________ .a. Programmingb. Paraphrasingc. Structuringd. System design
Develop a use case diagram for a department store credit card system. Include at least two actors and four use cases.
The primary purpose of good modeling techniques is to ______ .a. Reduce dependency between modulesb. Promote communicationc. Reduce the need for structured. Increase functional cohesion
Develop a use case diagram for a college registration system. Include at least three actors and five use cases.
The UML provides standard ways to do all of the following to business systems except __________ them.a. Constructb. Documentc. Described. Destroy
Develop a use case diagram for a day care center. Include at least three actors and five use cases.
The UML is commonly used to model all of the following except ________ .a. Computer programsb. Business activitiesc. Organizational processesd. Software systems
Develop a class diagram for a Yard class that describes objects serviced by a landscaping maintenance company. Include at least four attributes and three methods.
The UML was intentionally designed to be _________ .a. Low-level, detail-orientedb. Used with Visual Basicc. Inexpensived. Nontechnical
Develop a class diagram for a Shape class. Include generalizations for child classes Rectangle, Circle, and Triangle.
The UML diagrams that show how a business works from the perspective of those who actually interact with the business, such as employees or customers, are ________ diagrams.a. Communicationb. State
Develop a class diagram for a Message class for a cell phone company. Include generalizations for child classes TextMessage, VideoMessage, and VoiceMessage.
Which of the following would be portrayed as an extend relationship in a use case diagram for a hospital?a. The relationship between the head nurse and the floor nursesb. Admitting a patient who has
Develop a class diagram for a Property class for a real estate company. Include generalizations for child classes Residential and Commercial. Include subclasses for Residential that include
The people shown in use case diagrams are called ________ .a. Actorsb. Clownsc. Workersd. Relatives
Develop a class diagram for a college registration system. Include at least three classes that cooperate to register students.
One aspect of use case diagrams that makes them difficult to learn is that _________ .a. They require programming experience to understandb. They use a technical vocabularyc. There is no single right
Develop a sequence diagram that shows how a clerk at a mail-order company places a customer Order. The Order accesses Inventory to check availability. Then, the Order accesses Invoice to produce a
The arithmetic association relationship between a college student and college courses would be expressed as ________ .a. 1 0b. 1 1c. 1 0..*d. 0..* 0..*
Showing 1 - 100
of 142
1
2