2803ICT System and Distributed Computing- outstanding queries completes

$20 Bonus + 25% OFF

Securing Higher Grades Costing Your Pocket?
Book Your Assignment at The Lowest Price
Now!

Students Who Viewed This Also Studied

2803ICT System and Distributed Computing

Task:

Objectives:

The objective of this assignment is to write a multithreaded client server system for multiprocessing. This requires putting into practice what has been taught about Multithreading, IPC, and synchronisation.

Requirements:

1. The program will consist of a multi-threaded server and single- or multi-threaded client process.

2. The client will query the user for 32-bit integers to be processed and will pass each request to the server to process and will immediately request the user for more input numbers or q to quit.

3. The server will start up either the number of specified threads if given (see Req.15) or as many threads as there are binary digits times the max number of queries (i.e. 320 threads). The server will take each input number (unsigned long) and create 32 numbers to be factorised from it.Each thread will be responsible for factorising an integer derived from the input number that is rotated right by a different number of bits.
Given an input number K, each thread #X will factorise K rotated right by increasing number of bits. For example, thread #0 will factorise the number K rotated right by 0 bits, thread #1 will factorise K rotated right by 1 bit, thread # 2 will factorise K rotated right by 2 bits etc.
Tip: Rotating an integer K by B bits = ( K >> B) | (K

4. The trial division method should be used for integer factorisation.

5. The server must handle up to 10 simultaneous requests without blocking.

6. The client is non-blocking. Up to 10 server responses may be outstanding at any time, if the user makes a request while 10 are outstanding, the client will warn the user that the system is busy.

7. The client will immediately report any responses from the server and in the case of the completion of a response to a query, the time taken for the server to respond to that query.

8. The client and server will communicate using shared memory. The client will write data for the server to a shared 32-bit variable called ‘number’. The server will write data for the client to a shared array of 32-bit variables called a ‘slot’ that is 10 elements long. Each element in the
array (slot) will correspond to an individual client query so only a maximum of 10 queries can be outstanding at any time. This means that any subsequent queries will be blocked until one of the 10 outstanding queries completes, at which times its slot can be reused by the server for its
response to the new query.

9. Since the client and server use shared memory to communicate a handshaking protocol is required to ensure that the data gets properly transferred. The server and client need to know when data is available to be read and data waiting to be read must not be overwritten by new data until it has been read.

For this purpose, some shared variables are needed for signalling the state of data. 

2803ICT System and Distributed Computing

Answer in Detail


Solved by qualified expert

Get Access to This Answer

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

12 More Pages to Come in This Document. Get access to the complete answer.

There are so many ways to get assignment help, but MyAssignmentHelp.com is the quickest and safest way to accomplish your dissertation and essay writing task. 3000+ professionals from Australia, UK and US with their expertise in all subjects, are always there to help you achieve better grades with the help of 100% plagiarism free content. Place an order now.

More 2803ICT 2803ICT System and Distributed Computing: Questions & Answers

ITECH 1006 – Database Management Systems

Write a C program using gcc -std=c99 *.c We assume you used the dos2unix or max2unix command on your input file queries.txt if needed. For this assignment you are to write a program to implement the operations required to process and execute NoSQL queries on several files, which correspond to either …

View Answer

31251 Data Structures and Algorithms

OverviewYour task for this assignment is to complete a class representing an expression tree. Thefunctions you will complete, collectively, take in a string in inx notation, parse it tobuild an expression tree, evaluate the tree and print out the tree in inx, prex andpostx notation.The expressio …

View Answer

COP4338 Systems Programming

Question:
Programming in C language
Description
In this assignment, you are asked to implement functions by chaining the standard Unix utility programs. In particular, you are asked to produce a program that searches an input file, selects the lines that match a given regular expression, and so …

View Answer

COIT20277 Introduction to Computational Intelligence

Task:
Objectives
Model and design solution to the given problem applying fuzzy system concepts
Develop source code and implement designed solution
Follow use of good programming practice/techniques
Test software implementations to ensure correctness of the model and algorithm
Provide suggestio …

View Answer

Content Removal Request

If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the
content removal request.

Choose Our Best Expert to Help You

Diego Randall

Master of Information Technology with Specialization in Mobile Application Testing

2830 – Completed Orders

Hire Me

Still in Two Minds? The Proof is in Numbers!

33845 Genuine Reviews With a Rating of 4.9/5.

Management

Assignment: 12 Pages, Deadline:
2 days

I have been quite a good experience with your service. I got 70/100 grade on my result. However, the most important things that you can do are more cr …

User ID: 8***43 Singapore

Nursing

Assignment: 5 Pages, Deadline:
16 days

This was my last assignment for concepts and theories class and when I tell you using this site helped while I was in school and in between classes.

User ID: 6***42 United States

Healthcare

Essay: 6 Pages, Deadline:
12 days

Received a good grade for this particular assignment. It was on time and informative with the topic provided. Thank you.

User ID: 6***42 United States

Medical

Course Work: 4 Pages, Deadline:
6 days

Thanks it’s a great jobWaiting for the result from the teacherI will definitely deal with you in the coming days

User ID: 8***67 Belfast, Great Britain

Assignment

Essay: 2 Pages, Deadline:
7 hours

Amazing work done in spam of 6 hours. Great quality, best price. I have used this platform multiple times on all my english assignment and have always …

User ID: 8***85 Belfast, United States

Marketing

Home Work: 6 Pages, Deadline:
3 days

Good starting work for guidance – gives student time to revfine and add more input after understanding the framework/.

User ID: 8***39 Belfast, Malaysia

Finance

Home Work: 1 Page, Deadline:
14 days

Thank you so much! This was my first assignment which is I asked for help from here, and I will keep working with them. I’m so satisfied.

User ID: 8***99 Belfast, Austria

Assignment

Essay: 4.8 Pages, Deadline:
18 days

Amazing work, very happy. Will definitely recommend. Very precise, the topics very well presented. References in order, will have to wait until it wil …

User ID: 8***08 United Kingdom, Great Britain

Marketing

Thesis: 5 Pages, Deadline:
4 days

The work is legendary in every sense of the wordThank you, expert, for this wonderful work. Thank you for your effortIndeed, I am completely satisfied …

User ID: 9***3 United Kingdom, Kuwait

Statistics

Programming: 1.4 Pages, Deadline:
5 days

Excellent and very happy with the work. Would recommend to my friends and family.

User ID: 8***32 United Kingdom, Singapore

Management

Assignment: 7.6 Pages, Deadline:
9 days

Thank you very much for the good work and rework. I make this opportunity say happy new year for all of you and I would like to make use of service fu …

User ID: 7***46 United Kingdom, Saudi Arabia

Psychology

Home Work: 8 Pages, Deadline:
19 hours

It was perfect :); The answers are well structured. and as instructed, the work was submitted on time

