If you wanted to make the system sequentially consistent, what are the key constrains you need to impose

Answers

Answer 1

Answer:

The call of instructions and data must be sequential, there can be no reordering of instructions but to allow reordering, a fence must be created.

Explanation:

Sequential consistent memory model is able to use instructions when or before processing is done and after processing, so long as the instruction order is sequential.

This is similar to uploading a video on you-tube, the site immediately creates a page for the video even before the video is fully uploaded. Sent tweeter messages are seen by different people at different times, but the messages appear to be arranged sequentially.


Related Questions

What problem can enabling compression present when you are using ssh to run remote X applications on a local display?

Answers

Answer:

Compression over ssh connection would increase network latency, using most of its bandwidth to crippling network efficiency.

Explanation:

SSH is a protocol in computer networking used by administrators to manage a remote network. Various commands are run remotely with this connection. The compression command is enabled in the remote network with the -C option in the ssh configuration. Compression over ssh is only favorable over low bandwidth networks.

Write your own accessor and mutator method for the Rectangle class instance variables. You should create the following methods: getHeight setHeight getWidth setWidth getArea getPerimeter toString- The output of a rectangle with width 10 and height 4 method should be:

Answers

Answer:

Public int getHeight(){

return height;

}

public int getWidht(){

return widht;

}

public int setHeight(int change){

height = change;

}

public int setWidht(int change){

widht = change;

}

