INFO1216, Operating Systems Fundamentals for Programmers Final Exam Review Winter 2024 Format of the Exam: FOL Quiz, Requires RespondusLockdown Browser Part A – FOL Quiz, Auto Graded (40 Marks) 15 Marks 15 Marks 05 Marks 05 Marks Multiple Choice True/False Matching Type Matching Type (5 questions from each content group, see below) (5 questions from each content group, see below) Hardware Internet and Web Content Review: There will be 5 questions from each of the content groups for each of the Multiple Choice and True False questions. Group 1 Week 3, Hardware Week 4, Software and OS Introduction Week 5, OS Structure Group 2 Week 7, Software Development and Runtime Environments Week 9, Memory Management Week 10, File system Week 11, Input/Output Group 3 Week 12, Internet and the Web Week 13, Privacy Week 14, Security Part B – FOL Quiz, Auto Graded (43 Marks) 13 Marks Matching, Multiple Choice o Lab 1 – Matching Type (3 pts) o Lab 2 – Multiple Choice (2 pts) o Lab 3 – Matching Type (5 pts) o Lab 4 – Multiple Choice ( 3pts) 15 Marks Multiple Choice 15 Marks Multiple Choice and T/F (based on labs) (based on lecture) (based on provided text material from zyBooks chapters) 1. Using the weekly lecture slides and zyBooks chapter readings, locate definitions or descriptions for each of the following terms or concepts. Complete the chart below. Term or Concept Week 3 – Hardware slides zyBooks Chapter 2 – Hardware Parts of the Central Processing Unit o Registers, CU, ALU, MMU, Cache, Processor Clock Fetch/Decode/Execute cycle CPU speed CPU cores Motherboard Memory (main or primary memory) Storage Hard Disk Drive Moore’s Law What is a bit, a byte Sizes of memory using metric prefixes and IEC prefixes Examples of binary, decimal, and hexadecimal numbers Week 4 – Software and OS Introduction slides zyBooks Chapter 3 – Software and OS Introduction Software Code Firmware Open-source software Application software The Killer App, some examples List programming tools and languages Examples of the biggest killer app’s Operating system basics o Interface between hardware and applications o Manages files and folders o Multitasking Kernel Types of operating systems Week 5 – Operating System Structure slides zyBooks Chapter 4 – Operating System Structure The role of the OS and the kernel System software vs application software interrupt multiprogramming Time sharing or multitasking User mode vs kernel Privileged instructions List 8 OS services User interface to the OS Definition or Description List 6 categories of system calls What is a process Layout of a process in memory Week 7 – Software Development and Runtime Environment slides How does the CPU code What is Opcode Machine code Assembly code Low-level code High-level code How does code become machine code Assemblers Object code and linkers Compilers Interpreters Static libraries Runtime libraries P-code and Bytecode Source code Preprocessor What is a runtime environment API and examples Services provided by RTE Week 8 – Memory Management slides zyBooks Chapter 5 – Memory Management What is memory management in coding Address space, logical memory, virtual memory Layout of a process in memory Physical memory vs logical memory Address translation Static relocation, segmentation, freespace management External fragmentation Paging o Frames and pages o Page number and offset stored in a page table o Page faults and swapping between the swap file Week 9 – File Systems slides zyBooks Chapter 6 – File System Hard disk drive vs solid state drive Parts of a HD, disk block allocation Space management units, including track, sector, cluster Swap space management and its use with paging What is a filesystem 3-part architecture of a FS (logical, physical, virtual) Files and directories File names, metadata, file extensions File operations: o Create, destroy, open, read, write, seek, close Directories, path, structures The logical file system and file control block Disk block allocation: o Disk block, contiguous allocation, linked block allocation, clustered allocation, file allocation table (FAT), indexed block allocation Internal fragmentation External fragmentation Week 10 – Input/Output slides zyBooks Chapter 7 – Input/Output Examples of input devices, output devices, and devices that combine both IO How IO devices are connected (ports, buses, controllers) Device controller Device drivers, what are they, why are they provided Describe the IO hierarchy: o application -> API -> IO system -> device driver -> device controller -> device IO programming approaches: polling, interrupts Data buffering and caching Week 11 – The Web slides zyBooks Chapter 8 – The Internet and the Web Define the internet How does the internet work Protocols IP and TCP and IP address (IPv4 and IPv6) What is the world wide web and how does it work Internet Service Provider (ISP) Different tiers of Internet access, including Tier 1, Tier 2, Tier 3 Define domain name and DNS server Uniform Resource Locator (URL) Describe the three technologies of the web: HTML, browser, HTTP protocol Hypertext Markup Language (HTML), along with CSS and JavaScript to create dynamic web pages Web browsers Search Engines, web crawler HTTP cookies (session cookie, persistent cookie, secure cookie) Bubble filtering Week 12 – Privacy slides zyBooks Chapter 9 – Privacy Privacy vs. security Digital footprints, data mining, metadata Search engines, web crawlers, how Google search works, how search engines are getting better Steps to protect user information Week 13 – Security slides zyBooks Chapter 10 – Security Examples of security breaches Security threats o Malware (virus, worm, trojan, spyware) o Denial of service attacks o Buffer overflow Sources of malware o Phishing, internet scams, spam Security measures o Firewall, antivirus software, anti malware Passwords, password manager, multifactor authentication File backup, file history vs. system backup Cryptography as a security tool Three styles of encryption Symmetric-key vs public-key cryptography Digital certificate 2. Review the basic Linux commands.