CS100 Lecture Notes - Lecture 6: Windowing System, Computer Data Storage
Document Summary
Module 1. 2 software and operating systems (cid:894)cont"d part 2(cid:895) Main responsibilities of kernel: managing resources cpu, primary memory, peripherals. Cpu: only one program runs at a time even though it may look like several programs are running at the same time an illusion. Primary memory: allocates primary memory b/t diff. programs so that computer does not appear unresponsive. More primary memory = more apps ru(cid:374)(cid:374)i(cid:374)g at the (cid:862)sa(cid:373)e ti(cid:373)e(cid:863) Not enough primary memory allocated --> need to use secondary storage . Peripherals significantly slower: managed in the form of application requests. Example: if app wants to capture image from camera, it makes a request to the kernel: responding to app requests. ** note: #1 and #2 contribute to managing the security of the computer. How is security managed through the kernel? kernel coordinates with cpu hardware to ensure apps cannot access memory allocated to other programs (i. e. banking software)