Web development and programming
191828 questions • Page 157 / 3837
1) Complete the following tasks: (25 pts.) a) Write a script to create a hash li
1) Complete the following tasks: (25 pts.) a) Write a script to create a hash list for at least ten states (GA, NJ, CA, NY, VT, WA, PA, MD, CO, IL). b) Print 3 of states by access…
1) ComplexNumber.h - https://www.dropbox.com/s/z2usa3xud214lwm/ComplexNumber.h?d
1) ComplexNumber.h - https://www.dropbox.com/s/z2usa3xud214lwm/ComplexNumber.h?dl=0 2) Hw4Main.cpp - https://www.dropbox.com/s/pzml3a1mcq0pvwx/Hw4Main.cpp?dl=0 3) Mandelbrot.cpp…
1) Compute the follwowing sums a) 1+3+5+7+.....................+999 b) 2+4+8+16+
1) Compute the follwowing sums a) 1+3+5+7+.....................+999 b) 2+4+8+16+...............+1024 n+1 c) 1 i = 3 n+1 d) i i = 3 n-1 e) i(i+1) i = 0 n f)…
1) Consider a Sorted Doubly-Linked List, which means that keys are kept always s
1) Consider a Sorted Doubly-Linked List, which means that keys are kept always sorted and stored in a doubly linked list: a) Implement an operation SD-LIST-INSERT(L,k) that insert…
1) Consider a Sorted Doubly-Linked List, which means that keys are kept always s
1) Consider a Sorted Doubly-Linked List, which means that keys are kept always sorted and stored in a doubly linked list: a) Implement operations SD-LIST-SUCCESSOR(L,k) and SD-LIS…
1) Consider a byte-addressable memory system with the following contents: (7 poi
1) Consider a byte-addressable memory system with the following contents: (7 points) M(x+1)8x23 M(x+3)0x67 M(x+4)0x89 For questions a-f, provide a single, 32-bit hex number for ea…
1) Consider a digital multimedia transmission system. Separate audio and video c
1) Consider a digital multimedia transmission system. Separate audio and video coders are used to code these signals. For the transmission purpose audio and video bits are packed …
1) Consider a disk with an advertised average seek time of 3ms, rotation speed o
1) Consider a disk with an advertised average seek time of 3ms, rotation speed of 20,000rpm and 512 byte sectors with 500 sectors per track. Suppose we wish to read a file consist…
1) Consider a paging system with the page table stored in memory. a. If a memory
1) Consider a paging system with the page table stored in memory. a. If a memory reference takes 200 nanoseconds, how long does a paged memory reference take? b. Add TLBs, and ass…
1) Consider a program P on a Pep/8 computer with the following properties: . · ·
1) Consider a program P on a Pep/8 computer with the following properties: . · · P requires data space for 600 integers. P will never need more than 150 bytes on the run-time stac…
1) Consider a program that takes 16 sec to execute. It has two parts A and , whe
1) Consider a program that takes 16 sec to execute. It has two parts A and , where Part A runs for 9 sec and Part B runs for 7 sec. Sam discovered that with same cost part A can b…
1) Consider the array based list of (10, 4, 8, 2, 7) as input for selection sort
1) Consider the array based list of (10, 4, 8, 2, 7) as input for selection sort and insertion sort algorithms in the following: The number of comparisons made by the selection so…
1) Consider the array declaration, int x[20];. There is no memory allocated for
1) Consider the array declaration, int x[20];. There is no memory allocated for x[20]. 2) Given the two C++ array declarations: int a[10], b[10]; You can successfully compute one …
1) Consider the data of this table of CPUs running a bench mark program and comp
1) Consider the data of this table of CPUs running a bench mark program and compute and fill in the missing entries in the table. MIPS = millions of instructions per second. Bench…
1) Consider the following MIPS loop: Loop: slt $t2, $0, $t1 beq $t2, $0, Done su
1) Consider the following MIPS loop: Loop: slt $t2, $0, $t1 beq $t2, $0, Done subi $t1, $t1, 1 …
1) Consider the following class: class Employee { private: string name; const lo
1) Consider the following class: class Employee { private: string name; const long officeNo; const long empId; int deptNo; char empPos…
1) Consider the following computer programming problem: We wish to write a progr
1) Consider the following computer programming problem: We wish to write a program that computes the factorial of a number and displays it. A factorial of a number (written N!) is…
1) Consider the following list of numbers (stored in an array of size 25): 2.45,
1) Consider the following list of numbers (stored in an array of size 25): 2.45,6.9,12,14,17.23,30,34,36,37,41,53,59,6265,67,70,75,79.87,96,99 0.24], Show the intermediate values …
1) Consider the following program. What output is produced if static scoping is
1) Consider the following program. What output is produced if static scoping is used? What output is produced if dynamic scoping is used? (4pts) int a, b; void p() { int a, p…
1) Consider the following relation (i.e., table) created for a class list: (Stud
1) Consider the following relation (i.e., table) created for a class list: (Student#, class#, student-lastname, student-firstname, student-major, section#, meeting-time, meeting-r…
1) Consider the following secret generic method: Part I: What is returned by met
1) Consider the following secret generic method: Part I: What is returned by method secret() given the contents of the chains of nodes described below. To get the maximum practice…
1) Consider the following sorting algorithm: First sort the first two thirds of
1) Consider the following sorting algorithm: First sort the first two thirds of the elements in the array. Next sort the last two thirds of the elements of the array. Finally, sor…
1) Consider the following two relations for Millennium College: STUDENT (student
1) Consider the following two relations for Millennium College: STUDENT (student_id, student_name, campus_address, gpa) REGISTRATION (student_id, course_id, grade) Following is a …
1) Consider the function fun to be designed as: int fun(int *k){ *k += 4; return
1) Consider the function fun to be designed as: int fun(int *k){ *k += 4; return 3 * (*k) – 1; } int main(){ …
1) Consider the graph G below. Which of the following show a correct order of ad
1) Consider the graph G below. Which of the following show a correct order of adding edges to the MST using Kruskal's algorithm? (a, b), (c, d), (e, d), (f, a), (c, a) (c, d), (a,…
1) Consider the interface and classes below: public interface First public void
1) Consider the interface and classes below: public interface First public void alphaO public void betaO); abstract public class One implenents First public void alpha System.out.…
1) Consider the sets A = {1,a,3}, B = {1,b,2,d}, C = {0, 1, 7}. What is the valu
1) Consider the sets A = {1,a,3}, B = {1,b,2,d}, C = {0, 1, 7}. What is the value of B - A? a) {b,2,d} b) {b,2,d,a,3} c) {1,b,2,d,3} d) None of the above 2) Consider the sets A = …
1) Consider the table: STAFF_MEETING (EmployeeName, ProjectName, Date) The rows
1) Consider the table: STAFF_MEETING (EmployeeName, ProjectName, Date) The rows of this table record the fact that an employee from a particular project attended a meeting on the …
1) Consider the transaction database below. Suppose minsup = 40%. Transaction ID
1) Consider the transaction database below. Suppose minsup = 40%. Transaction ID Items Bought 1 {B, D, E} 2 {B, C, D} 3 {B, D, E} 4 {A, C, D, E} 5 {B, C, D, E} 6 {B, D, E} 7 {C, D…
1) Consider these addresses: 194.24.16.0/21 194.24.24.0/22 194.24.31.0/22 If the
1) Consider these addresses: 194.24.16.0/21 194.24.24.0/22 194.24.31.0/22 If they use the same outgoing line, then can they be aggregated, and if so, to what address? 2) Consider …
1) Convert the \"Switch\" statement to \"if/else\" 2) Convert from for loop to w
1) Convert the "Switch" statement to "if/else" 2) Convert from for loop to while loop Convert the following "switch" statement to an equivalent "if/else": switch(x) case 10: cost-…
1) Convert the following binary and hexadecimal numbers to floating point format
1) Convert the following binary and hexadecimal numbers to floating point format. Assume a binary format consisting of a sign bit (negative = 1), a base 2, 8-bit, excess-128 expon…
1) Create 2 targets and give them random directions and have them move in that d
1) Create 2 targets and give them random directions and have them move in that direction (hint: direction is a list of two numbers [x,y], in this case your direction could be such…
1) Create a 5x5 matrix in C++ 2) The matrix is initialized to all 0\'s showing n
1) Create a 5x5 matrix in C++ 2) The matrix is initialized to all 0's showing no traversal yet. 3) Cur_Row and Cur_Col as 2 integer values representing the location of the Knight.…
1) Create a Bash script which will take a single command line argument (a direct
1) Create a Bash script which will take a single command line argument (a directory) and will print each entry in that directory. If the entry is a file it will print it's size. I…
1) Create a C++ program that will save data to a file (any file type). Use an ar
1) Create a C++ program that will save data to a file (any file type). Use an array to pass the data to and from the files. 2) Open that same file to edit. 3) Prompt the user to c…
1) Create a GUI using JFrame, JLabel, and JButton (JAVA) In your program, use an
1) Create a GUI using JFrame, JLabel, and JButton (JAVA) In your program, use any the following methods defined in the JComponent class and inherited by the Jframe, JLabel and JBu…
1) Create a Java NetBeans project named AddLineNumbers with the main class named
1) Create a Java NetBeans project named AddLineNumbers with the main class named AddLineNumbers . This program will read data from a text file "dataInput.txt" and while there are …
1) Create a Java NetBeans project named StudentClient with the main class named
1) Create a Java NetBeans project named StudentClient with the main class named StudentClient. Add a service class to the project named Student. This program will encapsulate the …
1) Create a LLQueue class that implements the interface below. 2) The implementa
1) Create a LLQueue class that implements the interface below. 2) The implementation must be a linked list-based. 3) The implementation must add a max_capacity to prevent users fr…
1) Create a LLQueue class that implements the interface below. 2) The implementa
1) Create a LLQueue class that implements the interface below. 2) The implementation must be a linked list-based. 3) The implementation must add a max capacity and must not allow …
1) Create a class Person and Clerk derived from (a sub class of) Person. The Per
1) Create a class Person and Clerk derived from (a sub class of) Person. The Person class should have instance variables and Clerk class should have the additional information of …
1) Create a data structure containing a list of degrees available (i.e. PhD, MS,
1) Create a data structure containing a list of degrees available (i.e. PhD, MS, MA, BS, etc) and a price for each degree. 2) Create a form that will prompt the user for…
1) Create a data structure containing a list of degrees available (i.e. PhD, MS,
1) Create a data structure containing a list of degrees available (i.e. PhD, MS, MA, BS, etc) and a price for each degree. 2) Create a form that will prompt the user for…
1) Create a default contructor in the source file, whichwill fill in the default
1) Create a default contructor in the source file, whichwill fill in the default values of 0, for two test scores and the 4quiz grades. Create 2 instances using this default const…
1) Create a folder called pgm1 2) Using a LINUX EDITOR, in your pgm1 folder, cre
1) Create a folder called pgm1 2) Using a LINUX EDITOR, in your pgm1 folder, create a Java program named: Your lastName, firstLetterOfYourFirstName, pgm1U.java that will do the fo…
1) Create a folder called pgm1 2) Using a LINUX EDITOR, in your pgm1 folder, cre
1) Create a folder called pgm1 2) Using a LINUX EDITOR, in your pgm1 folder, create a Java program named: Your lastName, firstLetterOfYourFirstName, pgm1U.java that will do the fo…
1) Create a function that will the image the as shown below. Note that this figu
1) Create a function that will the image the as shown below. Note that this figure has an octagonal top and bottom and 8 rectangular faces. This function should have 3 function…
1) Create a method called: public void loadMemory(String fileName) Create the ne
1) Create a method called: public void loadMemory(String fileName) Create the necessary instructions for this method to open a file whose name is given as a parameter and copy its…
1) Create a new ReverseIterator and a method that returns one that visits list e
1) Create a new ReverseIterator and a method that returns one that visits list elements in reverse order. Because this is a singly linked list, this iterator will perform poorly. …
Subject
Web development and programming
Use Browse or pick another subject.