public int getPerimeter(){

int perimeter = 2 ( getWidht() + getHeight ());

return perimeter;

If the width is 10 and height 4, the perimeter should be 28.

Explanation:

An accessor in Java is a method that is used to get the value of an object variable. The program above has three accessor methods, getHeight, getWidht and getPerimeter.

Mutators are methods that is used to change of mutate the value of object variables. They are denoted or identified by the set prefix in their names. From the class code, the mutator are setHeight and setWidht.

numA = 3
numB = 2
Result = numA ** numB

Answers

Answer:

The result of the following code will be 9

Explanation:

There are several operators used in Python to do mathematical calculations.

** operator is used for exponents.

i.e.

a ** b mathematically means a^b

Here in the given code

3 is assigned to numA and 2 is assigned to numB

Result will be equal to 3^2

Hence,

The result of the following code will be 9

Answer:

9

Explanation:

The double asterisk is the exponent operator.

Three to the second power is nine.

Which of the following is a popular search engine?

Apple.com
Bing.com
Firefox.com
Microsoft.com

Answers

Answer:

We conclude that Bing is the only option that is correct. Thus, Bing.com is a popular search engine.  

Explanation:

Given the option

AppleBingFirefoxMicrosoft

From the given option, we can easily determine that Bing is the only popular search engine using which we can carry out web searches. It means we can search for the information in a systematic way based on the input web query we write.

Please note that Bing is a web-based search engine, operated by Microsoft.

All the other options are incorrect.

Apple is a famous technology company; Firefox is an open-source web browser, free to use. and Microsoft is another tech company.

Therefore, we conclude that Bing is the only option that is correct. Thus, Bing.com is a popular search engine.  

The popular search engine is Bing.com.

Thus, option (B) is correct.

Bing.com is a popular search engine. It is owned and operated by Microsoft and is one of the well-known search engines used by people worldwide to find information on the internet.

The other options listed Apple.com, Firefox.com, and Microsoft.com are not search engines; they are websites related to specific companies Apple, Mozilla Firefox, and Microsoft but do not function as search engines like Bing.

Apple is a famous technology companyFirefox is an open-source web browser, free to use.and Microsoft is another tech company.

Therefore, Bing.com is a popular.

Thus, option (B) is correct.

Learn more about Search engine here:

https://brainly.com/question/32419720

#SPJ6

how to create use an array of Course objects instead of individual objects like course 1, course 2, etc

Answers

Answer:

To save the course object instances in an array, use;

Course[] courses = new Course[7];

courses[0] = new Course("IT 145");

courses[1] = new Course("IT 200");

courses[2] = new Course("IT 201");

courses[3] = new Course("IT 270");

courses[4] = new Course("IT 315");

courses[5] = new Course("IT 328");

courses[6] = new Course("IT 330");

Explanation:

The java statement above assigns an array of size 7 with the course class constructor, then order courses are assigned to the respective indexes of the new array.

How might use of computer and knowledge of technology system affect personal and professional success

Answers

Answer:

social media

Explanation:

Internet Explorer inserts the Flash Shockwave Player as a(n) ____ control. Group of answer choices AVI ActiveX Class Quicktime

Answers

Answer:

Internet Explorer inserts the Flash Shockwave Player as a(n) ____ control.

ActiveX

Explanation:

ActiveX controls are small apps, also called “add-ons,” that allow websites to provide content such as videos and games. They also enable web interaction, make browsing more enjoyable, and allow animation. However, these ActiveX controls can sometimes malfunction, produce unwanted contents, or install spyware in your system because they exercise the same level of control as the computer user.

Hi, Everybody i have a question it is almost my B-day i want this lego set
(Nintendo Entertainment System™) BUT THEY ARE SOLD OUT
I NEED HALP

Answers

Answer:

You can look at different websites of look on an app for people selling it, or something :p

Explanation:

Please have a look at the screenshot below

Answers

C. Reliability

Because of the network and recovery time



Plz give brainliest

In preemptive priority scheduling, when a process arrives at the ready queue, its priority is compared with the priority of:____________.

Answers

Answer:

Currently running process

Explanation:

In preemptive priority scheduling there is usually a form of comparison of the schedule with the other function or processes which are present in the queue also.

In preemptive priority scheduling, when a process arrives at the ready queue, its priority is compared with the priority of currently running process.

turns on her laptop and gets the error message "OS NOT FOUND." She checks the hard disk for damage or loose cable, but that is not the case. What could be a possible cause?

Answers

It needs an Operating System like a cable or something that will help it operate look for more and double check

Which is the best video game antagonist?

A. Link
B. Cloud Strife
C. Mario
D. The Dragonborn

Answers

Answer:

mario Martinez was making a use of the surge how he might help him out side

Mario.

Link, I need more letters so I am doing this

active cell is indentifed by its thick border true or false​

Answers

Answer:  It's identifed by its thick border so its true

Answer: true is correct

You want to search for contacts in your email program. You enter the person’s first name and last name in the search box. You want the computer to display the contact with the exact first and last name as well as contacts with either of the names. Which logic gate idea are you using here?
A.
AND
B.
NOT
C.
NAND
D.
OR
E.
NOR

Answers

Answer:

NOR

Explanation:

Answer:

Correct answer: D. OR

Explanation:

Took test

Which tools can Object Drawing Mode be applied to?
Line tool
Rectangle Tool
Oval Tool
Pencil tool
Pen Tool
Brush Tool

Answers

Answer:

• Line Tool

• Rectangle Tool

• Oval Tool

• Pencil Tool

• Brush Tool.

Explanation:

When people want to animate when using the Adobe Animate CC, it is vital for them to know how to draw shapes like squares, lines, ovals, rectangles, and circles. This is to enable such individuals understand how to draw objects as it can be difficult if they do not know how to draw these shapes.

The tools that Object Drawing Mode be applied to include:

• Line Tool

• Rectangle Tool

• Oval Tool

• Pencil Tool

• Brush Tool.

When the tool is being selected, it should be noted that the option for the drawing mode will be shown in the Property Inspector panel or it can also be seen in the tools panel.

If you have 128 oranges all the same size, color, and weight except one orange is heavier than the rest. Write down a C++ Code/Algorithm to search the heavy orange, in how many steps would you be able to find it out?

Answers

Answer:

#include <iostream>

using namespace std;

void Search_heavy_orange(int arr[], int l, int r, int x)

{

int count = 0, m = 0;

while (l <= r) {

 m = l + (r - l) / 2;

 // Check if x is present at mid

 if (arr[m] == x) {

  count++;

 }

 // If x greater, ignore left half

 if (arr[m] < x) {

  l = m + 1;

  count++;

   

 }

 

 // If x is smaller, ignore right half

 else {

  r = m - 1;

  count++;

 }

}

cout << "............For Worst Case......." << endl;

cout << "Orange with heavy weight is present at index " << m << endl;

cout << "Total number of step performed : " << count << endl;

}

int main()

{

// Assuming each orange is 100 gm and the weight of heavy

// orange is 150 gm

int orange_weight[128];

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

 orange_weight[i] = 100;

}

// At worst case the heavy orange should be at last position

// inside the basket : 127

orange_weight[127] = 150;

// We will pass array , start index , last index and the search element

// as the parameters in the function Search_heavy_orange

Search_heavy_orange(orange_weight, 0, 127, 150);

return 0;

}

