What is meant by instruction pipelining in RISC processor? Whatare

'/ the problems that may accompany this technology?

Answers

Answer 1

Answer:

Explanation:

The instruction pipelining refers to various stages the instruction has to go through for the full execution of the instruction. Each instruction undergoes various stages in the execution, they are Instruction Fetch, Instruction Decode, Address Generator, Data Fetch, Execution and Write Back. Not every instruction may go through all the stages stated above. Pipelining exploits the parallelism in the execution of instructions (executing multiple instructions simultaneously ). Each instruction might be at different stage in the execution of program. It can be a 3-stage pipelining or 5 stage pipelining.

The implementation of Pipelining is a complex procedure.

In branch instructions, the complexity increases with the number of stages of pipeline.


Related Questions

A B-tree can be ____ in three ways: inorder, preorder, and postorder.

A.
copied

B.
reversed

C.
traversed

Answers

Answer:

traversed

Explanation:

B-tree is a self balancing tree and it is a data structure which allows insertion, deletion operations.

inorder, preorder and post order, they all are traversing algorithms in the tree data structure.

inorder: first print left, then root and then right.

preorder: first print root, then left and then right.

postorder: first print left, then right and then root.

Therefore, the answer is traversed.

The Task Manager can be used ot track running _________________ .

Answers

Answer:

Processes

Explanation:

The Windows Task Manager helps us track processes running on the system.

It can be invoked by pressing Ctrl+Alt+Delete and selecting the 'Task Manager' option or by right clicking on the status bar and choosing 'Task Manager' menu item. Besides the running process name it also provides supplementary information about the process such as :

CPUMemoryDiskNetwork

how to make secure emailcompatabil with other email system??

Answers

Answer:

  To make secure email compatible with other email system as, as we know that secured email is compatible in all ways and also it provides good flexibility. So, emails should prioritize the maximum security and a strong encryption and convenience to use like user friendly apps on all their device.

There are some factors which provides a secure email as:

EncryptionPrivacyServer locationJurisdictionAuthentication

what are the elements of a Software Process Improvement (SPI) modle?

Answers

Answer: Current Situation Evaluation, Improvement Planning, Improvement Implementation, Improvement Evaluation are the elements of SPI

Explanation:

SPI modle plans to achieve a desired task of software development in terms of Current Situation Evaluation, Improvement Planning, Improvement Implementation, Improvement Evaluation, with each having a specified and detailed role to play in the software development.

write a program which capitalize every character after full stopin a given sentence

Answers

Answer:

#include <bits/stdc++.h>//header file which includes most of the libraries..

using namespace std;

int main() {

   char st[500];//character array of length 500..

   cin.getline(st,499);//taking input of the text.

   for(int i=0;st[i];i++)

   {

       if((st[i]=='.')&& (i!=strlen(st)-1))//condition

       {

          st[i+1]= toupper(st[i+1]);//converting to upper case.

       }

   }

   cout<<st<<endl;//printing the string..

return 0;

}

Input:

i am .the .great .gambler.i am going gamble everything

Output:

i am .The .Great .Gambler.I am going gamble everything

Explanation:

I have taken a character array of size 500.

Taking input as a line.

If full stop encounters then converting the character to uppercase if it exists.

Printing the output.

A five-digit number is entered through the keyboard. Write a program to obtain the reversed number

Answers

Answer:

 #include<iostream>

using namespace std;

int main(){

   int number;

   cout<<"Enter the five-digit number: ";

   cin>>number;

   int result = 0;

   while(number != 0){

       int remainder = number % 10;

       result = result*10 + remainder;

       number = number/10;

   }

   cout<<"The reverse Number is: "<<result<<endl;

   return 0;

}

Explanation:

first, include the library iostream for using the input/output.

Then, create the main function and declare the variables.

Print the message on the screen by using the instruction cout.

Store the value enter by the user in the variable by using cin instruction.

Take the while which runs until the number not equal to zero.

In the while, first, take the remainder of the number by using the operator '%'.

for example:

number = 123 % 10, it gives the value 3 which is the remainder.

after that, we write logic to reverse the number:

initially, remainder =3 and result=0

result = result * 10 + remainder