User ID: 8***28 Malé, Maldives

Nursing

Essay: 6 Pages, Deadline:
3 days

Expert is nice and efficiency. Good communication with me and fast reply. Admin and call center is very helpful.

User ID: 2***16 Central, Hong Kong

It Write Up

Home Work: 1 Page, Deadline:
6 days

Didnt receive much marks. i dont know why. Maybe they didnt do well but that was just enouogh

User ID: 3***70 Central, Australia

Accounting

Course Work: 7 Pages, Deadline:
19 days

Happy with the outcome. Nice and easy to deal with and get started. delivered to timeframe and general expectations. Thank you and always a pleasure d …

User ID: 5***39 United Kingdom, Great Britain

Ancient History

Essay: 1 Page, Deadline:
9 days

thank you so much, work done on time, I appreciatedthank you so much to the person that did it

User ID: 4***45 United Kingdom, Australia

Management

Essay: 2 Pages, Deadline:
19 hours

Accepted assignment in short time. the expert is recommended. and definitely I will be back for other assignments.

User ID: 5***95 Basra, Iraq

Marketing

Home Work: 2 Pages, Deadline:
2 days

Thank you for taking the time do my assignment. Very good analysis and good use of the text but you seem to have information from other sources which …

User ID: 6***98 Basra, United States

Management

Assignment: 2 Pages, Deadline:
24 days

The author has answered all the questions properly, used straightforward language, provided meaningful references.

User ID: 3***61 Budapest, Hungary

Management

Assignment: 3 Pages, Deadline:
6 days

Very good piece of work, exactly what I needed. Everything was done very smooth from order to the end.

User ID: 5***28 London, Great Britain

Management

Assignment: 12 Pages, Deadline:
2 days

