Free Essay

Hrd Paper

In:

Submitted By smartwork122
Words 1702
Pages 7
1. Discuss the concepts of interface (API). (15 marks) API stands for application program interface. The applications are the tools, games, social networks and other software that we users use to interact with the computer. Programming is how engineers create all the software that makes our lives so much easier and an interface is a common boundary shared by two applications or programs that allow both to communicate with one another.
An application-programming interface (API) is a set of programming instructions and standards for accessing a Web-based software application or Web tool. A software company releases its API to the public so that other software developers can design products that are powered by its service.
An API is a software-to-software interface, not a user interface. With APIs, applications talk to each other without any user knowledge or intervention. When you buy mobile phone online and enter your credit card information, the mobile phone Web site uses an API to send your credit card information to a remote application that verifies whether your information is correct. Once payment is confirmed, the remote application sends a response back to the mobile phone Web site saying it's OK to issue the phone.
Users only see one interface -- the mobile phone Web site but behind the scenes, many applications are working together using APIs. This type of integration is called seamless, since the user never notices when software functions are handed from one application to another.
In technical perspective API is a specification written by providers of a service that programmers must follow when using that service It describes what functionality are available, how they must be used and in what format they will accept an input or return an output.
API analogy: Every time a user wants to access a set of data from an application, you have to call the API. But there is only a certain amount of data the application will let you access, so you have to communicate to the operator in a very specific language—a language unique to each application.
For example we can take API as a middleman between a programmer and an application. This middleman accepts requests and, if that request is allowed, returns the data. The middleman also informs programmers about everything they can request, exactly how to ask for it and how to receive it.
API calls: they are applied whenever a developer or tool requests information from an API, they need to call (or, more technically speaking, create a request to) that API. Many open APIs have strict limits on how many times people can make a call in order to limit traffic and not overwhelm the API with requests.
How it works
An API resembles Software as a Service since software developers don't have to start from scratch every time they write a program. Instead of building one core application that tries to do everything -- e-mail, billing, tracking, etcetera -- the same application can contract out certain responsibilities to remote software that does it better.¬
For example Web conferencing is software as a service since it can be accessed on-demand using nothing but a Web site. With a conferencing API, that same on-demand service can be integrated into another Web-based software application, like an instant messaging program or a Web calendar.
The user can schedule a Web conference in his Web calendar program and then click a link within the same program to launch the conference. The calendar program doesn't host or run the conference itself. It uses a conferencing API to communicate behind the scenes with the remote Web conferencing service and seamlessly delivers that functionality to the use.

2. Both local and remote procedure call should be (effectively) be indistinguishable to programmers. This requires:
i. Semantic transparency ii. Syntactic transparency
Justify
I. Semantic transparency; - Semantics of remote procedure calls are identical to those of local procedure calls.
II. Syntactic transparency; - A remote procedure call should have the same syntax as a local procedure call.
Justification:
RPCs can’t achieve the same semantics as the local procedure calls due to following differences
a).RPCs unlike local procedure calls ,the called procedure is executed in an address space that is disjoint to the calling program’s address space hence the called procedure cannot have access to the calling program’s environment’s variables or data values .hence
 Passing addresses (pointers) as arguments is meaningless.
 So, passing pointers as parameters is not attractive.
 An alternative may be to send a copy of the value pointed, but this has subtly different semantics and can difficult to implement
 Call by reference can be replaced by copy in/copy out but at the cost of slightly different semantics.
