1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
aev [14]
4 years ago
14

What is program counter, what is the purpose and where is its value(s) stored?

Computers and Technology
1 answer:
IceJOKER [234]4 years ago
8 0

Answer:

Program counter:In computer processor the program counter is a register that holds the address of the instruction being executed currently.They are also known as instruction pointer (IP) .When instruction are fetched  then program counter increases and hold the the address of the next instruction  by increasing and storing her value by 1.

The purpose of program counter is " to keep the track of currently execution"

The address of the next instruction is hold by program counter in the main program.

The program and data  means  both data and instruction  stored in  memory.

You might be interested in
Write a function that accepts a pointer to a C-string as an argument and returns the number of words contained in the string. Fo
Anon25 [30]

Answer:

To preserve the original format of the answer, I've added it as an attachment

Explanation:

This line defines the function

int countWords(const char ptr){

   

This line initializes number of words to 0

   int words = 0;

The following iteration is repeated until the last character in the argument is reached

   while(*(ptr) != \0){

This checks if current character is blank

       if(*ptr==  ){

If yes, then it increments number of words by 1

        words++;

 }

This moves the pointer to the next character

       ptr++;

   }

This returns the number of words in the argument

   return words+1;

}

The main begins here

int main() {

This declares user input as a character of 200 length

   char userinput[200];

This prompts user for input

   cout << Enter a string: (200 max): ;

This gets user input

cin.getline(userinput, 200);

This passes the c-string to the function and also prints the number of words

cout << There are  << countWords(userinput)<< words;

Download cpp
4 0
3 years ago
Cylinders containing _________ or acetylene shall not be placed in a confined space. A. Oxygen B. Sand C. WaterCylinders contain
Helen [10]

/////////////////////////////oxygen///////////////////////////////////////////

6 0
4 years ago
A(n) _____ prevents a mobile device from being used until the user enters the correct passcode.
Marina86 [1]

Answer:

b. lock screen                                                              

Explanation:

  • Lock screen is a security feature provided by many mobile operating systems in mobile devices.
  • This feature prevents unauthorized access to the device.
  • This feature does not allow the mobile to be used unless the user performs a specific action rightly in order to get access of the mobile device.
  • This action can be entering the correct password, pin-code, pattern.
  • These days, the lock screen with new enhanced security features  enables the users to unlock the mobile device using gestures like face recognition and also provides fingerprint lock feature that locks and unlocks the mobile device with the fingerprint of that device user.
  • Its a good practice to set the lock screen in a way that it locks the device if it remains idle for specific time and the user is required to enter the password etc to unlock it.
  • Lock screen is a beneficial feature when it comes to the security of the device and the data stored in it.
6 0
3 years ago
On Election Day, TV news network Houston News One is trying to project the 2018 Texas election results. They send pollsters to 4
Leni [432]

Answer:

entrance poll

Explanation:

Based on the information provided within the question it seems that the type of poll that the news network is conducting is an entrance poll. This refers to asking question (poll) to people outside of the voting center before they enter to place their vote as opposed to exit poll which is done after the individual has placed their vote.

8 0
3 years ago
Information dashboards enable ________ operations that allow the users to view underlying data sources and obtain more detail.
Alja [10]

I believe what you meant is Performance Dashboard and the correct answer is drill-down/drill-through

Prοvidе visual displays οf impοrtant infοrmatiοn that is cοnsοlidatеd and arrangеd οn a singlе scrееn sο infο can bе digеstеd at a singlе glancе.

4 0
3 years ago
Other questions:
  • Which of the following is a Microsoft solution that runs on a Microsoft Terminal Services server but appears, to end users, as i
    10·1 answer
  • A software programâs _________ indicates what can legally be done with that program.]
    5·1 answer
  • Write a static method named anglePairs that accepts three angles (integers), measured in degrees, as parameters and returns whet
    10·1 answer
  • Amina question and any other )
    14·1 answer
  • Path of the signal of television
    6·1 answer
  • When do we use SAVE and SAVE AS in saving artwork in adobe illustrator?<br> PLEASE HELP ASAP
    11·1 answer
  • List three social implications of the wider range of piracy​
    15·1 answer
  • What security setting can cause a mobile device to erase installed apps and data if the passcode is incorrectly entered a number
    11·1 answer
  • What is wrong here??
    14·1 answer
  • An IP address specifically belongs to:
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!