Time
8 hours 53 minutes
Difficulty
Beginner
CEU/CPE
11

Video Transcription

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

Up Next

CompTIA IT Fundamentals

The CompTIA IT Fundamentals certification is aimed at people considering a career change to IT. The course will prepare you to take the CompTIA IT Fundamentals exam. If you are new to IT this course is prerequisite knowledge that allows you to tackle the more advanced A+ and Network+ CompTIA certifications that many IT professionals hold.

Instructed By

Instructor Profile Image
Ali Wasti
Instructor