Now let's have a look at how operating systems interact with the hardware in your computer.
At its heart, the operating systems is assisting the user to work with the hardware.
We're gonna look at hardware it much more detail in domain to,
but for now realize that there are several key hardware components inside your computer.
There is the CPU, or central processing unit, the brains of the computer.
The processor reads the instructions, written a program and then executes those instructions.
There is a temporary storage for information called Ram
Ram stands for random access memory.
This is where your computer stores data while you work on it.
For example, a document. Your anything is stored in the ram
and, although ran, provides very fast access to your document while you work on it.
The trouble with rhyme is that if you switch off the power,
everything stored in rhyme is lost instantly.
For that reason, it's called volatile Storage.
what if we don't want to lose everything as soon as we switch off?
If you want to preserve whatever document you're working on, you need to save it to some form of non volatile storage.
Ah, hard disk is an example of non volatile storage.
Once your document is safe to desk, it will not be lost if you turn off the power to your computer
and you'll be able to load it up again once you re boot the machine,
there are input devices that allow us to interact with the computer. So the most common device is, of course, our keyboards on a mouse
these days. Touchscreens. I've also become popular as any input device, like on a smartphone or a tablet.
You and I used these to track with the computer on the programs that it's running.
The computer communicates with the user using output devices,
for example, it can display something on a screen or print type something on a printer.
These days, computers will often speak to you and accept voice input as well. Just mentioning that, even though that's not gonna be covered in this company exam. But it might be future ones.
The voice interface is becoming more popular.
You might have come across Amazons, Alexa, Google assistant,
Microsoft Katana or Apple's Siri APS.
These are all examples of a voice based interface. They will accept your voices, input on, they will respond by speaking to you.
this is not a completely perfected technology yet,
but one day it could be the case that the primary way we interact with our computers is going to be speaking to them on. They're gonna speak back to us,
but that's something that's still a year or two down the line. I think
now, at this point, we're going to take a little detour to talk about something called a winery.
On a related term, you'll often hear bits
via Larry, if you will recall, is the native language of your computer that is sequences of ones and zeros.
So we're gonna define the term bit, and we're also gonna look att. What do we mean by 32 bit a bit 16 or 64 bit
Later on, we're going to talk about 32 bit and 64 bit operating systems. CP use and drivers
to explain this. We're going to go back to school and do a little math
First off the binary number system, also known, is based to
hats. Our has only two digits zero and one.
I compare that with decimal,
decimal is a base 10 counting system. It has 10 digits available, zero through nine
A bit refers to a single binary digits.
And if you look carefully,
you should be able to figure out why it's called a bit.
But where the name comes from.
before we approach binary, let's just recap how decimal works,
and then we'll get back to binary.
Remember, the decimal only has 10 digits zero through nine as you see up here
using a single digit.
Therefore, you can only count from zero tonight.
What happens when you reach nine?
Once we have counted up to nine,
we have used up all the available digits. 0123456789
So the cop to the next number off tonight
we resort to using two digits on. We write that out as 10
we pronounce it as Ted.
We could count numbers above nine using two digits,
but only until we reach 99.
At that point, all possible combinations of two digits are exhausted.
So we have to start using
three digits to indicate
that we're going on to the next number, which we call 100
so make sure that you grasp this, that
once you have run out of all possible variations of ways particular digit in a particular counting system,
we start using two digits,
and once we have run out of all possible combinations are two digits. We start using three digits and so on.
let's go back to finery
had compared that side by side with decimals.
The 1st 2 values in binary are zero and one, just like they are investable.
So no difference that.
But of course, in decimal, the next number that you could use his three. Because that's what we'll have more than two digits available.
Once you've used up zero and you've used up one,
that's it. There are no other digits in the finery system.
when we run out of digits?
Which will be much sooner than in decimal.
We resort to using two digits,
so the next two numbers in binary would be 10 and 11
That's the equivalent of decimal three
But once we've done those two
again, we've run out of all possible variations of using two digits.
So then we resort to three digits.
And so we have 100 which is the equivalent of decimal four
101 to the equivalent of decimal five on so on.
what happens when you run out of all possible values with three digits? Well, then we start using
four digits. And so it goes on.
Note that this table is also handy reference chart
for converting between decimal and binary. For example, if you look at the decimal number nine,
the binary equivalent of that is 1001
So we learned a bit of our finery in the last section
in this section. We're gonna take that idea and expand on it a little bit,
and we're gonna talk about
32 bit on 64 bit soupy use on 32 64 bit operating systems.
there is this concept off the number of bits you can work with that one time.
The earliest CP use were eight bitsy views. They could only process eight bits at a time.
Now what this meant in practice is this so there on the screen, you see a ***
That's how data would be fed into the CPU eight bits at a time.
The CPU would work on those eight bits following the instructions in the software,
and then the output would be sent out in Bunches of eight bits at a time.
hardware vendors such as Intel and Eddie that produced CB use
they started producing CPU is that could process 60 bits at a time,
so that obviously meant that you could deal with twice as much data. Within one cycle, you could read in 16 bits. You could process 16 bits, and you could have put 16 bits.
There were 32 bits at a time,
and then there were CP use that could handle 64 bits at a time.
As you might imagine, dealing with 64 bits at a time, rather than only eight bits of the time, is much faster.
As we moved to greater numbers of bits, computers got faster and faster
the computers we used today, which run Windows sometimes called IBM compatible PCs.
And that's simply because the original peces were designed by the company. IBM
IBM compatible PCs were originally based on a 16 bit Cebu, and he was called the eight Away six.
The original PCs had operating systems such as DOS that were also 16 bit operating systems.
In 1995 though, Intel released the Pentium Pro a 32 bits of you.
Around the same time, Microsoft released Windows 95
a 32 bit operating system that could take advantage of the new capabilities of a 32 bit CPU.
the bulk of sea views are 64 bits.
However, the development of operating systems have lagged behind the development of the hardware.
Let's just take a look at the advantage of 64 bit soupy use.
Generally, the more *** you could breed in process, and I put at one time
foster the speed of processing.
The CPU also communicates with other components, such as RAM or storage 64 bits of time.
That's probably obvious that with more bits,
things like like Paul Step.
What's less obvious is this. That 32 bit sleepy use our limited to four gigabytes of RAM.
64 bit CIB use allow us to access much larger match of rat today. It is common for even consumer level PCs to have 16 gigabytes of RAM.
The more ram you have, the larger the documents you could work with on more applications. You could run simultaneously and so on.
So to really benefit, and to be able to use more than four gigabytes of RAM, you need a 64 bit super you
on a 64 bit operating system
now talking of operating systems,
they kind of like behind the development off the hard way.
64 bit processes were around before 64 bit operating systems.
If you installed a 32 bit operating system on its 64 bits CPU,
it would switch the CPU down into 32. Bit about.
That's rather like buying a sports car had been profiling the gas so it can only drive at 30 miles an hour,
kind of a waste of money.
Once 64 bit operating systems were released,
a couple of other issues arose.
Drivers for all of your hardware had to also be 64 bit.
You couldn't use the old 32 bit drivers to access hardware from a 64 bit operating system,
and vendors were kind of slow in developing 64 bit drivers and some never created them for certain hardware.
So if you decided to install the 64 bit operating system,
you might find that there are no drivers for some of your hardware.
Another problem was that application step for 32 bit
have to be translated in real time to 64 bit. In other words, every request made by the application to the operating system.
The application issues that has a 32 bit command.
It has to be translated into a 64 bit command and then passed on to the operating system.
And when the operating system responds, it responds, using 64 bits that has to be converted into pretty to bits and then passed up to the application.
even though your operating system is running faster,
if you're running a 32 bit application on it, yeah, it's running a bit faster. But also
slowdown happening because of the translation between 32 64 beds?
So it's a result of these kinds of issues. Adoption of 64 bit operating systems was Brunton be slow
today. The use of the 64 bit operating systems is far more widespread as some of those early problems no longer exists. For example, many applications have been rewritten as 64 bit applications, so there are natively on 64 bit operating systems
without having that performance hit from doing translations between 32 64 bit
64 Big drivers are not widely available for most hardware
as computers and our ship with many gigabytes of RAM,
32 bit operating systems are no longer suitable, as you can only access four gigabytes of RAM with 32 bit operating system.
Today, desktops and even laptops are often equipped with 16 gigabytes or more.
So, anyway, let's summarize the issues you need to learn for the exam.
32 bit operating systems can be installed on computers with a 64 bit soupy you.
But as I mentioned, they're gonna switch that CPU down, and it's gonna be operating as a 32 bit CPU.
64 bit operating system, though, cannot be installed on computers, which only have a 32 bit super here.
32 64 bit applications can be run on a 64 bit operating system. But remember the 32 bit applications are going to run somewhat slower than a 64 bit application. Will
64 bit applications cannot be installed on a 32 bit operating system
on drivers are not interchangeable.
If you install 32 bit operating systems, you need 32 bit drivers for all your hardware. If you install that 64 bit operating system, you need 64 bit drivers for all of your hardware
on. Finally, of course, this whole
32 bit operating systems can only access up to four gigabytes of RAM.
64 bit operating systems can access vast amounts of ran much before gigabyte limit no longer applies to them.
So how can you tell whether your CPU and your operating system is 32 or 64 bit?
Well, they're usually tools that will give you this information. For example, in Windows, you can look in a tool called system properties.
what you see there is 64 bit systems are indicated with the X 64 that's listed that,
32 bit CP use would actually be indicated by Exit six, not as you might expect X 30 to remember that for the exam
also noted the line above the highlighted line that I have got 16 gigabytes of RAM installed. This is only possible because I have a 64 bit CPU on a 64 bit operating system.