tack machine that has no store. All stack sections are direct words…
Question Answered step-by-step tack machine that has no store. All stack sections are direct words… tack machine that has no store. All stack sections are direct words (entire numbers or pointers). Here is a hint: contemplate using type information. (a) Describe how your compiler will use the stack to execute work calls and returns. Portray any associate pointers that you could require. Is there anything about the language over that makes this especially basic? [5 marks] (b) Describe how you appoint space on the stack for a value of type t. [5 marks] (c) Describe how your compiler will do verbalizations of the construction (e1, e2). Figure out how the solicitation for appraisal (left-to-right, or right-to-left) impacts your choices. [5 marks] (d) Describe how your compiler will execute explanations of the design fst e and snd e. [5 marks] 5 (TURN OVER) CST1.2018.4.6 5 Further Java A relational association can be tended to as an undirected graph where vertexes address people and edges address bidirectional friendship associations between two people. A fashioner fosters a direct depiction of a casual association using events of the going with Java class: public class Person does Serializable { private last extended accountId; private String fullname; private Set partners; public Person(String fullname) { … } public void addFriends(Set partners) { … } } (a) The architect wishes to ensure that all open strategies for Person are string safe. Portray what string prosperity suggests in this particular circumstance. [1 mark] (b) string safe execution of the constructor for Person. You ought to ensure no two events of Person share a comparative accountId. You mayditional private fields, methodologies or internal classes in Person. [4 marks] (c) string safe execution of addFriends which uses fine-grained locking to microscopically spread out new bidirectional family relationship joins between people in the casual local area. [5 marks] (d) The architect wishes to serialize a copy of the graph of Person objects to circle. Without modifying the importance of Person, make n execution out of a non-string safe static procedure void SocialNet.save(Set everyone, ObjectOutputStream oos) which will writ a single copy shockingly in everyone to oos. Here is a piece of information:oos.writeObject(obj) saves a copy of all things reachable through references from obj and safely handles any examples of references. [6 marks] (e) Give two defenses for why it is important to store a single copy of each and every Person object in Part (d). [2 marks] (f ) Describe in words the changes you would need to make expecting there are various strings trying to add friendship interfaces with the casual association all the while with the execution of SocialNet.save. [2 marks] 6 CST1.2018.4.7 6 Security (a) A Linux cloud server used by your gathering has the going with discretionary access-control course of action: $ getent pack manager clients admin::9001:alice users::9002:alice,bobby,carla $ ls – ld . */drwxr-xr-x 3 carla clients 4096 Apr 2 2017 . – rwsr- – r-x 1 bobby overseer 241859 Jan 1 20.RKImage transcription textCollege Algebra Determine the quadratic function of the form f(x) =a(x – h) <+ k whose graph is given on the right. 10 -5 5 10 -5 (1.-75(3.-7) (2,-8)... Show moreImage transcription textA mathxl.com MATH.1314.5001 16W College Algebra Fa '20 baHomework: Equations of Parallel and Perpendicu Score: 0 of 1 pt 6of 6 (5 complete) 2.4.BE-32 Assigned Media Use the... Show more... Show more Computer Science Engineering & Technology C++ Programming CS 265 Share QuestionEmailCopy link Comments (0)


