_______ can be used to prevent busy waiting when implementing a semaphore.
A) Spinlocks
B) Waiting queues.
C) Mutex lock.
D) Allowing the wait

Answers

Answer 1

Answer:

b) waiting queues

Explanation:


Related Questions

Why computer is known as data processing system?

Answers

Computer is known as data processing system because it changes raw data that is not in useful form such as tables, figures, etc into processed data known as information that is useful. Processing includes manipulating, storing, accessing, and transmitting.

The best way to share criticism is to ______. a. write it in the break room b. talk it about with all your coworkers c. talk about it privately d. discuss it at meetings

Answers

Answer:

C.

Explanation:

Answer:

The correct answer is C. hope this helps

Explanation:

I also got a %100 one the test so its right.

Which are examples of normative goals

Answers

Answer:

Goal-based decision making is goal generation together with goal-based planning

This decomposition of decision making in goal generation and planning raises several

questions, such as:

– How to represent beliefs? How to represent obligations? In this paper we represent

beliefs and obligations by rules, following the dominant tradition in deontic logic

(see e.g. [26,27]).

– How to develop a normative decision theory based on belief and obligation rules?

In this paper we introduce a qualitative decision theory, based on belief (B) and

obligation (O) rules.

What is the value of the variable index after the Python code below is executed? word = 'bAnana' index = word.find('a')

Answers

Answer:

index = 3

Explanation:

the find() function finds the first instance of a letter or word.

'b' = 0

'A' = 1

'n' = 2

'a' = 3

'n' = 4

'a' = 5

the first instance of 'a' in  "bAnana" is found at index location 3 computer scientist start counting from zero.

The index value of "a" in python code is "3".

Program Explanation:

In the given code, a variable "word" is declared that initializes with a string value that is "bAnana".In the next line, an "index" variable is defined that uses a "word" variable with the find method that prints the index value of "a".Using the print method, that prints the "index" value.

Program:

word = 'bAnana' #defining a variable word that initializes with string value

index = word.find('a')#defining a variable index that calls the find method to print index value of a

print(index)#print index value

Output:

Please find the attached file.

Reason for the output:

Since the array of indexing starts with 0 so, the index value of "a" is "3".  

Learn more:

brainly.com/question/13437928

Comments are used to write pseudocode outlines. How do you indicate that a line is a comment? You start the line with a _________

Answers

Answer:

#

Explanation:

A more common way to plan a program is with pseudocode, an outline composed of comments. Comments are indicated by a pound sign (#) at the beginning of the line.

Depending on the programming language, there are several ways we can comments our statements or codes that are not needed in our programmes

In Kotlin and Java Languages we can us the double slash "//" symbol to express single line comment

Example

//This is a comments

We can also us the "/***/" to express multi line comments

Example

/**This is a comment

also*/

Hence we have the

Inline Comments Multiline Comments

For more information on comments in programming language kindly visit

https://brainly.com/question/15068446

Which quality of service (QoS) mechanism provided by the network does real-time transport protocol (RTP) rely on to guarantee a certain QoS for the data streams it carries

Answers

Answer:

The real-time transport protocol (RTP) carries the audio and video data for streaming and uses the real-time control Protocol to analyse the quality of service and synchronisation. The RTP uses the user datagram protocol ( UDP) to transmit media data and has a recommended Voice over IP configuration.

Explanation:

RTP is a network protocol used alongside RTCP to transmit video and audio file over IP networks and to synchronise and maintain its quality of service.

In which of the following careers must one learn and use programming languages?

Answers

Answer: any job that has programming in it

Describe and define each of the following tkinter widgets:
a) Label
b) Entry
c) Button
d) Frame

Answers

Answer:

Tkinter in Python comes with a lot of good widgets. Widgets are standard graphical user interface (GUI) elements, like different kinds of buttons and menus.   Ttk comes with 17 widgets, eleven of which already existed in tkinter:

Button Checkbutton Entry Frame Label LabelFrame Menubutton PanedWindow Radiobutton Scale and Scrollbar

The other six are new: Combobox, Notebook, Progressbar, Separator, Sizegrip and Treeview. And all them are subclasses of Widget.

Explanation:

