Top Selling Computer science Questions

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 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 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 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 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... 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"... 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... 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 =... 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 =... 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 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 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... Create a Windows Forms application. Use the following names for the project and solution, respectively: OnYourOwn Project and OnYourOwn Solution. Save the application in the VB2017\Chap04 folder.... 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 In this exercise, you modify the Numbers application from Exercise 6. Use Windows to make a copy of the Numbers Solution folder. Rename the copy Modified Numbers Solution. Open the Numbers... 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. Create a Windows Forms application. Use the following names for the project and solution, respectively: General Project and General Solution. Save the application in the VB2017\Chap05 folder. A... 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 Write a Verilog description using behavioral modeling for: (a) The positive edge-triggered JK Flip-Flop of Figure 5.9. (b) A D flip-flop with a synchronous reset input and a positive edge triggered... 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... 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... As illustrated in Figure 8-21, what is column family database storage and how are such systems organized? How do column family database storage systems compare to RDMS systems? FIGURE 8-21 Name:... 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)... 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 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. 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... 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... 1. Review the organization chart you prepared in Chapter 1 and determine who should be on the JAD team, and why. Also, how will you create a sense of team ownership from the start? 2. You may be... 1. Based on the fact statements provided, summarize the maintenance departments most important strengths, weaknesses, opportunities, and threats. 2. Compared to a profit-making company, is it more... 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 ). Show that n log n is (n). Show that n i=1 i 2 is O(n 3 ). Describe an implementation of the PositionalList methods add last and add before realized by using only methods in the set {is empty, first, last, prev, next, add after, and add first}. Implement a function that counts the number of nodes in a circularly linked list. Alice has two queues, Q and R, which can store integers. Bob gives Alice 50 odd integers and 50 even integers and insists that she store all 100 integers in Q and R. They then play a game where Bob... Consider the transmission of a sinusoid x(t) = cos(2f0t) through a channel affected by multi-path and Doppler. Let there be two paths, and assume the sinusoid is being sent from a moving object so... The input of an LTI continuous-time system is x(t) = u(t) - u(t 3.5). The systems impulse response is h(t) = u(t) - u(t 2.5). (a) Find the systems output y(t) by graphically computing the... Describe a recursive function for converting a string of digits into the integer it represents. For example, '13531' represents the integer 13,531. Consider a situation in which a user has numeric keys and wishes to have a priority queue that is maximum-oriented. How could a standard (minoriented) priority queue be used for such a purpose? On page 406 of Section 10.1.3, we give an implementation of the method setdefault as it might appear in the MutableMapping abstract base class. While that method accomplishes the goal in a general... Average acceleration is defined as the change of velocity divided by the time taken to make the change, as shown in the following formula: Write a program that prompts the user to enter the starting... Suppose you save $100 each month into a savings account with the annual interest rate 5%. Thus, the monthly interest rate is 0.05/12 = 0.00417. After the first month, the value in the account becomes... Listing 3.3, SubtractionQuiz.java, randomly generates a subtraction question. Revise the program to randomly generate an addition question with two integers less than 100. Listing 3.3 1 import... Listing 3.5, ComputeTax.java, gives the source code to compute taxes for single filers. Complete Listing 3.5 to compute the taxes for all filing statuses. Listing 3.5 1 import java.util.Scanner; 3...
Showing 4200 - 4300 of 5000