Explanation:

Write a statement that opens a file named 'client_list.txt' for appending and assigns the resulting file object to a variable named f.

Answers

Answer:

f = open('client_list.txt', 'a+')

Explanation:

The question is answered in python.

The syntax to open a file is:

file-object-variable-name = open('file-name','file-mode')

In this question:

The file-object-variable-name is f

The file-name is client_list.txt

The file mode is a+ which means to append.

Hence, the statement that does the instruction in the question is:

f = open('client_list.txt', 'a+') or f = open("client_list.txt", "a+")

Assume a file containing a series of integers is named numbers.txt and exists on the computer’s disk. Write a program that reads all of the numbers stored in the file, calculates their total and displays it.


Very Important: The file could have any number of numbers, so you need to use a loop to process the data in the file

Answers

#include <iostream>

#include <fstream>

using namespace std;

int main(){

   int x, sum=0;

ifstream f("numbers.txt");

while(!f.eof()){

       f >> x;

       sum +=x;

}

cout << "Sum : " << sum;

}

This is a C++ program.

Next time be more precise on the programming language you want

Which of the following examples requires a citation in a paper you're writing?
A. General information you already knew but want to clarify or conform
B. The table of contents
C. A paraphrasing of your original work in a different section of your paper
D. A direct quotation that is marked off by quotation marks

Answers

Answer:

D. A direct quotation that is marked off by quotation marks

Explanation:

Quotation marks are responsible for indicating that some texts are explicitly referenced in a paper with no changes made. This type of quote must be very well referenced in the paper, both on lines where the quotes are written with author's surname, date of publishing, page referenced, and also on the bibliography at the end of the paper with all these references very well detailed, including text's title, translators (if any), number of editions, publishing house, and more. It is important to highlight it depends on the policies of publishing the paper must follow because there are different patterns for referencing and quoting.

One vulnerability that makes computers susceptible to walmare is:
A. A using antimalware software
B. Using password software
C. Using old versions of software
D. Using encryption on sensitive files

Answers

C using old versions of software

Construct a query to count the number of establishments (named NumOfEstablishments) that start with the letters 'Mc'.

Answers

Answer:

SELECT COUNT(*) AS NumOfEstablishments

FROM establishment

WHERE aka_name  LIKE "Mc%";

Explanation:

The SQL or structured query language query statement uses the 'SELECT' clause to read or retrieve data from the database, the 'FROM' clause specifies the table from which data is retrieved (in this case, the establishment table) while the 'WHERE' clause uses the 'LIKE' operator to set a condition for the rows to be retrieved (in this case, NumOfEstablishments columns starting with Mc). The LIKE operator uses the '%' character to specify one or more characters.

In dreamweaver name two attributes

Answers

Answer:

Explanation:

add an id and class

Asymmetric encryption uses only 1 key.

A)
False

B)
True

Answers

A.) false

Symmetric encryption uses a single key that needs to be shared among the people who need to receive the message while asymmetric encryption uses a pair of public key and a private key to encrypt and decrypt messages when communicating.
A) false is the answer

how are you suppose To beat yunalesca on final fantasy 10 anyway

Answers

Answer:

be good at the game

Explanation:

get better

