Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Competitions › SOF ICSO › unit 9 of 16

Operating systems and files

SOF ICSO · Computer Science · about 6 minutes

The operating system manages files, folders, programs and devices. Files have names and extensions that tell you their type.

Questions cover file extensions, paths, shortcuts and what the OS does.

In this lesson

  1. Files and folders
  2. What the OS does
  3. Worked examples
  4. Where marks are lost
  5. Check yourself

1Files and folders

Folders (directories) form a tree: the drive is the root, folders branch inside it, and files are the leaves. A path lists the branches from the root to the file.

2What the OS does

It shares the CPU between programs, gives each program memory, talks to devices through drivers, keeps files organised and enforces passwords and permissions.

Worked examples

  1. Example 1A file is called report.final.pdf. What type is it?

    1. The extension is the part after the last dot.

    Answer: A PDF document

Where marks are lost

  • Reading the extension from the first dot.
  • Calling a folder a file type.

Exam tips

  • .docx (Word), .xlsx (Excel), .pptx (slides), .jpg/.png (images), .mp3 (audio), .exe (program).
  • A path like C:\School\Maths\notes.txt shows folders inside folders.
  • Ctrl+C copy, Ctrl+V paste, Ctrl+Z undo, Ctrl+S save.

Practice questions

  1. Which extension is an image?

  2. Ctrl+Z is used to…

  3. Which is NOT a job of an operating system?

More worked examples

Try each one first, then open the working.

  1. Which network topology is shown?

    rootswsw
    1. ARing
    2. BMesh
    3. CBus
    4. DTree
    Show the working

    Start: Look at how the devices are joined.

    Tree: switches branch out from a root like a tree.

    Answer: Tree

  2. 2 byte = ? bits

    Show the working

    Start: Computers count in powers of 2.

    1 byte = 8 bits.

    Answer: 16

  3. Which network topology is shown?

    hub
    1. ABus
    2. BStar
    3. CTree
    4. DMesh
    Show the working

    Start: Look at how the devices are joined.

    Star: every device connects to one central switch.

    Answer: Star

  4. 6 MB = ? KB

    Show the working

    Start: Computers count in powers of 2.

    1 MB = 1024 KB.

    Answer: 6144

Practise more

New questions every time, at exam level

Which network topology is shown?

Sit a timed SOF ICSO mock test

Memory and storage unitsNext: Internet and networks