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
vazorg [7]
4 years ago
11

Problem (Commands): Let c be a copy flag and let a computer system have the set of rights {read, write, execute, append, list, m

odify, own}. 1. Using the syntax of commands discussed in class, write a command copy_all_rights (p, q, o) that copies all rights that p has over o to q. 2. Modify your command so that only those rights with an associated copy flag are copied. The new copy should not have the flag copy. 3. In the previous part, what conceptually would be the effect of copying the copy flag along with the right?
Computers and Technology
1 answer:
dlinn [17]4 years ago
3 0

Answer:

Aee explaination

Explanation:

1.

command copy_all_rights(p,q,s)

if read in a[p,s]

then

enter read into a[q,s];

if write in a[p,s]

then

enter write into a[q,s];

if execute in a[p,s]

then

enter execute into a[q,s];

if append in a[p,s]

then

enter append into a[q,s];

if list in a[p,s]

then

enter list into a[q,s];

if modify in a[p,s]

then

enter modify into a[q,s];

if own in a[p,s]

then

enter own into a[q,s];

end

2.

command copy_all_rights(p,q,s)

if own in a[p,s] and copy in a[p,s]

then

enter own into a[q,s];

if modify in a[p,s] and copy in a[p,s]

then

enter modify into a[q,s];

if list in a[p,s] and copy in a[p,s]

then

enter list into a[q,s];

if append in a[p,s] and copy in a[p,s]

then

enter append into a[q,s];

if execute in a[p,s] and copy in a[p,s]

then

enter execute into a[q,s];

if write in a[p,s] and copy in a[p,s]

then

enter write into a[q,s];

if read in a[p,s] and copy in a[p,s]

then

enter read into a[q,s];

delete copy in a[q,s];

end

3.

"q" would be the effect of copying the copy flag along with the right, because q would have copy right to transfter to another, which may not be intended.

You might be interested in
The processor has a five-stage pipeline F D O E M S; that is, instruction fetch, instruction decode, operand fetch, execute, mem
lawyer [7]

Answer:

a) Internal Forwarding is not used = 26 clock cycles

b)Internal Forwarding is used= 22 clock cycles

5 0
4 years ago
Which of the following statements applies to the Apple Macintosh computer
deff fn [24]
B






_______________________________________________________
3 0
3 years ago
Read 2 more answers
Select the correct answer.
zmey [24]

Answer: data design model

Explanation:

8 0
3 years ago
Jake is photographing his pet puppy. He wants to preview the image the camera will capture. What part of the camera that is insi
german

A. i think that is right

3 0
3 years ago
Read 2 more answers
What is one outcome of an integration point?
mylen [45]

Answer:

What is one outcome of an integration point? It provides information to a system builder to potentially pivot the course of action. It bring several Kanban processes to conclusion. It supports SAFe budgeting milestones.

5 0
4 years ago
Other questions:
  • Which agricultural CTSO has programs for middle-school and high-school students, as well as college students?
    13·2 answers
  • (PLS HELP 99 POINTS) In a paragraph of no less than 125 words, explain the three aspects involved in gaining a true appreciation
    14·2 answers
  • To adjust the height of cells, position the pointer over one of the dividing lines between cells. When the pointer changes to th
    5·1 answer
  • How is it possible to find encyclopedias and reference texts on the internet
    11·2 answers
  • Why would you choose to use Word Art rather than a colored font when creating a Google Slides presentation? There are more fonts
    13·1 answer
  • Which of the following is a benefit of using a parallel circuit system?
    12·1 answer
  • The different types of variation of genes are called.
    8·1 answer
  • Describe how operating system use the following security tools: firewall, automatic updating, antivirus software, spyware and ma
    11·1 answer
  • 3 of 10 Taking more than four years to graduate will increase costs and may impact a return on investment. What could you check
    5·1 answer
  • When viewing an e-book section of an assignment in launchpad, you can return to your main course page at any time by clicking th
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!