The Label widget is a standard Tkinter widget used to display a text or image on the screen. The label can only display text in a single font, but the text may span more than one line. In addition, one of the characters can be underlined, for example to mark a keyboard shortcut.Entry widgets are the basic widgets of Tkinter used to get input, i.e. text strings, from the user of an application. This widget allows the user to enter a single line of text. If the user enters a string, which is longer than the available display space of the widget, the content will be scrolled.The Button widget is a standard Tkinter widget used to implement various kinds of buttons. Buttons can contain text or images, and you can associate a Python function or method with each button. When the button is pressed, Tkinter automatically calls that function or method.A frame is rectangular region on the screen. The frame widget is mainly used as a geometry master for other widgets, or to provide padding between other widgets.

The definition of widgets is given:

a) Label - It is a common Tkinter widget that displays text or an image on the screen.

b) Entry - They are the fundamental Tkinter widgets used to collect input, i.e. text strings, from an application's user.

c) Button - it is a Tkinter standard that is used to implement various types of buttons.

d) Frame - it is a rectangle on the screen. The frame widget is primarily used as a geometry master for other widgets or as padding between other widgets.

What are Tkinter widgets?

Tkinter in Python includes a plethora of useful widgets. Widgets are graphical user interface (GUI) elements that include various types of buttons and menus.

The label can only display text in one font, but the text can span multiple lines. Furthermore, one of the characters can be highlighted, for example, to indicate a keyboard shortcut.

Therefore, the definitions of the widgets are given above.

To learn more about Tkinter widgets, refer to the below link:

https://brainly.com/question/17438804

#SPJ2

"A loosely coupled group of volunteer programmers that contribute code to develop and maintain software are called:"

Answers

Answer:

Open Source Community

Explanation:

In no less than two paragraphs, explain the risks and compliance requirements of moving data and services into the cloud.

Answers

Answer:

Compliance requirements of moving data and services into the cloud:

In other to use cloud services, one has to comply or follow the rules of the service providers, the country of the location where these services are provided. All these are necessary for the safety of the data stored in the cloud.

Some countries, regions, often set up rules guarding usage and storing data in the cloud. So it is very important to be aware of this. For instance, some countries enforce data localization laws which make data of its citizen stored in the servers of the country. Here, the country has full protection over the data hosted.

There are also data sovereignty laws that give the country hosting the data a sort of authority to exercise in accordance with the law binding cloud data hosting in their region. This gives the country easy access to information in case of any legal means.

So, when choosing a cloud application, it’s important for an organization to select an application that will aid in cloud compliance and improve your security posture, not create more risk.

It is very important to first know which law is applicable to the country one is residing so as to comply with cloud usage to avoid fines and legal cases.

Risks of moving data and services into the cloud

It is good before using cloud services to know who could possibly have access to the data, if it is safe, how long could data be stored.

If there are unauthorized use of cloud services, the organization providing the service might not be aware of the safety of the hosted data which eventually decreases an organization's visibility and control of its network and data.

Data stored in the cloud could become incomplete, stolen, lost.

The client might not be able to control who else has access to the stored data.

Moving data and services into the cloud could become unattractive again as organizations could lose clients and revenue if clients' trust no longer exists.

how many bits long is a autonomous system number?

Answers

Answer:

There are two different formats to represent ASNs: 2-byte and 4-byte. A 2-byte ASN is a 16-bit number. This format provides for 65,536 ASNs (0 to 65535).

Explanation:

Timeliness is an important goal of any access control monitoring system.
A. True
B. False

Answers

The answer for this question is true

How should you handle cyberbullies?

Answers

Answer:

insult those son of a bishes backk

i would ✨punch them ✨

The instructions tha tell the computer how to carry out the processing tasks are refered to as........

Answers

Answer:

Code

Explanation:

Code are basically instructions in the computers language to tell the computer “what to do.” If you want to, say, open and edit a file, you’d tell the computer to do that by:

Opening the file

Finding where to edit

Adding the line of your choice

Hope this helped!

does anyone know about the progressive era?

Answers

Answer: The Progressive Era was a period of widespread social activism and political reform across the United States that spanned the 1890s to the 1920s.

Explanation:

I have heard of it but not completely sure

