CSE 120: Principles of Computer Operating Systems (2024)

Fall 2022

Instructor
Geoffrey M. Voelker(voelker@cs.ucsd.edu)
Lectures
Tu/Th 8–9:20am
Warren Lecture Hall 2001
TAs and Tutors
Jefferson Chien Yucheng Huang
Rajdeep Pinge Shuhua Xie
Eric Van Grinsven Manshi Yang
Kaiyuan Wang
Steven Wu
Discussion Sections
Fri 4–4:50am inSolis 107
Office Hours
Voelker (All Topics): Mon 3–4pm, Wed 4–5pm (CSE 3108)
Labs
CSE basem*nt
Discussion Board
Piazza
Lab Hours
TBD
Textbook
CSE 120: Principles of Computer Operating Systems (1)Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-Dusseau
Operating Systems: Three Easy Pieces
Version 1.00 (Available free online!)

Course Objectives

This course covers the principles of operating systems. Itemphasizes the basic concepts of OS kernel organization and structure,processes and threads, concurrency and synchronization, memorymanagement, file systems, and communication. It is also a projectcourse, providing essential experience in programming withconcurrency, implementing and unmasking abstractions, working withinan existing complex system, and collaborating with other students in agroup effort.

Course Schedule

The following table outlines the schedule for the course. We willupdate it as the quarter progresses.