b). Remote procedure calls are more vulnerable to failure than local procedure calls this is because they involve two different processes network and two different computers. Hence programs that make use of RPC must have the capability to handle those errors which won’t occur in local procedure calls. This makes it more difficult to make RPCs transparent
c) RPCs consume much more time (100 to 1000 times) than local procedure calls due to the involvement of communication network. Hence, achieving semantic transparency is not easy
3. Discuss the communication protocols for RPCs
Remote Procedure Call (RPC) provides a different paradigm for accessing network services. Instead of accessing remote services by sending and receiving messages, a client invokes services by making a local procedure call. The local procedure hides the details of the network communication. When making a remote procedure call:
1. The calling environment is suspended, procedure parameters are transferred across the network to the environment where the procedure is to execute, and the procedure is executed there.
2. When the procedure finishes and produces its results, its results are transferred back to the calling environment, where execution resumes as if returning from a regular procedure call.
The following steps take place during an RPC:
1. A client invokes a client stub procedure, passing parameters in the usual way. The client stub resides within the client's own address space.
2. The client stubs marshalls the parameters into a message. Marshalling includes converting the representation of the parameters into a standard format, and copying each parameter into the message.
3. The client stub passes the message to the transport layer, which sends it to the remote server machine.
4. On the server, the transport layer passes the message to a server stub, which demarshalls the parameters and calls the desired server routine using the regular procedure call mechanism.
5. When the server procedure completes, it returns to the server stub (e.g., via a normal procedure call return), which marshalls the return values into a message. The server stub then hands the message to the transport layer.
6. The transport layer sends the result message back to the client transport layer, which hands the message back to the client stub.
7. The client stub demarshalls the return parameters and execution returns to the caller.
Semantics:
Call-by-reference: The client and server don't share an address space. That is, addresses referenced by the server correspond to data residing in the client's address space.
One approach is to simulate call-by-reference using copy-restore. In copy-restore, call-by-reference parameters are handled by sending a copy of the referenced data structure to the server, and on return replacing the client's copy with that modified by the server.
However, copy-restore doesn't work in all cases. For instance, if the same argument is passed twice, two copies will be made, and references through one parameter only changes one of the copies.
.

4. Discuss the concept behind the following terms:
i. Server binding
In computer programming, to bind is to make an association between two or more programming objects or value items for some scope of time and place. The Client/Server Binding works by having a non¬dedicated copy of mfserver running on the server tier; this copy of mfserver communicates with any and all clients using an agreed server name. Themfserver module can be run using its built-in defaults, as its only function is to receive requests from the client to establish or terminate a connection. This is applicable if you have more than one network connectionon your computer, example. If you have one computer at your home, and you have two, or there, or four network cards plugged into it, each will have their own IP address. You can use ‘bind’ so that the server will only listen to a particular IP address.

ii. Lightweight RPC Lightweight Remote Procedure Call (LRPC) is a communication facility designed and optimized for communication between protection domains on the same machine. The LRPC is a communication facility designed and optimized for cross-domain communications. It uses simple control/data transfer and simple stubs and its designed for concurrency.
It uses the stubs. The stubs are responsible for managing all details of the remote communication between client and server and send messages to each other to make RPC happen.

5. Differentiate between:
i. Monolithic kernel OS and Micro-kernel OS.
Monolithic kernels are used in UNIX and Linux. Microkernels are used in QNX, L4 and HURD.
Monolithic kernels use signals and sockets to ensure IPC, microkernel approach uses message queues.
Monolithic kernels are faster than microkernels.
Adding a new feature to a monolithic system means recompiling the whole kernel, whereas with microkernels you can add new features or patches without recompiling. ii. Cross domain and cross machine.
A cross domain is a form of controlled interface that provides the ability to manually and automatically access and transfer information between different security domains it facilitate exchange of information across networks with varying security protocols while cross machine is where we have two or more machine closely communicating through sharing of resources (processor speed, disk space). This machine is connected/linked through communication links.

REFERENCE

i) Mok, A. K. (1983). Fundamental design problems of distributed systems for the hard-real-time environment.

ii) Coulouris, G. F., Dollimore, J., & Kindberg, T. (2005). Distributed systems: concepts and design. pearson education.

iii) Mullender, S. (1993). Distributed systems. ACM Press/Addison-Wesley Publishing Co.

Similar Documents

Free Essay

Internship Report at Packages Limited

...business is to provide packaging materials for the products of different industries. It also produces all types of tissues available in the local market as well as for export purposes. There are more than 3000 employees working in the company. Packages Limited has had a joint venture with Tetra Pak International in Tetra Pak Pakistan Limited to manufacture paperboard for liquid food packaging and to market Tetra Pak packaging equipment. Packages commissioned its own paper mill with a production capacity of 24,000 tonnes in 1968. The mill produces paper and paperboard based on waste paper and agricultural by-products like wheat straw and river grass. With growing demand the capacity was increased periodically and in 2003 was nearly 100,000 tonnes per year. In the beginning 22 Swedish Experts came to Pakistan to run the factory and to train the Pakistani staff. Packages Limited was established in 1957 as a joint venture between the Ali Group of Pakistan and Akerlund & Rausing of Sweden, to convert paper and Paperboard into packaging for consumer industry in 1958 production of packaging cartons for different industries started packaging. Cartons include soaps, biscuits, cigarettes, tea, and pharmaceutical products and many others. a joint venture agreement was signed with Mitsubishi Corporation of Japan for the manufacture of Polypropylene films at the Industrial Estate in Hattar, NWFP. This project, called Tri-Pack Films Limited, commenced production...

