Untitled

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Why might a user choose exFAT over NTFS when formatting a drive for Windows?

  • Because it's the default file system for modern Windows versions.
  • For enhanced security features like encryption.
  • For improved cross-platform compatibility with other operating systems. (correct)
  • For better system performance and stability on Windows.

In what scenario would APFS be the most suitable choice?

  • When creating a partition for file sharing between Windows and Linux.
  • When setting up a storage device on a modern macOS system. (correct)
  • When formatting a drive for optimal performance on a Linux server.
  • When prioritizing compatibility with older operating systems.

Which file system is often preferred on Linux systems due to its stability and performance?

  • APFS
  • exFAT
  • EXT4 (correct)
  • NTFS

A user needs to format a USB drive for use on both Windows and macOS systems. Which file system would be the MOST appropriate choice?

<p>exFAT (D)</p> Signup and view all the answers

An administrator is setting up a new Linux server where system performance and stability are critical. Which filesystem should they choose?

<p>EXT4 (C)</p> Signup and view all the answers

Which of the following is the PRIMARY function of CPU process scheduling in an operating system?

<p>Allocating CPU time between multiple processes competing for execution. (C)</p> Signup and view all the answers

In Round Robin scheduling, what determines the amount of CPU time each process receives?

<p>A fixed amount of time, or a time slice, allocated equally to each process. (D)</p> Signup and view all the answers

A system uses Round Robin scheduling with a time slice of 50ms. If a process requires 120ms of CPU time to complete, how many times will it be scheduled?

<p>3 (D)</p> Signup and view all the answers

Which characteristic is NOT typically associated with a Natural User Interface (NUI)?

<p>Suitability for advanced users. (B)</p> Signup and view all the answers

Compared to a Command Line Interface (CLI), a Graphical User Interface (GUI) generally:

<p>Offers visual feedback and is more accessible for beginners. (A)</p> Signup and view all the answers

Which of the following file systems is designed by Apple?

<p>APFS (C)</p> Signup and view all the answers

Which of the following scenarios would be LEAST suitable for a Natural User Interface (NUI)?

<p>Editing high-resolution images with precise adjustments. (B)</p> Signup and view all the answers

A software developer needs to perform a series of highly complex, repetitive tasks on a server. Which interface would be most efficient?

<p>Command Line Interface (CLI) (C)</p> Signup and view all the answers

Which of the following statements accurately describes a limitation of Natural User Interfaces (NUIs)?

<p>NUIs may struggle with unusual or unexpected commands and gestures. (A)</p> Signup and view all the answers

Considering their respective resource requirements, which task would place the highest demand on a system's GPU?

<p>Running a Natural User Interface with motion tracking. (C)</p> Signup and view all the answers

A user is experiencing slow file access times on their Windows system. Which file system characteristic is MOST likely contributing to this issue if the drive is formatted with FAT32?

<p>File size limitations and fragmentation over time. (B)</p> Signup and view all the answers

Which of the following scenarios best illustrates the role of an embedded system within a modern vehicle?

<p>The Anti-lock Braking System (ABS) preventing wheel lockup using a dedicated microcontroller and software. (C)</p> Signup and view all the answers

Consider a system designed for controlling a robotic arm in a manufacturing plant. Which characteristic of embedded operating systems makes them more suitable for this application compared to general-purpose operating systems?

<p>More efficient use of hardware resources, leading to lower power consumption and faster response times. (C)</p> Signup and view all the answers

A car manufacturer is developing a new infotainment system. They need to choose between a general-purpose OS and an embedded OS. Which of the following is a disadvantage of using a general-purpose OS in this scenario?

<p>Higher hardware costs due to increased memory, processing power, and storage requirements. (D)</p> Signup and view all the answers

A developer is tasked with updating the software for an Advanced Driver Assistance System (ADAS) feature in a car. What aspect of embedded systems should they be most mindful of during the development process?

<p>Optimizing the code for minimal memory usage and real-time performance. (D)</p> Signup and view all the answers

Which of the following is a primary advantage of a multitasking operating system compared to a single-tasking operating system?

