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 3531 / 3837

a) Stack is a useful storage component for handling nested procedure calls. True
a) Stack is a useful storage component for handling nested procedure calls. True False b) The larger number of registers a processor has, the higher is its speed? True False c) Th…
a) Suppose a CPU with a write-through write-allocate cache achieves a CPI of 2.
a) Suppose a CPU with a write-through write-allocate cache achieves a CPI of 2. What are the read and write bandwidths (measured by bytes per cycle) between RAM and the cache? (As…
a) Suppose that a particular algorithm has time complexity T(n) = 3 x 2^n, and t
a) Suppose that a particular algorithm has time complexity T(n) = 3 x 2^n, and that executing an implementation of it on a particular machine takes t seconds for n inputs. Now sup…
a) Suppose that it takes 0.004 seconds to run a program on a te sot of size n 20
a) Suppose that it takes 0.004 seconds to run a program on a te sot of size n 20o. Assume that the number of items in the actual da t oot is 4000- what would be the opec ted run-t…
a) Suppose v is a leaf: What is the value of opt v (in), opt v, (out 1 ), opt v
a) Suppose v is a leaf: What is the value of optv (in), optv, (out1), optv (out0) b) Suppose v is an internal node (so v has exactly two children). Give a recurrence for optv (in)…
a) Suppose we have a 4-line cache with 16-byte lines, and consider the following
a) Suppose we have a 4-line cache with 16-byte lines, and consider the following sequence of memory addresses accesses. For each row of each column, indicate with an H or M whethe…
a) Suppose your professor wanted to distribute some code to all members of your
a) Suppose your professor wanted to distribute some code to all members of your class. Assume your professor is unquestionably trustworthy. Your professor invents a scheme by whic…
a) Suppose your professor wanted to distribute some code to all members of your
a) Suppose your professor wanted to distribute some code to all members of your class. Assume your professor is unquestionably trustworthy. Your professor invents a scheme by whic…
a) TEUCO FEELA WISOE SLWTI CSFTT SSBNU ONNAH AQFAD GEOSO IVBLL OSCNO OHHAH TSRNE
a) TEUCO FEELA WISOE SLWTI CSFTT SSBNU ONNAH AQFAD GEOSO IVBLL OSCNO OHHAH TSRNE DAETL URLES EGTIO HETWT TNLHF RIAAE YOGOP UUVES TTTHT IEUER LEREI SILLE HNSKH SMHAL DIETO UTHNT KM…
a) The C programming language distinguishes characterconstants from string const
a)   The C programming language distinguishes characterconstants from string constants by using single quotes forcharacters and double quotes for strings. Thus, 'c' is thecharacte…
a) The R commands x=rcauchy(500); summary(x) generate a random sample of size 50
a) The R commands x=rcauchy(500); summary(x) generate a random sample of size 500 from the Cauchy distribution and display the sample’s five number summary; Report the five number…
a) The distance to a star is approximately 4.30 x 10^18 m. If this star were to
a) The distance to a star is approximately 4.30 x 10^18 m. If this star were to burn out today, in how many years would we see it disappear? years (b) How long does it take for su…
a) The following table structure contains unsatisfactory components and characte
a) The following table structure contains unsatisfactory components and characteristics. (For example, there are several multivalued attributes, some attributes are not atomic, an…
a) The local area network shown in the following Figure has two hubs (X and Y) i
a) The local area network shown in the following Figure has two hubs (X and Y) interconnecting the workstations and servers. Which workstations and servers will receive a copy of …
a) The purpose of the code on line 19, i.e., what does this line of code accompl
a) The purpose of the code on line 19, i.e., what does this line of code accomplish? b) The purpose of the code on lines 21-27 (if statement). Make sure to explain each possibilit…
a) The use of computers in education is referred to as computer-assisted instruc
a) The use of computers in education is referred to as computer-assisted instruction (CAl). Write a program that will help an elementary school student learn multiplication. Use t…
a) The use of computers in education is referred to as computer-assisted instruc
a) The use of computers in education is referred to as computer-assisted instruction (CAl). Write a program that will help an elementary school student learn multiplication. Use t…
a) The use of computers in education is referred to as computer-assisted instruc
a) The use of computers in education is referred to as computer-assisted instruction (CAI). Write a program that will help an elementary school student learn multiplication. Use t…
a) The use of computers in education is referred to as computer-assisted instruc
a) The use of computers in education is referred to as computer-assisted instruction (CAI). Write a program that will help an elementary school student learn multiplication. Use t…
a) The variable userChar is a char and encodrdVal is an int. What will encodedVa
a) The variable userChar is a char and encodrdVal is an int. What will encodedVal be for ech userChar value? switch (userChar) { case 'A': encodedVal = 1; break; case 'B': encoded…
a) Tim Cook, the CEO of Apple, wants your advice about its nascent Apple Pay pla
a) Tim Cook, the CEO of Apple, wants your advice about its nascent Apple Pay platform. What should Apple do to make the Apple Pay platform successful? How should Apple evolve the …
a) To what value does the function evaluate? Using 1 for true, 0 for false. Assu
a) To what value does the function evaluate? Using 1 for true, 0 for false. Assume str is "Testing 1 2 3..." islower(str[6]) Select one: 1 a. b. 0 C. g d. 'G' A function may be ov…
a) Translate (move) the whole object ( the star, the circle and the point that m
a) Translate (move) the whole object ( the star, the circle and the point that moves around) along the x axis using the -> and <- keys on the keyboard b) Rotate the whole ob…
a) Two points in a plane are specified using the coordinates(x1,y1) and (x2,y2).
a) Two points in a plane are specified using the coordinates(x1,y1) and (x2,y2). Write a program that calculates the slope of aline through two (non-vertical) points entered by th…
a) Use Newton’s Polynomials for Evenly Spaced data to derive the O(h 4 ) accurat
a) Use Newton’s Polynomials for Evenly Spaced data to derive the O(h4) accurate Second Centered Difference approximation of the 1st derivative at nx. Start with a polynomial fit t…
a) Using a function handle, define a MATLAB function that calculates the wind ch
a) Using a function handle, define a MATLAB function that calculates the wind chill temperature according to the following formula: Twc=35.74+0.6215Ta-35.75V^0.16+0,4275Tav^0.16 w…
a) Using the linspace function create an array called X of length 500 ranging in
a) Using the linspace function create an array called X of length 500 ranging in value from 0 to 4?. b) Create an array called Y who's values correspond to the sine of the values …
a) Watch the talk from AppSec USA 2012 called “The Same-Origin Saga” given by Br
a) Watch the talk from AppSec USA 2012 called “The Same-Origin Saga” given by Brendan Eich (the author of JavaScript). Ignoring much of the developer jargon, summarize why and how…
a) We can use a heap to implement a priority queue. The Serve( ) function return
a)     We can use a heap to implement a priority queue. The Serve( ) function returnsthe highest priority item that will be the maximum heap element.The Enqueue () function insert…
a) We can use a heap to implement a priority queue. The Serve( ) function return
a)     We can use a heap to implement a priority queue. The Serve( ) function returnsthe highest priority item that will be the maximum heap element.The Enqueue () function insert…
a) We can use aheap to implement a priority queue. The Serve( ) function returns
a)      We can use aheap to implement a priority queue. The Serve( ) function returns the highestpriority item that will be the maximum heap element .TheEnqueue ( ) function inser…
a) What do you think Olaf Gundersen, the CEO of Wireless Telecom Company should
a) What do you think Olaf Gundersen, the CEO of Wireless Telecom Company should do? Use what you know from the case and the course to build the arguments? (The answer will not be …
a) What is AWK, and why is it useful? b) Assume you have a file called ‘calculat
a) What is AWK, and why is it useful? b) Assume you have a file called ‘calculate.awk’ containing AWK commands. Give the command for running all of the commands in this file. c) G…
a) What is an important property of the RuntimeException class that every Java p
a) What is an important property of the RuntimeException class that every Java programmer should know? b) Is a thrown exception and a runtime error the same thing? Explain.
a) What is the default web browser associated with Ubuntu Linux? b) List the ste
a) What is the default web browser associated with Ubuntu Linux? b)     List the steps you would follow to create another standard user in Ubuntu Linux: c) List the steps you woul…
a) What is the differences between the \'chop\' and \'chomp\' Perl statements? b
a) What is the differences between the 'chop' and 'chomp' Perl statements? b) See the following statement. my ($last, $first, $email) = split /s+/, $student; Assume $student conta…
a) What is the direction of the magnetic force on the current in each of the six
a) What is the direction of the magnetic force on the current in each of the six cases shown below? b)   Two insulated current-carrying wires (wire 1 and wire 2) are bound togethe…
a) What is the following function do? - assume that nis a positive integer and t
a) What is the following function do? - assume that nis a positive integer and then Give a small example (n = 4). Hint: don not interprete this question as explaining each line of…
a) What is the role of virtual function in polymorphism? Givean example to examp
a) What is the role of virtual function in polymorphism? Givean example to example to explain it. ) Give at least two advantages and disadvantages ofpolymorphism Q. c) Give the ba…
a) What is the smallest positive floating point (or real) number that is represe
a) What is the smallest positive floating point (or real) number that is representable using the 12-bits on this computer. b) Find the value of the 12-bits required to represent t…
a) What issue can arise if Thread 1 and Thread2 execute the following code concu
a) What issue can arise if Thread 1 and Thread2 execute the following code concurrently? int count; Thread1:               … if (count > 0)                             printf(“…
a) What part of a packet do application firewalls examine? (b) What do they look
a) What part of a packet do application firewalls examine? (b) What do they look for? (c)Must there be a separate application proxy program for each application being examined? Ex…
a) What sort of input does the keyboard support? What sort of input does the mou
a) What sort of input does the keyboard support? What sort of input does the mouse support? Are these adequate for all possible applications? If not, to which areas are they most …
a) What will be the logic levels on the external SRC buseswhen each of the given
a) What will be the logic levels on the external SRC buseswhen each of the given SRC instruction is executing on theprocessor? Complete Table: A all numbers are in the decimal num…
a) Which line in the class definition contains the constructor? b) Give the prot
a) Which line in the class definition contains the constructor? b) Give the prototype and defintion for the overloaded + operator, that will add two points.  You can define the ad…
a) Which of the following is a variable declaration statement? A. int total B·#i
a) Which of the following is a variable declaration statement? A. int total B·#include C. int main0 OD.// first string entered by user The object enables a program to read data fr…
a) Which of the following is not one of the six logical units of a computer? O A
a) Which of the following is not one of the six logical units of a computer? O A·Input unit. O B. Output unit. 0 C. Central processing unit. D. Printer b) Which of the following d…
a) Which of the following is one of the entities in this scenario? employees, ad
a) Which of the following is one of the entities in this scenario? employees, address, tax file number, client no, employeeClients b) Which of the following is an attribute of the…
a) Which of the following sets are equal? A = {a, b, c, d}, B = {d, e, a, c}, C
a) Which of the following sets are equal? A = {a, b, c, d}, B = {d, e, a, c}, C = {d, b, a, c}, D = {e, a, c, d} b) For the sets A, B, C and D above, find A È   B = A Ç B = A È D …
a) Why can we have the packet header in virtual circuit switching to be much sma
a) Why can we have the packet header in virtual circuit switching to be much smaller than the typical header in datagram switching? b) Assume that we are using datagram switching …