Question 1 Using a typical benchmark program, the following machine characteristics result: Processor Clock Frequency Performance CPU Time A 10 MHz 4 MIPS 10x seconds 20 8 MIPS 5x seconds 30 MHz 20 MIPS x seconds a. What is the relative (to C) size of the instruction count of machines A and B for the benchmark program running on the three machines b. What are the CPI values for the three machines? (
Q: Which refers to the automatic conversion of a primitive type to the corresponding Wrapper class (e.g...
A: Automatic conversion of primitive type to corresponding wrapper class
Q: 1. What does the following program print? А. #include int main ( void ) • { int x = 1; int y = 0; w...
A:
Q: Write the names of addressing modes (source and destination) of the following instructions: a) MOV C...
A: The solution for the above given question is given below:
Q: What are the advantages of creating an automated Data Warehouse?
A: Introduction: Data warehouse automation (DWA) enables IT teams to produce and manage much more than ...
Q: How is prolification of mobile devices that are locally powerful, use apps instead of full-fledged a...
A: Apps' Proliferation on Mobile Devices: Mobile devices in today's technology employ applications tha...
Q: Exercise 7 # Program to iterate agile values through a list using indexing. Create the following agi...
A: In this question we have to code using python for iterating over the list using indexing. Let code a...
Q: ShopIt is an online merchandise provider that charges their shipping fee based on the number of item...
A: LOOP Read numberOfItems Initialize shippingFee to 0 If numberOfItems=0 Exit from loop If numberOfIte...
Q: -Problem -3 -Create a flowchart design that depicts the solving of the following problem: Asks user ...
A: We have to create a flowchart for the program in which we will take input from the user of three num...
Q: Which of the following statements about encryption is FALSE?
A: Ideally an encrypted message should appear completely random. False It is not a random activity it m...
Q: Explain any four important qualities of systems of systems in a few sentences.
A: A quality system is a structure for managing the quality of the output of a manufacturer.
Q: 1- Write the "Matlab" program code from the keyboard that calculates the area of the triangle with t...
A: Solution 1:- MATLAB Code:- % Proceeding user input of the sides and the angleval = input('Enter valu...
Q: Provide an example of how you would go about validating a password security scheme for a programme y...
A: The Password validation program system value specifies whether a user-written program does additiona...
Q: What was John von Neumann's home address?
A: Introduction: A single, shared memory for programmed and data, a single bus for memory access, an ar...
Q: What are the applications of Subneting?
A: An organization there could be a great many associated gadgets, and it could invest in some opportu...
Q: Lhe listen silent lentss lentis slents
A: Code: from collections import Counterou=[]sl=str(input("Enter strings separated by space with first ...
Q: Consider the relational database of Figure 1. What are the appropriate primary keys? employee (perso...
A: Given query is employee (person_name, street, city) works (person_name, company_name, salary) compa...
Q: 3. House +numberRoomint +type:String +Displaxlotol); Bungalow +location:String +gwnerName:String
A: In the following steps, the input, output and the code screenshot along with the output has been men...
Q: ntifier for employees. nsider two cases: • Suppose that (firstName, last Nam mary key. • Suppose tha...
A:
Q: I'm wondering about the distinctions between commercial and personal cloud service providers. Examin...
A: Intro Data Storage Management: Cloud service providers must accomplish data storage management and ...
Q: For the function y=x^4*e^-x, calculate the value of y for the following values of x using element by...
A: Matlab Code: clr; clear all; close all; x =[ 1.5 2 2.5 3 3.5 4]; y = (x(1,:).^4).*exp(-x(1,:))
Q: How many general-purpose registers are there in Intel’s 8085A µP? Which register pairs are allowed? ...
A: The 8085 has six general-purpose registers to store 8-bit data. These are identified as- B, C, D, E,...
Q: Write a Python program to take a string that contains a single pair of parenthesis, print the new st...
A: the answer to the following question:-
Q: Explain how the size of the organisation and the size of the programme have an impact on software pr...
A: Given: We have to Explain how the size of the organisation and the size of the programme have an ...
Q: Find the sop (sum of Porduct) of this following Exprestion. F(x%;Z)= Em[012, 3,5,6)
A: This question comes from Digital Electronics which is a paper of Computer Science. Let's discuss it ...
Q: What is regression testing?
A: Introduction: In this instance, regression refers to a previously fixed software bug that has return...
Q: What are the ettiquette inside the arnis room?
A:
Q: When a deadlock is reached, those who are unable to proceed are granted the necessary resources.
A: Introduction: We must now recover from a stalemate that has been discovered. There are generally two...
Q: Q-1. what is at put gf this logic gate? A F=?
A:
Q: LETTER GRADE( PI) VARCHARI2) NOT NULL GRADE POINT MAX_GRADE MN_GRADE CREATED_BY CREATED DATE MODIFED...
A: a) From which two fields in which table can you calculate the enrollment of a section? ans: SECTION_...
Q: Asap. 4. Define a method in JAVA that should take 4 numbers as the parameters and returns the averag...
A: Given: Define a method in JAVA that should take 4 numbers as the parameters and returns the average ...
Q: Write a Python program to take a string that contains a single pair of parenthesis, print the new st...
A: Write a Python program to take a string that contains a single pair of parenthesis, and print the ne...
Q: Why is a token a short message that travels over a computer network's communication channel?
A: Introduction: In a ring network, a token is a specific frame that is transferred from node to node. ...
Q: Explain what happens in the context of address when we conduct early binding and late binding.
A: Introduction: Binding is defined in programming languages as the connection of two entities. When ca...
Q: Explain why distributed software systems are more difficult than centralised software systems, which...
A: Distributed systems: Distributed system is a environment in which various components are spread acr...
Q: Design and implement a class called Bug, which represents a bug moving along a horizontal wire. The ...
A: //Bug.java public class Bug { // current position private int position; // a bo...
Q: 7.1 Plot y= cos(2x x 60xt)+ 0.2 sin(2 x 7 x180 xt)+0.1sin(2 xn x 300xt), for OstS0.05s. Sampling ste...
A: We need to plot the given function in Matlab. *As per the guidelines only 1st question is answered. ...
Q: What are phishing attacks and how can you avoid them? Briefly discuss.
A: Introduction: Phishing is the deception and exploitation of people through the illicit theft of sens...
Q: Is the following a CFL? If yes then provide a pushdown automaton for it (no need to prove the equiv...
A: The solution to the given question is:
Q: Suppose list.add("Red") is an expression for adding an element to the list ArrayList. Which is the m...
A: According to the question the array list is used for to add the list by using data type which type o...
Q: An e-commerce process architecture is made up of nine important components that serve as the foundat...
A: Introduction: The top five parts of an e-commerce process architecture are shown here: Keeping peopl...
Q: is this statement true? When outliers are important then it is important not to change the current m...
A: answer is
Q: State which of the following are true and which are false. If a statement is false, explain why. ) A...
A: d) TRUE it will produce unexpected results but it will not terminate the program from running.
Q: Show why it's frequently required to expand and adapt components for reuse, using the example of a c...
A: Show why it's frequently required to expand and adapt components for reuse. Using the example. Take,...
Q: 5. Given that (12, 17) is a record in the segment table of a process and the size of any segment of ...
A: The answer as given below:
Q: Which of the following can be used to represents the public members of a class in the class diagram?...
A: Answer is
Q: Explain what a "compensation action" is and why these activities may need ncluded in workflows using...
A: "compensation action" is and why these activities may need to be included in workflows using an exa...
Q: Code for Greedy NFA Interpretation (Terminates on Failur
A: Code for Greedy NFA Interpretation (Terminates on Failure)
Q: What is the output of the following program? void display(int n) {if (n<10) {display(n+2); cout ...
A: Here there is a void function called display having integer as parameter. According to the given que...
Q: -Problem -2 When you execute your program it should ask user to input any number then check if the n...
A: The solution to the given problem is below. **Note: As programing language is not mentioned in the...
Q: What exactly is personalization? What are some examples of tailored information services that did no...
A: Introduction: Personalization (often referred to as customization) is the process of adapting a serv...
1
Step by step
Solved in 2 steps with 2 images
- Question 3. A program is executed for 1 sec, on a processor with a clock cycle of 50 nsec and Throughput₁ = 10 MIPS. 1. How much is the CPI1, for the program? 2. Let us assume that, thanks to the introduction of a superscalar processor, the throughput of the program is optimized. In the new case, the 50% of the program instructions is executed with 3 parallel issues, while the fraction of remaining instructions (50%) is executed with one issue. a. How much is the Speedup from the case (1) to the case (2)? b. How much is the Throughput2 expressed in MIPS?(a) A processor with a clock cycle time of 0.5 nanoseconds has a CPI of 4 for a particular program. What is the MIPS rating for this program? (b) A program is run on a system with two types of machine language instructions: type A instructions each require 3 clock cycles, while type B instructions each require 1 clock cycle. If 100 million type A instructions and 400 million type B instructions are executed, what is the CPI for this program? (c) For a particular program as run on a particular system, the CPU execution time is 1 second, the CPI is 4, and 750 million instructions were executed. What is the clock rate as measured in GHz?Given : Instruction Type 1, 2, and 3 on Machine M CPI, = 1; CPI2 = 2; CPI3 = 3 Answer with just a number a. What is Average CPI of machine M running a program P that has 31% Type 1 instructions, 29% Type 2 instructions, and the remainder Type 3 instructions? Answer with just a number. b What is the execution time if program Phas 15000 instructions and machine M has a clock rate of 4 GHz? Answer in microseconds, with 3 decimal places of precision. Just a number no units. c. What is the speedup if M's clock rate is improved to 5 GHz. Just a number. d. What is the speedup from the original time calculated in part b if the clock rate is improved to 5 GHz and type 3 instructions are improved to 2 CPI? Just a number. Three decimal places of precision.
- 1. A program has 5 billion instructions is running with a CPI of 2 on a machine with a 2.5GHZ frequency, what is the execution time in seconds? 2. In a program 40% of the instructions have a CPI of 1, 25% have a CPI of 2, 20% have a CPI of 3 and 15% have a CPI of 5. Find the number of instructions per second if the machine is running at 900 MHz? 3. If 5 processors can run a program 2 times faster than a single processor, how much faster than a single processor can 10 processors run the same program? 4. If the base machine can run the 5 SPEC benchmarks in 1Os, 20s, 30s, 40s and 60s, whereas the target machine can run them in 5s, 1Os, 5s, 10s and 40s, respectively, what is the SPEC value for this scenario?Question 2. A program is executed for 1 sec, on a processor with a clock cycle of 100 nsec and CPI₁ = 1,5. 1. How much is the Throughput, expressed in MIPS? 2. Let us assume that, given some optimization techniques, the 30% of the program instructions is executed with CPI = 1, while the fraction of remaining instructions (70%) is executed with the same CPI. a. How much is the Speedup from the case (1) to the case (2)? b. How much is the Throughput expressed in MIPS?1. Suppose you are developing a processor with an execution time of 960 ns, CPIof 1.61, and clock rate of 3 GHz. If the execution time is reduced by an additional 20%without affecting to the CPI and with a clock rate of 4 GHz, determine the number ofinstructions. 2. Determine the clock rate if the CPI is increased by 20% and the CPU time by15% while the number of instructions is unchanged
- 2. Suppose we have two implementations of the same instruction set architecture. Computer A has a clock cycle time of 250 ps and a CPI of 2.0 for some program and computer B has a clock cycle time of 500 ps and a CPI of 1.2 for the same program. Which computer is faster for this program and by how much?dont give existing answers surely downvote (a) A processor with a clock cycle time of 0.5 nanoseconds has a CPI of 4 for a particular program. What is the MIPS rating for this program? (b) A program is run on a system with two types of machine language instructions: type A instructions each require 3 clock cycles, while type B instructions each require 1 clock cycle. If 100 million type A instructions and 400 million type B instructions are executed, what is the CPI for this program? (c) For a particular program as run on a particular system, the CPU execution time is 1 second, the CPI is 4, and 750 million instructions were executed. What is the clock rate as measured in GHz?2. Suppose we have two implementations of the same instruction set architecture. Computer A has a clock cycle time of 250 ps and a CPI of 2.0 for some program and computer B has a clock cycle time of 500 ps and a CPI of 1.2 for the same program. Which computer is faster for this program and by how much? ur foverit 10 go
- 8. For a single cycle processor, the instruction breakdown of a program is listed as following. add 20% addi 20% not 0% beq 25% Iw SW 25% 10% What is the percentage of instructions that will use the output of sign extend circuit-module? a. b. What is sign extend circuit-module doing when its output is not needed for current instruction?Consider the two computers A and B with the clock cycle times 100 ps and 150 ps respectively for some program. The number of cycles per instruction (CPI) for A and B are 2.0 and 1.0 respectively for the same program. Which computer is faster and how much? Va A is 1.33 times faster than B b) B is 1.22 times faster than A c) A is 1.23 times faster thanB d) B is 1.33 times faster than A4. A benchmark program is run on an 80 MHz processor. Based on the recorded measurements shown below, determine the effective CPI, MIPS rate, and execution time for this program. Instruction Type Instruction Count CPI Integer Arithmetic 30,000 1 Data Transfer 45,000 2 Floating Point 15,000 2 Control Transfer 10,000 2 Show your work for credit. Effective CPI: MIPS rate: Execution time