Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Web development and programming

191828 questions • Page 230 / 3837

1. Machine B runs at 2 GHz and has a CPl of 1.3 for a particular program. Machin
1. Machine B runs at 2 GHz and has a CPl of 1.3 for a particular program. Machine C runs at5 GHz and has a CPI of 2.4 for that program, while executing 20% more instructions. Whic…
1. Magic 8 Ball: You are debugging an application in execution using gdb on a 64
1. Magic 8 Ball: You are debugging an application in execution using gdb on a 64-bit (i.c. pointers use 64 bits), little-endian architecture. The application has a variable called…
1. Main function: Menu with a switch based on (int) from user input. Menu should
1. Main function: Menu with a switch based on (int) from user input. Menu should include load document, output document, parse document, analyze document, exit. 2. Create a class …
1. Make Event implements Runnable so that each type of event provides its own ti
1. Make Event implements Runnable so that each type of event provides its own timing. Each event file should be a class of its own. Change the rest of the design to simplify this …
1. Make a class Rational to provide at least following methos and constructors:
1. Make a class Rational to provide at least following methos and constructors: Rational r1= new Rational (3,5); Rational r2= new Rational (4,7); Rational r3=r1.add(r2); // also s…
1. Make a class Rational to provide at least following methos and constructors:
1. Make a class Rational to provide at least following methos and constructors: Rational r1= new Rational (3,5); Rational r2= new Rational (4,7); Rational r3=r1.add(r2); // also s…
1. Make a class Rational to provide at least following methos and constructors:
1. Make a class Rational to provide at least following methos and constructors: Rational r1= new Rational (3,5); Rational r2= new Rational (4,7); Rational r3=r1.add(r2); // also s…
1. Make a class Rational to provide at least following methos and constructors:
1. Make a class Rational to provide at least following methos and constructors: Rational r1= new Rational (3,5); Rational r2= new Rational (4,7); Rational r3=r1.add(r2); // also s…
1. Make a class Rational to provide at least following methos and constructors:
1. Make a class Rational to provide at least following methos and constructors: Rational r1= new Rational (3,5); Rational r2= new Rational (4,7); Rational r3=r1.add(r2); // also s…
1. Make a class Rational to provide at least following methos and constructors:
1. Make a class Rational to provide at least following methos and constructors: Rational r1= new Rational (3,5); Rational r2= new Rational (4,7); Rational r3=r1.add(r2); // also s…
1. Make a public static method named indexOf that takes an ArrayList of type Dou
1. Make a public static method named indexOf that takes an ArrayList of type Double and returns an int. This method returns the index of the minimum result of taking the tangent o…
1. Make a structure for the bowlers(write the program and test it also). It woul
1. Make a structure for the bowlers(write the program and test it also). It would have a string for a name, and 3 integers for the scores, and a double for the average. You should…
1. Make a structure for the bowlers(write the program and test it also). It woul
1. Make a structure for the bowlers(write the program and test it also). It would have a string for a name, and 3 integers for the scores, and a double for the average. You should…
1. Make an 800-by-1000 Simple_window. 2. Put an 8-by-8 grid on the leftmost 800-
1. Make an 800-by-1000 Simple_window. 2. Put an 8-by-8 grid on the leftmost 800-by-800 part of that window (so that 3. Make the eight squares on the diagonal starting from the top…
1. Make student class immutable 2. Add two private string data fields year major
1. Make student class immutable 2. Add two private string data fields    year    major    Add mutator and get accessor to them. such that otherclass in other package could access …
1. Make sure that your Window/Jframe has your full name in the “Title” (i.e., in
1. Make sure that your Window/Jframe has your full name in the “Title” (i.e., in place of “Calculator” text displayed in the former snapshot) 2. Add a text document, named “ReadMe…
1. Make sure the methods you define below are called and tested in main(). 2. De
1. Make sure the methods you define below are called and tested in main(). 2. Define the following function public static void arrayShiftRight(int[] input, int index) a. This func…
1. Make the following changes to the given Calculator class. i. The add method s
1. Make the following changes to the given Calculator class.    i. The add method should add the parameter to the total variable    ii. The subtract method should subtract the par…
1. Map ERD/EERD to a relational database indicating the relation name, primary k
1. Map ERD/EERD to a relational database indicating the relation name, primary key, foreign key and related attributes for each relation. Add appropriate additional field accordin…
1. Mark all of the following that are valid esacape sequences. Select one or mor
1. Mark all of the following that are valid esacape sequences. Select one or more: a. ' b. \ c.  d. " e. f. 99 g. �a h. i.  j. none of the above k. 2. sizeof(c) and sizeof(char)…
1. Mark as many errors as you can find. The Primary focus includes: Table format
1. Mark as many errors as you can find. The Primary focus includes: Table formatting, Data types, Field length, Relationships, Primary Keys, Foreign Keys 2. Summarize your finding…
1. Mark the following statements as true or false The order in which statements
1. Mark the following statements as true or false The order in which statements execute in a program is called the flow of control In Ct+,-, is the equality operator In a one-way …
1. Mark the following statements as true or false. A sequential search of a list
1. Mark the following statements as true or false. A sequential search of a list assumes that the list elements are sorted in ascending order a. b. A binary search of a list assum…
1. Mark the following statements as true or false. Consider the following class
1. Mark the following statements as true or false. Consider the following class definition: class aClass { public:     void print() const;     void set(int, int);     aClass();   …
1. Mark the following statements as true or false. a. A binary tree must be none
1. Mark the following statements as true or false. a. A binary tree must be nonempty. b. The level of the root node is 0. c. If a tree has only one node, the height of this tree i…
1. Mark the following statements as true or false. a. The extraction operator >>
1. Mark the following statements as true or false. a. The extraction operator >> skips all leading whitespace characters when searching for the next data in the input stream…
1. Mark the following statements is true or false. a. In C++, pointer is a reser
1. Mark the following statements is true or false. a. In C++, pointer is a reserved word. b. In C++, pointer variables are declared using the word pointer. c. The statement delete…
1. Match each lifecycle model with its definition by drawing a line connecting t
1. Match each lifecycle model with its definition by drawing a line connecting them. a. Code and fix b. Evolutionary Prototyping c. Spiral d. Staged delivery/incremental e. Waterf…
1. Match each organization to the corresponding scenario. Place the letter that
1.    Match each organization to the corresponding scenario. Place the letter that corresponds to the organization next to the correct scenario below. (4 points) a.     (ISC)2 b. …
1. Match the following term with its definition. Write the letter in the blank s
1. Match the following term with its definition. Write the letter in the blank space. . private member 2. mutator 3. package 4. static class 5. shallow copying A. refers to the cu…
1. Match the multiple access methods with their descriptions. CSMA FDMA TDMA CDM
1. Match the multiple access methods with their descriptions. CSMA FDMA TDMA CDMA User listens to medium to make sure it is not in use, then uses all the bandwidth for a short per…
1. Match the terms to their definitions -A.B.C.D.E.F.G.H.I.J.K. According to the
1.       Match the terms to their definitions                                                                                                       -A.B.C.D.E.F.G.H.I.J.K. Accordi…
1. Matching: a. Script _____ Shares its variables with the command window b. Fun
1. Matching: a. Script _____ Shares its variables with the command window b. Function _____ Its variables are private by default _____ Has a header definition line defining the in…
1. Materialized view improves upon the decision support system. Justify. 2. Disc
1. Materialized view improves upon the decision support system. Justify. 2. Discuss the advantages and disadvantages of using sampling to reduce the number of data objects that ne…
1. Maximum Likelihood Estimation. Assume we have a dataset with N pairs of (inpu
1. Maximum Likelihood Estimation. Assume we have a dataset with N pairs of (input,output) samples in which the i-th sample has one real-valued input feature r and one real-valued …
1. Memory Access Times Consider a processor and a program that would have an IPC
1.Memory Access Times Consider a processor and a program that would have an IPC of 1 with a perfect 1cycle L1 cache. Assume that each additional cycle for cache/memory access caus…
1. Memory hierarchy: Let us assume a 2-way set associative 128 KB L1 cache with
1. Memory hierarchy: Let us assume a 2-way set associative 128 KB L1 cache with LRU replacement policy. The cache implements write back and no write allocate policy. Cache block s…
1. Metrics only measure the various aspects of a project such as the quality of
1. Metrics only measure the various aspects of a project such as the quality of the software itself a. b. F 2. It is important that "software quality" has a consistent meaning wit…
1. Mgt must encourage use of meantask-duration estimates (average task times) by
1.      Mgt must encourage use of meantask-duration estimates (average task times) by not pressuring teammembers to perform the estimated durations. 2.      Mgt must enable team m…
1. Modern object-oriented software makes extensive use of the malloc and free op
1. Modern object-oriented software makes extensive use of the malloc and free operations. Unfortunately, they are generally quite expensive (in time) and thus efficient routines a…
1. Modern object-oriented software makes extensive use of the malloc and free op
1. Modern object-oriented software makes extensive use of the malloc and free operations. Unfortunately, they are generally quite expensive (in time) and thus efficient routines a…
1. Modified partition. (a) Write a modified version of the partition algorithm t
1. Modified partition. (a) Write a modified version of the partition algorithm that splits the list in three parts instead of two, using the first and last elements of the list as…
1. Modifiy the code so that the guess word can be any length (utilize the length
1. Modifiy the code so that the guess word can be any length (utilize the length method for this). 2. Add code to display the number of guesses left. 3. Add code to determine if t…
1. Modify Astack class so that the program can process stack of class objects. T
1. Modify Astack class so that the program can process stack of class objects. The definition of the class Student is provided as below: class Student private String name; private…
1. Modify Example 19.7 [20 points] A. combine three loops into one loop. B. Use
1. Modify Example 19.7 [20 points] A. combine three loops into one loop. B. Use "while loop" to replace the "for loop" and maintain the same function. XXXX=also I need to keep the…
1. Modify Example 19.7 [20 points] A. combine three loops into one loop. B. Use
1. Modify Example 19.7 [20 points] A. combine three loops into one loop. B. Use "while loop" to replace the "for loop" and maintain the same function. XXXX=also I need to keep the…
1. Modify Example 2 so that the symbol to draw therectangle, instead of being ‘*
1.   Modify Example 2 so that the symbol to draw therectangle, instead of being ‘*’, should be provided bythe user. 2. Write a function divisors that receives aninteger number and…
1. Modify the Account.java Program listed below with the following features a. A
1. Modify the Account.java Program listed below with the following features a. Add two additional attributes: name and the accountNumber b. Add a constructor that takes the name, …
1. Modify the Account.java Program listed below with the following features a. A
1. Modify the Account.java Program listed below with the following features a. Add two additional attributes: name and the accountNumber b. Add a constructor that takes the name, …
1. Modify the Deck class to keep track of the current size of the deck using an
1. Modify the Deck class to keep track of the current size of the deck using an instance variable. Does this change the run-time efficiency of the size operation? Do a bit of rese…