If you’re storing some personal information like Debit/Credit card numbers or Passwords etc, on different sites for running you’re E-business. Do you think that cookies are stored and maintain such information on the server-side and hackers can't steal user's information from these cookies easily? Do you agree with the above statement? Please give short comments in favor of or against the statement.

Answers

Answer:

cookies are stored on client side.

A hacker would need access to your computer, either by physically reading the cookie data or by means of cross-site scripting.

Other than that, cookies should not contain passwords or credit card numbers, just things like preferences or session identifiers.

Research is much concerned with proper fact finding, analysis and evaluation.” Do you agree with this statement? Give reasons in support of your answer.​

Answers

Answer:

Yes, I agree.

Explanation:

Research is basically trying to find out new ways of doing things or challenging an already established claim or theory, with the aim of disproving or improving on it.

So, research is much concerned with proper fact-finding, which would ensure that the results and samples are accurate, analysis and evaluation which would make sure that the new data gotten is properly investigated.

I agree that Research is much concerned with proper fact finding, analysis because research increases the stock of knowledge and requires different analysis and facts base on past research.

What is Research?

Research can be regarded as reactive and systematic work which is been carried out to bring about improvement in knowledge of the reseacher.

In research, findings needs to be done, it could requires experiments and field work, evaluation of the results is also needed to compare with past results of the past scholars.

Learn more about Research at:

https://brainly.com/question/968894

If two classes combine some private data members and provides public member functions to access and manipulate those data members. Where is abstraction used?a. Using private access specifier for data membersb. Using class concept with both data members and member functionsc. Using public member functions to access and manipulate the data membersd. Data is not sufficient to decide what is being used

Answers

Answer:

c. Using public member functions to access and manipulate the data members

Explanation:

In object oriented programming, abstraction is used in order to lessen the complexity and hiding non essential details about how a program is actually working in the background. In order to achieve abstraction, classes are defined in such a way that the data members are hidden and the member functions form public interface. The public member functions here are used to access and manipulate these hidden or private data members. So the use of public member functions shows the abstraction here. These members functions are public so they can be directly accessed and the hidden or private data members can be accessed indirectly with the help of these member functions. So internal details of the classes and its data members are hidden from the outside world. Thus abstraction used here ensures security of data members of two classes and protects them from any accidental alterations by other parts of program.

Write a program that asks the user for three names, then prints the names in reverse order.
Please enter three names:
Zoey
Zeb
Zena
Zena
Zeb
Zoey

Answers

Answer:

The program written in C++ is as follows'

#include<iostream>

using namespace std;

int main()

{

string names[3];

cout<<"Please enter three names: "<<endl;

for (int i = 0; i< 3;i++)

{

cin>>names[i];

}

for (int i = 2; i>= 0;i--)

{

cout<<names[i]<<endl;

}

return 0;

}

Explanation:

This line declares an array for 3 elements

string names[3];

This line prompts user for three names

cout<<"Please enter three names: "<<endl;

This following iteration lets user input the three names

for (int i = 0; i< 3;i++)  {  cin>>names[i];  }

The following iteration prints the three names in reverse order

for (int i = 2; i>= 0;i--)  {  cout<<names[i]<<endl;  }

Discuss a particular type of Malware and how has it been used in "todays news" and the respective impact on cyber security. Add to your discussion ways the Malware could have been detected and potentially avoided.

Answers

Answer:

Trojan Malware

Explanation:

Trojan horse malware is considered to be one of the most famous computer malware or virus right now. This type of malware is used to fool or trick a user into downloading some malicious software or any file. These attacks are then done by the cyber criminal who can access your system for can get your private credentials.

They send an fake email or a link and by clicking on this fake link, the cyber criminal get access to our computer from where he can access our confidential credentials.

Such a type of cyber attack can be controlled if the employees of the organisation are been educated regularly about the potential threats of these type of malware. Care should be taken not to download file from any un-trusted websites or emails.

______are unplanned responses to risk events used when project teams do not have contingency plan in place.A) Workarounds.
B) Fallback plans.
C) Contingency plans.
D) Triggers.

Answers

Answer:

B) Fallback plans.  

Explanation:

Fallback plan: The term "fallback plan" is described as a backup plan that is being related to the contingency plan. Thus, it comes into consideration when the contingency plan is being failed to get implemented ans similarly when the fallback plan failed to work then the contingency plan comes into consideration.

