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
IRISSAK [1]
3 years ago
10

When a cache block has been modified since being read from main memory?

Computers and Technology
2 answers:
Ulleksa [173]3 years ago
5 0

When a cache block has been modified since being read from main memory the dirty bit is set.


blsea [12.9K]3 years ago
3 0
When a cache block has been modified since being read from main memory <span>the dirty bit is set.
in computer terms, dirty bit is a corresponding block of memory which stays within the memory system after the processor is done to modify this memory. Cache blocking is one of the processes needed for the modification.</span>
You might be interested in
James would like to send a document he has saved on the hard drive to coworkers and Ireland Brazil and India. These coworkers ha
frozen [14]
Email the document to them ?

8 0
4 years ago
Read 2 more answers
Write two alternate functions specified below, each of which simply triples the variable count defined in main. These two functi
Vedmedyk [2.9K]

Answer:

Following are the code to this question:

#include <iostream>//header file

using namespace std;

int triplebyValue(int count)//defining a method triplebyValue

{

int x=count*3;//defining a variable x that multiply by 3 in the count  

return x;//return value of x

}

void triplebyReference(int& count)//defining a method triplebyReference that hold count variable as a reference in parameter

{

count*=3;//multipling a value 3 in the count variable

}

int main()//main method

{

int count;//defining integer variable

count=triplebyValue(3);//use count to call triplebyValue method

cout<<"After call by value, count= "<<count<<endl;//print count value with message

triplebyReference(count);//calling a method triplebyReference

cout<<"After call by reference, count= "<<count<<endl;//print count value with message

return 0;

}

Output:

After call by value, count= 9

After call by reference, count= 27

Explanation:

In this code two methods "triplebyValue and triplebyReference" are declared, which accepts a count variable as a parameter, and in both multiply the count value by 3 and return its value.

Inside the main method, an integer variable "count" is declared that first calls the "triplebyValue" method and holds its value into count variable and in the next, the method value is a pass in another method that is "triplebyReference", and use print method to print both methods value with a message.

7 0
3 years ago
Write a program palindrome.py that prompts for a sequence of words or numbers on a single line and checks if the entries are pal
olya-2409 [2.1K]

Answer:

Explanation:

The program first asks the user for the sequence of words. Then it splits the sequence into an array of words. Then it loops through the array checking each word to see if it is a palindrome. If it is it prints the word, the boolean value, and adds 1 to the palindrome_count variable. Otherwise it prints the word, false, and moves on to the next word in the list. Finally, it prints out the total value of palindrome_count.

word = input("Enter sequence of words: ")

word_list = word.split(' ')

print(word_list)

palindrome_count = 0

for word in word_list:

   print('\n\n')

   reverse = word[::-1]

   if word == reverse:

       print(word, end='\n')

       print(True, end="\n")

       palindrome_count += 1

   else:

       print(word, end='\n')

       print(False, end='\n')

print("\n\nNumber of Palindromes in Sequence: " + str(palindrome_count))

3 0
3 years ago
Use C++:
AveGali [126]

Answer:

result = pow(10,5);

Explanation:

A complete code in C++ with the necesary header file for the math class is given below:

#include <iostream>

//import the header file to use the power function

#include<cmath>

using namespace std;

int main()

{

   double base = 10.0;

   double result;

  //Use Power function to raise base to power of 5

   result = pow(10,5);

   //print out the result

   cout<<result;

   return 0;

}

5 0
3 years ago
Need an answer as soon as possible please!
Mnenie [13.5K]

Solution :

Digital recording may be defined as the preservation of an audio or some visual signals like the series of a binary numbers which can be stored on a magnetic tape or on an optical disc or some other digital storage media.

Some of the best practices for doing digital recording are :

1. We should always take permission from those who are being recorded. It is not right to shoot others without their permission. It is against the right to privacy.

2. We should record audio at about 44.1 kHz/16 bit in an uncompressed wave format.

3. A High quality MP3 (192 kbps or higher) is often accepted due to the limitations of a recorder or for a storage space.

The MP3 recordings are considered as the best option for certain recorders  and when the storage space is severely limited. It produces a good quality recording.

3 0
3 years ago
Other questions:
  • A termination condition in a loop is analogous to________in a recursive method.
    11·1 answer
  • Which statement about synchronous communication is true?
    15·1 answer
  • (tco 3) what vbscript boolean operator could be used to replace the nested selection structure in this pseudocode? if empmedical
    13·1 answer
  • Page UND
    8·1 answer
  • Let's play Silly Sentences!
    10·1 answer
  • 1. Write a query to list the names all products (by product code and name) and the average ordered quantity for each product wit
    9·1 answer
  • This assignment requires you to write a program to analyze a web page HTML file. Your program will read one character at a time
    13·1 answer
  • Write a SELECT statement that uses an aggregate window function to get the total amount of each order. Return these columns: The
    13·1 answer
  • Introduction to computing systems: from bits and gates to c and beyond
    7·1 answer
  • Estoy haciendo codificación en este momento es tan confuso y no estar en la escuela es más difícil
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!