I have been quite a good experience with your service. I got 70/100 grade on my result. However, the most important things that you can do are more cr …

User ID: 8***43 Singapore

Nursing

Assignment: 5 Pages, Deadline:
16 days

This was my last assignment for concepts and theories class and when I tell you using this site helped while I was in school and in between classes.

User ID: 6***42 United States

Healthcare

Essay: 6 Pages, Deadline:
12 days

Received a good grade for this particular assignment. It was on time and informative with the topic provided. Thank you.

User ID: 6***42 United States

Medical

Course Work: 4 Pages, Deadline:
6 days

Thanks it’s a great jobWaiting for the result from the teacherI will definitely deal with you in the coming days

User ID: 8***67 Belfast, Great Britain

Assignment

Essay: 2 Pages, Deadline:
7 hours

Amazing work done in spam of 6 hours. Great quality, best price. I have used this platform multiple times on all my english assignment and have always …

User ID: 8***85 Belfast, United States

Marketing

Home Work: 6 Pages, Deadline:
3 days

Good starting work for guidance – gives student time to revfine and add more input after understanding the framework/.

User ID: 8***39 Belfast, Malaysia

Finance

Home Work: 1 Page, Deadline:
14 days

Thank you so much! This was my first assignment which is I asked for help from here, and I will keep working with them. I’m so satisfied.

User ID: 8***99 Belfast, Austria

Assignment

Essay: 4.8 Pages, Deadline:
18 days

Amazing work, very happy. Will definitely recommend. Very precise, the topics very well presented. References in order, will have to wait until it wil …

User ID: 8***08 United Kingdom, Great Britain

Marketing

Thesis: 5 Pages, Deadline:
4 days

The work is legendary in every sense of the wordThank you, expert, for this wonderful work. Thank you for your effortIndeed, I am completely satisfied …

User ID: 9***3 United Kingdom, Kuwait

Statistics

Programming: 1.4 Pages, Deadline:
5 days

Excellent and very happy with the work. Would recommend to my friends and family.

User ID: 8***32 United Kingdom, Singapore

Management

Assignment: 7.6 Pages, Deadline:
9 days

Thank you very much for the good work and rework. I make this opportunity say happy new year for all of you and I would like to make use of service fu …

User ID: 7***46 United Kingdom, Saudi Arabia

Psychology

Home Work: 8 Pages, Deadline:
19 hours

It was perfect :); The answers are well structured. and as instructed, the work was submitted on time

User ID: 8***28 Malé, Maldives

Nursing

Essay: 6 Pages, Deadline:
3 days

Expert is nice and efficiency. Good communication with me and fast reply. Admin and call center is very helpful.

User ID: 2***16 Central, Hong Kong

It Write Up

Home Work: 1 Page, Deadline:
6 days

Didnt receive much marks. i dont know why. Maybe they didnt do well but that was just enouogh

User ID: 3***70 Central, Australia

Accounting

Course Work: 7 Pages, Deadline:
19 days

Happy with the outcome. Nice and easy to deal with and get started. delivered to timeframe and general expectations. Thank you and always a pleasure d …

User ID: 5***39 United Kingdom, Great Britain

Ancient History

Essay: 1 Page, Deadline:
9 days

thank you so much, work done on time, I appreciatedthank you so much to the person that did it

User ID: 4***45 United Kingdom, Australia

Management

Essay: 2 Pages, Deadline:
19 hours

Accepted assignment in short time. the expert is recommended. and definitely I will be back for other assignments.

User ID: 5***95 Basra, Iraq

Marketing

Home Work: 2 Pages, Deadline:
2 days

Thank you for taking the time do my assignment. Very good analysis and good use of the text but you seem to have information from other sources which …

User ID: 6***98 Basra, United States

Management

Assignment: 2 Pages, Deadline:
24 days

The author has answered all the questions properly, used straightforward language, provided meaningful references.

User ID: 3***61 Budapest, Hungary

Management

Assignment: 3 Pages, Deadline:
6 days

Very good piece of work, exactly what I needed. Everything was done very smooth from order to the end.

User ID: 5***28 London, Great Britain

Have any Query?
Reference no: EM132069492

WhatsApp
Hello! Need help with your assignments? We are here

GRAB 25% OFF YOUR ORDERS TODAY

X