so, the result will be 3

after that, suppose remainder =2 and result=3 (previous calculated)

result = 3* 10 +2.

so, the result will be 32. so the number is reversed. we store the number in reverse order.

This process continues until the condition is true.

After that, print the output.

Why procedures are used and what must be the lastexecutable instruction in a

procedure?

Answers

Answer:

Procedure are used to create and modifying the programs. Basically, it is grouping of instruction that can be used give direction of the flow of program. Control are given to the next term once the execution of the instruction get over. The steps of procedure are:

procedure are first executed the declaration instruction and then coding the procedure, then it will return to the directories and the last executable instruction is the termination of procedure.

The true or false questions.

The command: find -empty -type f -exec rm { } \; will remove all empty regular files, starting from the current directory

Answers

Answer:

true

Explanation:

The command:

find -empty -type f -exec rm { } \;

carries out the following steps.

1) Finds all the empty files in the current directory and its subdirectories.

2) For each of the identified files, it executes the command specified as the parameter to exec option,namely, rm <filename>.

So effectively it removes all empty files in the directory tree starting at the current directory.  

When designing a database, what should your first step be?

A. Clearly define the purpose of the database.
B. Divide data into tables that don't duplicate data.
C. Specify table relationships.
D. Choose the primary key for each table.

Answers

Answer:

Option A is the right answer. When designing a database the first step is to clearly define the purpose of database. What are the primary goals you want to achieve by building a database for a specific purpose. There are various methods of defining core purpose of database design.

Explanation:

As we understand defining purpose of database is the first step in database development, followed by series of steps to accomplish a database for required purpose.Requirement analysis/ elicitation defines the purpose of a database.Requirement analysis help us finding and organizing the information required i.e. purpose-the foremost step, to build a database.Gather the required information and group/ divide that information into tables.Select the unique identifier in each table to make it primary key.Set up and specify table relationships i.e one-to-one, one-to-many etc.

Answer details  

Grade: College

Subject: Computers and Technology

Chapter: Database Design

Keywords: designing database, relations in database, primary key etc

Final answer:

The correct answer is "clearly define the purpose of the database". The first step in designing a database is to clearly define its purpose, which guides all other design decisions such as table organization, relationships, and primary keys.

Explanation:

When designing a database, the first step should always be to clearly define the purpose of the database. This involves understanding its main functions, the kind of data it will contain, and how that data will be used. It's essential to document the purpose of the database, its anticipated users, and the ways in which it is expected to be utilized. This foundational step is critical for guiding subsequent design decisions, such as data modeling, establishing table relationships, and choosing primary keys.

After the purpose is defined, the next steps involve organizing the data efficiently. This includes dividing data into tables to minimize redundancy and establishing table relationships to link related data effectively. Defining primary keys for each table is another crucial step to ensure that each record can be uniquely identified, thus maintaining data integrity and facilitating data retrieval.

The following JavaScript program is supposed to print: 1 by 4 by 9
on a single line by itself. Unfortunately the program contains at least eight mistakes. Write the corrected line beside the line in error.

var N; // Text
N := 1;
document.writeln( N );
document.writeln( “ by “);
document.writeln( “N + 3”);
document.writeln( “ by “ );
document.writeln( N + 5);

Answers

Answer:

var N; // Text

N = 1;

document.write( N );

document.write(" by ");

document.write(N + 3);

document.write(" by ");

document.write(N + 8);

Explanation:

var N; // Text

N = 1;

document.write( N );

document.write(" by ");

document.write(N + 3);

document.write(" by ");

document.write(N + 8);

What is the role of programmers in an organization?

Answers

Answer: The major responsibility of a programmer is the development of the computer programs for an organization.

Explanation: Programmers tends to have good programming language knowledge for developing programs according to the need. They are supposed to create coding pieces as per the requirement in a software programming language. They are also have a duty of testing the program code. They should persist the skill of problem solving as well as critical thinking to be a good programmer in a particular organization.

The ____ operation is used to add an element onto the stack.

A.
push

B.
pop

C.
add

Answers

A. the answer is push :) pop is when you take away

Develop a program so that the output will produce the following :
the circumference of the circle is 33.912
the area of the circle is 91.5624.

