Unit 4 HACKS


How a Computer Works

Specification of Computer

Processor GHz: 3.5z Intel Xeon W

Memory in GB: 23.11 GB

Storage in GB: 251 GB

OS: Monterey 12.3

Define or Describe (use pictures or words)

INPUT DEVICES - Some examples of input devices are: keyboards, mouse, joy stick, light pen, track ball, scanner, graphic table, microphone

OUTPUT DEVICES - Some examples of output devices are: monitors, printers, speakers, headphones, projecters, GPS deivces, optical mark readers, and braille readers

PROGRAM FILE - Directory name of a standard folder in Microsoft Windows operating systems in which applixation that are not part of the operating system are conventionally installed

PROGRAM CODE - Instructions given to a machine to create a computer program

PROCESSES - Managing a set of tasks through the use of source code then manually

PORTS - Number assigned to uniquely identify a connection endpoint and to direct data to a specific service

DATA FILE - Computer file which stores data to be used by a computer application or system, input and output data

INSPECT RUNNING CODE - Basically debug which we have gone over and used during class

INSPECT VARIABLES - Can be done while using the debug


The Internet

[x] Watch/Review College Board Daily Video for 4.1.1

Vocabulary Matching Activity

Complete Vocabulary Matching Activity. Incorporate this into your learnings from year. To analyze measure path and latency use traceroute and ping commands from Linux Terminal.

  • Path > A
  • Route > E
  • Computer System > B
  • Computer Device > C
  • Bandwidth > D
  • Computer Network > F

[x] Watch/Review College Board Daily Video for 4.1.2

Complete True/False Questions

  1. Open standards and protocols enable different manufacturers and developers to build hardware and software that can communicate with hardware and software on the rest of the internet.

T

  1. IETF is a task force used to enforce laws to keep manufacturers out of the internet

F

  1. Routes are determined in advance and are not flexible

F

  1. A protocol is an agreed-upon set of rules that specify the behavior of a system

T

  1. UDP guarantees transfers and is faster

F

  1. The World Wide Web is the internet

F

  1. HTTP is a protocol used by the World Wide Web

T

Draw a diagram showing the internet and its many levels. A preferred diagram would using your knowledge of frontend, backend, deployment, etc. Picture would highlight vocabulary by illustration. The below illustration have some ideas


Fault Tolerance

[x] Watch both Daily Videos for 4.2

Complete the network activity, summarize your understanding of fault tolerance. - 4.2

A -- B -- C -- D -- E -- F -- G

  • Slow process and few resource, one path fails the other fails (can be visualized as a bridge)

A -- B -- C -- D -- E -- F -- G -- A -- C -- (ect....)

  • each letter communicates with each other
  • lots of different resources can be sent

Parallel and Distributed Computing

[x] Watch Daily Video for 4.3

Think of ways to make something in you team project to utilize Cores more effectively. Here are some thoughts to add to your story of Computers and Networks.

What is a naturally Distributed in Frontend/Backend archecture?

In a frontend/backend architecture, the frontend is naturally distributed across multiple client devices, while the backend can be distributed across multiple servers to improve scalability and fault tolerance. Each client device communicates with the backend server(s) to request data and perform various operations.

Analyze this command in Docker: ENV GUNICORN_CMD_ARGS="--workers=1 --bind=0.0.0.0:8086". Determine if there is options are options in this command for parallel computing within the server that runs python/gunicorn.

Used to configure the Gunicorn web server, port 8086. Workers specifies the number of worker processes that would be created to handle incoming requests.

Can you get parallel code on images to work more effectively?

Yes, parallel programming techniques such as multithreading, multiprocessing, and GPU acceleration can be used to make image processing code work more effectively by processing smaller sections of the image in parallel on multiple cores, resulting in faster and more efficient code. However, the effectiveness of parallel processing depends on various factors such as image size, processing complexity, and hardware resources available.