Hardware and Software

8 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€65.44
List Price:  €93.49
You save:  €28.05
£56.04
List Price:  £80.06
You save:  £24.02
CA$95.74
List Price:  CA$136.79
You save:  CA$41.04
A$107.11
List Price:  A$153.03
You save:  A$45.91
S$95.36
List Price:  S$136.24
You save:  S$40.87
HK$547.90
List Price:  HK$782.75
You save:  HK$234.85
CHF 64.03
List Price:  CHF 91.47
You save:  CHF 27.44
NOK kr772.60
List Price:  NOK kr1,103.76
You save:  NOK kr331.16
DKK kr487.88
List Price:  DKK kr697.01
You save:  DKK kr209.12
NZ$117.84
List Price:  NZ$168.36
You save:  NZ$50.51
د.إ257.06
List Price:  د.إ367.25
You save:  د.إ110.18
৳7,700.43
List Price:  ৳11,001.09
You save:  ৳3,300.65
₹5,837.33
List Price:  ₹8,339.41
You save:  ₹2,502.07
RM333.81
List Price:  RM476.90
You save:  RM143.08
₦92,489.99
List Price:  ₦132,134.22
You save:  ₦39,644.23
₨19,474.37
List Price:  ₨27,821.72
You save:  ₨8,347.35
฿2,588.61
List Price:  ฿3,698.17
You save:  ฿1,109.56
₺2,275.23
List Price:  ₺3,250.47
You save:  ₺975.23
B$358.08
List Price:  B$511.57
You save:  B$153.48
R1,312.98
List Price:  R1,875.77
You save:  R562.78
Лв127.91
List Price:  Лв182.73
You save:  Лв54.82
₩96,452.39
List Price:  ₩137,795.03
You save:  ₩41,342.64
₪267.73
List Price:  ₪382.49
You save:  ₪114.75
₱4,034.64
List Price:  ₱5,764.02
You save:  ₱1,729.38
¥11,065.06
List Price:  ¥15,807.91
You save:  ¥4,742.85
MX$1,201.03
List Price:  MX$1,715.83
You save:  MX$514.80
QR255.05
List Price:  QR364.38
You save:  QR109.32
P965.79
List Price:  P1,379.76
You save:  P413.97
KSh9,296.24
List Price:  KSh13,280.92
You save:  KSh3,984.67
E£3,349.82
List Price:  E£4,785.67
You save:  E£1,435.84
ብር3,985.10
List Price:  ብር5,693.24
You save:  ብር1,708.14
Kz58,375.85
List Price:  Kz83,397.65
You save:  Kz25,021.80
CLP$66,375.71
List Price:  CLP$94,826.51
You save:  CLP$28,450.80
CN¥507.11
List Price:  CN¥724.48
You save:  CN¥217.36
RD$4,113.13
List Price:  RD$5,876.15
You save:  RD$1,763.02
DA9,392.53
List Price:  DA13,418.47
You save:  DA4,025.94
FJ$158.35
List Price:  FJ$226.22
You save:  FJ$67.87
Q544.06
List Price:  Q777.27
You save:  Q233.20
GY$14,678.83
List Price:  GY$20,970.66
You save:  GY$6,291.82
ISK kr9,837.79
List Price:  ISK kr14,054.59
You save:  ISK kr4,216.80
DH708.72
List Price:  DH1,012.51
You save:  DH303.78
L1,246.75
List Price:  L1,781.16
You save:  L534.40
ден4,025.16
List Price:  ден5,750.48
You save:  ден1,725.31
MOP$565.76
List Price:  MOP$808.27
You save:  MOP$242.50
N$1,340.22
List Price:  N$1,914.68
You save:  N$574.46
C$2,582.07
List Price:  C$3,688.83
You save:  C$1,106.76
रु9,353.99
List Price:  रु13,363.42
You save:  रु4,009.42
S/263.57
List Price:  S/376.55
You save:  S/112.97
K270.82
List Price:  K386.91
You save:  K116.08
SAR262.50
List Price:  SAR375.01
You save:  SAR112.51
ZK1,859.31
List Price:  ZK2,656.27
You save:  ZK796.96
L325.94
List Price:  L465.65
You save:  L139.71
Kč1,644.39
List Price:  Kč2,349.23
You save:  Kč704.84
Ft25,720.62
List Price:  Ft36,745.32
You save:  Ft11,024.70
SEK kr762.14
List Price:  SEK kr1,088.81
You save:  SEK kr326.67
ARS$61,174.36
List Price:  ARS$87,395.69
You save:  ARS$26,221.33
Bs486.59
List Price:  Bs695.16
You save:  Bs208.56
COP$277,528.94
List Price:  COP$396,486.91
You save:  COP$118,957.97
₡35,172.98
List Price:  ₡50,249.28
You save:  ₡15,076.29
L1,732.56
List Price:  L2,475.19
You save:  L742.63
₲520,857.74
List Price:  ₲744,114.38
You save:  ₲223,256.64
$U2,703.34
List Price:  $U3,862.08
You save:  $U1,158.74
zł282.38
List Price:  zł403.41
You save:  zł121.03
Already have an account? Log In

