Question:
Barcelona has an instruction count of 2.389E12, an execution time of 750 s, and a reference time of 9650 s.
Answer:
New CPI is 1.379
Explanation:
Given:
Clock Rate=4 GHz
Reduction in number of instructions=15%
Execution time=700 sec
Instruction Count=
Find:
New CPI=?
Solution:
Cycle Time=1/Clock Rate

Execution Time= Clock cycles * Cycle Time
Clock Cycles=Execution Time/Cycle Time


New Instruction Count=
*0.85
New Instruction Count=

New CPI is 1.379
Answer:
Android
iOS
Explanation:
Operating systems refers to the embedded software program upon which a machine ( computer or smartphone) is programmed to work. Applications or programs which machines would run must be compatible with that which is designed for the operating system. Operating systems handles and controls process and file management, input and output among others.
The Android and iOS operating system are the two most popular operating systems used on smartphones. In terms of ownership, iOS is developed by Apple and it is not open source (closed source). It has a simple and very less customizable interface. Smart products such as iPhones, iPads run on iOS operating system.
Android on the other hand is runned by googl and is more open source, with a much more customizable interface, android garners more
popularity in the smartphone ecosystem. Most major smartphone devices run on Android such as Samsung, Sony and so on.
Other operating systems may include windows which are very less popular.
Answer:
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main(){
int n;
cout<< "Enter the row and column length: ";
cin>> n;
int array_one[n][n];
int array_transpose[n][n];
for (int i = 0; i < n; i++){
for (int j= 0; j < n; j++){
srand((unsigned) time(0));
array_one[i][j] = (rand() % 4000)
array_transpose[j][i] = array_one[i][j];
}
}
}
Explanation:
The C source code has three variables, 'array_one', array_transpose' (both of which are square 2-dimensional arrays), and 'n' which is the row and column length.
The program loops n time for each nth number of the n size to assign value to the two-dimensional array_one. the assign values to the array_transpose, reverse the 'i' and 'j' values to the two for statements for array_one to 'j' and 'i'.
The cd command, also known as chdir (change directory), is a command-line shell command used to change the current working directory in various operating systems. It can be used in shell scripts and batch files.
I believe the answer is modem