In the question above, the given statement represents the fallback plans.

What is the key function provided by a network

Answers

Answer:

A  key Network Function (NF) of SBA is the Network Repository Function (NRF), which provides NF service registration and discovery, enabling NFs to identify appropriate services in one another.

hope this helps

Explanation:

Which of these statements is true?
A. Cognitive systems can only translate small volumes of audio data into their literal text translations at massive speeds
B. Cognitive systems can only process neatly organized structured data
C. Cognitive systems can derive mathematically precise answers following a rigid decision tree approach
D. Cognitive systems can learn from their successes and failures

Answers

Answer:

D. Cognitive systems can learn from their successes and failures

Explanation:

Cognitive System is a term used in Computer Science to describe an advanced computer in which it was built to think and behave like humans. In other words, it is a form of artificial intelligence, which has the ability to assess activities before taking them.

Hence, in this case, the right answer is "Cognitive systems can learn from their successes and failures," because this is an attribute of human being, in which cognitive computing is created to behave or have human reasoning.

___________ allows users to share and collaborate the data relevant to groups, individuals or organizations. qlikview

Answers

Answer:

Business Intelligence

Explanation:

Business Intelligence refers to all the methods and technologies applied towards obtaining, computing, and analyzing business data which would serve the purpose of informing better decision making. Business Intelligence analyzes huge amounts of business data and breaks them down for easy comprehension. They help to provide insight into the current and past market situations that would help managers in making better predictions.  

Some of such decisions could be the effect of breaking into new markets or increasing the prices of products and services. The data obtained during business intelligence should come from the market where the products are sold as well as data compiled by the organization, so as to provide holistic information.

In Microsoft Excel, which statement is not a recommended guideline for designing and creating an Excel table? Avoid naming two fields with the same name. Ensure no blank columns separate data columns within the table. Leave one blank row between records in the table. Include field names on the first row of the table.

Answers

Answer:

Leave one blank row between records in the table.

Explanation:

In Microsoft Excel application, there are recommended guidelines for designing and creating an Excel table, to carry out some operations, some of which are:

1. Do not use two fields with the same name.

2. Users should make sure there are no blank columns separate data columns within the table.

3. Incorporate field names on the first row of the table.

Hence, in this case, the statement that is not a statement is not a recommended guideline for designing, and creating an Excel table is "Leave one blank row between records in the table."

What is the purpose of a Peer-to-Peer architecture? Describe the two methods we learned for finding the peer with a desired resource.

Answers

Answer:

peer to peer connections in a network prevents drop-down of connection when a cable fails

Explanation:

A peer to peer computer network is a connection is a network between computers that connects one device to every other device in the network. A computer is connected to its neighbors and to another computer physically with an ethernet cable.

When a cable is disconnected, the computer can still communicate with other computers in the network, preventing network drop-down and continuity.

Why is the unallocated space of a Windows system so important to a forensic investigator?

Answers

Answer:

Unallocated space can potentially contain all of these types of files and evidence, either completely or partially as fragments, which can remain untouched for long periods of time, even years after the deletion or activity. This data and evidence cannot be viewed by an ordinary computer user, but can be recovered and examined with specialized forensic software and the expertise of a forensic investigator .

Hope this helps :))

