Answer:
The memory allocation algorithm that is used to place the processes given is the First Fit Algorithm
Explanation:
The First Fit Management Algorithm works by ensuring that the pointer keeps track of all the free spaces in the memory and accepts and executes all instructions to allocate a memory block to the coming process as long as it is big enough to hold the size of the process.
For example, the First Fit algorithm will allocate the processes in the first block that fits (that is, if it can fit the memory bock in the queue, then the process will be store)
It will work as follows (recall that the memory partitions are in order and must remain so):
A) 115 KB is stored in 300KB block, leaving the following free spaces (185KB, 600KB, 350KB, 200KB, 750KB, 125KB), next
B) 500 KB is store in a 600KB block leaving the following free spaces (185 KB, 100 KB, 350 KB, 200 KB, 750 KB, 125 KB), next
C) 358 KB is stored in 750KB block, leaving the following free spaces (185KB, 100KB, 350KB, 200KB, 392KB, 125KB) next
D) 200 KB is stored in 350KB block, leaving the following free spaces (185 KB, 100 KB, 150KB, 200KB, 392KB, 125KB) next
E) 375KB is stored in 392KB block leaving (185KB, 100KB, 150KB, 200KB, 17KB, 125KB)
One of the demerits of this Algorithm is that, as shown above, memory is not maximized. It however is one of the easiest algorithms amongst all the other memory allocation processes.
Cheers
what product and service type should I choose in quickbooks online if I do not want to track inventory
Answer:
is that what you're looking for
In QuickBooks Online, it’s easy to track how much you make and spend on each product or service. You can also enter these products and services you sell as items so you can quickly add them to sales forms. This gives you more detailed financial reports and helps you complete transactions faster.
Here's how to add services and products you don't plan to track inventory for (also known as non-inventory items).
Note: If you want to track product quantities, add them as inventory items instead.
Answer:
Non-inventory: Products or items you buy or sell, but don't need to track quantities. For example, nuts and bolts you use for installation jobs but don't sell directly.
Consider this function comment. Which of the following options is recommended in your textbook? Computes the area of a cuboid. eparaml width the width of the cuboid eparam2 height the height of the cuboid eparam3 length the length of the cuboid ereturn the area of the cuboid double area(double width, double height, double length) double result - width +height 1ength; return result: A. The comments are adequate to describe the function. B. The lines need to end with semicolons like other C++ statements. C. The parameters should be described more completely. D. The eparaml, eparam2, eparam3 should be just eparam.
Answer:
A. The comments are adequate to describe the function.
Explanation:
C++ programming language comments starts with two forward-slash ("//") and can be written above a code statement or at the right-hand side of the code statements
The comments of the area() function with three parameters width, height, and length are adequate to describe the function as it does not need to end with a semi-colon.
In order to make schemas that will appear in the Schema Library available in the XML Options dialog box, what file extension should a user give to schemas?
--.xml
--.xsl
--.xslt
--.xsd
Answer:
You can use your XML parser
Explanation:
hope this helps!
One of the systems analysts on the project team thought that he did a good job of designing the company’s tech support webpage, but his supervisor isn’t so sure. His supervisor is concerned that the design is very similar to a page used by the company’s major competitor, and she asked him whether he had used any HTML code from that site in his design. Although the analyst didn’t copy any of the code, he did examine it in his web browser to see how they handled some design issues. The supervisor asked the analyst to investigate webpage copyright issues and report back to her. In his research, the analyst learned that outright copying would be a copyright violation, but merely viewing other sites to get design ideas would be permissible. What is not so clear is the gray area in the middle. The analyst asked you, as a friend, for your opinion on this question: Even if no actual copying is involved, are there ethical constraints on how far you should go in using the creative work of others? How would you answer?
Explanation:
Although the system analyst only viewed the HTML code as a major competitor not outrightly copying their code, however, since there are relatively few legal frameworks on this matter, it important to note some ethical issues or constraints that may arise:
Copying the design pattern of the competitors' webpage may result in legal fillings by the competitors which may claim the other company stole its intellectual designs without permission.Such actions may result in other competitors carrying out the same strategy on the company.The task of handling how active processes are making efficient use of the CPU processing cycles is called_______?
Answer:
Scheduling.
Explanation:
A scheduling computer system refers to an ability of the computer that typically allows one process to use the central processing unit (CPU) while another process is waiting for input-output (I/O), thus making a complete usage of any lost central processing unit (CPU) cycles in order to prevent redundancy.
Hence, the task of handling how active processes are making efficient use of the central processing unit (CPU) processing cycles is called scheduling.
In terms of the scheduling metrics of a central processing unit (CPU), the time at which a job completes or is executed minus the time at which the job arrived in the system is known as turnaround time.
Generally, it is one of the scheduling metrics to select for optimum performance of the central processing unit (CPU).
A ____ is a a set of presentation rules that control how text should look. It is applied to an XML file to change the collection of text with schema tags into a presentable document that shows data in a way that is pleasant and easily understood.
Answer: language
Explanation:
Is this right? I’m not sure
Using a for loop, write a function lastfirst() that takes a list of strings as a parameter. Each string in the list has the format 'Last, First' where Last is a last name and First is a first name. You should assume that there are no spaces between the last name and the comma and that there are an arbitrary number of spaces between the comma and the first name. The function lastfirst() returns a list containing two sub lists. The first sub list is a list of all the first names and the second sub list is a list of all the last names. The following shows how the function would be called on two example parameters:>>> lastfirst(['Lulis, Evelyn', 'Jones, Tom', 'Presley, Elvis', 'Sumner, Gordon'])[['Evelyn', 'Tom', 'Elvis', 'Gordon'], ['Lulis', 'Jones', 'Presley', 'Sumner']]>>> lastfirst(['Ford, Harrison', 'Hepburn, Katharine', 'Tracy, Spencer'])[['Harrison', 'Katharine', 'Spencer'], ['Ford', 'Hepburn', 'Tracy']]
def lastfirst(lst):
newlst = []
newlst1=[]
for x in lst:
w = x.split(",")
newlst.append(w[1].strip())
newlst1.append(w[0].strip())
newlst2 = [newlst], [newlst1]
return newlst2
lst1 = (['Lulis, Evelyn', 'Jones, Tom', 'Presley, Elvis', 'Sumner, Gordon'])
print(lastfirst(lst1))
I hope this helps!
You use the same five shell functions every day and are looking for a way to ensure they are available as soon as you log into your account. What can you do?a. Make them residual system variables.b. Make them permanent environment variables.c. Load them via your login script.d. Make them permanent functions by adding them to the function directory.
Answer:
.c. Load them via your login script.
Explanation:
Given that using functions in shell scripts enhances programming output and login script comprises the functions and statements required to effectively execute at any given time the user logs into their account.
Hence the moment these functions are formulated, they are then executed through a single command statement thereby reducing the time of re-writing another set of code repeatedly in every program.
Therefore, in this case, what you can do is to "Load them via your login script."
What is the definition of trouble shooting.
Why is it useful to have more than one possible path through a network for each pair of stations?
Answer:
Because if one path is crowded, then there is always another path to make it less crowded and it is more convenient
Explanation:
Handoff points in cross-functional flowcharts are of particular importance to process analysis.A. True B. False
Answer:
True
Explanation:
E-mails could possibly cause harm to computers due to which of the following?
A.Allow for misunderstandings
B.Carrying viruses
C.Updating system preferences
D.Allowing for global use
E-mails could possibly cause harm to computers due to carrying viruses option (C) is correct.
What is a computer?A computer is a digital electronic appliance that may be programmed to automatically perform a series of logical or mathematical operations. Programs are generic sequences of operations that can be carried out by modern computers.
As we know,
You receive emails every day with papers, pictures, or other electronic files attached. These files can occasionally include harmful viruses, Trojan horses, or malware that has been purposefully provided by someone looking to inflict harm or steal confidential personal data.
Thus, E-mails could possibly cause harm to computers due to carrying viruses option (C) is correct.
Learn more about computers here:
brainly.com/question/21080395
#SPJ2