Web development and programming
191828 questions • Page 363 / 3837
3. You have been asked to write a program to grade a multilechoice exam. The exa
3. You have been asked to write a program to grade a multilechoice exam. The exam has 20 questions each answered with a letterin the range of 'a' through 'f'. The data are stored …
3. You saw in class that the standard algorithm to INCREMENT a binary counter ru
3. You saw in class that the standard algorithm to INCREMENT a binary counter runs in O(1) amortized time. Now suppose we also want to support a second function called RESET, whic…
3. Your program should ask the user for an integer N between 1 and 50. The progr
3. Your program should ask the user for an integer N between 1 and 50. The program should use that number to determine the number of triangles to draw and also to seed the random …
3. Your task is to create a library manager as a menu driven console application
3. Your task is to create a library manager as a menu driven console application. The system should have the following functionalities in their menu i. Add books ii, Remove books …
3. [10 marks] There are N teams in the local cricket competition and you happen
3. [10 marks] There are N teams in the local cricket competition and you happen to have N friends that keenly follow it. Each friend supports some subset (possibly all, or none) o…
3. [10 marks] This question asks you to use wildcards. Use ls command to perform
3. [10 marks] This question asks you to use wildcards. Use ls command to perform the tasks below (no other commands are allowed), and use script to record your most successful exe…
3. [10 marks] We now modify the problem in Question 2 slightly by not requiring
3. [10 marks] We now modify the problem in Question 2 slightly by not requiring i,j and k to be distinct. More precisely, the output of the algorithm is'yes" if there exist three …
3. [10 points) Multiple Choice Questions: What will be output by the following J
3. [10 points) Multiple Choice Questions: What will be output by the following Java statement? System.out.printin ( (double) (12/5)) a. i. 2.4 iv. 2.5 What will be output by the f…
3. [10 points] Write a Student class with the fields name, major, and gpa. The f
3. [10 points] Write a Student class with the fields name, major, and gpa. The fields name and major should be of type String, and gpa should be of type double. In addition to get…
3. [10] A bunch of UTM students, who were good friends of each other, went out f
3. [10] A bunch of UTM students, who were good friends of each other, went out for a trip to Niagara Falls together, long story short, something happened and some of them stopped …
3. [12 marks] Follow lab 2 instructions to learn how to use UNIX commands sort,
3. [12 marks] Follow lab 2 instructions to learn how to use UNIX commands sort, uniq and cut before working on this question. This question asks you to use UNIX commands to proces…
3. [15 marks] Memory Addresses and Memory Sizes An n-bit register can hold 2^n d
3. [15 marks] Memory Addresses and Memory Sizes An n-bit register can hold 2^n distinct bit patterns. As such, it can only be used to address a memory whose number of addressable …
3. [20 pts] PHP This question is a continuation of question 2., but from the ser
3. [20 pts] PHP This question is a continuation of question 2., but from the server side. a) Write a PHP snippet that extracts the two dates from the incoming data and store them …
3. [21 marks] Consider a computer with a byte-addressable memory. A 40-bit memor
3. [21 marks] Consider a computer with a byte-addressable memory. A 40-bit memory address is divided as follows for cache processing. First, the 8 low-order bits are chopped off t…
3. [3 points] This problem will explore hexadecimal notation. (a) (2 points) Wri
3. [3 points] This problem will explore hexadecimal notation. (a) (2 points) Write a function hex string_to_bin_ string(hex_string) (in hex string to_bin_string.py) that converts …
3. [3 pts] Suppose that you are searching the graph below to find a path from th
3. [3 pts] Suppose that you are searching the graph below to find a path from the source node S to the goal node G. This contains parts of a large graph that is basically a tree w…
3. [30 points Collaborative Problem: Suppose you\'re helping to organize a summe
3. [30 points Collaborative Problem: Suppose you're helping to organize a summer sports camp, and the following problem comes up. The camp is supposed to have at least one counsel…
3. [30 points] We have discussed wavelets as a means to extract information from
3. [30 points] We have discussed wavelets as a means to extract information from a dataset (e.g., considering a dataset as a signal and attempting to understand the information in…
3. [40 points in all) Here is an excerpt from the definition of singly linked Li
3. [40 points in all) Here is an excerpt from the definition of singly linked List object represents a singly-linked list of integers. implementation uses no dummy The node, and t…
3. [4] For our running hash table, you\'11 need to decide if you need to rehash.
3. [4] For our running hash table, you'11 need to decide if you need to rehash. You just inserted a new item into the table, bringing your data count up to 53491 entries. The tabl…
3. [5 Points] Multiple Choice Questions (Circle one) a. The main() method of a p
3. [5 Points] Multiple Choice Questions (Circle one) a. The main() method of a program has: No parameters II. One String parameter II. One parameter which is an array of String va…
3. [5 points] We are asked to design an embedded system that will be responsible
3. [5 points] We are asked to design an embedded system that will be responsible for executing five computational tasks, denoted by Ti, T2, T3, T4, Ts. Our choices are as follows:…
3. [6 points] In the routing protocols, each node needs to exchange messages wit
3. [6 points] In the routing protocols, each node needs to exchange messages with other nodes in order to build its forwarding table. List the difference between Distance Vector R…
3. [8 marks A point (x1, y/i) is said to dominate another point (x2, 1/2) in the
3. [8 marks A point (x1, y/i) is said to dominate another point (x2, 1/2) in the plane if both x1 x2 and y1-Y2 hold. For example, (5,2) dominates (3.1) and (5,1), but neither of t…
3. [8 marks] A point (x1, y1) is said to dominate another point (x2, y2) in the
3. [8 marks] A point (x1, y1) is said to dominate another point (x2, y2) in the plane if both x1 x2 and y1 y2 hold. For example, (5, 2) dominates (3, 1) and (5, 1), but neither of…
3. [8 marks] Triangles Add some Python code so that the program displays the per
3. [8 marks] Triangles Add some Python code so that the program displays the perimeter and area of a triangle of those dimensions. For the given declarations, the output should be…
3. [Bonus Problem] DNA Subsequence A DNA sequence is a sequence of some combinat
3. [Bonus Problem] DNA Subsequence A DNA sequence is a sequence of some combination of the characters A (adenine), C (cytosine), G (guanine), and T (thymine) which correspond to t…
3. [CIDRI(33 marks) a) (4 marks) Summarize the following range of IP addresses b
3. [CIDRI(33 marks) a) (4 marks) Summarize the following range of IP addresses by ensuring that the summaries do not include any unnecessary addresses. Explain clearly how you arr…
3. [Collaborative] In mathematics, the Fibonacci numbers are the numbers in the
3. [Collaborative] In mathematics, the Fibonacci numbers are the numbers in the following integer sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... Given the initial first two n…
3. [Programming] [40 points] Given two arrays a and b with the same size, write
3. [Programming] [40 points] Given two arrays a and b with the same size, write two (1) The 1 " function computes the dot product of the two arrays, le, the dot product (2) The 2"…
3. [Saving and Income]. This question examines the determinants of household sav
3. [Saving and Income]. This question examines the determinants of household savings The model is you can find the definition of variables in the following link WAGE1.DES and the …
3. a) What is the difference between volatile and non-volatile memory? Select on
3. a) What is the difference between volatile and non-volatile memory? Select one: a. There is no difference. b. Volatile memory can explode, whereas non-volatile memory cannot. c…
3. a. How many Process Control Blocks (PCB) would you expect while running your
3. a. How many Process Control Blocks (PCB) would you expect while running your OS?(Briefly, why)? b. Is a PCB part of a device controller, a file, or something else (what)? …
3. a. Write an application for the Summerdale Condo Sales office; the program de
3. a. Write an application for the Summerdale Condo Sales office; the program determines the price of a condominium. Ask the user to choose 1 for park view, 2 for golf course view…
3. if the university president is so dedicated to improving education, why are s
3. if the university president is so dedicated to improving education, why are students worse off now than when she took office?" What slanter, if any, is being used here? A. Down…
3. struct node ( int coeff, exp; node \"next; class e f private: node·begin, * l
3. struct node ( int coeff, exp; node "next; class e f private: node·begin, * last; // begin points to the first node and last points to the last node public: re): void assign(int…
3. struct node int coeff, exp; node \"next; class e private: node \"begin, \"las
3. struct node int coeff, exp; node "next; class e private: node "begin, "last;// begin points to the first node and last points to the last node public: void assign(int, int); pr…
3. write Java whose main method takes a date as an a program called Dateconversi
3. write Java whose main method takes a date as an a program called Dateconversion call a integer in the format MMDDYYY the user. The main will date conversion (avadoc and method …
3.(2 points) What is the result of attempting to compile and run this code? clas
3.(2 points) What is the result of attempting to compile and run this code? class Alpha f public static void main (String[1 args) f Beta f = new Beta ( ) ; public Alpha (int ) cla…
3.(a) Assume that at the beginning of the semester you made queries to a Univers
3.(a) Assume that at the beginning of the semester you made queries to a University database which allowed you to determine that the 25 students initially enrolled in COMP 596 hav…
3.(templates and iterator: 15pts) Write a templated function find that take type
3.(templates and iterator: 15pts) Write a templated function find that take type (the type for begin and end should template para the standard interface for iterators. parameter. …
3.) Alice reflects on the situation and realizes this is a situation where asymm
3.) Alice reflects on the situation and realizes this is a situation where asymmetric encryption could be used as long as she and Bob arrange to exchange their public keys in a se…
3.) Answer the following questions on arraying the numbers in specific order: A)
3.) Answer the following questions on arraying the numbers in specific order: A) Write a function to print all the values in an array, one per line. Your function will take two pa…
3.) For a binary search tree T of n nodes, determine the number of internal node
3.) For a binary search tree T of n nodes, determine the number of internal nodes in O(n) running time in psuedo code. (1) Give a recursive algorithm. (2) Give a non-recursive alg…
3.) Two structures (structs) of the same data set are declared. One of the struc
3.) Two structures (structs) of the same data set are declared. One of the structures has a selfreferential pointer member and the other does not have a self-referential data memb…
3.) Using the MIPS program below (including bugs), determine the instruction for
3.) Using the MIPS program below (including bugs), determine the instruction format for each instruction and the hexadecimal values of each instruction field. addi $v0, $zero, 0 …
3.) Write friend functions for the fallowing class to overload the operat
3.) Write friend functions for the fallowing class to overload the <<and>>operators. The friend function, input operator(operator>>), should have 5 elements into…
3.) in a vacuum, electromagnetic radiation of short wavelengths a.travels as fas
3.) in a vacuum, electromagnetic radiation of short wavelengths a.travels as fast as radiation of long wavelengths. b.travels slower than radiation of long wavelenghts. c.travels …
3.)Which of the following is a minterm for boolean function f(x, y, z)? a.)xy 4.
3.)Which of the following is a minterm for boolean function f(x, y, z)? a.)xy 4.) A boolean function with two variables are defined in the table below. The Boolean expression for …
3.0 Project Details Purpose of this project is to increase your understanding of
3.0 Project Details Purpose of this project is to increase your understanding of data, address, memory contents, and strings You will be expected to apply selected MIPS assembly l…
Subject
Web development and programming
Use Browse or pick another subject.