help:(What are the uses of various lights? How are they all different? How do you decide on their usage? How can you use natural light to your advantage? Discuss.​

Answers

Answer:

This is one of the most common types of lighting. Ambient light is a soft glow that blankets your space just enough for you to function without causing a harsh glare. In photography and cinematography, ambient light is considered the "natural light" within a room. In décor, ambient light is very similar, except you create the ambient light by making the room's lighting as natural and flat as possible. While ambient light is meant to get you safely from point A-to-B, it is not ideal for working closely with things or to highlight things around your space. When used correctly, ambient light creates a fantastic environment to relax from an overly stressful day or to have a warm conversation with an old friend. Ambient lighting is often referred to as mood lighting, because this light captures the soft curves of your face and allows your pupils to dilate slightly (a physical sign of affection). Some yoga studios have even begun using the softer ambient lighting in their classes to help draw stress from the body. This is a smaller more concentrated light. You want task lighting around when you’re working. In fact, some people call it office lighting. Task lighting is meant to help you see when you’re doing projects in which you need a finer light, such as, reading, cooking, writing, sewing and many other things. Task lighting only works well when it is used as a contrasting light. For example, if you have a low lit room with a swing arm lamp turned on over your desk, the light over the desk surface will be more effective with less glare or shadow-effect than if the entire room was lit with a brighter light. Task lighting helps naturally stimulate your brain. The contrasting light allows you to be more alert and concentrated. This will help you see more details as you work, creating higher quality results. This is why many businesses choose to use task lighting in their offices.

Explanation:

Lights can perform functions such as the illumination of rooms, decorations, etc.

Light is a powerful tool that can be used in setting a particular mood or drawing attention to the products in a store. There are several types of light such as:

Ambient lighting: It is used for lighting up a room. It gives a uniform level of illumination as it creates an overview of a room. Examples include a chandelier, table lamp, track light, etc.

Task lighting: It illuminates the task that a person is carrying out. Such tasks include reading, computer work, cooking, etc.

Accent lighting: It's used to focus on a particular point of interest in order to achieve the desired effect. It is usually used to highlight an architectural feature, sculpture, or a collection of objects.

Read related link on:

https://brainly.com/question/22697935

A two-dimensional array has been defined to hold the quantity of each of 5 different healthy snack products sold in a tuckshop during the past three months. The array is declared as follows: sales = [ [ 0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0] ] Indexing of the array starts at 0, so the sales of the first product in the second month is held in sales[1][0].

Answers

Answer:

1

Explanation:

[0] = 1

[1] = 2

[3] = 3

and so on...

7. Malware could A. cause a system to display annoying pop-up messages B. be utilized for identity theft by gathering personal information C. give an attacker full control over a system D. all of the above Answer: ________

Answers

Answer:

D

Explanation:

Malware can be used for many things, a click of a button can send complete access to the attacking system. Malware comes in all formes and powers.

If A = 5 and B = 10, what is A * B equal to?

Answers

Answer:

50

Explanation:

5 times 10 equals 50

Answer:

50

Explanation:

If A=5 and B= 10 you would do 5 times 10 which equals 50

Prompt
Using complete sentences post a detailed response to the following.
Have you ever tried to learn a new language or do you have friends who've had that experience? What are some of the
steps you would take to learn a new language, and what are some challenges that might arise? What are some things that
can help make the process easier?

Answers

Have you ever tried to learn a new language or do you have friends who've had that experience?

Yes, I tried to learn Python and I even managed to do two Discord bots which are (somewhat) functional, but I'm far to say that I've managed to lean the language completly. There are lots of things to learn on a language as Python.

I also leant PHP on my own and managed to do a website (somehow) functional.

What are some of the  steps you would take to learn a new language, and what are some challenges that might arise?

The first steps in learning any computer language is learning the syntax. If you manage to do that, with the experience you gained from previous projects/languages you might be able to create something working. At times you might feel down if the project doesn't work as expected.

What are some things that  can help make the process easier?

Video tutorials, experiments and searching questions and problems on Google is a very important resource.

Write a program (using functions) starting from directives to compute and display the transpose of a matrix of dimension m x n. [Note: Here, transpose of a matrix means the element at row r and column c in the original is placed at row c and column r of the transpose]. (Programming in C)

Answers

Answer:

#include <iostream>

#include <cstdlib>

using namespace std;

int m, n;

void transpose(int matrix[]){

  int transp[m][n];

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

     for (int j = 0; j < m; j++){

        transp[j][i] = matrix[i][j];

        cout<< transp[j][i]<< " ";

     }

     cout<< "\n";

  }

}

