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

1. Arrays can be passed by value. (Points : 5) True False 2. A 2D dynamic array
1. Arrays can be passed by value. (Points : 5) True False 2. A 2D dynamic array can be created using a regular pointer (Points : 5) True False 3. A struct can be a member of anoth…
1. Arrays can be passed by value. (Points : 5) True False 2. A 2D dynamic array
1. Arrays can be passed by value. (Points : 5) True False 2. A 2D dynamic array can be created using a regular pointer (Points : 5) True False 3. A struct can be a member of anoth…
1. As part of a military video game, a designer has created a vehicle class hier
1. As part of a military video game, a designer has created a vehicle class hierarchy. The base class IS Vehicle, and it has AirVehicle, LandVehicle and SeaVehicle as derived clas…
1. As you probably noticed when you completed the last question, your applicatio
1. As you probably noticed when you completed the last question, your application doesn't respond when you click on your Submit button. The ColorPanel "listens" for the button, bu…
1. Ask the user how many times you want to run the algorithm. 2. Then choose a w
1. Ask the user how many times you want to run the algorithm. 2. Then choose a word at random from the array of Strings as the target (Use the integer random number generator). 3 …
1. Ask the user to enter their test 1 score (from 100) 2. Ask the user to enter
1. Ask the user to enter their test 1 score (from 100) 2. Ask the user to enter their test 2 score (from 100) 3. Ask the user to enter their Final test score (from 100) 4. Ask the…
1. Asks the user to enter a positive integer greater than or equal to 0 2. Valid
1. Asks the user to enter a positive integer greater than or equal to 0 2. Validates that the entry is a positive integer greater than or equal to 0 3 . Displays the even digits t…
1. Assemble the following program by hand. Show the object code in hex. ldc A ha
1. Assemble the following program by hand. Show the object code in hex. ldc A halt A: ldc 'A' 2. State the sequence of horizontal microcode operations that add a value from memory…
1. Assembly language instruction format is composed of and are statements within
1. Assembly language instruction format is composed of and are statements within the assembly program used only by the assembler 3. The names (symbol and full name) of the two 16-…
1. Assignment 9 – Function Pass by Reference Functions that pass by Reference &
1.    Assignment 9 – Function Pass by Reference Functions that pass by Reference & are an essential skill to have. Additionally, completing this assignment will help tremendou…
1. Assignment Description Your assignment is to develop a manhunt simulator. The
1. Assignment Description Your assignment is to develop a manhunt simulator. The manhunt simulator will have two people. The investigator who will be demarked with an “I” and a ta…
1. Assume a 32-bit processor (data/address sizes are 32-bit) with a 256 MB physi
1. Assume a 32-bit processor (data/address sizes are 32-bit) with a 256 MB physical memory that uses 8KB page size. (a) What is the maximum number of physical pages in such system…
1. Assume a 5-stage pipeline (IF, ID, EX, MEM, WB) with no bypassing. What stage
1. Assume a 5-stage pipeline (IF, ID, EX, MEM, WB) with no bypassing. What stage is instruction 2 at in the 5th instruction time slot? # i2_5 What stage is instruction 3 at in the…
1. Assume a 64 bit system, where the sizeof all pointers are 8 bytes, and sizeof
1. Assume a 64 bit system, where the sizeof all pointers are 8 bytes, and sizeof (int) is 4 byte. The following questions refer to the code below: void f (void) struct int_array i…
1. Assume a block size of 4k and that an inode has 12 direct pointers, 3 indirec
1. Assume a block size of 4k and that an inode has 12 direct pointers, 3 indirect pointers, 1 double indirect pointer and 1 triple indirect pointer (while all other indirect block…
1. Assume a database with the following schema: AIRPORT(name,city,country,number
1. Assume a database with the following schema: AIRPORT(name,city,country,number-runaways) FLIGHT(flightid,depart,depart-time,arrive,arrive-time, pid, price) PLANE(planeid,type,nu…
1. Assume a four-way set associative cache with eight blocks. The address sequen
1. Assume a four-way set associative cache with eight blocks. The address sequence: 1, 2, 4, 1, 2, 4, 5, 9, 11, 7, 5, 11 a. Assuming an LRU replacement policy, how many hits does …
1. Assume a four-way set associative cache with eight blocks. The address sequen
1. Assume a four-way set associative cache with eight blocks. The address sequence: 1, 2, 4, 1, 2, 4, 5, 9, 11, 7, 5, 11 a. Assuming an LRU replacement policy, how many hits does …
1. Assume a four-way set associative cache with eight blocks. The address sequen
1. Assume a four-way set associative cache with eight blocks. The address sequence: 1, 2, 4, 1, 2, 4, 5, 9, 11, 7, 5, 11 a. Assuming an LRU replacement policy, how many hits does …
1. Assume a four-way set associative cache with eight blocks. The address sequen
1. Assume a four-way set associative cache with eight blocks. The address sequence: 1, 2, 4, 1, 2, 4, 5, 9, 11, 7, 5, 11 a. Assuming an LRU replacement policy, how many hits does …
1. Assume a four-way set associative cache with eight blocks. The address sequen
1. Assume a four-way set associative cache with eight blocks. The address sequence: 1, 2, 4, 1, 2, 4, 5, 9, 11, 7, 5, 11 a. Assuming an LRU replacement policy, how many hits does …
1. Assume a is 3, b is 4, and x is 1. What does the following Java program fragm
1. Assume a is 3, b is 4, and x is 1. What does the following Java program fragment display in the output window?             if (a < b)             {                         w…
1. Assume r5 = 100016, r6 = 3, and r2 = 4, what is the effect of LDR r0,[r5,r6,
1.    Assume r5 = 100016, r6 = 3, and r2 = 4, what is the effect of LDR r0,[r5,r6, LSL r2]? Assume that r2 contains the initial value 0000100016. Explain the effect of each of the…
1. Assume statesBag is a type of BagInterface. What will print after the
1. Assume statesBag is a type of BagInterface<String>. What will print after the following statements are executed: System.out.println(statesBag.isEmpty()); statesBag.add("a…
1. Assume that 8-bit byte address is used and there is a cache with two-word blo
1. Assume that 8-bit byte address is used and there is a cache with two-word blocks and a total size of 16 words. (Hint: 1 word = 4 bytes) (a) If the cache is direct-mapped cache,…
1. Assume that A and B are sets. Let !A represent the complement of A. Which of
1. Assume that A and B are sets. Let !A represent the complement of A. Which of the following choices is an equivalent way to express the set A – ( A – B ) ? A) A U B B) A B C) A …
1. Assume that A and B are sets. Let !A represent the complement of A. Which of
1. Assume that A and B are sets. Let !A represent the complement of A. Which of the following choices is an equivalent way to express the set A – ( A – B ) ? A) A U B B) A B C) A …
1. Assume that a gallon of paint covers about 350 square feet of wall space. Cre
1. Assume that a gallon of paint covers about 350 square feet of wall space. Create an application with a main() method that prompts the user for the length, width, and height of …
1. Assume that a gallon of paint covers about 350 square feet of wall space. Cre
1. Assume that a gallon of paint covers about 350 square feet of wall space. Create an application with a main() method that prompts the user for the length, width, and height of …
1. Assume that all variables in the following code are properly declared and tha
1. Assume that all variables in the following code are properly declared and that the input is 3 7 4 –1. The output is 13. num = console.nextInt(); sum = num; while (num != -1) { …
1. Assume that at Pine Valley Furniture products are composed of components, pro
1. Assume that at Pine Valley Furniture products are composed of components, products are assigned to salespersons, and components are produced by vendors. Also assume that in the…
1. Assume that general trees are implemented using a Treenode class that include
1. Assume that general trees are implemented using a Treenode class that includes the following fields and methods: /I fields private T data; private List> getchildren) return …
1. Assume that our MIPS instruction subset is redefined to contain only the foll
1. Assume that our MIPS instruction subset is redefined to contain only the following instructions: Instruction Instruction fetch Register read & ALU operation Data Memory Reg…
1. Assume that the array array_one is stored as follows. Show the contents of th
1.       Assume that the array array_one is stored as follows. Show the contents of the array at this point where no changes have been made. ADDRESS CONTENTS VARIABLE 1428 2 array…
1. Assume that the content of all locations of the memory units in Figure 1 is $
1. Assume that the content of all locations of the memory units in Figure 1 is $ff. Assume that the CPU places $0000 on the address lines, $02 on the data lines, and activates the…
1. Assume that the following classes have been defined: public class A extends B
1. Assume that the following classes have been defined: public class A extends B { public void method2() { System.out.println("a 2"); } } public class B extends C { public String …
1. Assume that the operation times for the major functional units of a single-cy
1. Assume that the operation times for the major functional units of a single-cycle machine are the following: memory units: 200 ALU and adders: 100 ps register file (read or writ…
1. Assume that the operation times for the major functional units of a single-cy
1. Assume that the operation times for the major functional units of a single-cycle machine are the following: memory units: 200 ps ALU and adders: 100 ps register file (read or w…
1. Assume that the temperature fluctuates with a particular pattern in Albany. I
1. Assume that the temperature fluctuates with a particular pattern in Albany. It decreases by two degree every day in first half of a given period and increases by one degree in …
1. Assume that the temperature fluctuates with a particular pattern in Albany. I
1. Assume that the temperature fluctuates with a particular pattern in Albany. It decreases by two degree every day in first half of a given period and increases by one degree in …
1. Assume that the times required to perform the various actions needed to execu
1. Assume that the times required to perform the various actions needed to execute our MIPS instructions are as follows: • Fetch the instruction while incrementing the PC 12ns • D…
1. Assume that the variables a, b, c, d, e, and f are stored in consecutive memo
1. Assume that the variables a, b, c, d, e, and f are stored in consecutive memory locations, and that a register, say $20, has the address for variable a. (a) For the C language …
1. Assume that two classes \'Temperature\' and \'Sensor\' have been defined. \'T
1. Assume that two classes 'Temperature' and 'Sensor' have been defined. 'Temperature' has a constructor that accepts a double parameter. 'Sensor' has a methodnamed 'getReading' w…
1. Assume that users A and B have implemented the RSA public-key cryptography in
1. Assume that users A and B have implemented the RSA public-key cryptography in order to establish secure communications. Adversary C has discovered one of the prime numbers for …
1. Assume that users A and B have implemented the RSA public-key cryptography in
1. Assume that users A and B have implemented the RSA public-key cryptography in order to establish secure communications. Adversary C has discovered one of the prime numbers for …
1. Assume that we are using a virtual memory with a 32 bit virtual address,4KB p
1. Assume that we are using a virtual memory with a 32 bit virtual address,4KB pages and 4bytes per page table entry. How many entries do we have in the page table? Problem 2 Supp…
1. Assume that we have a demand-paged memory. The page table is held in register
1. Assume that we have a demand-paged memory. The page table is held in registers. It Takes 8 miliseconds to service a page fault if an empty frame is available or if the replaced…
1. Assume that we have defined an enum type Planet and an instance memberMethod(
1. Assume that we have defined an enum type Planet and an instance memberMethod() in classSolarSystem: Which statement has an enum-related compiler error?    Assume that these are…
1. Assume that you are considering enhancing a machine by adding a special featu
1. Assume that you are considering enhancing a machine by adding a special feature to it. The percentage of time (the original run time before the feature is added) that the machi…
1. Assume that you are working for the marketing department of Microsoft China.
1. Assume that you are working for the marketing department of Microsoft China. Develop a detailed list of briefing points that would help your salespeople convince top executives…