<p>More efficient utilization of CPU resources by allowing multiple processes to run concurrently. (B)</p> Signup and view all the answers

What is the primary role of file systems in relation to applications?

<p>To offer a standard method for applications to read and write data. (B)</p> Signup and view all the answers

In the context of operating systems, what is the key difference between Microsoft Disk Operating System (MS-DOS) and Windows 10?

<p>MS-DOS can only run one program at a time, while Windows 10 supports multiple concurrent processes. (C)</p> Signup and view all the answers

An engineer is designing an embedded system for a smart refrigerator. The system needs to manage temperature control, inventory tracking, and user interface. Which of the following considerations is least important when choosing between a general-purpose OS and an embedded OS?

<p>The ease of integrating third-party applications for playing music and browsing the web. (A)</p> Signup and view all the answers

How does virtual memory contribute to running applications on a system?

<p>By allowing applications to use more memory than physically available. (D)</p> Signup and view all the answers

A software engineer needs to select an operating system for a medical device that requires precise timing and reliable performance. Which of the following factors would be the most important consideration?

<p>The operating system's real-time capabilities and deterministic behavior. (C)</p> Signup and view all the answers

What is the main function of a device driver?

<p>To allow a hardware device to communicate seamlessly with the operating system. (B)</p> Signup and view all the answers

Why is a buffer used between the CPU and a device like a printer?

<p>To compensate for the speed difference between the CPU and the slower device. (D)</p> Signup and view all the answers

Which of the following best describes the role of system utilities?

<p>Performing maintenance routines to keep the computer in good working order. (D)</p> Signup and view all the answers

Which of the following scenarios explains the need for buffers in a computer system?

<p>The CPU processes data at a much faster rate than a connected printer can handle. (A)</p> Signup and view all the answers

How do system utilities primarily contribute to the overall efficiency of a computer?

<p>By managing and optimizing storage and other system resources. (C)</p> Signup and view all the answers

Consider a situation where a large video file is being transferred from the CPU to an external hard drive. Which component or technique is most crucial for efficiently handling the speed difference between these two?

<p>A buffer to temporarily store the data before it is written to the hard drive. (B)</p> Signup and view all the answers

Which of the following scenarios would necessitate the use of a restore utility?

<p>To revert the system to a state before a problematic software installation. (A)</p> Signup and view all the answers

Which statement correctly differentiates between anti-virus and anti-malware software?

<p>Anti-virus software primarily targets viruses, while anti-malware also addresses spyware and ransomware. (D)</p> Signup and view all the answers

In the context of system utilities, what is the primary function of a backup utility?

<p>To create a copy of selected files and folders for data protection. (C)</p> Signup and view all the answers

A user suspects their computer is infected with spyware. Which of the following behaviors might indicate this type of infection?

<p>The web browser displays numerous pop-up ads and tracks browsing activity. (D)</p> Signup and view all the answers

A company experiences a widespread ransomware attack. What immediate action should be taken to minimize data loss?

<p>Disconnect affected systems from the network to prevent further spread. (B)</p> Signup and view all the answers

Which scenario best illustrates the need for a backup utility?

<p>A user accidentally deletes a critical system file. (C)</p> Signup and view all the answers

What is the primary goal of ransomware?

<p>To encrypt a user's data and demand payment for its decryption. (A)</p> Signup and view all the answers

Which of the following describes the 'real-time protection' feature offered by some anti-malware packages?

<p>Continuously scanning a device for new threats as they appear. (B)</p> Signup and view all the answers

A computer has a 64-bit CPU. Which of the following scenarios will function correctly?

<p>A 64-bit operating system running a 32-bit application. (C)</p> Signup and view all the answers

Which statement accurately describes the relationship between CPU bit size, operating system bit size, and application software bit size for optimal performance?

<p>All three, CPU, operating system, and application software, should have matching bit sizes. (B)</p> Signup and view all the answers

If a user installs a 32-bit operating system on a computer with a 64-bit CPU, which of the following is a likely consequence?

<p>The system will only be able to utilize 32-bit applications. (C)</p> Signup and view all the answers

A software developer is creating an application. They want it to be compatible with the widest range of systems possible, including older computers. Which bit size should they target?

