Accessing the Network and Parallel Programming
We've learned how data is transferred across a network---but how can we access the network from our applications? How will the OS support us?
Learning Objectives
We're going to learn which system calls we need---and why---in order to set up a client and a server in our application code. We'll also take a few minutes to understand parallel programming paradigms.
Upon completion of this module, you will be able to:
- Identify and explain the necessity of the steps to setting up a client and a server.
- Describe operating system support for network use by applications.
- Explain, compare, and contrast the two parallel programming paradigms.
Learning
- Video: Sockets (7 minutes)
- Video: Client Interface (8 minutes)
- Video: Server Interface (9 minutes)
- Video: Parallel Programming (6 minutes)
-
Slides that were presented in the videos
Note that these videos have embedded formative assessments---you'll want to watch the videos and complete those before class, so that you can earn participation credit.
Fun Insights
From Class
Evaluating Your Understanding
We are providing these rubrics for each module so that you can better understand what is expected and evaluate your understanding against those expectations. The hope is that, if you find yourself earning a 3 or below, you will continue to enhance your understanding until you find yourself earning a 4 or a 5.
| Standards for Networks Sub-Competency | 5 | 4 | 3 | 2 |
|---|---|---|---|---|
| Accessing the Network from User Code | Student accurately identifies and accurately explains the necessity of the steps to setting up a client and server; and accurately describes operating system support for network use by applications. | Student accurately identifies and satisfactorily explains the necessity of the steps to setting up a client and server; and satisfactorily describes operating system support for network use by applications. | Student satisfactorily identifies and unsatisfactorily explains the necessity of the steps to setting up a client and server; and satisfactorily describes operating system support for network use by applications. | Student does not submit the work OR student unsatisfactorily identifies and unsatisfactorily explains the necessity of the steps to setting up a client and server; and unsatisfactorily describes operating system support for network use by applications. |
| Short Answer Questions: Network-Specific | Student submitted answers to given questions that accurately and succinctly answer the questions. | Student submitted answers to given questions that satisfactorily and succinctly answer the questions. | Student submitted answers to given questions that unsatisfactorily answer the questions. | Student does not submit the answers OR submitted answers to given questions that incorrectly answer the questions. |
| Short Answer Questions: Network as part of the larger system | Student submitted answers to given questions that accurately and succinctly answer the questions. | Student submitted answers to given questions that satisfactorily and succinctly answer the questions. | Student submitted answers to given questions that unsatisfactorily answer the questions. | Student does not submit the answers OR submitted answers to given questions that incorrectly answer the questions. |
Image by