35
06/07/2022 FUNDAMENTALS OF PROGRAMMING BY RMG 1 Chapter 1 INTRODUCTION

Chapter 1: Intro to Funds of Programming

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

1

Chapter 1

INTRODUCTION

Page 2: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

2WHAT IS A COMPUTER

SYSTEM?

A computer is an electronic machine that can accept, process, and produce results of information.

A computer is a system because it is made up of parts where each has an assigned function to do yet it works together as one together with the other parts.

A computer system includes not only the computer, but also any software and peripheral devices that are necessary to make the computer function.

A computer system both hardware and software components.

Page 3: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

3HARDWARE AND

SOFTWARE

The HARDWARE components of a computer system are the electronic and mechanical parts.

Example are: processor, main memory, secondary memory, input devices, output devices

The SOFTWARE components are the intangible parts: the data and the computer programs.

Page 4: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

4 INPUT UNITS

An input device is any peripheral (a piece of computer hardware equipment) used to provide data and control signals to an information processing system.

Page 5: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

5

KEYBOARD

Is the most common input device. Pressing its keys do certain action such as: typing of letters, number, or symbols, and to execute an instruction or command.

A 'keyboard' is a human interface device which is represented as a layout of buttons.

Page 6: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

6

MOUSE

Is the most common pointing input device. Clicking the buttons of the mouse sends signal to the computer and instruct it to do an action.

Page 7: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

7

TRACKBALL

Is like a mouse positioned upside down with larger ball on top of it. Rotating its ball tells the computer to do certain action or command.

The user rolls the ball with the thumb, fingers, or the palm of the hand to move a cursor.

Page 8: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

8

JOYSTICK

Is an input device that allows you to control the objects on the screen by moving its stick or by clicking its buttons.

Joysticks are often used to control video games, and usually have one or more push-buttons whose state can also be read by the computer.

Page 9: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

9

GAME PAD

Is a game controller device that has a programmable buttons used to control the fast movement of picture on the screen.

Page 10: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

10

DIGITIZER OR DIGITIZING TABLET

Is a flat writing device that uses pen or stylus to enter commands into the computer.

The image generally does not appear on the tablet itself but, rather, is displayed on the computer monitor.

Page 11: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

11

MICROPHONE

Is an input voice modulator device.

Page 12: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

12

WEB CAMERA

Takes shots on the viewer to be seen in the other computer.

Page 13: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

13

SCANNER

Used to copy image, or read information or numbers. They read the data by scanning it and send them to the computer.

Kinds of scanners Flatbed scanner

Scans the information printed on a piece of paper then transfers it to the computer.

Page 14: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

14

Bar Code Scanner

Reads the product’s bar code according to the thickness and spacing of the displayed black lines. The signal is sent to the computer which is then translated into a numeric value.

Page 15: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

15

Card reader scanner

Reads the encrypted information of customer’s credit card for verification purposes.

Page 16: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

16 ACTIVITY 1.1

Group yourselves into 2 and select at least 3 input devices and define the importance of each devices to the computer system. Explain it to the class for 10 minutes.

Page 17: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

17 ASSIGNMENT 1.1

Give at least 5 OUTPUT UNITS and define each.

Place in a ½ crosswise of yellow paper.

To be submitted next meeting ( Nov. 12, 2009)

Page 18: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

18 OUTPUT UNITS

Output devices are peripherals used by the computer to give out the processed data. It could be by displaying the images, hearing the sounds, or printing the information.

Are things we use to get information out of a computer.

Page 19: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

19

CRT(cathode ray tube) MONITOR

Is the most common output device. It displays the text, numbers, and graphics done in the computer.

the CRT monitor contains a large cathode ray tube that uses an electron beam of varying strength to “paint” a picture onto the color phosphorescent dots on the inside of the screen. CRT monitors are heavy and use more electrical power than flat panel displays, but they are preferred by some graphic artists for their accurate color rendition, and preferred by some gamers for faster response to rapidly changing graphics.

Page 20: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

20

FLAT PANEL MONITOR

A flat panel display usually uses an LCD (Liquid Crystal Display) screen to display output from the computer. The LCD consists of several thin layers that polarize the light passing through them. The polarization of one layer, containing long thin molecules called liquid crystals, can be controlled electronically at each pixel, blocking varying amounts of the light to make a pixel lighter or darker. Other types of flat panel technology exist (such as plasma displays) but LCDs are most commonly used in computers, especially laptops.

Page 21: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

21

SPEAKERS and HEADPHONE or EARPHONES

Are output devices used by the computer to hear the sounds from your computer

Page 22: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

22

PRINTER

Kinds of Printer