Answers

Answer:

 #include <iostream>

using namespace std;

int main()

{

  float radius = 5.4;

  float circumference = 2 * 3.14 * radius;

  float area = 3.14 * radius * radius;

 

  cout<<"the circumference of the circle is "<<circumference<<endl;

  cout<<"the area of the circle is "<<area<<endl;

  return 0;

}

Explanation:

Include the library iostream for using the input/output instructions.

create the main function and define the variable with value. Then,

use the formula to calculate the circumference and are of circle.

[tex]circumference = 2*\pi *radius[/tex]

[tex]area = \pi * radius^{2}[/tex]

here, choose [tex]\pi = 3.14[/tex]

after that, display the result.

Note: All variable define in float type.

The Windows 8 file management interface is called _____.

A. Windows Manager

B. File Browser

C. File Manager

D. File Explorer

Answers

Answer:

D. File Explorer

Hope that helps!

Write the definition of a function printLarger , whichhas two int parameters and returns nothing. The functionprints the larger value of the two parameters to standard output ona single line by itself.

Answers

Answer:

void printLarger (int num_1, int num_2){

   //if else statement for checking the condition

   if(num_1 > num_2){

       cout<<num_1<<endl;  //display the output

   }else if(num_1 < num_2){

       cout<<num_2<<endl;  //display the output

   }

}

Explanation:

Create the function with return type void, it means the function returns nothing.

The number will be large if it less than the second number.

The possible condition are:

1. number_1 > number_2: the number_1 will be large.

2. number_1 > number_2: the number_2 will be large.

In the programming, if-else is the conditional statement which is used for checking the condition and gives the output accordingly.

Syntax:

if(condition){

  statement;

} else if(condition){

   statement;

}

when the program executes the if statement checks if condition number_1 > number_2 is true or not if true then print the output.

if the condition false, then the program control move to the else if part and then checks the condition if the condition true then print the output.

What does the /etc/shadow file contain?

Answers

Answer:

This file contains encrypted password and other information also such as password expiration values,account and other confidential stuff etc.

Explanation:

In linux this file contains passwords and confidential stuff.

This file is only readable that to by the root account and hence it is secured.

Write a JAVA program to sort a given array of integers (1 Dimensional) in ascending order (from smallest to largest). You can either get the array as input or hardcode it inside your program.

Answers

Answer:

import java.util.Arrays;

public class sort{

    public static void main(String []args){

       int[] arr = {2,6,9,1,5,3};

       int n = arr.length;

       Arrays.sort(arr);

       for(int i=0;i<n;i++){

          System.out.println(arr[i]);

       }    

    }

}

Explanation:

first import the library Arrays for using inbuilt functions.

create the main function and define the array with elements.

then, use the inbuilt sort function in java which sort the array in ascending order.

syntax:

Arrays.sort(array_name);

then, use for loop for printing the each sorting element on the screen.

The class at the top of exception class hierarchy is ..........................
A) ArithmeticException
B) Throwable
C) Class
D) Exception

Answers

Answer:

B) Throwable

Explanation:

Great question, it is always good to ask away and get rid of any doubts that you may be having.

There are a wide range of classes on the exception class hierarchy. All the way on the top is the Objects Class but since that is not an available answer we will move on to the next one. The next one is the Throwable class. therefore that is the answer.

**Exception is after Throwable , and Arithmetic Exception is at the bottom.... everything is a class so that is not a part of the hierarchy **

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

The condition that is tested by a while loop must be enclosed in parentheses and terminated with a semicolon



True False

Answers

Answer:

False

Explanation:

while loop is used to execute the statement again and again until the condition is TRUE.

Syntax:

initialization;

while(condition)

{

   statement;

}

we write condition within the parentheses but without terminate with the  semicolon.

Therefore., the answer is False

When a user process is running and an instruction is executed that requests a file-open operation, which of the following event will occur? (A) Supervisor call (B) Trap (C) I/O interrupt (D) Fault (E) None of the above

Answers

Answer:e

Explanation:

Because it will automatically work

Assume that x is an integer variable. Which of the following represents the memory address where x is stored? E) None of the Above A) x B) &x C) *x D) 2**