int main(){

  cout<< "Enter the value for n: ";

  cin>> n;

  cout>> "Enter the value for m: ";

  cin>> m;

  int mymatrix[n][m];

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

     for (int j = 0; j < m; j++){

        mymatrix[i][j] = (rand() % 50);

     }

  }

  transpose(mymatrix);

}

Explanation:

The C source code defined a void transpose function that accepts a matrix or a two-dimensional array and prints the transpose on the screen. The program gets user input for the row (n) and column (m) length of the arrays. The C standard library function rand() is used to assign random numbers to the array items.

Other Questions
ILL MARK AS BRAINLIEST!! PLEASE HELP FAST!! Sophie's town voted on a new speed limit. Out of 75 votes, 15 were in favor of the new speed limit. What percentage of the votes were in favor of the new speed limit? whats 9+10 ? ;) im dumb so i dont know simple mafs Given the equation f(t) = 225(1.23)What is the rate of growth or decay?%What is the initial value? How to find the volume for a right triangle PLEASE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!Solve -2t + 5 -7. t 6t -6t 6t -6 30 POINTS PLEASE help complete each number sentence by choosing >, Evaluate 2(5 + x2) + y if x = 3 and y = 2 PLZ HELPRead the recipe for making brownies.1 egg1/2 cup of softened butter2 cups flour1 cup sugar1 cup of sweetened cocoa2 teaspoons baking soda1 teaspoon salt1. Preheat the oven.2. Mix the eggs and butter in a bowl until smooth.3. Add the flour, sugar, cocoa, baking soda, and salt to the bowl.4. Mix the ingredients until thick and creamy.5. Pour the mixture into a 9x12-inch non-stick baking dish.6. Bake for 25 minutes.Which step in this recipe needs additional information for the brownies to bake correctly?A. step 1B. step 2C. step 4D. step 5 Brenda took her dog to the veterinarian for an exam. The doctor told Brenda her dog needed to lose weight. Her dog weighed 55 pounds during this visit. The doctor suggested that her dog 45 pounds by their next visit. What is this weight decrease represented as a percent? pls answer soon thank you! CAN SOMEONE PLEASE HELP ME ASAP SOMEONE HELP!!!! ASAP Ill give brainliest!! Please and ty !Last answe choice is 37 !! 03:46:45 What was one way Emperor Constantine contributed to the growth of Christianity? He became a patriarch of the church. He built churches throughout the empire. He established new laws punishing non-Christians. He provided religious education for all children in the empire. WILL MARK BRAINLIEST!!!: Explain how the following concepts apply to the Little Albert experiment: stimulus generalization, stimulus discrimination, extinction, and spontaneous recovery. A plumber charges a one-time service fee of $20 in addition to his hourly rate of $25 per hour. If the plumber went to your house to work on your bathtub and toilet and the bill came to $282.50, how many hours did it take him to complete the job?A- 25 + 20x = 282.50; x = 10.5 hoursB- 20 + 25x = 282.50; x = 10.5 hoursC- 20 + 25x = 282.50; x = 12.1 hoursD- 45x = 282.50; x = 6.3 hours True or false Rice is a staple food in the Asian diet. Your baseball team has a goal to collect at least 160 blankets for a shelter. Team members brought 42 blankets on Monday and 65 blankets on Wednesday. Write and solve an inequality to find out how many blankets the team must donate on Friday to make or exceed their goal? The deli brought in a total of $580,800 last year. If they served approximately 200 customers each day over the 363 days that the deli was open, about how much did each customer spend on any given day?