Graphical User Interfaces, Explained

UPI Study › Courses › Introduction to Operating Systems › Free lessons › Lesson 1.5 Free with a free account

Graphical User Interfaces

Introduction to Operating Systems · Chapter 1: Operating System FoundationsSection 1.5 · lesson 5 of 837 min · free with a free account

← Layers and KernelsNext lesson: Mobile Operating Systems →

A free account plays all of Chapter 1 and 3 more lessons of Introduction to Operating Systems. Create a free account →

Earn 3 college credits for Introduction to Operating SystemsRecommended for credit by NCCRS · Computer Science 354 · self-paced · one payment, lifetime access

In this lesson

How windows, icons, menus, and pointers made computers usable for everyone.

  • Identify the four WIMP elements of a graphical user interface
  • Explain why recognition over recall makes a GUI easier to learn
  • Describe how a window manager decides which window receives a click
  • Match common accessibility features to the needs they serve

Free study notes

Get this lesson's notes by email

The key points and 4 practice questions with answers, in your inbox. One email, free.

One email. Unsubscribe in one click.

Transcript

Everything said in the video, section by section (919 words). Read along, or search it.

Opening Question

When the Screen Became a Desk

Imagine typing a command to open every photo, or to move a window out of the way. Before the 1980s, that's how most people used computers, and almost nobody outside labs and offices did. Then the screen became a desk you could point at, and suddenly a child could use a computer without learning a word of its language. That desk is the graphical user interface, and it changed who computers are for.

Definition

Windows, Icons, Menus, and a Pointer

The user interface is the part of a system you use to talk to it. A graphical user interface, or GUI, lets you do that with pictures and pointing, instead of typed commands. It's built from four ideas, often shortened to WIMP: windows, icons, menus, and a pointer. Together, they turn the screen into a desk you can work on, with your hand.

Why It Works

Recognition Beats Recall

The big win is recognition over recall. Seeing a picture of a folder, and clicking it, is much easier than remembering the exact command that opens it. The desktop even borrows a metaphor from a real office: files, folders, a trash can, a desk top. Once you know the metaphor, you can guess what a new program does.

History

From Xerox PARC to the iPhone

The pieces came together in stages. In the 1970s, researchers at Xerox PARC built experimental computers with windows, icons, and a mouse. In 1984, Apple's Macintosh brought a GUI to ordinary buyers. In 1985, Microsoft released the first version of Windows, a GUI running on top of its older text system. And in 2007, the first iPhone made touching the screen itself the pointer.

Behind the Scenes

The Window Manager Routes Each Click

Behind the pictures, the OS has bookkeeping to do. You move the mouse, and click. A part called the window manager must decide which window the click belongs to, tell that program, and redraw the screen. Windows can overlap, so the OS checks them from the top one downward, and gives the click to the first window that contains the point.

Worked Example

Three Overlapping Windows and Two Clicks

Here are three windows. The spreadsheet is at the bottom. The browser sits on top of it, and the music player is on top of everything. A click at forty, thirty lands inside both the spreadsheet and the browser. The browser is higher, so it's checked first, and it gets the click. A click at ninety-five, seventy lands in no window at all, so the desktop gets it.

Quick Check

Same Point, New Stacking Order

Quick check. Sam, who runs a small online bakery, has these same three windows open. He brings the spreadsheet to the front, so it now sits on top of the browser. Then he clicks at forty, thirty again. Which window gets that click? Pause, and decide. The spreadsheet. The point is still inside both windows, and the OS checks from the top down. Now the spreadsheet is on top, so it's checked first, and it wins. The browser is the tempting answer, because it won a moment ago. But the point didn't move. The stacking order did.

Key Idea

Programs That Wait for Events

Each click is an example of an event: something that happens, like a click, a key press, or a touch, that a program should respond to. GUI programs spend most of their time waiting for events, and reacting to them. Lesson 3.3 shows how the OS notices them.

Common Mistake

A GUI Is Only One Layer

A common mistake: thinking the GUI is the operating system, or that a computer without one is broken. Servers and many embedded systems have no GUI at all, because nobody sits at them. Leaving it out saves memory, and removes things that could fail. The GUI is one layer on top of the OS.

Accessibility

Tools for Different Abilities

A design that works for one person can shut another out. Accessibility means designing so that people with different abilities can all use a system. Because a GUI is software, it can bend. A screen reader reads the screen aloud. A magnifier zooms in, and high contrast uses strong colors. Captions put sounds into words. Keyboard-only control lets you tab through buttons, and voice control lets you speak to click and type. And text size makes letters and icons bigger. Many of these help everyone: captions in a noisy room, big text in bright sun.

Real Example

Magnifier and Larger Text

Ivy, who looks after the computers at a school, has a pupil who struggles to see small text. She didn't install anything. She turned on the magnifier, and raised the text size in the system settings. The OS already knew how, she said. I only had to ask it.

Quick Check

Voice Control for a Pupil in Casts

One more check. Another pupil at Ivy's school has both wrists in casts for a month. She can't type, and she can't use a mouse, but she can talk normally. Which feature helps her most? Pause, and decide. Voice control. She speaks, and the computer clicks and types for her, so her hands can rest. Keyboard-only control is the tempting pick, since it replaces the mouse. But it still needs her hands on the keys. And captions help with hearing, which isn't her problem.