Answers

Answer: (B) &x

Explanation:

Here whenever any variable is stored let it be integer, char, float it is always stored in a memory location assigned as '&'. Here the location where x is stored is denoted as '&x' which means memory address of x. *x means the pointer which is pointing to the memory address of x.

Why transport layer is usingconnectionless services if network layer is providing connection oriented services?

Answers

Answer:

Transmission Control Protocol

Explanation:

Transmission Control Protocol is using connectionless services if network layer is providing connection oriented services.

The AND operator is written as two ____.

a.
asterisks

b.
equal signs

c.
ampersands

d.
plus signs

Answers

Answer:

ampersands

Explanation:

In the programming the AND operator is denoted as '&&' , two ampersands.

it is used to between two conditions and give Boolean result.

It has four possible result:

first condition TRUE  second TRUE, result TRUE

first condition TRUE  second FALSE, result FALSE

first condition FALSE second TRUE, result FALSE

first condition FALSE second FALSE , result FALSE

For example:

(5 > 0 && 7 > 4):   it gives the result TRUE because both are true.

5 > 8 && 7 > 4):   it gives the result FALSE because one is false.

What operator is used to create a validation rule? A. – B. / C. < or > D. +

Answers

Answer:

A

Explanation:BECAUSE

Relational operators, specifically < and >, are used to create validation rules that data must satisfy when being entered or modified. They set conditions such as requiring a quantity to be at least one, as in >=1.

The operator used to create a validation rule is C. < or > which are relational operators. These operators are essential in forming expressions that set the conditions data must meet to be considered valid. For instance, a typical validation rule in an Order Entry form might be that the quantity entered must be equal to or greater than one. In this case, the rule would be represented as >=1.

In database systems and programming, the proper use of relational operators, such as <, >, <=, and >=, is critical for ensuring accurate querying and data integrity. These operators allow for comparison between values, ensuring that the entered data fits within the specified parameters defined by the validation rules.

a. Is there any functional difference between the class being instantiated in the following two ways? Balanced bal = new Balanced ("abc", "xyz"); Balanced bal = new Balanced ("cab", "zxy"); b. Is there any functional difference between the class being instantiated in the following two ways? Balanced bal = new Balanced ("abc", "xyz"); Balanced bal = new Balanced ("abc", "zxy"); c. Is there any functional difference between the class being instantiated in the following two ways? Balanced bal = new Balanced ("abc", "xyz"); Balanced bal = new Balanced ("xyz", "abc"); d. What type is pushed onto the stack? A char? An int? An integer? explain. e. Under which circumstances is the first opeation performed on the stack (not counting the new operation) the top operation? f. What happens if the string expression, that is passed to the test method, is an empty string?

Answers

Answer:

A,B,C -NO

D-Value type like int,char..

E.pop

D. it throws null exception

Explanation:

(A,B,C)There is no functional difference but  as the values passed to the parameterized constructor is different so you will get different outputs but functionality of the class didn't change  

(D) stack is a data structure which stores value types where as heap stores object types.In.stack actual value of the variable stored and heap address of the object stored

(E)the top operation on stack is always pop once we inserted the elements in a stack.if there are no elements in stack pop results null

(D) if the string we passed is null or empty to the test method it returns exception we need to handle that

What is ment by WCF services in asp.net?How does it help in creating web pages?

Answers

Answer:

WCF -  Windows Communication   Foundation

Explanation:

WCF stands for Windows Communication   Foundation.

The first version of WCF is released as   a part of .NET 3.0.The later versions are 4.0 and   4.5.

WCF is used to build distributed applications.   Distributed application is an application that where   parts of it run on two or more systems.  

For example,  

We have a web application running on one server. If   this web application is consuming a web server   which is running on another server, then this  

application is called distributed application.

The programmers can also build 3-tier web   application. The 3-tiers are,

          1. Presentation tier

          2. Business tier

          3. Data Access tier

If all 3 tiers are deployed on same machine,   scalability can be an issue, if more number of users   try to access the application.  

If we deploy each tier on different machines, then it   can handle multiple requests without degrading   performance of an application.

