classnotes RTX 4070 Ti SUPER · faster-whisper · DeepSeek

5102 - Foundations of Comp Sys

← 5102 - Foundations of Comp Sys

FCS_03 Oct

Date 2026-10-03 Length 2h 23m Words 17,261 Segments 1,512
⤓ Download transcript (.txt with timestamps) ⤓ Plain transcript (.txt) ⤓ Transcript (.md)

Summary


session: "5102-foundations-of-comp-sys/2026-10-03 0000 FCS 03 Oct"

title: "FCS 03 Oct"

date: "2026-10-03 00:00"

duration: "2h 22m"

language: "en"

model: "deepseek-ai/DeepSeek-V3.2"

parts: 4

transcript_chars: 90680

generated: "2026-11-23T15:36:40+05:30"


FCS 03 Oct

Overview

This class began with administrative announcements regarding assignments and exams. It then transitioned into a hands-on exploration of AWS DynamoDB, a NoSQL database, to illustrate concepts of data modeling, resource provisioning, and cloud billing. The session then bridged from cloud services to foundational computer systems by demonstrating how user actions (like a mouse click) trigger the operating system to create and manage processes, allocating hardware resources (CPU, memory). The class concluded by connecting these practical observations to exam expectations, emphasizing scenario-based questions on resource management and OS roles.

Learning outcomes

Core concepts

NoSQL Database (DynamoDB)

A non-relational database that does not enforce a fixed schema or relationships between data items. It is often faster for specific high-volume use cases compared to traditional SQL databases. This matters as it represents a different model for data storage and access, with direct implications for application design and resource usage in cloud environments.

DynamoDB Keys: Partition Key and Sort Key

The partition key determines the physical storage partition for an item, influencing data distribution and access patterns. The sort key (optional) sorts items within a partition and provides a way to query ranges. They are not equivalent to primary/foreign keys in RDBMS, as they do not define relationships but are used solely for data retrieval. This is central to understanding DynamoDB's performance and query model.

Process and Resource Allocation

A process is an instance of a running program created by the OS in response to a user request. The operating system's core function is to allocate hardware resources (CPU time, RAM, disk I/O, network) to these processes. This concept forms the bridge between software applications and the physical hardware, which is a fundamental theme of the course.

Operating System as Hardware-Software Bridge

The operating system understands both high-level application instructions and low-level hardware resources. It translates requests and manages communication, meaning applications cannot run directly on hardware without an OS. This abstraction is key to modern computing.

Formulas and maths

(No formulas were presented in this session.)

Worked examples

DynamoDB Table and Item Creation

1. Table Created: IT partner demo DB

2. Schema:

3. Items Inserted:

4. Query Operations Demonstrated:

Live System Monitoring Observations

Questions asked in class

Key takeaways

Exam-style questions

1. Scenario: An e-commerce application uses DynamoDB with user_id as the partition key and order_timestamp as the sort key. A developer tries to run a query to find all orders for a specific product across all users but gets an error. Explain why this query fails and describe the correct approach to retrieve this data in DynamoDB.

2. Scenario: A virtual machine running a database appears to "hang." Using the concepts covered, describe the steps you would take to diagnose whether the bottleneck is inside the VM (e.g., the database process) or at the host level (e.g., resource contention from other VMs).

3. Compare and Contrast: Explain two fundamental differences between how a traditional SQL database (like PostgreSQL) and AWS DynamoDB (NoSQL) handle data relationships and schema definition.

Glossary

Follow-ups

Transcript

One line per segment, [hh:mm:ss] timestamp first.

loading…