<p>32-bit (D)</p> Signup and view all the answers

Which of the following scenarios would lead to compatibility issues related to bit size?

<p>Running a 64-bit application on a 32-bit operating system. (C)</p> Signup and view all the answers

Flashcards

Anti-lock Braking System (ABS)

A system in cars preventing wheel lock-up during braking, maintaining control.

Infotainment System

Embedded devices in cars for touchscreen, navigation, music, and connectivity.

Advanced Driver Assistance Systems (ADAS)

Car features using embedded systems to monitor the road and assist the driver.

General Purpose Operating System

Designed for a wide range of tasks; requires powerful hardware.

Signup and view all the flashcards

Embedded Operating System

Made for specific functions within a system; efficient in hardware use.

Signup and view all the flashcards

Single-task Operating System

Executes only one task at a time.

Signup and view all the flashcards

Multi-tasking Operating System

Executes multiple processes/tasks simultaneously.

Signup and view all the flashcards

Microsoft Disk Operating System (MS-DOS)

An OS that can run only one program at a time.

Signup and view all the flashcards

Natural User Interface (NUI)

User interacts through touch, voice, or motion.

Signup and view all the flashcards

Command Line Interface (CLI)

Requires knowing exact commands; ideal for advanced users and complex tasks.

Signup and view all the flashcards

Graphical User Interface (GUI)

Intuitive visual interface, easy to use, suitable for general users.

Signup and view all the flashcards

System Resources for CLI

Requires minimal CPU power and memory.

Signup and view all the flashcards

System Resources for GUI

Requires more RAM, CPU and a graphical user environment.

Signup and view all the flashcards

System Resources for NUI

Demands significant hardware resources such as sensors, cameras and powerful processing for AI and recognition.

Signup and view all the flashcards

File System

A software mechanism that specifies how an OS manages, organises and accesses files and folders on storage devices.

Signup and view all the flashcards

NTFS

A file system used by Windows, known for security and features.

Signup and view all the flashcards

EXT4

A file system commonly used in Linux known for its stability and performance.

Signup and view all the flashcards

File System Compatibility

A standard method for applications to read and write data, ensuring compatibility.

Signup and view all the flashcards

File System Scalability

The ability of a file system to grow easily with increasing data across multiple storage devices.

Signup and view all the flashcards

exFAT

File Allocation Table (FAT) extended version, use when cross-platform compatibility is required.

Signup and view all the flashcards

Virtual Memory

A memory management technique that creates the illusion of more RAM than physically available.

Signup and view all the flashcards

Virtual Memory Extension

Using hard disk space as an extension of RAM, allowing applications to use more memory than physically installed.

Signup and view all the flashcards

CPU Process Scheduling

Manages the allocation of CPU time between multiple processes.

Signup and view all the flashcards

Device Driver

A hardware-specific program that allows a hardware device to run at its best.

Signup and view all the flashcards

Round Robin Scheduling

Each process gets a fixed time slice to execute, receiving an equal share of CPU time.

Signup and view all the flashcards

Buffer

A small portion of RAM that stores data temporarily before it's sent to a device.

Signup and view all the flashcards

Buffer Purpose

Temporary storage in RAM used to compensate for speed differences between the CPU and slower devices.

Signup and view all the flashcards

Process Scheduling

Allocating CPU time between multiple processes competing for CPU execution.

Signup and view all the flashcards

Time Slice

A fixed amount of time given to each process to be executed.

Signup and view all the flashcards

System Utilities

Programs that perform maintenance routines to keep the computer in good working order.

Signup and view all the flashcards

CPU Bit Size

The amount of data a CPU can process in one clock cycle.

Signup and view all the flashcards

Operating System Bit Size

OS designed to handle a specific bit size. Ideally matches the CPU's bit size for best performance.

Signup and view all the flashcards

Bit Size Compatibility

Using mismatched bit sizes can cause compatibility issues and limit performance. Aim for matching sizes at all levels.

Signup and view all the flashcards

32-bit vs 64-bit Compatibility

A 32-bit application can run on a 64-bit OS/CPU, but not vice versa. The lower levels (hardware) must be the same bit-size or larger.

