Define classes for CPU, Keyboard, Monitor, and Mouse. Define class for computer containing these objects. Define PC and Laptop from computer class. In main, create instance of these classes and demonstrate message passing?
Answers
Skip to main content
Lumen
Information Literacy
Computer Concepts 2
Computer Devices
Peripheral
A peripheral is a “device that is used to put information into or get information out of the computer.”[1]
There are three different types of peripherals:
Input, used to interact with, or send data to the computer (mouse, keyboards, etc.)
Output, which provides output to the user from the computer (monitors, printers, etc.)
Storage, which stores data processed by the computer (hard drives, flash drives, etc.)
How human beings’ cognition and senses interact with hardware and software. Our eyes, ears, and hands take in output from monitors, TVs, speakers, headphones, and gamepads. Our hands and voices provide input with keyboards, mice, gamepads, joysticks, and microphones. The software provides input and output for the hardware.
Human Machine Interface (HMI) peripherals.
Overview
A peripheral device is generally defined as any auxiliary device such as a computer mouse or keyboard, that connects to and works with the computer in some way. Other examples of peripherals are expansion cards, graphics cards, image scanners, tape drives, microphones, loudspeakers, webcams, and digital cameras. RAM—random access memory—straddles the line between peripheral and primary component; it is technically a storage peripheral, but is required for every major function of a modern computer and removing the RAM will effectively disable any modern machine. Many new devices such as digital watches, smartphones and tablet computers have interfaces which allow them to be used as a peripheral by a full computer, though they are not host-dependent as other peripheral devices are. According to the most technical definition, the only pieces of a computer notconsidered to be peripherals are the central processing unit, power supply, motherboard, and computer case.
Usually, the word peripheral is used to refer to a device external to the computer case, like a scanner, but the devices located inside the computer case are also technically peripherals. Devices that exist outside the computer case are called external peripherals, or auxiliary components, Examples are: “Many of the external peripherals I own, such as my scanner and printer, connect to the peripheral ports on the back of my computer.”[2] Devices that are inside the case such as internal hard drives or CD-ROM drives are also peripherals in technical terms and are called internal peripherals, but may not be recognized as peripherals by laypeople.
In a system on a chip, peripherals are incorporated into the same integrated circuit as the central processing unit. They are still referred to as “peripherals” despite being permanently attached to (and in some sense part of) their host processor.
Common Peripherals
Input
Keyboard
Computer mouse
Graphic tablet
Touchscreen
Barcode reader
Image scanner
Microphone
Webcam
Game controller
Light pen
Scanner
Digital camera
Output
Computer display
Printer
Projector
Speaker
Storage devices
Floppy disk drive
Flash drive
Disk drive
Smartphone or Tablet computer storage interface
CD/DVD drive
Input/Output
Modem
Network interface controller (NIC)
Input Devices
In computing, an input device is a peripheral (piece of computer hardware equipment) used to provide data and control signals to an information processing system such as a computer or other information appliance. Examples of input devices include keyboards, mice, scanners, digital cameras and joysticks.
Many input devices can be classified according to:
modality of input (e.g. mechanical motion, audio, visual, etc.)
the input is discrete (e.g. key presses) or continuous (e.g. a mouse’s position, though digitized into a discrete quantity, is fast enough to be considered continuous)
Pointing devices, which are input devices used to specify a position in space, can further be classified according to:
Whether the input is direct or indirect. With direct input, the input space coincides with the display space, i.e. pointing is done in the space where visual feedback or the pointer appears. Touchscreens and light pens involve direct input. Examples involving indirect input include the mouse and trackball.
Whether the positional information is absolute (e.g. on a touch screen) or relative (e.g. with a mouse that can be lifted and repositioned)
Direct input is almost necessarily absolute, but indirect input may be either absolute or relative. For example, digitizing graphics tablets that do not have an embedded screen involve indirect input and sense absolute positions and are often run in an absolute input mode, but they may also be set up to simulate a relative input mode like that of a touchpad, where the stylus or puck can be lifted and repositioned.
Input and output devices make up the hardware interface between a computer and a scanner or 6DOF controller.
If it will help you then plz mark as brainlist and follow me
Answer:
Cpu is the central processing unit. Monitor ia s output device.