Question Answers
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
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
Hire a Tutor
AI Tutor
AI Flashcards
FREE
Search
Search
Sign In
Register
study help categories
/
Computer science
Top Selling Computer science Questions
Which property determines the tab order for the controls in an interface? a. SetOrder b. SetTab c. TabIndex d. TabOrder
If necessary, complete Exercise 1. Use Windows to rename the Florist Solution folder to Florist Solution-Modified. Open the Florist Solution.sln file contained in the VB2017\ Chap01\Florist...
Which property determines the position of the text inside a label control? a. Align b. Alignment c. AlignText d. TextAlign
Open the VB2017\Chap02\FixIt Solution\FixIt Solution.sln file. If necessary, open the designer window. Start the application. Test the tab order and the access keys. End the application and then fix...
Open the VB2017\Chap03\FixIt Solution\FixIt Solution.sln file. The application should calculate and display the area of a rectangular floor (in square feet) and the total cost of tiling the floor....
Which of the following statements can be used to code a loop whose instructions you want processed 10 times? a. DoLoop b. ForNext c. All of the above.
How many times will the string literal Hi appear in the lblMsg control? Dim intCount As Integer Do While intCount > 4 lblMsg.Text = lblMsg.Text & "Hi" & ControlChars.NewLine intCount += 1 Loop a....
How many times will the string literal Hi appear in the lblMsg control? For intCount As Integer = 6 To 13 Step 2 lblMsg.Text = lblMsg.Text & "Hi" & ControlChars.NewLine Next intCount A. Three B. Four...
In this exercise, you modify the application from Exercise 7. The modified application will display the number of rectangular tables needed to seat the bridal party as well as the number of round...
In addition to the sequence structure, which of the following control structures is used in flowchart B in Figure 5-46? a. Selection b. Repetition c. Both a and b. A T. -O-T- LL
In addition to the sequence structure, which of the following control structures is used in flowchart C in Figure 5-46? a. Selection b. Repetition c. Both a and b. A T. -O-T- LL
Which of the following For clauses indicates that the loop instructions should be processed as long as the intX variables value is less than 100? a. For intX As Integer = 10 To 100 b. For intX As...
Which of the following methods is used to add items to a list box? a. Add b. AddList c. Item d. ItemAdd
What will the following code display in the lblAsterisks control? For intX As Integer = 1 To 2 For intY As Integer = 1 To 3 lblAsterisks.Text = lblAsterisks.Text & "*" Next intY lblAsterisks.Text =...
What will the following code display in the lblSum control? Dim intSum As Integer Dim intY As Integer Do While intY < 3 For intX As Integer = 1 To 4 intSum += intX Next intX intY += 1 Loop...
Which of the following calculates the monthly payment (expressed as a positive number) for a loan of $10,000 for 2 years with a 3.5% annual interest rate? a. Financial.Pmt(0.035, 2, 10000) b....
If a list boxs Sorted property is set to True, how will the numbers 4, 35, 3, 1, and 12 be displayed in the list box? a. 4, 35, 3, 1, 12 b. 1, 3, 4, 12, 35 c. 1, 12, 3, 35, 4 d. 35, 12, 4, 3, 1
Design a combinational circuit with three inputs (A, B, C) and one output (F). The output is 1 when A + C = 0 or AC = 1; otherwise the output is 0. Draw a schematic using logic gates. Show all steps...
Given the following circuit: (a) Derive the Boolean expression for F(A, B, C, D). (b) Derive the truth table. (c) Determine the simplified expression for F(A, B, C, D) using a K-map. (d) Draw the...
Consider a student club or organization in which you are a member. What are the data entities of this enterprise? List and define each entity. Then, develop an enterprise data model showing these...
What are the items that appear within parentheses in a calling statement called? A. Arguments B. Parameters C. Passers D. None of the above.
Which of the following indicates whether a variable is being passed by value or By reference? A. The calling statement B. The receiving procedures header C. The statements entered within the...
Which of the following is false? a. When you pass a variable by reference, the receiving procedure can change its contents. b. To pass a variable by reference, you include the ByRef keyword before...
The items in a combo box belong to which collection? a. Items b. List c. ListBox d. Values
Modify the Product_T table by adding an attribute QtyOnHand that can be used to track the finished goods inventory. The field should be an integer field of five characters and should accept only...
Add an order to the Order_T table and include a sample value for every attribute. a. First, look at the data in the Customer_T table and enter an order from any one of those customers. b. Enter an...
Write the SQL command to add SUBJECT to TUTOR. The only values allowed for SUBJECT will be Reading, Math, and ESL. TUTOR (TutorlD, CertDate, Status) MATCH HISTORY (MatchID, TutorlD, StudentID,...
Figure 2-27 shows two diagrams (A and B), both of which are legitimate ways to represent that a stock has a history of many prices. Which of the two diagrams do you consider a better way to model...
Modify Figure 2-11a to model the following additional information requirements: The training director decides for each employee who completes each class who (what employees) should be notified of the...
Prepare an ERD for a real estate firm that lists property for sale. Also prepare a definition for each entity type, attribute, and relationship on your diagram. In addition, draw a data model for...
In this exercise, you modify one of the Waterson Company applications from this chapters Apply lesson. Use Windows to make a copy of the Waterson Solution-Highest folder. Rename the copy Waterson...
Explain in one paragraph at least three levels of abstraction that are used by (a) Biologists studying the operation of cells. (b) Chemists studying the composition of matter.
Open the Electricity Solution.sln file contained in the VB2017\Chap08\Electricity Solution folder. Open the Code Editor window and locate the btnCalc_Click procedure. Each of the 12 numbers in the...
Based on the discussion of the Heather Sweeney Designs operational database (HSD) and dimensional database (HSD-DW) in the text, answer the following questions. A. What transformations of data were...
Design the following comparators for 32-bit numbers. Sketch the schematics. (a) Not equal (b) Greater than (c) Less than or equal to
Alyssa P. Hacker says that any Boolean function can be written in minimal sum-of-products form as the sum of all of the prime implicants of the function. Ben Bitdiddle says that there are some...
Is the circuit in Figure 3.65 combinational logic or sequential logic? Explain in a simple fashion what the relationship is between the inputs and outputs. What would you call this circuit?
Redesign the circuit from Exercise 2.35 to be as fast as possible. Use only the gates from Table 2.8. Sketch the new circuit and indicate the critical path. What are its propagation delay and...
Write a short Python function, is multiple(n, m), that takes two integer values and returns True if n is a multiple of m, that is, n = mi for some integer i, and False otherwise.
Write a short Python function that takes a positive integer n and returns the sum of the squares of all the positive integers smaller than n.
Draw the recursion trace for the computation of power(2,18), using the repeated squaring algorithm, as implemented in Code Fragment 4.12.
Give a concrete implementation of the pop method in the context of the MutableMapping class, relying only on the five primary abstract methods of that class.
You can use Cramer?s rule to solve the following 2 * 2 system of linear equation: Write a program that solves the following equation and displays the value for x and y: 3.4x + 50.2y = 44.5 2.1x +...
Define the Triangle2D class that contains: Three points named p1, p2, and p3 of the type MyPoint with getter and setter methods. MyPoint is defined in Exercise. Design a class named MyPoint to...
Use the Account class created in Programming Exercise 9.7 to simulate an ATM machine. Create ten accounts in an array with id 0, 1, . . . , 9, and initial balance $100. The system prompts the user to...
Design a class named Person and its two subclasses named Student and Employee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and email address. A student...
Which of the hash table collision-handling schemes could tolerate a load factor above 1 and which could not?
Suppose you set the key for each position p of a binary tree T equal to its preorder rank. Under what circumstances is T a heap?
Implement a bottom-up merge-sort for a collection of items by placing each item in its own queue, and then repeatedly merging pairs of queues until all items are sorted within a single queue.
Write concurrent TCP client-server programs to simulate a simplified version of HTTP using only a nonpersistent connection. The client sends an HTTP message; the server responds with the requested...
Without looking at the book, draw a Little Man Computer. Label each of the components in your drawing.
Write a JavaFX application that allows the user to choose insurance options. Use a ToggleGroup to allow the user to select only one of two insurance typesHMO (health maintenance organization) or PPO...
In this exercise, you modify one of the Seminars applications from Chapter 4s Apply lesson. Open the Seminars Solution.sln file contained in the Seminars Solution-CheckBox folder. Create an...
Which of the following statements changes the contents of the strWord variable from led to lead? a. strWord = strWord.AddTo(2, "a") b. strWord = strWord.Insert(2, "a") c. strWord = strWord.Insert(3,...
If the elements in two arrays are related by their subscripts, the arrays are called _____________________ arrays. a. Associated b. Coupled c. Matching d. Parallel
Suppose that one of the following control signals in the single-cycle MIPS processor has a stuck-at-0 fault, meaning that the signal is always 0, regardless of its intended value. What instructions...
Repeat Exercise 7.1, assuming that the signal has a stuck-at-1 fault. Data from problem 1 Suppose that one of the following control signals in the single-cycle MIPS processor has a stuck-at-0 fault,...
Consider the delays given in Table 7.6. Ben Bitdiddle builds a prefix adder that reduces the ALU delay by 20 ps. If the other element delays stay the same, find the new cycle time of the single-cycle...
Apply the normalization process to the Veterinary Office ListVersion One relation shown in Figure 1-30 to develop a set of normalized relations. Show the results of each of the steps in the...
A 16-word cache has the parameters given in Exercise 8.8. Consider the following repeating sequence of lw addresses (given in hexadecimal): 40 44 48 4C 70 74 78 7C 80 84 88 8C 90 94 98 9C 0 4 8 C 10...
Consider a virtual memory system that can address a total of 232 bytes. You have unlimited hard drive space, but are limited to only 8 MB of semiconductor (physical) memory. Assume that virtual and...
Alter question 2.40 to allow students to have multiple majors. In this case, the relational structure is: STUDENT ( StudentNumber , StudentName, SiblingName , Major ) A. Show an example of this...
Given an array, A, describe an efficient algorithm for reversing A. For example, if A = [3, 4, 1, 5], then its reversal is A = [5, 1, 4, 3]. You can only use O(1) memory in addition to that used by A...
What is the purpose of an E-R model?
Which of the following statements is most accurate? a. Authentication procedures prevent any data stored in the Oracle 11g database from being stolen or damaged. b. Authentication procedures are used...
To perform the following assignments, refer to the tables created in the JLDB_Build_8.sql script at the beginning of the chapter. Give the SQL statements and output for the following data requests:...
Suppose you are given a new hardware device that can merge k > 2 different sorted lists of total size n into a single sorted list in O(n) time, independent of the value of k. Such a device could, for...
When data is transmitted across a noisy channel, information can be lost during the transmission. For example, a message that is sent through a noisy channel as WHO PARKED ON HARRY POTTERS SPOT?...
Show that the SET-COVER problem is in NP.
In this exercise, you will create a program that displays the number of daily calories needed to maintain your current weight. The number of calories is based on your gender, activity level, and...
Create a flowchart or pseudocode that shows the logic for a program that generates a random number, then asks the user to think of a number between 1 and 10. Then display the randomly generated...
In a selection, the else clause executes ______________. a. Only after the if clause executes b. When the tested condition is true c. When the tested condition is false d. Always
The greater-than operator evaluates as true when ______________. a. The right operand is greater than the left operand b. The left operand is greater than the right operand c. The right operand is...
If x = y is false
If a is true and b is false, then ______________. a. a AND b is true b. a AND b is false c. a OR b is false d. If a is true, then b must be true.
Which of the following must always be false? a. e > 12 AND e < 15 b. e = 10 OR e = 20 c. e > 12 OR f > 12 d. e > 10 AND e < 7
Which of the lettered choices is equivalent to the following decision? if x > 10 then if y > 10 then output "X" endif endif a. if x > 10 OR y > 10 then output "X" endif b. if x > 10 AND x > y then...
In the following pseudocode, what percentage raise will an employee in Department 10 receive? if department < 2 then raise = SMALL_RAISE else if department < 6 then raise = MEDIUM_RAISE else if...
When loops are nested, _______________. a. They typically share a loop control variable b. One must end before the other begins c. Both must be the same typedefinite or indefinite d. None of the above
An English-like programming language such as Java or Visual Basic is a ________ programming language. a. Machine-level b. Low-level c. High-level d. Binary-level
A do-while loop _______________. a. Has a body that might never execute b. Is a type of pretest loop c. Can be replaced by a sequence and a while loop d. Is not structured, and therefore obsolete
In Chapter 2, you learned that in many programming languages you can generate a random number between 1 and a limiting value named LIMIT by using a statement similar to randomNumber = random(LIMIT)....
Parallel arrays ____________. a. Frequently have an indirect relationship b. Never have an indirect relationship c. Must be the same data type d. Must not be the same data type
a. Design an application in which the number of days for each month in the year is stored in an array. (For example, January has 31 days, February has 28, and so on. Assume that the year is not a...
Gimme Shelter Roofers maintains a file of past customers, including a customer number, name, address, date of job, and price of job. It also maintains a file of estimates given for jobs not yet...
The village of Marengo conducted a census and collected records that contain household data, including the number of occupants in each household. The exact number of household records has not yet...
a. The Daily Trumpet newspaper accepts classified advertisements in 15 categories such as Apartments for Rent and Pets for Sale. Develop the logic for a program that accepts classified advertising...
Create the logic for a program that prompts a user for 20 numbers and stores them in an array. Pass the array to a method that calculates the arithmetic average of the numbers and returns the value...
Which of the following means the same as instance variable? a. Class b. Field c. Category d. Record
When you instantiate an object, the automatically created method that is called is a(n) ____________. a. Creator b. Initiator c. Constructor d. Architect
When you write a constructor that receives a parameter, _________. a. The automatically-created default constructor no longer exists b. The parameter must be used to set a data field c. It becomes...
Most often, a destructor is called when _________. a. An explicit call is made to it b. An object is instantiated c. An object goes out of scope d. A value is returned from a class method
Which of the following is another name for a derived class? a. Base class b. Child class c. Superclass d. Parent class
Which of the following is not another name for a derived class? a. Extended class b. Subclass c. Child class d. Superclass
Which of the following is true? a. A base class usually has more fields than its descendent. b. A child class can also be a parent class. c. A classs ancestors consist of its entire list of children....
A derived class inherits ________data and methods of its ancestors. a. All b. Only the public c. Only the private d. No
A _________ is a collection of predefined, built-in classes that you can use when writing programs. a. Vault b. Black box c. Library d. Store
An environment in which you can develop GUI programs by dragging components to their desired positions is a(n) ___________. a. Visual development environment b. Integrated compiler c. Text-based...
Examine the formal definition of a Turing machine to answer the following questions, and explain your reasoning. a. Can a Turing machine ever write the blank symbol on its tape? b. Can the tape...
Read the informal definition of the finite state transducer given in Exercise 1.24. Give the state diagram of an FST with the following behavior. Its input and output alphabets are {0,1}. Its output...
Showing 2600 - 2700
of 5000
First
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Last