DateLectureReadingsOptionalHomeworkProject
9/22Course IntroCH. 1, CH. 2
9/27Architectural SupportCH. 6Hardware events HW 1: Out PR 0: Out
9/29Processes CH. 3, CH. 4, CH. 5Linux context switch
9/30(Friday)PR 0: Due
10/4ThreadsCH. 26, CH. 27 PR 1: Out
10/6SynchronizationCH. 28, CH. 29HW 1: Due
HW 2: Out
10/11Semaphores and MonitorsCH. 30, CH. 31Languages and CVs
10/13Semaphores and MonitorsCH. 30, CH. 31Languages and CVs
10/18(No lecture, work on project)
10/20Scheduling and DeadlockCH. 7, CH. 8, CH. 32
10/21(Friday)PR 1: Due
10/22(Saturday)HW 2: Due
10/24Midterm Review5-6:20pm PCYNH 109
10/25Midterm Exam
10/26(Wednesday)HW 3: OutPR 2: Out
10/27Memory ManagementCH. 15,CH. 16,CH. 18
11/1PagingCH. 19,CH. 20
11/3Paging (cont'd)CH. 19,CH. 20
11/8Page ReplacementCH. 21,CH. 22,CH. 23
11/10File SystemsCH. 37,CH. 39Interesting behaviors
11/12(Saturday)PR 2: Due
11/14(Monday) HW 3: Due PR 3: Out
11/15File System ImplementationCH. 40Interesting behaviors
11/17ProtectionCH. 53,CH. 55 HW 4: Out
11/22Virtual Machines Appendix B
11/24Thanksgiving HolidayThanksgivingFood. Lots of it.Sleep. Lots of it.
11/29 Research Talk
11/30(Wednesday)HW 4: Due
12/1
12/2(Friday)PR 3: Due
12/6 Final Exam 8–11am WLH 2001

Course Organization

The course is organized as a series of lectures by the instructor,discussion sections by the TAs, reading, homework, and projectassignments, and exams:

  • Lectures: The lectures present the core of the material.
  • Sections: The discussion sections aregiven by the TAs to answer questions about the lecture, textbookreadings, homework assignments, and project assignments.
  • Readings: The readings in the textbook provide preparationand a reference for the lectures. Note, however, that they arenot a substitute for the lectures.
  • Homeworks: There are approximately four homework assignments withquestions taken from the textbook and other materials. The homework assignments reinforce the readings and lectures.
  • Projects: There are three programming projects, all usingthe Nachos instructional operating system.
  • Exams: There are two exams, a midterm exam in the middle ofthe quarter and a final exam at the end of the quarter. The examswill cover the material presented in lecture, the homeworks, and theprojects. You can use both sides of one 8.5x11" page of notes toassist you during the exams.

Homeworks

The course will have four homeworks, and I will post them as the quarter progresses. You may type or handwrite your answers, and we will use gradesource for submitting homeworks. To encourage timeliness, we will reduce homework grades by 20% foreach day that they are late. But if you run into a difficultsituation, let me know.

  • Homework 1 (Due 10/6)
  • Homework 2 (Due 10/22)
  • Synchronization Practice (Optional)
  • Homework 3 (Due 11/14)
  • Homework 4 (Due 11/30)

Due to extensive copying on homeworks in the past, I have changed how homeworks are graded. As long as you submit a technical answer related to the question, you will get full credit for the question. The goal of the homeworks is to give you practice learning the material. The homework questions both supplement and complement the material from lecture and in the project, and you will also find the homework questions to be useful for practicing for the exams. We will post solutions to all homeworks after they are submitted, and you can use them for studying as well. But, even with the solutions, the amount you learn from the homeworks will be directly correlated with your effort working on them.

I encourage you to collaborate on the homeworks: You can learn alot from your fellow students. Collaboration consists of discussingproblems with other students and independently writing your ownanswers to the problems based upon those discussions. As a rule ofthumb, you should be able to discuss a homework problem in the hallwith others, go home, and then write up your answer to the problem onyour own.

Projects

The course has one tutorial project and three programming projectsusing the Nachos instructional operating system.

  • Project page

Exams

The course has two exams, a midterm and a final. The midterm willcover the first half of the class, and the final will cover thematerial for the entire quarter. Below are sample exams to help youstudy.
  • Sample Midterm [Solutions]
  • Sample Final [Solutions]

Discussion Sections

Discussion sections answer questions about the lectures,homeworks, projects, and programming environment. They may alsosupplement the lectures with additional material.

Grading

Your grade for the course will be based on your performance on thehomeworks, midterm and final exams, and the three projects using thefollowing weights:

  • Homeworks: 6%
  • Midterm: 28%
  • Final: 33%
  • Projects: 33%

The academichonesty guidelines outlined by Charles Elkan apply to this course.I urge you to resist any temptation to cheat, no matter how desperatethe situation may seem. If you are in circ*mstances that you feelcompel you to cheat, come to me first before you do so.

Supplemental Reading

The supplemental readings include primary sources and in-depthsupplements for concepts in the class. Supplemental reading is foryour own interest — the readings are not required, nor will you betested on the material. Note that some of the links to the documentspoint to the ACM Digital Library. UCSD has a subscription to the ACMDigital Library, so you will need to use a web browser on campus toaccess them.

voelker@cs.ucsd.edu

CSE 120: Principles of Computer Operating Systems (2024)

FAQs

What are the principles of operating systems CSE 120? ›

This course covers the principles of operating systems. It emphasizes the basic concepts of OS kernel organization and structure, processes and threads, concurrency and synchronization, memory management, file systems, and communication.

What is CSE 120? ›

Catalog Description: Introduces fundamental concepts of computer science and computational thinking.

What are the principles of computer operating system? ›

to allocate resources (software and hardware) of the computer system and manage them efficiently. Controls execution of user programs and operation of I/O devices. The program that executes forever (everything else is an application with respect to the kernel).

How could an OS use the interval timer to keep track of the time of day? ›

How could an OS use the interval timer to keep track of the time of day? The operating system can program the interval timer to go off after some short time interval, say 10 ms. Each time the timer interrupt fires, the OS resets the timer, and increments a counter.

What are the 5 principles of computer operation? ›

There are five basic types of computer operations: inputting, processing, outputting, storing and controlling. Computer operations are executed by the five primary functional units that make up a computer system. The units correspond directly to the five types of operations.

What is CSE systems? ›

Computational Science and Engineering (CSE) is a discipline devoted to the study and advancement of computational methods and data analysis techniques to analyze and understand natural and engineered systems.

What is the highest CSE grade? ›

CSE qualifications are graded on a number system, from 1 to 5.

What is CSE used for? ›

CSE stands for Council of Science Editors and is commonly used when writing scientifically. CSE style includes three major systems for organizing your references: citation-sequence, citation-name, and name-year. These systems indicate how your in-text citations look and how your reference list is organized.

What is cs 120? ›

This course is an introduction to programming. C/C++ will be used for the programming assignments and labs, but we will be covering general concepts that apply to a majority of languages.

What is the basic concept of computer operating system? ›

An operating system (OS) is the program that, after being initially loaded into the computer by a boot program, manages all of the other application programs in a computer. The application programs make use of the operating system by making requests for services through a defined application program interface (API).

What are the four basic operating principles? ›

Expert-Verified Answer

The four basic operating principles of the information processing cycle are - Input, processing, output, and storage.

What is the basic operating principle? ›

Operating Principles, or as they are often referred to, a company's operating system, are essentially the way that organizations put their values into practice and get things done. Many companies rely on operating principles to get things done faster.

What is the purpose of timer in OS? ›

The timer can be used to measure the time elapsed or the external events occurring for a specific time interval. They are used to maintain the operation of the embedded system in sync with the clock. The clock can be an external clock or a system clock.

How does a computer track time? ›

System time is measured by a system clock, which is typically implemented as a simple count of the number of ticks that have transpired since some arbitrary starting date, called the epoch.

How does the OS manage CPU time? ›

This is known as process scheduling. The OS uses algorithms to determine the order in which processes are executed, aiming to maximise CPU utilisation and minimise response time. The OS also manages the allocation of CPU time to different tasks, ensuring that all processes get a fair share of the CPU's resources.

What are the operating principles? ›

Operating principles are written statements that describe how group members will interact with each other and those they serve–clients, customers, members.

What is operating system in CSE? ›

An operating system (OS) is the program that, after being initially loaded into the computer by a boot program, manages all of the other application programs in a computer. The application programs make use of the operating system by making requests for services through a defined application program interface (API).

What are the principles of information security systems engineering? ›

Security engineering principles include, for example: (i) developing layered protections; (ii) establishing sound security policy, architecture, and controls as the foundation for design; (iii) incorporating security requirements into the system development life cycle; (iv) delineating physical and logical security ...

What are the principles of the computer system? ›

Ans. The basic working principle of a computer involves three main components: input, processing, and output. The computer receives data and instructions through input devices, processes the data using the CPU (Central Processing Unit), and then produces the results through output devices.

Top Articles
SunExpress Online Check-in - Ein einfacher und bequemer Prozess
The Ultimate Guide to Listing Puppies on Craigslist: A Step-by-Step Tutorial - Puppy Encyclopedia
Jail Inquiry | Polk County Sheriff's Office
Dunhams Treestands
Pixel Speedrun Unblocked 76
Somboun Asian Market
Craigslist Cars Augusta Ga
Goodbye Horses: The Many Lives of Q Lazzarus
Chambersburg star athlete JJ Kelly makes his college decision, and he’s going DI
Wizard Build Season 28
Collision Masters Fairbanks
Recent Obituaries Patriot Ledger
Sissy Hypno Gif
Women's Beauty Parlour Near Me
Noaa Weather Philadelphia
THE 10 BEST River Retreats for 2024/2025
Call of Duty: NEXT Event Intel, How to Watch, and Tune In Rewards
Tlc Africa Deaths 2021
Bill Devane Obituary
Bme Flowchart Psu
Gdp E124
Paychex Pricing And Fees (2024 Guide)
St Maries Idaho Craigslist
Evil Dead Rise Showtimes Near Pelican Cinemas
Jeffers Funeral Home Obituaries Greeneville Tennessee
Thick Ebony Trans
1145 Barnett Drive
Divina Rapsing
Wat is een hickmann?
O'reilly's In Mathis Texas
Ascensionpress Com Login
Bursar.okstate.edu
How to Use Craigslist (with Pictures) - wikiHow
Tributes flow for Soundgarden singer Chris Cornell as cause of death revealed
Σινεμά - Τι Ταινίες Παίζουν οι Κινηματογράφοι Σήμερα - Πρόγραμμα 2024 | iathens.gr
Truckers Report Forums
Wildfangs Springfield
Zero Sievert Coop
Hannibal Mo Craigslist Pets
NHL training camps open with Swayman's status with the Bruins among the many questions
Silive Obituary
Brandon Spikes Career Earnings
Joey Gentile Lpsg
Rocky Bfb Asset
Shipping Container Storage Containers 40'HCs - general for sale - by dealer - craigslist
R: Getting Help with R
Craigslist/Nashville
M&T Bank
Tacos Diego Hugoton Ks
Server Jobs Near
Bumgarner Funeral Home Troy Nc Obituaries
Kindlerso
Latest Posts
Article information

Author: Mrs. Angelic Larkin

Last Updated:

Views: 5970

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Mrs. Angelic Larkin

Birthday: 1992-06-28

Address: Apt. 413 8275 Mueller Overpass, South Magnolia, IA 99527-6023

Phone: +6824704719725

Job: District Real-Estate Facilitator

Hobby: Letterboxing, Vacation, Poi, Homebrewing, Mountain biking, Slacklining, Cabaret

Introduction: My name is Mrs. Angelic Larkin, I am a cute, charming, funny, determined, inexpensive, joyous, cheerful person who loves writing and wants to share my knowledge and understanding with you.