Top Selling Computer science Questions

If a user wants to enter two numbers, what must the Little Man program do before she enters the second number? Why? Create animation in Figure 16.46b to meet the following requirements: Allow the user to specify the animation speed in a text field. Get the number of iamges and images file-name prefix from the... Use polygons and lines to create a graphics image that looks like a fireworks display. Write an application that extends JPanel and displays the fireworks. Save the file as JFireworksPanel.java. You created a CalculatorDemo program that asked the user to solve an arithmetic problem and provided the system calculator for assistance. Now modify that program to include the following... Refer to the case information provided at the end of Chapters 10 and 11 and the domain class diagram at the end of Chapter 9. Review and update your results from performing the tasks at the end of... The tblMagazine table contains three fields. The Cost field is numeric. The Code and MagName fields contain text. a. Write a SQL SELECT statement that arranges the records in descending order by the... A file named MAINTENANCE05-01.txt is included with your downloadable student files. Assume that this program is a working program in your organization and that it needs modifications as described in... For the cache in Problem 6.12, list all of the hexadecimal memory addresses that will hit in set 3. Problem 6.12 The problems that follow will help reinforce your understanding of how caches work.... a. You created an Event class for Carlys Catering. Now extend the class to create a DinnerEvent class. In the extended class, include four new integer fields that represent numeric choices for an... a. Suppose you own a widespread chain of turkey tartare and sushi fast-food joints. Your tores are scattered all over the mainland United States and Canada. There are also a few stores in Western... a. Search the Java website for information about how to use a JTextArea, its constructors, and its setText() and append() methods. Write an application that allows the user to select options for a... Write a utility program that combines the files together into a new file using the following command: java Exercise17_12 SourceFile1 . . . SourceFilen TargetFile The command combines SourceFile1, . .... A long-distance provider charges the following rates for telephone calls: Create a GUI application that allows the user to select a rate category (from a set of radio buttons), and enter the number... Write a query to display the patron ID, book number, and days kept for each checkout. Days Kept is the difference from the date on which the book is returned to the date it was checked out. Sort the... Kim wants to buy a car. Help Kim compute the monthly payment on a loan, given the loan amount, the annual percentage rate of interest, and the number of monthly payments. The program should allow Kim... Rectifying a sinusoid provides a way to create a dc source. In this problem we consider the Fourier series of the full and the half-wave rectified signals. The full-wave rectified signal x f (t) has... a. You created an interactive RentalDemo class that obtains all the data for four rentals from Sammys Seashore Rentals, including details about the contract number, length of the rental, and... Cranston Berries sells three types of berries: strawberries, blueberries, and raspberries. Sales have been booming this year and are expected to increase next year. The sales manager wants you to... What is the most commonly used type of database? There are 16 different truth tables for Boolean functions of two variables. List each truth table. Give each one a short descriptive name (such as OR, NAND, and so on). Design and implement a recursive program to determine whether a string is a valid Blurb as defined in the previous project description. Put the single-pair shortest-path linear program from (29.44)(29.46) into standard form. You might have observed the following: (a) When you open your garage door, your next-door neighbors door might also open. (b) Your neighbor complains sometimes that the TV channel is changing... If you know the balance and the annual percentage interest rate, you can compute the interest on the next monthly payment using the following formula: interest = balance * (annualInterestRate/1200)... Cranston Berries sells three types of berries: strawberries, blueberries, and raspberries. Sales have been booming this year and are expected to increase next year. The sales manager wants a program... Repeat P11.2 when the topology is to be used is in the form of a hexagonal topology similar to cell phones and has about 10% more overlap in the sensing area between two adjacent sensors. In this exercise, you create a Triangle class and a program that uses the Triangle class to instantiate a Triangle object. a. If necessary, create a new project named Intermediate17 Project and save... Assume that tables T1 and T2 have a 1:1 relationship. Assume that T2 has the foreign key. Show the SQL statements necessary to move the foreign key to T1. Make up your own names for primary and... a. Search the Java Web site for information on how to use a JTextArea. Write an application for the WebBuy Company that allows a user to compose the three parts of a complete e-mail message: the To:,... Write an HDL module for the FSM from Exercise 3.30. Data from problem 3.30 Design an FSM with one input, A, and two outputs, X and Y. X should be 1 if A has been 1 for at least three cycles... Rewrite Exercise 17.10 with a GUI, as shown in Figure 17.21a. Suppose you want to back up a huge file (e.g., a 10-GB AVI file) to a CD-R. You can achieve it by splitting the file into smaller pieces... In this exercise, you code an application that displays a grade based on the number of points entered by the user. Open the VB2015\Chap09\Kranton Solution\Kranton Solution (Kranton Solution.sln)... A large elevated tank (Tank 1) is being used to supply water at 60F to two tanks at a lower elevation (Tanks 2 and 3) as shown in Figure P4.28. All pipes are 5-nom sch 40 commercial steel. The... Figure 15.23 shows the frame format of the baseband layer in Bluetooth (802.15). Based on this format, answer the following questions: Figure 15.23 a. What is the range of the address domain in a... You created an interactive RentalDemo class that obtains all the data for four rentals from Sammys Seashore Rentals, including details about the contract number, length of the rental, and equipment... The parentheses at the start of a(n) ______ statement can include code that initializes a counter and changes its value with each iteration. a. While b. Do c. Do/while d. For The standard DECISION-TREE-LEARNING algorithm described in the chapter does not handle cases in which some examples have missing attribute values. a. First, we need to find a way to classify such... Consider the calculation of roots of an equation z N = where N 1 is an integer and = ||e j a nonzero complex numb (a) First verify that there are exactly N roots for this equation and that they... Write a function that decreases red by 50% on the left side of the picture, and increases it by 200% on the right side. Why is a database considered to be self-describing? Write a program that animates the bubble sort algorithm. Create an array that consists of 20 distinct numbers from 1 to 20 in a random order. The array elements are displayed in a histogram, as shown... A gambler has a regular coin and a two-headed coin in his packet. The probability of selecting the two-head coin is given as p = 2/3. He select a coin and flips it n = 2 times and obtains heads both... (a) Consider the periodic signals x 1 (t) = 4cos(t) and x 2 (t) = sin(3t +/2). Find the periods T 1 of x 1 (t) and T 2 of x 2 (t) and determine if x(t) = x 1 (t) + x 2 (t) is periodic. If so, what is... Travis is standing in front of two containers: one marked Trash and the other marked Recycle. In his right hand, he is holding a bag that contains either trash or recyclables. Travis needs to lift... The following code gives the error message shown below. Fix the code. >>> a = 3 >>> b = 4 >>> c = d * a The error was:d Name not found globally. A local or global name could not be found. You need to... Write a program that animates quadratic probing, as shown in Figure 27.5. You can change the initial size of the hash-table in program. Assume the load-factor threshold is 0.75. Firefox... Create an application, using the following names for the solution and project, respectively: Zander Solution and Zander Project. Save the application in the VB2015\ Chap05 folder. Create the... Modify Fig.7.13 to deal a five-card poker hand. Then modify class DeckOfCards of Fig.7.12 to include methods that determine whether a hand contains a) A pair b) Two pairs c) Three of a kind (e.g.,... Explain how the query in your answer to Review Question 8.5 differs from the query in your answer to Review Question 8.7. In computer games and also in simulations of card-playing scenarios, we sometimes need to use a computer to simulate the way that person would shuffle a deck of cards. Given two decks of n cards... True or False: Strategic planning sets the long-term direction to be taken by the organization and each of its component parts. It should also guide organizational efforts and focus resources toward... Which of the following represents a row in a table? a. An attribute b. A characteristic c. A field d. A record What are the six security levels? Provide examples of threat categories, attacker profiles, and types of attacks. Which of the following applications are classified as VBR-NRT in ATM? a. HTTP b. SNMP c. SMTP d. VoIP Why is strategic planning important for IT professionals? Describe a method for finding the middle node of a doubly linked list with header and trailer sentinels by link hopping, and without relying on explicit knowledge of the size of the list. In the case... Consider the system described by (a) Find the transfer function Y(z)/U(z). (b) Using any similarity transformation, find a different state model for this system. (c) Find the transfer function of the... Assume six devices are arranged in a mesh topology. How many cables are needed? How many ports are needed for each device? What types of business rules might determine the relationship between a table of Volunteers and a table of Activities at a nonprofit? What is the CIA triangle? Your downloadable files for Chapter 1 include DEBUG01-01.txt, DEBUG01-02.txt, and DEBUG01-03.txt. Each file starts with some comments (lines that begin with two slashes) that describe the program.... How do you decide if a car should be repaired or replaced? Develop an assessment framework to aid this decision process. Is the framework also applicable to software systems? Consider that you have been asked to propose a database architecture in a large organization (General Motors, for example) to consolidate all data including legacy databases (from hierarchical and... The following is part of a TCP header dump (contents) in hexadecimal format. E293 0017 00000001 00000000 5002 07FF a. What is the source port number? b. What is the destination port number? c. What... Name at least three attributes that might be appropriate for each of the following classes: a. RealEstateListing b. Vacation c. CreditCardBill a. Sammys Seashore Supplies rents beach equipment such as kayaks, canoes, beach chairs, and umbrellas to tourists. You created a Rental class for the company. Now, make the following change to the... Balloon Emporium sells both latex and Mylar balloons. The store owner wants a program that allows him to enter the price of a latex balloon, the price of a Mylar balloon, the number of latex balloons... Extend the Arithlang programming language to support the exponential operation (** a b). The following interaction log illustrates the intended semantics of this expression: Answer the following questions about the digital hierarchy in Figure 6.23: a. What is the overhead (number of extra bits) in the DS-1 service? b. What is the overhead (number of extra bits) in the... List and describe three types of computers. This question is based on successful execution of the following statement: CREATE VIEW changeaddress AS SELECT customer#, lastname, firstname, order#, shipstreet, shipcity, shipstate, shipzip FROM... This question is based on successful execution of the following command: CREATE VIEW changename AS SELECT customer#, lastname, firstname FROM customers WITH CHECK OPTION; Assume that the only... The formal description of a DFA M is [{q 1 , q 2 , q 3 , q 4 , q 5 }, {u, d}, , q 3 , {q 3 }], where is given by the following table. Give the state diagram of this machine. u d 91 92 q2 93 92 q4 93... Using the same arrays from the previous problem, trace the complete execution of the merge sort algorithm when called on each array. Show the subarrays that are created by the algorithm and show the... Create the ERD. Use the database shown in Figure P3.24 to answer this Problem. ROBCOR is an aircraft charter company that supplies on-demand charter flight services using a fleet of four aircraft.... This question is based on successful execution of the following statement: CREATE VIEW changeaddress AS SELECT customer#, lastname, firstname, order#, shipstreet, shipcity, shipstate, shipzip FROM... This question is based on successful execution of the following command: CREATE VIEW changename AS SELECT customer#, lastname, firstname FROM customers WITH CHECK OPTION; Assume that the only... For each of the following pairs of related entities, indicate whether (under typical circumstances) there is a one-to many or a many-to-many relationship. Then, using the shorthand notation... Liquid carbon dioxide enters the tubes of a shell and tube heat exchanger at a temperature of 0C and a flow rate of 30 kg/s. The carbon dioxide is heated with a flow of city water that enters the... An action such as Go(Sibiu) really consists of a long sequence of finer-grained actions: turn on the car, release the brake, accelerate forward, etc. Having composite actions of this kind reduces the... Assume that for a given program 70% of the executed instructions are arithmetic, 10% are load/store, and 20% are branch. 1. Given this instruction mix and the assumption that an arithmetic... What are the differences between program, system, operations, and user documentation? Suppose we are given two n-element sorted sequences A and B that should not be viewed as sets (that is, A and B may contain duplicate entries). Describe an O(n)-time method for computing a sequence... Contact the career services department at your university and find all the pertinent documents designed to help students find permanent and/or part-time jobs. Analyze the documents and write a brief... The management of Colonial Adventure Tours wants you to complete the following exercises. You do not use the Colonial Adventure Tours database for any of these exercises. 1. The DBA asks for your... This question is based on successful execution of the following statement: CREATE VIEW changeaddress AS SELECT customer#, lastname, firstname, order#, shipstreet, shipcity, shipstate, shipzip FROM... Define a new class named BSTWithNumberOfLeaves that extends BST with the following methods: /** Return the number of leaf nodes */ public int getNumberOfLeaves() Use... Delete the user account created in Assignment 1. Explain precisely how to modify the AND-OR-GRAPH-SEARCH algorithm to generate a cyclic plan if no acyclic plan exists. You will need to deal with three issues: labeling the plan steps so that a... Suppose that instead of superimposing a tree of degree u, we were to superimpose a tree of degree u 1/k , where k > 1 is a constant. What would be the height of such a tree, and how long would each... Extend your solution to Exercise 2.21 to build an explicit parse tree. Data From Exercise 2.21: Build a complete recursive descent parser for the calculator language. As output, have it print a trace... a. ToLower("N") b. Length_Of(ToLower(Name)), where Name is a String variable and Name = "Nancy Newley" Give the value returned by the built-in function. Open the Shipping Solution.sln file contained in the VB2017\Chap07\Shipping Solution folder. The interface provides a text box for entering a shipping code, which should consist of two numbers... Come up with a sequence of addresses for which a direct mapped cache with a size (capacity) of 16 words and block size of 4 words outperforms a fully associative cache with least recently used (LRU)... Your downloadable files for Chapter 3 include a file named DEBUG03-04.jpg that contains a flowchart with syntax and/or logical errors. Examine the flowchart and then find and correct all the bugs. The design of a pump and pipe system has been completed, except for the valves. The system is used to transport water at 120F through 2 nom sch 40 commercial steel pipe at a required flow rate of 85... Using the seven-step process described in this chapter, create a structural model for exercise E in Chapter 4. Exercise E in Chapter 4 Draw a use-case diagram and a set of activity diagrams for the... Which of the following data units is decapsulated from a user datagram? a. A datagram b. A segment c. A message This question is based on successful execution of the following statement: CREATE VIEW changeaddress AS SELECT customer#, lastname, firstname, order#, shipstreet, shipcity, shipstate, shipzip FROM... An 802.11G AP employs OFDMA. What is its role in enhancing the performance?
Showing 700 - 800 of 5000