WCF is also used to build interoperable applications.  An interoperable application is an application where   one application can communicate with any other   application that is built on any platform.

So, the two advantages of using WCF are:

An enterprise application can use the services  

provided by other.  

we can have better scalability.  

Earlier, we used to have web services and .NET   Remoting to build distributed applications.  

Web service was used to exchange messages in   XML format using HTTP protocol. A .NET remoting was used to exchange messages   in binary format using TCP protocol.

Microsoft unified these communicating technologies   and named it as WCF.

What will be the value of input_value if the value 5 is input at run time?
cin >> input_value;
if (input_value > 5)
input_value = input_value + 5;
else if (input_value > 2)
input_value = input_value + 10;
else
input_value = input_value + 15;

Answers

Answer:

15

Explanation:

The if else state is used for checking the condition and if the condition is TRUE and program can execute the statement  within the if else.

Initially input_value is 5

then the if statement check the condition 5>5, condition FALSE because 5==5

it not less than 5.

then program move to else if and check condition 5>2, condition TRUE.

then, input_value = 5 + 10=15 execute and update the value to 15.

After that, program terminate the if else statement.

Therefore, the answer is 15.

Write a 'C' program that contains two arrays: one that containsthe name of the months, another that contains the number of days ineach month.You should hard -code the month names and number ofdays in each month when you initialize the arrays(don't need toprompt the user for input). Then, use loop to iterate through thearrays and printout each month and the number of days in themonth.

Answers

Answer:

#include<stdio.h>

//main function

int main(){

   //initialization of variable

   char arr1[12][12] = {"January","February","March","April","May","June","July","August","September","October","November","December"};

   int arr2[12]={31,28,31,30,31,30,31,31,30,31,30,31};

   int i,j;

   //for loop for print the arrays

   for(i=0;i<12;i++){

     for(j=0;arr1[i][j]!='\0';j++){

       printf("%c",arr1[i][j]);    //for print the months

     }

     printf(" %d",arr2[i]);   //print the days

     printf("\n");  //for newline

   }

   return 0;

}

Explanation:

Create the main function and then define the two array with hard-code the month names and number of days in each month.

For defining the string array, you have to take the 2-D array of type 'char'.

then, take nested for loop for print the element in the array.

nested for loop means, loop inside a loop. It is used for the 2-D array. The outer loop is for row and the inner loop is for the column.

For every row, the inside loop print the string character by character with the help of printf() function which is used to display the value on the screen.

after the inner loop terminates, then another prinf() function is used for print the days after the name of the month. Then. the outer loop runs again.

This is process continues until the outer loop not terminate and finally, we get the desired output.

When you create an array variable, memory space is automatically reserved.

True

False

Answers

Answer:

The answer is true.

Explanation:

An array is a collection of data of the same type. It is used to handle a number ''n'' of elements in common, either of types defined by the language ( int, float, string, etc) as well as those defined by the programmer.

A one dimensional array is a structured data type that is made up of a finite, ordered collection of data of the same type.

A vector, also called a one dimensional array, is a data structure that allows you to group elements of the same type and store them in a single block of memory together, one after the other. This group of elements is identified by the same name and the position in which they are found. Ther first position of the array is position zero.

We could group in an array a series of elements of integer type, floating, etc. For example:

int a [5]; (vector of 5 integers)

float b[5]; (vector of 5 floating)

int a [] = {5,6,7,8,9};

float b [] = {5.1,5.2,5.3,5.4,5.5};

Since there are 5 elements in each array, automatically 5 memory spaces will be assigned to each vector, but if I try to create the vector of the form int a [], the compiler will show an error, because I did not indicate the size of the vector and I did not initialize its elements.

Differentiate Between register and Memory location (

Answers

Answer:

Register-it contains all the instructions that are present in the processor.

Memory location- it is the particular memory address where the data is stored.

Explanation: Difference between register and memory location are as follows :-

Register are the found in the CPU internal storage and memory location is present on the RAM.Registers are faster in movement as compared to the memory location.Register has the capacity of holding of less data as compared to the memory location which can store data in large amount .

Other Questions
How has putin been attempting to take advantage of the complex legacies of the cold war and decolonization in Asia At the end of the war, France ceded New Orleans to_____.BritainSpainthe Iroquoisthe colonies Last week Bill made a purchase of $56.78 before tax. This week, the same items on sale would have cost him $41.90 before tax. If the tax is 4%, how much could Bill have saved by buying the items on sale (including tax)? 25 POINTS PLEASE HELPLet f(x) = (6x^3 - 7)^3 and g(x) = 6x^3- 7.Given that f(x) = (hg)(x), find h(x).Enter the correct answer How does friction relate to heat energy? Friction can produce heat energy. Friction can create heat energy. Friction can destroy heat energy. Heat energy produces friction. Sean McManus of CBS Sport said that "The absurd thoughts that limited what minorities could or could not do in sport are slowly being eroded by minorities proving that they can do the jobs. Real progress is being made. In sport, since many pick their players and coaches based primarily on the athletes or managers ability to contribute to winning." True or false. DTO, Inc., has sales of $15 million, total assets of $12.6 million, and total debt of $5.6 million. Assume the profit margin is 8 percent. a. What is the company's net income? (Do not round intermediate calculations. Enter your answer in dollars not in millions, e.g., 1,234,567.) b. What is the company's ROA? (Do not round intermediate calculations. Enter your answer as a percent rounded to 2 decimal places, e.g., 32.16.) c. What is the company's ROE? (Do not round intermediate calculations. Enter your answer as a percent rounded to 2 decimal places, e.g., 32.16.) What is the area of the sector bound by the center of the circle and arc CD in the circle below?Circle A is shown with a radius labeled 8 feet and a central angle marked 35 degrees. a9.42 ft2 b19.54 ft2 c34.89 ft2 d88.31 ft2 A 0.500-kg ball traveling horizontally on a frictionless surface approaches a very massive stone at 20.0 m/s perpendicular to wall and rebounds with 70.0% of its initial Kinetic energy. What is the mangnitude of the change in momentum of the stone? The pharmacological effects of quinidine include the following EXCEPT: A. blocking Na+ channel B. blocking B adrenergic receptorC. blocking Ca+ channel D. blocking Cl channel Write an equation of the line below. 1.the idea that the sporophyte generation and the gametophyte generation follow one another in alternating fashionalternation of generations2.the process of changing cells or organisms from a generalized to a more specific or specialized condition; often involves a reduction of the ability to reproduce or divide and is usually not reversiblemeristem3.beginning period of growth of a seed or spore; to sproutdifferentiation4.the youthful, undifferentiated cells of root and shoot tips and other plant parts that produce new cells for growthvascular cambium5.a plant that continues to grow year after year from the same plant bodyperennial6.above ground part of a plant; leaves, stems, flowers, fruits, etc.shoot7.the meristematic cells that produce new cells, increasing plant body girth; often forming a ring only several cell layers wide in woody stems and rootsgermination find the slope of a line that passes through (3, 6) and. (5, 3) a. -3/2 b. 3/2 c. 2/3 If the angle that the sun makes with the side of a building is 75, and the distance from the top of the building to the tip of its shadow is 25 feet, what is the length of its shadow? 144.89 feet 12.84 feet 48.3 feet 24.15 feet To divide two fractions, first rewrite the problem as the dividend times the ______ of the divisor. Regarding enumerations, the ____ method returns an array of the enumerated constants.a.valuesb.valueOfc.toArrayd.ordinal solve for 2(-6y+29)-4y=-6 Proteins are built from amino acids. Proteins that contain the amino acids tryptophan, phenylalanine, and tyrosine can be quantified using UV spectroscopy and do not require a detection reagent such as Coomassie Blue. Why is this the case? A charged isolated metal sphere of diameter 15 cm has a potential of 8500 V relative to V = 0 at infinity. Calculate the energy density in the electric field near the surface of the sphere. The force exerted by the wind on the sails of a sailboat is 390 N north. The water exerts a force of 180 N east. If the boat (including its crew) has a mass of 270 kg, what are the magnitude and direction of its acceleration? Serway, Raymond A.; Jewett, John W.. Physics for Scientists and Engineers (MindTap Course List) (Page 121). Cengage Learning. Kindle Edition.