Create a Windows Forms application. Use the following names for the project and solution, respectively: Jackets Project and Jackets Solution. Save the application in the VB2017\Chap01 folder. a....
What is the id used for text box names? A. Tex B. Text C. Txt D. None of the above.
What is the ID used for label control names? a. lab b. lal c. lbe d. None of the above.
Label controls that display program output typically have their BorderStyle property set to _____________________. a. BorderSingle b. Fixed3D c. FixedSingle d. None
Which of the following should have their names changed to more meaningful ones? A. All controls that will be coded B. All controls that will be referred to in code C. The form D. All of the above.
Define sentence capitalization.
Listed below are the five steps for planning a Windows Forms application. Put the steps in the proper order by placing a number (1 through 5) on the line to the left of the step....
Which flowchart symbol represents a processing task? a. Circle b. Oval c. Parallelogram d. Rectangle
Create an application that calculates and displays two raise amounts, which are based on an employees current salary. The current salary will be entered by the user. The two raise rates are 5% and...
The expression intNum * intNum * intNum is equivalent to which of the following expressions? a. intNum ^ 3 b. intNum * 3 c. intNum ^ 2 * intNum d. Both a and c.
What is the result of the following expression: 3 * 5 \ 2 + 30 / 5? a. 7.5 b. 13 c. 13.5 d. None of the above.
Which of the following is a computer memory location whose value does not change during run time? A. Literal B. Named constant C. Static constant D. Variable
Create an application that calculates and displays the percentage of students receiving a grade of P (for Pass) and the percentage of students receiving a grade of F (for Fail). Before creating your...
If Option Strict is set to On, which of the following statements assigns the sum of two Integer variables to the Text property of the lblTotal control? a. lblTotal.Text = (intN1 + intN2).ToString b....
Which of the following statements prevents data loss due to implicit type conversions? a. Option Convert Off b. Option Explicit On c. Option Implicit Off d. Option Strict On
Evaluate the following expression: 13 > 12 OrElse 6 < 5. a. True b. False
What will the code in Figure 4-53 assign to the intCost variable when the intAge variable contains the number 65? a. 0 b. 5 c. 8 d. 10 If intAge
Where can a nested selection structure appear? a. Only in an outer selection structures false path b. Only in an outer selection structures true path c. In either of an outer selection structures...
Which of the following Case clauses is valid in a Select Case statement whose selectorExpression is an Integer variable named intAge? a. Case Is > 21 b. Case 21, 65 c. Case 1 To 10 d. All of the...
What is the minimum number of radio buttons in a group? a. One b. Two c. Three d. There is no minimum number of radio buttons.
If a check box is not selected, what value is contained in its Checked property? a. True b. Unchecked c. False d. Unselected
What will the code in Figure 4-54 assign to the lblStatus control when the strLevel variable contains the string 2? a. Bronze b. Gold c. Platinum d. Silver "2" Then If strLevel = "1" OrElse strLevel...
What will the code in Figure 4-54 assign to the lblStatus control when the strLevel variable contains the string 5? a. Bronze b. Gold c. Platinum d. Silver If strLevel = "1" OrElse strLevel "2" Then...
What will the code in Figure 4-54 assign to the lblStatus control when the strLevel variable contains the string 10? a. Bronze b. Gold c. Platinum d. Silver If strLevel = "1" OrElse strLevel "2" Then...
Which capitalization should be used for the text appearing in check boxes and radio buttons? a. Sentence capitalization b. Book title capitalization c. Either book title capitalization or sentence...
A form contains six check boxes. Three of the check boxes are located in a group box. How many of the check boxes on the form can be selected at the same time? a. One b. Two c. Three d. Six
Which of the following If clauses will evaluate to True when the Bonus check box is selected? a. If chkBonus.Check = True Then b. If chkBonus.Checked Then c. If chkBonus.Checked = True Then d. Both b...
What will the code in Figure 4-55 assign to the strStatus variable when the intLevel variable contains the number 4? a. Bronze b. Gold c. Platinum d. Silver Select Case intLevel Case 1, 2 = "Bronze"...
What will the code in Figure 4-55 assign to the strStatus variable when the intLevel variable contains the number 7? a. Bronze b. Gold c. Platinum d. Silver Select Case intLevel Case 1, 2 strStatus =...
When entered in the appropriate event procedure, which of the following statements cancels the key pressed by the user? a. e.Handled = True b. e.Handled = False c. e.KeyCancel = True d. e.KeyCancel =...
Which of the following If clauses determines whether the user pressed the Backspace key? a. If e.KeyChar = ControlChars.Back Then b. If e.KeyChar = Backspace Then c. If e.KeyChar =...
Which of the following If clauses determines whether the user pressed the % key? a. If ControlChars.PercentSign = True Then b. If e.KeyChar = "%" Then c. If e.KeyChar = Chars.PercentSign Then d. If...
The computer will stop processing the loop in Review Question 6 when the intCount variable contains the number _____________________. a. 11 b. 12 c. 13 d. 14
In this exercise, you modify the Grade application from Exercise 13 in Chapter 3. Use Windows to copy the Grade Solution folder from the VB2017\Chap03 folder to the VB2017\Chap04 folder. Open the...
In this exercise, you modify the Sales application from Exercise 14 in Chapter 3. Use Windows to copy the Sales Solution folder from the VB2017\Chap03 folder to the VB2017\Chap04 folder. Open the...
The loop controlled by the correct For clause from Review Question 13 will end when the intX variable contains the number _____________________. a. 100 b. 111 c. 101 d. 110
To make the btnCalc control the default button, you need to set the _____________________ property. a. btnCalcs AcceptButton b. btnCalcs DefaultButton c. forms AcceptButton d. forms DefaultButton
Minimize the following expression using a K-map: F = AB + A B CD + CD + A B C D and then draw schematics using: (a) NAND gates. (b) NOR gates.
Draw a logic diagram for a two-input (A,B) Exclusive-OR operation using only four two-input (A,B) NAND gates. Assume that complemented inputs A and B are not available.
Express the following functionsF 1 and F 2 in terms of the inputs A, B, and C. What is the relationship between F 1 and F 2 ? A - F, D- Do F2
Design a combinational circuit that accepts a three-bit unsigned number and generates an output binary number equal to the input number plus 1. Draw a schematic using logic gates. Show all steps...
Name the five phases of the traditional systems development life cycle (SDLC), and explain the purpose and deliverables of each phase.
Explain the distinction between entity type and entity instance.
Design a combinational circuit that converts a 4-bit BCD input to its nines complement output. Draw a schematic using logic gates. Show all steps clearly.
Implement each of the following using an 8-to-1 multiplexer: (a) F(A, B, C, D)=ABC +ABD +ABC +ACD (b) F(W, X, Y, Z) = m(2, 3, 6, 7, 8, 9, 12, 13, 15)
A combinational circuit is specified by the following equations: F 0 (A, B, C) = A B C + ABC = ABC F 1 (A, B, C) = ABC + ABC F 2 (A, B, C) = ABC + ABC F 3 (A, B, C) = ABC + ABC + ABC Draw a logic...
Write a Verilog description for a four-bit unsigned comparator using dataflow modeling using the logical equality, less than, and greater than operators.
Assume that initially x = 1, A = 0, and B = 1 in Figure P5.5. Determine the values of A and B after the positive edge of Clk. A B D D Clk Clk Clk
Given Figure P5.8, draw the timing diagram for Q and Q assuming a negative edge triggered JK flip-flop. Assume Q is preset to 1 initially. CIk K
Given the timing diagram for a negative-edge triggered T flip-flop in Figure P5.10, draw the timing diagram for Q. Assume Q is preset to 1 initially. CIk T FIGURE P5.10.
Analyze the clocked synchronous circuit shown in Figure P5.15. Express the next state in terms of the present state and inputs, derive the state table, and draw the state diagram. X A PITII D FIGURE...
Design the following nonbinary sequence counters using the type of flipflop specified. Assume the unused states as dont cares. Is the counter self-correcting? Justify your answer. (a) Counting...
Design an ALU to perform the following operations: Assume that x and y are 4-bit numbers, and B = y 3 y 2 y 1 y 0 . Draw a logic diagram. S, S, F x plus y 1 X 1 B 1
Consider the following normalized relations from a database in a large retail chain: STORE (StoreID, Region, ManagerID, SquareFeet) EMPLOYEE (EmployeeID, WhereWork, EmployeeName, EmployeeAddress)...
Which employees were hired during 1999?
List all raw materials that are made of cherry and that have dimensions (thickness and width) of 12 by 12.
Display the product line ID and the average standard price for all products in each product line.
Display the product ID and the number of orders placed for each product. Show the results in decreasing order by the number of times the product has been ordered and label this result column...
For each customer who had more than two orders, list the CustomerID and the total number of orders placed.
Write the SQL command to add MATH SCORE to the STUDENT table. TUTOR (TutorlD, CertDate, Status) MATCH HISTORY (MatchID, TutorlD, StudentID, StartDate, EndDate) TutorlD CertDate Status 1/05/2008...
For each of the following relations, indicate the normal form for that relation. If the relation is not in third normal form, decompose it into 3NF relations. Functional dependencies (other than...
After completing a course in database management, you are asked to develop a preliminary ERD for a symphony orchestra. You discover the entity types that should be included as shown in Table 2-2....
Wally Los Gatos, owner of Wallys Wonderful World of Wallcoverings, has hired you as a consultant to design a database management system for his chain of three stores that sells wallpaper and...
Our friend Wally Los Gatos, realizing that his wallcovering business had a few wrinkles in it, decided to pursue a law degree at night. After graduating, he has teamed up with Lyla El Pjaro to form...
What are the two Oracle programs that are recommended as a necessary set of Oracle Database Express Edition 11g Release 2 software products? In what order should you install these products?
Use Microsoft SQL Server Management Studio to run one or more of the saved SQL queries you created in question A.14:
Table 4-8 shows a portion of a shipment table for a large manufacturing company. Each shipment (identified by Shipment#) uniquely identifies the shipment Origin, Destination, and Distance. The...
Review Figure 2-8 and Figure 2-21. a. Identify any attributes in Figure 2-21 that might be composite attributes but are not shown that way. Justify your suggestions. Redraw the ERD to reflect any...
Figure 4-32 shows an EER diagram for a simplified credit card environment. There are two types of card accounts: debit cards and credit cards. Credit card accounts accumulate charges with merchants....
Consider IEEE 754 single-precision floating-point numbers. (a) How many numbers can be represented by IEEE 754 single-precision floatingpoint format? You need not count or NaN. 286 CHAPTER FIVE...
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...
Create a Web page for Heather Sweeney Designs to display data in the SEMINAR,SEMINAR_CUSTOMER, and CUSTOMER tables to list the SEMINARdata and the EmailAddress, LastName, FirstName, and Phone of any...
A three-input AND-OR (AO) gate shown in Figure 1.42 produces a TRUE output if both A and B are TRUE, or if C is TRUE. Complete a truth table for the gate. A- - C- -Y Figure 1.42 Three-input AND-OR...
Rewrite the syncbad module from HDL Example 4.29. Use nonblocking assignments, but change the code to produce a correct synchronizer with two flip-flops.
Repeat Exercise 2.7 using only NOT gates and NAND and NOR gates.
Write Boolean equations for the circuit in Figure 2.82. You need not minimize the equations. D Figure 2.82 Circuit schematic
A circuit has four inputs and two outputs. The inputs 3:0 represent a number from 0 to 15. Output P should be TRUE if the number is prime (0 and 1 are not prime, but 2, 3, 5, and so on, are prime)....
Design a modified priority encoder that receives an 8-bit input, A 7:0 , and produces two 3-bit outputs, Y 2:0 and Z 2:0 Y indicates the most significant bit of the input that is TRUE. Z indicates...
A JK flip-flop receives a clock and two inputs, J and K. On the rising edge of the clock, it updates the output, Q. If J and K are both 0, Q retains its old value. If only J is 1, Q becomes 1. If...
Repeat Exercise 2.26 for the circuit in Figure 2.84. Data From Problem 26. Using De Morgan equivalent gates and bubble pushing methods, redraw the circuit in Figure 2.83 so that you can find the...
A priority encoder has 2 N inputs. It produces an N-bit binary output indicating the most significant bit of the input that is TRUE, or 0 if none of the inputs are TRUE. It also produces an output...
Given the input wave forms shown in Figure 3.63, sketch the output, Q, of a D flip-flop. CLK D
Draw a state machine that can detect when it has received the serial input sequence 01010.
Redesign the priority encoder from Exercise 2.36 to be as fast as possible. You may use any of the gates from Table 2.8. Sketch the new circuit and indicate the critical path. What are its...
Determine the propagation delay and contamination delay of the circuit in Figure 2.84. Use the gate delays given in Table 2.8. Table 2.8 Gate delays for Exercises 2.432.47 (sd) Pdq 15 Gate ted (ps)...
Write a line of HDL code that gates a 32-bit bus called data with another signal called sel to produce a 32-bit result. If sel is TRUE, result = data. Otherwise, result should be all 0s.
Gray codes have a useful property in that consecutive numbers differ in only a single bit position. Table 3.23 lists a 3-bit Gray code representing the numbers 0 to 7. Design a 3-bit modulo 8 Gray...
Write an HDL module called minority. It receives three inputs, a, b, and c. It produces one output, y, that is TRUE if at least two of the inputs are FALSE.
Write an 8:1 multiplexer module called mux8 with inputs s 2:0 , d0, d1, d2, d3, d4, d5, d6, d7, and output y.
Logic errors are listed in the Error List window. a. True b. False
A computer that requests an asp page from a web server is called a _____________________ computer. A. Browser B. Client C. Requesting D. Server
The BYOD movement has serious implications for IT professionals, such as managing applications on user devices and security implications. Do you think BYOD is a net positive or a net negative for the...
Research the Internet, magazines, or textbooks to find examples of visual aids including a bar chart, pie chart, line chart, table, diagram, and bulleted list. How effective was each example? Find at...
The Employees table contains six fields. The EmpNum, Rate, and DeptCode fields are numeric. The LastName, FirstName, and Status fields contain text. The Status field contains either the letter F (for...
Jesse wants a recommendation about creating an SCR help desk. She said that I can find lots of information about help desks on the Internet. At our meeting, Jesse asked me how SCR should manage the...
Go to the SEIs website on System of Systems at http://www.sei.cmu.edu/sos/. Document the main differences for a system analyst working at this scale, and describe the role CASE tools could play...
Search the Internet for a simple, user-friendly CASE tool that you would recommend for your schools computer lab. Visit the vendors site and learn all you can about the product. Write a brief report...
In our implementation of the scale function (page 25), the body of the loop executes the command data[j] *= factor. We have discussed that numeric types are immutable, and that use of the *= operator...
An inverted sawtooth signal is given by the reflection x(-t), where x(t) is the sawtooth signal. Use the entry for the sawtooth signal in Table 4.2 to obtain a zeromean inverted sawtooth signal y(t)...
Show that 2 n+1 is O(2 n ).