Dot Matrix Printer Uses ribbon to print It prints the text and

graphics on the paper by hammering its ends of pins against a ribbon to form dots.

The hammering action of this printer is the reason why it is called an Impact Printer.

Page 23: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

23

Inkjet Printer Uses cartridge or liquid ink It sprays out the ink on the

paper to form the text and graphics

It gives better quality printout than a dot-matrix

The spray-out action of this printer is the reason why it is called a Bubble Printer

Page 24: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

24

Laser Jet Printer Uses toner cartridge or

powdered ink It has laser emitting diode

(LED) that melts the powdered ink to form refined figure on the paper

Laser printers gives the most quality print out among all printers

Page 25: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

25INPUT/OUTPUT

DEVICES

Are peripheral devices that do double function. It can be used as an input and as well as an output device.

Page 26: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

26

Headset

Has a microphone as input device to communicate or record voice. At the same time it has a headphone as output device to hear the sound.

Page 27: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

27

Touch Screen

Uses the screen as input device to enter the information and at the same time uses the same screen as output device to show the result of what has been entered.

Page 28: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

28 MEMORY

The memory of a microcomputer is where programs and data are stored when they are currently in active use. We will cover different kinds of memory your microcomputer contains:

RAM

ROM

CMOS

Page 29: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

29

RAM (Random Access Memory)

RAM is the main memory space of your computer. The term RAM means Random Access Memory, and it comes from the early days of computers when mainframes had two types of memory: Random access, in which any bit of memory could be addressed at any moment; and Sequential memory (such as data stored on tape) where bits could only be accessed in a certain order. All of the memory in your computer is random access, so don’t worry about sequential memory.

The RAM is the workspace of your computer. If your computer has more RAM, it can open more and larger programs and documents simultaneously. It’s like you having a large worktable to spread work papers out on instead of a tiny desk. The documents you are currently editing (and the programs your computer is using to let you do it) are stored in the RAM.

Page 30: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

30

ROM (Read-Only Memory

Microcomputers also have some ROM (Read Only Memory) on the motherboard. ROM does not need power to remember its contents, so this is where a computer stores the programs that are needed to start up (boot up) the computer system. (The instructions can’t be stored in RAM, since RAM loses its contents when the computer is off; and they can’t be kept on the hard disk, since just reading data from a hard disk requires programs.)

When the computer is first turned on, the program stored in the ROM is feed to the processor. This initial program checks to see that everything is in order and looks for storage devices on which it can locate a copy of the operating system; it then loads the first part of the OS into RAM, then hands control over to that program to finish the boot process.

Page 31: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

31

CMOS

The “CMOS memory” of a computer is a small amount of “semi-permanent” storage where changeable data can be stored that needs to remain available while the computer is turned off. A small battery on the motherboard keeps the CMOS ‘alive’ when power is off.

The CMOS memory (called PRAM, or “Parameter RAM” on the Macintosh) can store such information such as what hard drive or copy of the OS you want to boot from, what are your default monitor settings, etc. The BIOS picks up this information and uses it during boot up. The CMOS memory can also hold the time and date so that your computer remembers this even when power its has been off. If your computer can’t remember the proper time, or can’t remember system settings when it’s off, the small battery may need to be replaced.

Page 32: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

32 PROCESSORS

The microprocessor is the component of the personal computer that does the actual processing of data. A microprocessor is a central processing unit (CPU) that fits on one microchip. It is the “brain” of the computer, but that is a rather pretentious term since it it really just a very complex switching circuit that executes simple instructions very rapidly.

The microprocessor integrated circuit package holds a silicon chip that contains millions of transistors and other components fabricated into the silicon. Because the transistors on the chip are very tiny, even a small zap of high voltage current (such as from static electricity) can destroy a chip. This is why all large-scale integrated circuits must be handled in ways that minimize the possibility of static electric discharge.

Page 33: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

33 ACTIVITY 1.2

Group yourselves into 3 and choose one of the following to be discussed in the class. Give your own idea about the topic:

Output unit and input/output devices

Memory

Processor

Page 34: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

34 ASSIGNMENT 1.2

What are the components of the CPU?

Send your answer to my email add: [email protected] before the end of the day (Nov. 17, 2009)

The best assignment will be uploaded to our website. Use powerpoint for you assignment.

Tips: Include some pictures to make your assignment much informative.

Page 35: Chapter 1: Intro to Funds of Programming

04/10/2023FUNDAMENTALS OF PROGRAMMING BY RMG

35REFERENCES/

SOURCES

Computer Concepts by Ma. Minerva J. Gorres

www.webopedia.com

http://chortle.ccsu.edu

http://en.wikipedia.org

http://www.la.unm.edu