Transcript

Welcome to Introduction to programming. In this section we're going to have a short introduction, we will discuss hardware and software and we will talk about how computers store data. You must have hardware and software in order for your PC to work properly. hardware is the physical devices that make up a computer. The typical major components of hardware are the central processing unit, main memory, secondary storage devices, and input and output devices. The central processing unit or CPU is the part of the computer that actually runs the programs.

Sometimes you may actually hear it being referred to as the brain of the computer. Micro processors are CPUs that are located on small chips. Main Memory is the memory that the computer uses to run Apple occations is also known as random access memory. Now the CPU will quickly access the data that is located in that random access memory. Random Access Memory is also a volatile memory, because it's used for temporary storage. So what that really means is, it'll be running while you were running the program.

But when everything is shut off, you're going to lose all of that memory. And that's why if the PC or the power accidentally goes off, you lose everything that you've been typing on that paper. secondary storage devices are a little bit different than main memory and that secondary storage can hold data for very long periods of time. So examples of that would be the hard disk drives that are in your computer. The hard disk drive that's typically in there may work magnetically and have a spinning circular disk inside of it. The solid state drive is very similar, but it is faster than a disk drive and there's no moving parts and it stores data in a solid Solid State memory.

It's also a little bit more expensive of a drive than standard disk drive. Another example of a secondary storage device might be your flash memory or an optical device. A flash memory is portable, it's very small, you can put it on your key chain or put it in your pocket. Most of you should be familiar with flash memory. optical device is like your CD ROM or a DVD and data is encoded on that optically. Another device on your computer input devices.

Now input is any kind of data that computer collects from users or other devices. So really, what that means is anything that I put into the computer as a user is an input. So if I use a camera, and I am recording a video or something like that, then I am creating input if I am using a mouse to click on things to go from one web page To another or to do any type of productive work, then I am putting an input if I scan something into the computer, then that's input as well. The keyboard is also another example of an input device. Right now I'm creating input because I'm recording my voice. The technical definition for an output device is data produced by the computer for users or devices.

But as a user from that perspective, is anything that you see on a screen, anything that you print out on your printer, anything that is in readable format that you can see is an output device. So let's talk about software. Everything on the computer is controlled by software to software examples are application software, and system software. application software is any program that any person can use. on pretty much any computer. So an example of that would be if you're browsing the internet, if you're checking your email, playing games, which, you know, being geeks, now we don't play games, do we?

Writing a letter and word processing or even creating a spreadsheet? system software is a little bit different than application software, and that we don't necessarily as a user, really see all the system software's. I mean, for example, operating system is a good example of a system software. We see it we interact with it, but we don't really think that much about the operating system. utility programs such as a Printer Maintenance software might be another example. Those we do see we play with some people may not realize so much that they're there, but sometimes we need to use it to clean the ink, you know, run the maintenance program on an inkjet printer.

For example on clean up all the inks on the nozzles. software development tools are another example of system software. And those types of tools are used to write programs, which is what we're going to be doing one of these days. When learning to program, it's really important to learn about how computers store data. Now this is something that's going to take a little bit of time to get down, it's going to take some practice to get down. And you may not even really fully understand how computers store data until you've played with it quite a bit.

But the computer is definitely going to only read data that is stored in zeros and ones. So of course, as a user, we don't see the zeros and ones but the computer translates it so that it can understand all the zeros and ones so it can process instructions. So a byte is a size of memory stores just big enough to store a letter or a small number. Now this type of information will be important when you're writing prose programs because you'll need to know what type of data to tell your program compiler so that it knows exactly what to process and also so that you know how much space you're taking up. So the last time we talked about how much space and byte takes up, a byte is actually eight bits as well. And a bit is an electrical component that can hold a positive or negative charge like an on or off switch.

It's kind of how the computer translates everything and puts it into binary and then it reads whether or not is a zero or one based on whether or not an electric current is present. The on and off pattern of bits represent the data that the computer is going to process. So remember, a bit represents two values, zero, or one. computers can use the binary number system and bite size limits are Zero and 255. So if a bite is all zero, then that means all bets are off. If it's 255, then all bets are on.

So let's say one more time data stored in the computer must be stored in binary characters are converted to numeric code and the numeric code is also stored in binary. Now there are two types of numeric codes there is the ASCII and Unicode. ASCII is limited to 128 characters, then Unicode is actually supports multiple languages. Advanced numbers, storage deals with negative numbers and real numbers. So negative numbers are coded using a two's complement and real numbers aren't coded using floating point notation. Now we'll talk about how to tell the compiler what you're going to use whether you're having floating point notation, two's complement, or however you're going to do anything later on in the program.

In the class, but it's just important to know that again, telling the compiler what type of number that you're using is extremely important when you're designating it because of the space that it takes. And because it knows how to process that particular type of data. Now you finished lesson one. Let's move on to lesson two and let's learn how a program works.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.