The following are a set of named spreadsheets with the indicated column headings. Use these spreadsheets to answer exercises 1.30 through 1.32.
A. Name of Spreadsheet: EQUIPMENT Column Headings: (Number; Description, AcquisitionDate, AcquisitionPrice)
B. Name of Spreadsheet: COMPANY Columns Headings: (Name, IndustrvCode, Gross Sales, OfficerName, OfficerTitle)
C. Name of Spreadsheet: COMPANY Columns Headings: (Name, IndustrvCode, Gross Sales, NameOfPresident)
D. Name of Spreadsheet: COMPUTER Columns Headings: (SerialNumber, Make, Model, DiskTpe, DiskCapacityj
E. Name of Spreadsheet: PERSON Columns Headings: (Name, DateOfHire, DeptName. DeptManager, ProjectlD, NumHours, ProjecthManager)

Answers

Answer:

There are five work sheets in this excel file, they are equipment, company, company, person and computer. Excel worksheets are made up of cells, with the columns labelled alphabetically and the rows numbered.

Explanation:

The columns of a worksheet is called a field while row are called records. They are used to locate a cell in the worksheet. There are so many statistical, mathematical and engineering functions in excel. It is used to display the analysis of data.

When working in an application and the user saves their work, sometimes at the bottom of the window, a progress bar will indicate show the progress of the save operation. This is an example of what?​ a. ​ Active discovery b. ​ Provide closure on a dialogue or action. c. ​ Saving the user’s work d. ​ Affordance

Answers

The correct answer is B provide closure

What is an efficiency target? Give an example of setting an efficiency target

Answers

Answer:

Goals help provide our everyday lives with structure, and operate similarly at the institutional level, offering organizations a low cost method of encouraging motivation, communication and accountability. In short, goals help organizations to achieve a variety of ends—including the reduction of energy waste.

Energy efficiency improvement goals, also known as energy efficiency targets, are intended reductions in energy over a specified time frame that have been defined in a SMART manner. Targets are useful because they can encourage decision makers to improve the use of energy in their communities and operations. Moreover, energy efficiency targets can have short or long term timeframes and can be implemented on various scales, ranging from the national level down to individual buildings. Cities should explore both mandatory public sector targets and voluntary private sector targets to forge energy-efficient communities.

Other Questions
If a firm has a limited capital budget and too many good capital projects to fund them all, it is said to be facing the problem of ntrospection and self-perception theory make _____ predictions about the extent to which people can know themselves Which diseases dont yet have vaccinations? What are the reasons? How do you estimate an irrational vsquare root? Use COMPLETE sentences! Make sure you use LOTS of details. Word Bank Square Root Square Estimate Predict - Perfect Squares Whole Number Number Line Left/Right Tick Marks Upper/Lower Radical Consecutive What led the colonists to declare their independence from England? Once a company has decided upon its positioning, either for the corporation as a whole, or for one of its brands, it must be able to communicate __________ the parameters of that position to __________. Please help, thank you A rectangular wooden block, 22 cm x 13.2 cm x 4.4 cm, has a mass of 1562.0 g. The density of the wood in kg/m 3 is: How does Ammar's opinion differ from France's chief rabbi's opinion?A. Ammar thinks Jews should fight while the rabbi thinks they should hide.B. Ammar suggests the government should act while the rabbi disagrees.C. Ammar is mostly worried about safety while the rabbi is mostly worried about the long term impact ofhiding.D. Ammar wants all people to stop wearing religious clothing while the rabbi only wants some people todo so. An aqueous KNO3 solution is made using 75.1 g of KNO3 diluted to a total solution volume of 1.95 L .Calculate the molarity of the solution. (assume a density of 1.05 g/mL for the solution) Calculate the molality of the solution. Calculate the mass percent of the solution. Which of the following items should be included in the pension expense computation for a defined-benefit plan? a. Both expected return of plan assets and amortization of prior service cost b. Expected return of plan assets, but not amortization of prior service cost c. Amortization of prior service cost, but not expected return of plan assets d. Neither expected return of plan assets nor amortization of prior service cost A ball is dropped off a roof. The ball falls for 4 seconds. Just before the ball hits the ground what is its velocity?Show work 1.07 in the form a and b When does HAIs generally occur..? ( needs quick ans) using pathos in a small paragraph convince your mom to give you a allowance. The more candy bars you eat each day, the more weight you gain (if all other factors are equal). Is this an example of a direct or an indirect proportion a triangle has side lengths of (2.4k-7.4) centimeters, (6.3k-2.2) centimeters and (6.8m+2.4) centimeters. which expression represents the perimeter, in centimeters, of the triangle?a. 9.2m-0.9kb.-9.6+9.2m+8.7kc. 6.8m-7.2+8.7kd. -5k+4.1+9.2m Difference between commutative and symmetrical property; as they both share the feature 'a+b = b+a' When is superficial anatomy most useful? ami and ria are playing a game where one of them would pick a card and the other would guess the number' it is a odd number its compositenumber by 3 differnet prime numbers which one of the folowing could be ria's guess ............. A;30 B;75 C;189 D;315