Words: 26025 - Pages: 105

Premium Essay

Comprehensive Grammar Answer Form

...writing. In fact, the three universities that I have attended in the past have all required me to use the APA style of writing. As I recall my high school years, the APA style of writing also seemed to be a favorite amongst my high school teachers. They all required that term papers be written in APA style as well. This type of writing actually does not differ much from the ones included in the text reading. The text mentioned the APA style of writing several times. In my opinion, it appears to be the most popular style of writing, especially amongst college students. Based on the results of the quizzes, my grammar skills were actually a little better than average. I actually had expected to do better, but I guess my grammar skills are not as good as I thought they were. In any event I feel very confident when it comes to spelling, as I have always been a great speller. Even in grade school, I was a good speller. I learned at a very young age to challenge myself when it comes to spelling. Challenging my-self in that area really paid off as I became older, as I’ve never had a problem with spelling. However, I feel that I need more help with run on sentences and with thought patterns. Though I proof read my paper several times, it’s hard for me to see that I have several run on sentences until after I get my grade back. In general, I feel that my writing is just mediocre. However, I also believe that when it comes to writing, I am my own worst critic. Reason being, I am never...

Words: 751 - Pages: 4

Premium Essay

Security

...computer and communications equipment (owned by MIS) magnetic media (owned by Manager) power supplies and plant, such as air-conditioning units (owned by MIS) Software assets (owned by MIS) • • • • application software system software development tools utilities Information assets (owned by Manager or MIS) ‘Information’ means information held by the Company on its own behalf and that entrusted to it by others. The following are examples of the media which may contain or comprise information assets. • • • • • • • • • • databases and data files system documentation user manuals training material operational or support procedures continuity plans and fallback arrangements back-up media on-line magnetic media off-line magnetic media paper Services • • computing and communications services (owned by MIS) heating, lighting and power (owned by Manager or Building Services Manager) 1 17/01/03 First•Base Technologies Town Hall Chambers High Street Shoreham-by-Sea West Sussex BN43 5DD UK Tel: +44 (01273 454 525 Fax: +44 (0)1273 454 526 info@firstbase.co.uk Guidance on Information Classification Categories for classifying document security Category 1 : Routine (non-confidential) documents Description: All documents of a routine nature. Effects of disclosure: No measurable damage to the company or a department. Examples: Normal memos, routine reports, circulars. Estimated occurrence of this classification: More than 80% of all documents would be within this class...

Words: 2760 - Pages: 12

Free Essay

Research

...TO: FROM: SUBJECT: DATE: CC: [CLICK HERE AND TYPE NAME] SAMUEL NEWMAN-BREMANG [CLICK HERE AND TYPE SUBJECT] OCTOBER 22, 2013 [CLICK HERE AND TYPE NAME] C R E A T I N G W A T E R M A R KS I N M I C R O S O F T W O R D [Note: Some steps may vary in Word 97. For additional help, search for “watermark” in the product help or on the Microsoft support site at http://support.microsoft.com.] A watermark is any text or graphic image (such as the “Draft” in the background of this document) that is printed to overlap existing text in a document. A logo printed lightly behind a letter or the word "Confidential" printed lightly on a contract are other examples of watermarks. The rotated “Draft” watermark on this page was created using the Word Art feature. You can insert pictures (such as a logo) from a file or using Clip Art. All three features can be found by clicking on Picture in the Insert menu. To view a watermark as it will appear on the printed page, click Print Layout on the View menu or click Print Preview on the File menu. The watermark will print on every page of this document, just like headers and footers. To edit the watermark or insert a new one, you need to click Header and Footer on the View menu. TO FORMAT A WORDART WATERMARK (LIKE THIS “DRAFT” EXAMPLE): Use the WordArt… command on the Format menu to choose your desired settings for your watermark. There are multiple tabs in that dialog. Use the “Colors and Lines” tab to set the color and transparency. (This “draft”...

Words: 504 - Pages: 3

Premium Essay

How to Write a Good Academic Paper?

...How to Write a Good Academic Paper? That is a question which most students ask and most of them are new to academic writing. Academic writing if taken as a whole, then it would help you figure its significance and what is more important is, it would help you understand the purpose of it. Any good academic writer’s quality is his/her mind is loaded with creative set of ideas that help him navigate through the whole topic of academic paper. Ideas lead you to somewhere and only a few good students are gifted by nature and if you are not then you can also build up a good rhythm of academic writing. Secondly, you should also have a good sense of your audience; you should know what element of your academic writing would entice them and also create some space for your write-up for reading in their schedule. You then research for resources and data that would be of great use to enlighten your readers. Knowing what you audience wants, should be in your priority because readers enjoy what they seek in your writing. Usually what they look out for is something that could either bring them a smile or get them to think over the subject. Having creative ideas doesn’t guarantee a good and well-researched academic writing. You need to able to figure out ways of putting your research in a proper format so that readers don’t feel deviated from the focal point of your write-up. You should use your sources with proper attentiveness else it would completely ruin your efforts from top to bottom....

Words: 477 - Pages: 2

Free Essay

Communication Styles Worksheet

...Hey Jessica, I’m glad your interested in attending the University of Phoenix let me tell you about some of the great resources that are available. First of all they have all kinds of hands on workshops that you can sign up for. They have ones for writing, math, computer skills, exam prep and plenty more. Some other resources are the Center for writing excellence and the Center for mathematics, there are grammar tutorials and plagiarism tutorials and a plagiarism checker as well to help make sure your papers have the proper grammar and the plagiarism checker reviews your paper and tells you how much similarities there is with your paper and other papers so you don’t accidentally plagiarize your paper. Riverpoint writer is a tool to help make sure you are citing your papers properly. In the center for mathematics center they have running start which gives you a review of math concepts to help you brush up on your skills, build math confidence gives you tips to deal with math anxiety it also has study tips, test tips, worksheets and videos. They also have live online math coaching which is only available two weeks before your math class starts through the end of your class. Hope reading about all these resources makes you want to come to the University even more. gotta go talk later. Hello Everyone, I want to review some of the great resources available here at the University of Phoenix. First off I want to go over the workshops that are available to you. There are all...

Words: 431 - Pages: 2

Premium Essay

Cig Rolling

...Joe Polce English 015 Mrs. Wickman How To Roll Your Own Cigarette Is anyone in your life a cigarette smoker? Do you often notice that they are always complaining about their ever-rising price? According to the U.S Census Bureau, out of the 6.7 billion people in the world, 2 billion are smokers of cigarettes or some other form of tobacco. Almost 75% of these 2 billion spend between $1000 - $1500 yearly on their favorite packs and cartons that they just cannot resist. We know its a habit, right? Its also an expensive habit. I am going to show you a quick and easy way to not only cut the cost of cigarettes in half, but also save you hundred of dollars. A select few smokers of the modern world have been fortunate enough to find the solution to the climbing prices of cigarettes. This solution is actually very simple. Why don’t we, instead of spending the $6 plus on an already produced pack of Marlboro Lights, make and produce our own pack of very similar cigarettes? Herein lies the solution; roll your own cigarettes. Most people shy away from such an idea claiming that they would never know where to start, or have no idea where they would buy the equipment, but on contrary the first steps to this new lifestyle are very easy, and the tools needed are readily available. The benefits of rolling your own cigarettes are numerous. First off, its inexpensive. GS Hammack, a man who writes for a website called AssociatedContact.com, said that “smokers that are looking for...

Words: 1797 - Pages: 8

Premium Essay

Blowjobs

...go fuck urself Paper is a thin material mainly used for writing upon, printing upon, drawing or for packaging. It is produced by pressing together moist fibers, typically cellulose pulp derived from wood, rags or grasses, and drying them into flexible sheets. Paper is a versatile material with many uses. Whilst the most common is for writing and printing upon, it is also widely used as a packaging material, in many cleaning products, in a number of industrial and construction processes, and even as a food ingredient – particularly in Asian cultures. Contents [hide] 1 History 2 Papermaking 2.1 Chemical pulping 2.2 Mechanical pulping 2.3 Deinked pulp 2.4 Additives 2.5 Producing paper 2.6 Finishing 3 Applications 4 Types, thickness and weight 5 Paper stability 6 The future of paper 7 See also 8 References and notes 9 External links History Main article: History of paper Further information: Science and technology of the Han Dynasty and List of Chinese inventions Hemp wrapping paper, China, circa 100 BCE.The oldest known archeological fragments of paper date to 2nd century BC China. Papermaking is considered one of the Four Great Inventions of Ancient China, and the pulp papermaking process is ascribed to Cai Lun, a 2nd century AD Han court eunuch.[1] With paper an effective substitute for silk in many applications, China could export silk in greater quantity, contributing to a Golden Age. Paper spread from China through the Islamic...

Words: 665 - Pages: 3

Free Essay

Criminal Justice Paper

...Terrica Thomas Mr. David Makhanlall Eng 090 12-11-11 My journey as a writer is when I do my papers I have to make sure that I have the correct grammar and no misspelled words. Because when write you want to make sure that your papers flows and that you stay on topic. Because you as a writer wants the people to understand what they are reading. Because your paper have to have so meaning to it and it have to have some clarity to. When I revise my papers it make me look at the things I done wrong. Like when I have misspelled words I can correct them and when I have sentences that don’t make sense and I take the out. When I write I make the mistake of writing a lot of write on sentences. I have to make sure that I don’t do that anymore. I have to make sure that I don’t forget the punctuations because I have the habit of not putting them where they belong and stuff. When I was writing my paper on my mother I think that I did a good job but I think that I could have writing about her goals in life. What she has done with her life right now and what she wants to do right now. I could have talk a little more about what she has done for me when I was growing up. What she had to do to raise three girls on her own. The pattern of errors that I need to work on is run on sentences. Because when I write I can write a sentence that can go on and on forever without a period. A sentence fragment when I write I tend to write a sentence that don’t make any sense...

Words: 321 - Pages: 2

Free Essay

English

...reading and writing various forms of academic discourse • To further an awareness of oneself and others through the exposure to, study of, and experiences with the written word Course Breakdown INTRODUCTION Introduction and Diagnostic Exam Grammar Review Elements of Style by Strunk and White RESEARCH Definition of Research Research Topic Problematique and Thesis Statement CRITICAL THINKING Understanding and Evaluating Data Introduction to Reaction Papers BASIC ELEMENTS OF WRITING Audience, Point of View, Levels of Language, Voice, Style Structure of the Essay Proofreading and Editing PRE-WRITING Ideas and Data-Gathering Sources and Kinds of Sources Introduction to Report Writing Organizing Ideas Introduction to Concept Papers TECHNIQUES IN WRITING Kinds of statements Making Assertions Art of Persuasion Documentation and Plagiarism Introduction to Position Papers Requirements: Report 15% Reaction Paper 15% Concept Paper 15% Position Paper 15% Research Paper 20% Research Journal (Blog) 10% Class Participation 10% House Rules: 1. English Only Policy will be observed inside the classroom during class time 2. 6 absences = a grade of 5...

Words: 341 - Pages: 2

Premium Essay

Tips

...opportunity; clear articulation; persuasive idea)? 2. What MARKET OR MARKETS does the business address? -> student? undergraduate? all students? WHAT KIND OF RECIPES, EASY? CHEAP? 3. WHY DO YOU BELIEVE THIS PRODUCT/SERVICE HAS AN ADVANTAGE in the marketplace relative to the market/consumer needs? --> convenient, easy to use, simple, accessible,cheap, .... Anything! 4. Evidence and reference to testimonials or CUSTOMER FEEDBACK? --> Use the results of your survey and show that people are very interested! 5. What’s the COMPETITION in the marketplace (brief appraisal of current market, product, and service offerings with a view to justify market possibilities)? 66> THE COOK BOOK paper one and online one, but you can say that most young people think that paper cook book seems old-fashion and rather prefer to check on the internet or phone, but it is more suitable to have your phone with you in the kitchen or if you suddenly decide to prepare something at someone else place rather than take your laptop with you n the kitchen 6. Who’s the TEAM that's going to make the business succeed? (drawing upon strengths of team; good distribution of work load, presentation time) --> what are the strenghts in your team? are you good in marketing, It, finance?? what distribution network/ channels are you gonna use to promote your product? 7. How would you realise the business opportunity in the first year (steps, stages, critical transition points)? 8. What’s...

Words: 384 - Pages: 2

Free Essay

Symbol

...The popularity of this clothes increased by their simple but still have the elegant look and versatility use. It is used by astounding population, where either it rural or urban are. Nowaday, this clothes has been modernize, not only the structure, color, material, but also the meaning of it. It have been consider as fashion too, with all the design. Just a normal simple meaning clothes, but could easily represent my culture. How wonderful ! At Hoi An, locate at the north of the country, there is a famous piece of artifact, name “ Hoi An Lantern”. Because of these lantern, this place is call “lantern town”, a beautiful accent place where visitor shouldn’t miss. The originally form is a frame made out of bamboo, then it wrapped by a color paper and the string on top connect to a branch, where you can hold. There is different use for this lantern, people can use it to light, to decoration, or even kid can play with it on Moon’s Festival day....

Words: 670 - Pages: 3

Free Essay

Common Errors in Research Report Writing

...some common mistakes made by students in research paper writing. Textbooks, internet, and correction given during class seminar presentation constituted the sources of information gathered. It was realized that in the effort to give the best in writing research papers, students unconsciously make mistakes in topic selection, objectives of research, writing format hypothesis or thesis statement, literature review, research methodology, paragraphing, use of tense in sentence construction, referencing and quoting to mention but a few. This writing also incorporated some tips in avoiding these mistakes mentioned and therefore concluded and recommended that The mistakes stated above should be avoided at all cost when writing research papers. They can contribute to low grades or disqualification of your project. Therefore, it is advisable that students seek for guidance from their instructors or professionals in research papers writing. INRODUCTION Research assignments give you an opportunity to demonstrate practically the skills and knowledge learnt in class. In the effort to give the best in writing research papers, students unconsciously make mistakes. This article highlights common mistakes students make in research paper writing especially in their early days of undertaking...

Words: 1336 - Pages: 6

Premium Essay

Proposal

...functions. 6. A separate column (earth column /my earth) on a wall magazine to present their successfully completed assignments. 7. Unused lands will be used for flowering and planting the sapling of tree. 8. Separate plants to each green club members will be given for one year of which, they need to take full care of their plants. 9. Field visit such as zoo, local community forest and nurseries tri-monthly with specific theme. 10. Help all school students to discourage the use of plastic bags & plastic containers. 11. Art, essay and quiz competition related with environment (E-Quiz). 12. Encouraging guardians to become environment friendly. 13. Supply of cloth bags. 14. Assisting in making paper bags & paper related showpieces. 15. Regular competition on specific...

Words: 259 - Pages: 2

Premium Essay

Reflection Instructions

...Reflection Paper Assignments Due Dates: March 20, April 3, May 1 Overview These reflection papers are the chance for you to review your recent journal entries (or the sum total, if that helps) and to synthesize some thread of thinking or learning that you find in there. You might build on a single entry or on something bridging multiple entries, but the point is to capture something that you are learning. We expect the paper to have some over-arching, coherent argument so that it is not simply a string of thoughts. A string of thoughts is fine for your journal entries, but here we do want some synthesis. You should not spend time summarizing your activities, unless that is essential for your argument. Grading Criteria The criteria we will use to evaluate the papers are listed below. Note that you do not have to address all of these criteria in one paper. We want you to address all of them over the course of the semester, but any single paper can focus on only one or two of these. Regardless of what you choose to write your reflection synthesis on, your paper must demonstrate clear, coherent argumentation. 1. Expression of Learning 2. Discussion and/or synthesis of course readings 3. Reflection on assumptions and cultural frames of reference 4. Connection to proposal process Word Count The reflection papers, except for the final one, should be at least 500 words, but not a lot longer than that. The final paper should be around...

Words: 257 - Pages: 2