Signup and view all the flashcards

Optimal Performance

While a 32-bit OS can run on a 64-bit CPU, a 64-bit OS is better to fully utilize the CPU's capabilities.

Signup and view all the flashcards

Anti-virus program

Detects, quarantines, and removes known viruses.

Signup and view all the flashcards

Anti-malware package

Removes known viruses and other malicious software like spyware and ransomware.

Signup and view all the flashcards

Real-time protection

Continuous scanning of a device for new threats.

Signup and view all the flashcards

Spyware

Monitors internet activity, tracks logins, and spies on sensitive info.

Signup and view all the flashcards

Ransomware

Malware that locks access to your device and demands payment for its release.

Signup and view all the flashcards

Backup utility

Creates a copy of files/folders to protect against data loss due to hardware failure.

Signup and view all the flashcards

Restore utility

Returns a computer system to a previous working state.

Signup and view all the flashcards

RollBack RX â„¢

A tool to recover from computer crashes and malware attacks.

Signup and view all the flashcards

Study Notes

  • A computer system contains both system software and application software.
  • The two software types are application software and system software.

Application Software

  • Designated software that is made to carry out a specific task or number of related tasks.
  • Includes:
    • Word processing software programs such as Microsoft Office Word 2013
    • Spreadsheet Software programs such as Microsoft Office Excel 2013

System Software

  • Software that allows computer hardware to work together, also it allows the user to install and run application software.
  • Examples include:
    • Microsoft Windows 11
    • Macintosh OS 15.1 Sequoia
    • Linux Mint 22
    • IOS v 18
    • Google Android 15 (Vanilla Ice cream)
  • Computer systems need an Operating System to work, laptops/smartphones/desktops are useless without one
  • An OS is like an engine in a car

Basic Functions of an OS

  • Provides a User Interface
  • File Management
  • Process Management
  • Memory Management
  • Input & Output (device) Management

General-Purpose OS

  • General-purpose OS is software that allows a computer to run many different applications at the same time and they can be used on different hardware setups.
  • Examples include Windows, macOS and Linux operating systems
  • A game, a web browser, a word processor and a spreadsheet can be executed at the same point in time.
  • A general-purpose OS can run on different hardware configurations such as desktop computers and servers.

Embedded OS

  • System software that controls a specific device or machine.
  • Unlike the operating system on a computer or phone that can run several applications, an embedded OS is designed to manage one task or a group of related tasks.
  • Examples:
    • Software in a microwave lets you set the timer and heating level
    • The system in a washing machine controls the wash cycles
    • The program running on a smart thermostat adjusts the temperature automatically
    • An Anti-lock Braking System (ABS) controls the ABS to prevent wheels locking during sudden braking for car control
    • Infotainment Systems power the touchscreen, navigation, music, and bluetooth connectivity, making driving enjoyable
    • Advanced Driver Assistance Systems (ADAS): Features like lane departure warnings and automatic emergency braking on embedded systems help monitor the road and assist the driver.

General Purpose Operating System vs Embedded Operating System

  • General Purpose OS is designed to manage a wide range of tasks, while Embedded OS is tailored for specific functions within larger systems
  • General Purpose OS requires powerful hardware (more memory, a multi-core CPU and more storage capacity) to support multi-tasking, while Embedded OS requires less powerful hardware (less Memory (RAM), a single core CPU and less storage capacity)
  • General Purpose OS is not so efficient in hardware use, while Embedded OS is very efficient
  • General Purpose OS supports many programming languages for flexible programming development, while Embedded OS is designed for specialized devices, often prioritizing low power consumption
  • General Purpose OS are used in desktop computers, laptops, servers, while Embedded OS prioritize real-time processing

Single Task vs Multitasking OS

  • A single task operating system can only execute one task at one point in time
  • A multitasking operating system can execute or run multiple processes / tasks at one point in time.
  • MS-DOS is an OS that can run only one program at one point in time, unlike a multi-tasking OS such as Windows 10 that can run many programs at the same point in time

