Web development and programming
191828 questions • Page 171 / 3837
1) [2 marks] Use rules of inference to show that the hypotheses a) Randy works h
1) [2 marks] Use rules of inference to show that the hypotheses a) Randy works hard b) If Randy works hard then he is a dull boy c) If Randy is a dull boy then he will not get the…
1) [20] write a Controller class using a servlet. Assume that your form has a te
1) [20] write a Controller class using a servlet. Assume that your form has a textbox named soccerHeadCoach Text that is initial value is empty string. The form will also have a p…
1) [25 points] You’ve been hired by Sphere Calculator to write a function that u
1) [25 points] You’ve been hired by Sphere Calculator to write a function that uses the global declaration of constant PI, const double PI = 3.1419;, which stores the value of p a…
1) \"The following code ____. var request = new XMLHttpRequest(); request.open(\
1) "The following code ____. var request = new XMLHttpRequest(); request.open(""GET"", url); request.onreadystatechange = function() { if (request.readyState == 4 && reque…
1) \'a(ab)\'a (ajababa(b) aaba (c) aabab (d) aabbaa (ejaa (a) abc(b) abe (c)albc
1) 'a(ab)'a (ajababa(b) aaba (c) aabab (d) aabbaa (ejaa (a) abc(b) abe (c)albc (d)a? (e) abcbc (a) wind (b) window (c) end (d) good (e)will (a)at(b6+ (d)a6 (e) aa+1 3) nd] 4) Ta-z…
1) ____________OpenGL function is used for aiming and positioning thecamera towa
1) ____________OpenGL function is used for aiming and positioning thecamera towards the object 2) Another way todefine a space curve by using intermediate points and the …
1) ___________is a code disrupting the computer operations and erasing informati
1) ___________is a code disrupting the computer operations and erasing information. 2) The software __________, __________, _________, and __________ are involved in the processin…
1) a .Using the ADT approach write a pseudocode that describe an algorithm readA
1) a .Using the ADT approach write a pseudocode that describe an algorithm readAndCorrect that reads a string of characters, correcting mistakes along the way. b.For the foll…
1) a banking system would typically only use integer arithmetic a) true b) false
1) a banking system would typically only use integer arithmetic a) true b) false 2)Floating point arithmetic is more reliable than integer arithmetic a)true b)false 3)An MP3 file …
1) a) Design a program in C++ that models inflating a spherical balloon. First t
1) a) Design a program in C++ that models inflating a spherical balloon. First the balloon is inflated to have a certain diameter (which is provided as an input). Then inflate the…
1) a) Draw all possible binary search trees for the three elements A, B, and C.
1) a) Draw all possible binary search trees for the three elements A, B, and C. b) What are the minimum and maximum numbers of leaves in a balanced tree of height h? 2) a) Using i…
1) a) Give C++ code for dynamically declaring and allcoating a 5 by 7 array of i
1) a) Give C++ code for dynamically declaring and allcoating a 5 by 7 array of intergers using the new operator b) Give the C++ code for deallocating the array allocated in part a…
1) a) The following code was written to declare a dynamic two-dimensional array
1) a) The following code was written to declare a dynamic two-dimensional array with 10 rows and 4 columns, but it is incorrect! Correct it below. int **matrix = new int matrix[1…
1) a) Write a method to create a mirror image of a binary tree. (need complete p
1) a) Write a method to create a mirror image of a binary tree. (need complete program) b) Apply preorder(), inorder(), and postorder() to the tree in Figure 6.64 if visit(p) in I…
1) a) Write an abstract class called Shape that has only one function called are
1) a) Write an abstract class called Shape that has only one function called area (returning type double) and a string member variable called color which is public only for classe…
1) a) create a method called sum in class Node ( Node classe given below), that
1) a) create a method called sum in class Node ( Node classe given below), that will recursively calculate the sum of all of the int data values from that node to the last node in…
1) a)Consider the following modication to binary search: instead of picking the
1) a)Consider the following modication to binary search: instead of picking the middle element for comparison, pick any element (uniformly at random). (a) Give pseudocode for this…
1) a)Imagine the contents of queue Q1 and queue Q2 are as shown. What would be t
1) a)Imagine the contents of queue Q1 and queue Q2 are as shown. What would be the content of Q3 after the following code is executed? The queue contents are shown front (left) to…
1) a. Compute n!! Write a program to compute n!! given that n!!=1.3.5.7…n if n i
1) a. Compute n!! Write a program to compute n!! given that n!!=1.3.5.7…n if n is odd and n!!=2.4.6.8…n if n is even b. Compute Fibonacci sequences Write a program to print Fibona…
1) a. What is the value in decimal of the most negative 8-bit 2’s complement int
1) a. What is the value in decimal of the most negative 8-bit 2’s complement integer? b. What is the value in decimal of the most positive 8-bit unsigned integer? c. Write out in …
1) c = (a + b) /a d = b*(a + b) / a * c e = a* (c + d) Write the assembly to do
1) c = (a + b) /a d = b*(a + b) / a * c e = a* (c + d) Write the assembly to do the following statements for each of the following architectures. Use the least number of instructi…
1) can any one give me solution for this pleaseee Using the examples in Figures
1) can any one give me solution for this pleaseee Using the examples in Figures 24-6 and 24-7 to suggest algorithms, implement iterator classes for preorder, postorder, and level-…
1) can any one please givem the code for this Sol: a) this is te code i have but
1) can any one please givem the code for this Sol: a) this is te code i have but am getting lot of eerrors can anyone edit this plesasee? public class MergeSortA { public static&l…
1) can anyone please helppp hi, I am trying to cluster the china and chinese key
1) can anyone please helppp hi, I am trying to cluster the china and chinese keywords in python using hcluster. # define our feeds feeds = [ 'http://feeds.bbci.co.uk/news/wo…
1) create a data file of the following structure (each represents the test score
1) create a data file of the following structure (each represents the test scores of a class): the first two numbers are the number of students and the number of tests (integers),…
1) create a data file of the following structure (each represents the test score
1) create a data file of the following structure (each represents the test scores of a class): the first two numbers are the number of students and the number of tests (integers),…
1) create a data file of the following structure (each represents the test score
1) create a data file of the following structure (each represents the test scores of a class): the first two numbers are the number of students and the number of tests (integers),…
1) create a data file of the following structure (each represents the test score
1) create a data file of the following structure (each represents the test scores of a class): the first two numbers are the number of students and the number of tests (integers),…
1) create a data file of the following structure (each represents the test score
1) create a data file of the following structure (each represents the test scores of a class): the first two numbers are the number of students and the number of tests (integers),…
1) describe the differences between analytical & transactional information, & de
1) describe the differences between analytical & transactional information, & determine which types are used to create a connected car’s intelligent dashboard. 2) identify…
1) double fahrenheitToCelsius(double f) This function should convert the supplie
1) double fahrenheitToCelsius(double f) This function should convert the supplied Fahrenheit value into its Celsius equivalent. The formula for doing so is: 2) double kelvinToCels…
1) draw_circle(): It draws a circle at specified locations with a given radius a
1) draw_circle(): It draws a circle at specified locations with a given radius and color. It has the following parameters: a) x, the x coordinate of the point where the circle is …
1) explain the importance of high-quality information for political micro target
1) explain the importance of high-quality information for political micro targeting 2) is it ever possible to have all of the information required to make a 100% accurate statemen…
1) float f -5/2 System.out.println (f)i System.out.printin (\'G\'+2) 2) int x =
1) float f -5/2 System.out.println (f)i System.out.printin ('G'+2) 2) int x = 4; int y = 2; boolean z--x-4 11 x++ * y--"-8; System.out.println (x) System.out.printin (y)i System.o…
1) for (int i = 0; i < 5; i++) Console.Write(i + “\\t”); Given the code snippet
1) for (int i = 0; i < 5; i++) Console.Write(i + “ ”); Given the code snippet above, how many times will the loop body be executed? 2) for (int outer = 0; outer < 2; ou…
1) how did Ben & Jerry’s use business intelligence tools to remain successful an
1) how did Ben & Jerry’s use business intelligence tools to remain successful and competitive? 2) why was information cleaning critical to California Pizza? 3) why was 100% ac…
1) identify the different hacking techniques that were used 2) how could the com
1) identify the different hacking techniques that were used 2) how could the company have protected itself better against this type of attack? Finally, using the internet, determi…
1) if a method does not declare throwing a RuntimeException, can itthrow a Runti
1) if a method does not declare throwing a RuntimeException, can itthrow a RuntimeException, or a subclass of RuntimeException?? 2) Write a Java applet to add two numbers from tex…
1) implement a text file formatting program. It takes a text file data.txt as an
1) implement a text file formatting program. It takes a text file data.txt as an input file. The file has a few lines of text but the length(column) of the line is arbitrary. One …
1) implement a text file formatting program. It takes a text file data.txt as an
1) implement a text file formatting program. It takes a text file data.txt as an input file. The file has a few lines of text but the length(column) of the line is arbitrary. One …
1) in a program you need to store the identification numbers of 10 employees (as
1) in a program you need to store the identification numbers of 10 employees (as ints) and their weekly gross pay (as doubles) A) Define two arrays that may be used in parallel…
1) int multiply(int a, int b){ if (a == 0){ return 0; }else { return b + multipl
1) int multiply(int a, int b){ if (a == 0){ return 0; }else { return b + multiply(a-1, b); } } 2) void printScientificNotation(double value, int powerOfTen){ if (value >= 1.0 &…
1) modify BinarySearchTree to: a) Extend the Binary Search Tree ADT to include a
1) modify BinarySearchTree to: a) Extend the Binary Search Tree ADT to include a basic public method getRoot that returns a reference to the root of the tree. If the tree is empty…
1) name the type of file where data must be accessed in the order of storage ...
1) name the type of file where data must be accessed in the order of storage... 2) what is the C++ fstream member function that is used to disconnect a file from a program? 3) by …
1) space out the table and separate the columns using spaces, then add a header
1) space out the table and separate the columns using spaces, then add a header "Name, HW1, HW2, HW3, HW5, HW5, Avg(lowest dropped)" at the beginning of the file. Please left alig…
1) static final int EndVal = -1; int double; int num = console.nextInt(); while
1) static final int EndVal = -1; int double; int num = console.nextInt(); while (num != EndVal) { double = num * 2; System.out.println(double); num = console.nextInt(); } The abov…
1) struct dollar 2) { 3) int quarter; 4) int dime; 5) int nickel; 6) int penny;
1) struct dollar 2) { 3) int quarter; 4) int dime; 5) int nickel; 6) int penny; 7) }; Illustration 2: 21)In reference to Illustration 2 How would a function foo be declared with a…
1) suppose a list is {2, 9 , 5, 4, 8, 1} after the first pass of bubble sort, th
1) suppose a list is {2, 9 , 5, 4, 8, 1} after the first pass of bubble sort, the list becomes ______________ Question options: A) 2, 5, 4, 8, 1, 9 B) 2, 9, 5, 4, 8, 1 C) 2, 1, 5,…
1) suppose you own a travel agency in a large city you have many clients but gro
1) suppose you own a travel agency in a large city you have many clients but growth has slowed somewhat. some long term employees are getting discouraged, but feels that there mig…
1) suppose you own a travel agency in a large city you have many clients but gro
1) suppose you own a travel agency in a large city you have many clients but growth has slowed somewhat. some long term employees are getting discouraged, but feels that there mig…
Subject
Web development and programming
Use Browse or pick another subject.