CIS2107 Week 2 Wednesday Class Recording

Overview

  • Session Goals

    • Review high-level concepts discussed last week.

    • Discuss Week 1 lab assignment and upcoming tasks.

    • Assign reading materials for next week.

  • Reading Assignments

    • C Programming Language PDF on OneDrive, first chapter.

    • Programming from the Ground Up, first chapter.

    • Complete background spreadsheet for assessment of student experiences.

Acknowledgments

  • Thanks to Adam

    • Acknowledged Adam for resolving issues with FreeDOS virtual machine.

  • Instructor Accountability

    • Acknowledged that issues with the lab setup were his responsibility.

    • Virtual machine setup not required immediately; lab exercise deadline extended to next Thursday.

Course Structure

  • Course Title: Computer Systems and Low Level Programming

    • Emphasis on understanding computer systems and their architectural frameworks.

  • Key Areas of Focus

    • Microarchitecture and instruction set architecture.

    • Runtime systems and operating systems.

    • Overview of compilers, interpreters, and application memory management.

Computer Systems

  • Definition

    • Involves studying computer architecture and low-level programming methodologies.

  • Core Concepts

    • Computers do not read minds; all observed behavior is based on programming.

    • Importance of accountability in problem-solving.

Computer Architecture

  • Architecture Components

    • Components of CPU

      • Core, arithmetic logic unit (ALU), control unit, and registers.

    • Von Neumann vs. Harvard Architecture

      • Fundamentals of system design.

  • Instruction Set Architecture (ISA)

    • Understanding the machine instruction cycle.

    • Differences between CISC (Complex Instruction Set Computing) and RISC (Reduced Instruction Set Computing).

Memory Management

  • Memory Hierarchy

    • Discussion of various storage types: registers, caches, main memory, etc.

    • Importance of locality in memory access speed.

  • Memory Controllers and buses

    • Memory Management Unit (MMU), IO controllers, and interconnects.

Understanding Low Level Programming

  • Assembly Language

    • Start with simple Intel 16-bit assembly language, gradually stepping up to 32-bit and 64-bit.

  • Data Representation

    • Numerical systems: binary, hexadecimal, and character encoding.

Operating System Overview

  • Operating System Basics

    • Functions of an OS and user/kernel modes.

    • System call interfaces for resource management.

  • Types of Operating Systems

    • Distinction between commercial operating systems and embedded systems.

Hypervisors and Virtualization

  • Type 1 Hypervisors

    • Also known as bare-metal hypervisors, operate directly on hardware.

  • Type 2 Hypervisors

    • Run on top of an existing operating system (examples: VirtualBox, Hyper-V).

Teaching Methodology

  • Redirection for Students

    • Encourage questions and clarify doubts during sessions.

    • Adaption to pace based on student feedback.