Purpose of an Operating System (OS)

  • Managing of the device's resources such as the CPU, memory, storage, and I/O devices
  • Establish a user interface
  • Running applications software
  • An Operating System manages the computer's / devices resources which are CPU, memory, storage, and I/O devices.
  • CPU management / Process Management: OS ensures each program(process) in a multiprogramming environment receives an acceptable share of CPU processing time
  • Memory Management / RAM management: The OS oversees allocating and removing de-allocating memory to programs in a multi-programming environment.
  • Storage management / Management of Files: Managed by the use of a file system creating files/folders to store them on a storage device, allowing arrangement into folders (ex: a folder called Python programming)
  • I/O Devices management: Hardware capabilities are maxed out by installing device drivers.
  • A device driver is a program that connects an OS and a SPECIFIC hardware component like the CPU to communicate.
  • An operating system such as Windows 11 provides a user-interface.
  • User interface enables the opening of files/folders/programs, for using the computer

File Management

  • Needed to install programs and create files/folders, meaning progress can be saved while using a program

Process Management

  • Ensures enough CPU time (time slices) are fairly given to the processes

Process vs Program

  • A program is several lines of code that solves a specific task, like many lines of code and data that are found on a secondary storage device
  • A process is a program is found in memory to be executed by the CPU, or by being created by the OS to execute a computer program

Memory Management

  • the OS allocates enough process memory
  • when a program is closed memory is de-allocated

Input & Output (device) Management

  • Accurately manages the flow of data to and from external peripherals such as keyboards, mice, and monitors.
  • User commands are accurately interpreted by the system.
  • After managing system resources, application software can be installed and run after OS installation

Define User Interface (UI)

  • A group of elements such as menus, icons and buttons that allow a user to communicate with a computer.

Types of User Interface (UI)

  • Command Line Interface (CLI)
  • Graphical User Interface (GUI)
  • Natural User Interface (NUI)

Command Line Interface

  • A text-based interface that allows users to interact with a computer system by typing specific commands
  • Requires command knowledge and syntax
  • Used for system administration, programming, and managing servers.
  • Uses few resources

Graphical User Interface

  • A visual interface that allows users to interact with a system through graphical elements such as windows, buttons, icons, and menus
  • Is user-friendly and easy to navigate.
  • Supports use of mouse, touchpad, or touchscreen
  • Requires more system resources than CLI
  • Is intuitive for non-technical users
  • Example :Windows OS, macOS, web browsers

Natural User Interface

  • Enables users to interact with a system through intuitive, natural actions like gestures, voice commands, touch, and body movements
  • Designed to feel natural and imitate real-world interactions.
  • Uses technologies like speech recognition, gesture detection, and motion sensing.
  • Needs advanced computer hardware and software.
  • Enhances accessibility for users with disabilities. Examples: Touchscreens on smartphones, voice-controlled digital assistants like Alexa or Siri, and motion-based gaming systems

Distinguish between different UI types

  • User needs (user experience vs limitations in functionality)
  • System resources needed

Command Line Interface (CLI) vs Graphical User Interface (GUI) vs Natural User Interface (NUI)

  • User Experience: CLI needs command syntax vs GUI is intuitive and easy to use and accessible for beginners; NUI Feels natural and immersive with Minimal learning and is excellent for users with disabilities
  • Limitations in Functionality: CLI is ideal for complex tasks, limited to textual input/output. GUI limits advanced, low-level control; NUI requires specialized hardware
  • System Resources Needed: CLI needs minimum resources vs GUI needs more (RAM, CPU, and a GPU). NUI demands significant hardware such as sensors/cameras

Filing System Definition

  • A software mechanism that specifies the way an operating system manages, organises, and accesses files and folders on storage devices.

Filing Systems Types

  • FAT32
  • NTFS
  • APFD
  • EXT4

File System in Practice

  • Used when setting up a storage device such as a hard disk drive or an SSD, for when partitioning

Operating System Compatibility with File systems

  • Windows available file systems NTFS and exFAT; macOS APFS; Linux EXT4
  • exFAT used when cross-platform compatibility / software compatibility is a high priority
  • APFS is recommended for modern macOS systems with file encryption and compression
  • EXT4 is often used due to its stability and performance
  • EXT4 on Linux may be preferred for System Performance and Stability