Key Takeaways

Pictures, Pointing, Events, and Access

To recap. A GUI is built from windows, icons, menus, and a pointer, and it works because recognizing beats recalling. The window manager checks windows from the top down, and the first one containing the click gets it. GUI programs wait for events, and react to them. The GUI is one layer on the OS, not the OS. And accessibility tools let more people use the same machine.

Try It

Two Minutes With an Accessibility Feature

Here's something to try. Open the accessibility settings on your computer or phone, and turn on one feature, like larger text or captions, for two minutes. What got easier, and what looked different? Then switch it off.

About Introduction to Operating Systems at UPI Study

Introduction to Operating Systems (Computer Science 354) is a self-paced online course of 83 video lessons in 10 chapters, from what an operating system does and process scheduling to concurrency, memory, devices, file systems, networks, the internet, security and virtual machines. It carries a NCCRS credit recommendation for 3 semester credits.

Every lesson transcript is free on pages like this one, and the videos are free with a free UPI Study account. Enrolling adds a practice quiz after each lesson, the graded work and final exam that earn the credit, lifetime access, and an official transcript on completion. UPI Study has helped over 130,000 students with college credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Compare: Linux vs Operating Systems

Why take it here

Why students take Introduction to Operating Systems with UPI Study

What happens under every app you runIntroduction to Operating Systems explains the software that runs a computer: processes and scheduling, threads and synchronization, deadlock, memory and paging, devices and storage, file systems, networking, security and virtualization. It suits computer science and information technology degrees.
Credit at a fraction of the priceThe same 3 credits can cost $750 or more at a US college. Here it is one payment, self-paced, with lifetime access.
Finish your degree soonerTransfer credits reduce the courses you still owe, so you can graduate earlier or lighten a heavy semester.
Strengthen an applicationA completed college-level course on an official transcript shows admissions and scholarship committees you can do the work.
Study on your own scheduleNo start dates, no deadlines. Watch the lessons, practice, and take the final when you are ready.
130,000+students helped with college creditsACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Where the credit goes

Universities that work with NCCRS

Introduction to Operating Systems carries a NCCRS credit recommendation. These universities work with NCCRS; some are UPI Study's signed partners. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Find my college → Not listed? Ask Athena in the corner of this page, or book a 15-minute call.

FAQ

Questions students ask us

About Graphical User Interfaces

What does WIMP stand for in a graphical user interface?
WIMP stands for windows, icons, menus, and a pointer, the four ideas a graphical user interface is built from. Together they turn the screen into a desk you work on by pointing, instead of typing commands. The approach works because recognizing a picture, such as a folder icon, is much easier than recalling the exact command that opens it.
Who invented the graphical user interface?
The graphical user interface came together in stages rather than from one inventor. In the 1970s, researchers at Xerox PARC built experimental computers with windows, icons, and a mouse. Apple's Macintosh brought a GUI to ordinary buyers in 1984, Microsoft released the first version of Windows in 1985, and the first iPhone in 2007 made touching the screen itself the pointer.
How does an operating system know which window you clicked?
The window manager checks the windows from the top one downward and gives the click to the first window that contains the point. If a browser sits on top of a spreadsheet and both cover the clicked spot, the browser gets it. Bring the spreadsheet to the front and click the same spot, and the spreadsheet wins. A click outside every window goes to the desktop.
What accessibility features do operating systems include?
Modern desktop and phone operating systems typically include a screen reader that reads the screen aloud, a magnifier, high-contrast colors, captions, keyboard-only control, voice control, and adjustable text size. Each serves a different need: voice control helps someone who cannot use their hands, while captions help with hearing. Many features help everyone, such as captions in a noisy room or larger text in bright sun.

About the Introduction to Operating Systems course

How many college credits is Introduction to Operating Systems?
Introduction to Operating Systems (Computer Science 354) carries a NCCRS credit recommendation for 3 semester credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
How much does Introduction to Operating Systems cost and what is included?
$250, paid once, with lifetime access: all 83 video lessons, a practice quiz after each, the graded work and final exam, and an official transcript when you finish. Students who want several courses choose UPI Study PRO instead.
Which universities accept UPI Study credits?
UPI Study has signed partner agreements with universities such as Thomas Edison State University, University of the People and Charter Oak State College, and works with universities such as Penn State, SNHU and SUNY. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities. Use "Find my college" on this page to check yours.
How long does Introduction to Operating Systems take?
It is self-paced with no deadlines. The 83 lessons total about 10 hours of video; most students add reading and practice time and finish in a few weeks to a few months, on their own schedule.
How are the exams done?
Quizzes and assignments are online in the course. The final exam is taken online with proctoring; a person on the UPI Study team checks assignments, usually within two days.
How do my credits reach my college?
When the course shows 100% complete, request the official transcript from your dashboard. It is sent to the college you name, and you can send it to more than one. Check your college first with "Find my college" on this page, or ask Athena.

Ready for the full course? Earn 3 credits in Introduction to Operating Systems.

83 video lessons, a quiz after each one, and the graded work that earns the credit. Recommended for credit by NCCRS.

Updated

Introduction to Operating Systems
3 credits · NCCRS
Enroll →