We worked on a program to open a file for appending lines of quotes. We discovered that using the “with open” statement is more efficient than the open statement because it ensures that the file is closed even if an error occurs.
We discovered that on Ben’s Apple computer with his Python handler he is not able to create a file in the same location as his programs. So, we worked on a math application to get ready for the ACT.
We created a file called Favorite_Quotes.txt with two quotes in it. One quote is from Winston Churchill and the other one is from Pres. Theodore Roosevelt. Then we created a program in Python to open the file, read its contents, and write the contents on the screen.
Lesson 4 Network Fundamentals – We learned about the open systems interconnection model created by the international organization for standardization. We learned the functions of each layer of the OSI model. Each layer of the OSI model serves the layer above it and is served by the layer below it. We discovered how TCP/IP facilitates communication. Transmission control protocol splits messages into packets and the IP routes them. We learned the difference between TCP and UDP and HTTP and HTTPS.
Lesson 3 Operating Systems – We learned how an operating system handles memory allocation through the kernel component. We learned the meaning of multitasking to an operating system. Then we looked at device drivers and learned how they enable communication between the operating system and hardware devices.
Lesson 3 Operating Systems – We learned how operating systems use scheduling algorithms to manage process execution and CPU time. Then we looked at a few of them such as first come first served, shortest job first, and shortest remaining time first. We looked in depth at round Robin that gives each process a small quantum of CPU time and moves the process to the end of the queue. This provides fair and equal CPU sharing.
Lesson 3 Operating Systems – We learned the use for a real-time operating system. We contrasted a real-time operating system with a time-sharing operating system. We learned the use of virtual memory for operating systems.
Lesson 3 Operating Systems – We learned the meaning of real-time, virtual memory, and scheduling algorithms in operating systems. Then we learned about the component of the operating system that handles memory allocation. We reviewed the meaning of multitasking and the use of device drivers.