Security and Encryption with File systems

  • NTFS or APFS might be chosen for their encryption capabilities.
  • FAT32 or exFAT are suitable for sharing files across different operating systems.

CPU process scheduling

  • Manage the allocation of CPU time in time slices between multiple processes competing for execution

Round Robin Scheduling

  • In a specific order, each process in a multi-programming environment is given a fixed amount of time, or a time slice, each getting an equal share of CPU time

Priority Scheduling

  • The OS executes processes based on a set priority, and so tasks with a higher priority get executed before tasks with a lower priority

Round Robin Scheduling vs Priority Scheduling

  • Order of execution in Round Robin is in a specific order based on time slices, but in Priority scheduling it is priority based
  • Round robin is always pre-emptive where a CPU can interrupt a process after a time slice expires vs priority scheduling that be pre/non-preemptive
  • Round robin ensures all time slices are fair vs priority scheduling that does not
  • Round robin is suitable for time sharing systems but priority scheduling is suitable for critical tasks

Use of Filing Systems

  • File and folder creation and naming.
  • The file system stores details, including:
    • File Name: Files group according to name in ascending or descending order.
    • Date Modified: Specifies the date edited
    • File Type: Files group by category such as presentation, word processor, spreadsheet, and executable files.
    • File Size: Files are grouped by size (ascending/descending).
    • Date Created: Files are sorted in order of creation.

Benefits of Filing Systems

  • Rapid Data: A user can insert similar files into separate folders, increasing file organization with example of music or vacation pics
  • Data organisation: Files easily searchable because each file CAN be grouped thus increasing performance
  • Compatibility: Provide a standard method for applications to read/write data
  • Scalability: File systems can easily scale with data found across multiple devices

Virtual memory

  • An important memory management technique used by OS to create an illusion of larger main memory than what is physically available

Memory Extension

  • Allows applications to more memory than installed with a portion of hard disk space as RAM (Random Access Memory) for big or many applications

Device Drivers

  • Hardware specific software which helps hardware perform to its greatest by enabling communication (ex: CPU and motherboard)

Buffering

  • CPU data is sent at a faster rate to devices than the rate they can process
  • Buffering compensates for the speed difference with temporary storage in RAM
  • Buffers compensate for speed differences between the CPU and slower devices. It allows both the CPU and the device to operate within rate/speed constraints

System Utilities

  • Programs that perform maintenance routines for computer operation, may be installed with the OS or purchased separately
  • Example: MS provides Windows Defender

System Utilities

  • Anti-virus Programs/ Anti-malware Package: Detect, quarantines and removes know viruses
  • Backup Utility: Takes copy of selected files/folders to prevent permeant data loss
  • Restore Utility: Program returns a computer system to a previous working state
  • Disk Management
    • Cleanup: Storage is by removing unnecessary files to improve system performance/efficiency
    • Disk defragmenter: Reorganizes data so that files are stored together
  • File Compression: Reduces one or more file sizes for storage/transmission purposes
  • Formatting utility: Prepares storage devices to be used by creating a file system.

System File Compressions

  • Formatting utility: Creates a file system
  • Program Installer Utility- Facilitates installation of applications via step-by-step guide and oversees licensing and location
  • Compatibility between CPU bit size, OS bit size, and software bit size
  • To achieve the best results with no errors

Compatibility

  • Operating System bit size, the CPU word-length and application software bit-size must all be compatible
  • A 32-bit application program can run on a 64-bit operating system or in turn supported by a 64-bit CPU
  • a 32-bit computer can be supported by a 64-bit OS but not vice versa

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Operating Systems Notes PDF

More Like This

Untitled
110 questions

Untitled

ComfortingAquamarine avatar
ComfortingAquamarine
Untitled
44 questions

Untitled

ExaltingAndradite avatar
ExaltingAndradite
Untitled
6 questions

Untitled

StrikingParadise avatar
StrikingParadise
Untitled
48 questions

Untitled

HilariousElegy8069 avatar
HilariousElegy8069
Use Quizgecko on...
Browser
Browser