CS UNIT 3

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Why is data storage larger than internal memory in a computer system?

Storage needs to be larger since the user stores large files such as music or photos.

Explain the purpose of memory cache in a computer system, and why SRAM is typically used for this purpose.

The memory cache stores data that the processor will likely need again soon. SRAM is faster than DRAM, so it's better for quick access to frequently used data.

Describe the key differences between how data is stored and accessed on a hard disk drive (HDD) versus a solid-state drive (SSD).

HDDs store data on magnetic spinning disks accessed by read-write heads, leading to latency issues. SSDs store data electronically with no moving parts, providing faster access.

Explain what is meant by 'fragmentation' in the context of hard disk drives (HDDs), and how it affects performance.

<p>Fragmentation is when data is stored in non-consecutive sectors, slowing down data access because the read-write heads have to move more to retrieve all the parts of the file.</p>
Signup and view all the answers

What is the purpose of dual layering in DVDs, and how does it increase the storage capacity compared to single-layer DVDs?

<p>Dual layering uses two recording layers in a DVD, effectively doubling the storage space.</p>
Signup and view all the answers

How do Blu-ray discs differ from DVDs in terms of laser technology and storage capacity?

<p>Blu-ray discs use a blue laser with a shorter wavelength (405nm) compared to DVDs (650nm), which allows for smaller pits and bumps, thus storing more data.</p>
Signup and view all the answers

Explain the role of a dongle in protecting complex software, and describe how it prevents unauthorized use or copying.

<p>A dongle is a memory stick that contains additional files needed to run the software. Without it, the software won't work properly, preventing illegal use.</p>
Signup and view all the answers

How does a laser printer create an image on paper using static electricity and toner?

<p>A laser beam scans a positively charged drum, removing the charge in specific areas. The drum is then coated with positively charged toner, which sticks to the negatively charged areas, creating an image that transfers to the paper.</p>
Signup and view all the answers

Describe the two main technologies used to produce ink droplets in inkjet printers, and briefly explain how each works.

<p>The two technologies are thermal bubble and piezoelectric. Thermal bubble uses heat to vaporize ink, creating a bubble that is ejected. Piezoelectric uses a vibrating crystal to force ink out.</p>
Signup and view all the answers

How does a 3D printer use additive manufacturing to create a solid object, and what materials are commonly used in this process?

<p>A 3D printer builds an object layer by layer using materials like powdered resin, metal, paper, or ceramic. This contrasts with subtractive manufacturing, which carves away material.</p>
Signup and view all the answers

Explain the process by which digitized sound stored in a computer file is converted into audible sound through speakers.

<p>Digital data is converted into an electric current by a DAC, amplified, then sent to a loudspeaker where it's converted into sound waves.</p>
Signup and view all the answers

Describe how a loudspeaker converts an electric signal into sound waves through the interaction of electromagnets and permanent magnets.

<p>An electric current through a coil wrapped around an iron core creates a temporary electromagnet. This interacts with a nearby permanent magnet, causing the core (and attached cone) to vibrate, producing sound.</p>
Signup and view all the answers

Explain how a microphone converts sound waves into an electrical current, and whether this current is analogue or digital in nature.

<p>A diaphragm vibrates when sound wave hit it, moving a coil in a magnetic field and inducing an electric current. That current is analogue in nature.</p>
Signup and view all the answers

Describe the basic structure and function of an OLED screen, emphasizing how it differs from LCD screens in terms of backlighting.

<p>OLED screens use organic films between two electrodes that emit light when an electric field is applied, eliminating the need for backlighting like in LCD screens.</p>
Signup and view all the answers

Distinguish between capacitive and resistive touch screen technologies, outlining the materials used and how each detects touch input.

<p>Capacitive screens use layers of glass that create electric fields. Touch changes the field, which is detected. Resistive screens use polyester over glass; touch completes a circuit.</p>
Signup and view all the answers

Describe how virtual reality headsets create a 3D effect, including the roles of lenses, displays, and head-tracking sensors.

<p>Two feeds sent to a display and lenses focus and reshape the video for each eye for a 3D effect. Sensors track head movement; the video on screen reacts to the movements.</p>
Signup and view all the answers

What is the purpose of an analogue-to-digital converter (ADC), and how does it enable computers to process real-world data from sensors?

<p>ADCs convert analogue data from sensors (like temperature or pressure) into digital data that a computer can understand and process.</p>
Signup and view all the answers

Explain the concept of 'positive feedback' in the context of control systems, and how it affects the interaction between sensors and actuators.

<p>Positive feedback affects the next input; Sensor readings may cause the microprocessor to alter a valve or motor changing the next sensor reading.</p>
Signup and view all the answers

Describe how anti-lock braking systems (ABS) use magnetic field sensors to prevent wheels from locking up during sudden braking.

<p>Magnetic field sensors monitor wheel rotation. If a wheel slows too quickly, the sensor will send data for that car wheel's brake pressure to be reduced.</p>
Signup and view all the answers

Differentiate between monitoring and control applications, providing an example of a system that performs each function using sensors.

<p>A monitoring system passively observes, e.g., checking temperature. A control system actively adjusts, e.g., traffic lights based on sensors.</p>
Signup and view all the answers

Explain the function of logic gates in electronic circuits, and give three examples of common logic gates.

<p>Logic gates take binary inputs and produce a binary output. Examples: AND, OR, NOT.</p>
Signup and view all the answers

What is a truth table, and how is it used to verify the output from a logic gate or logic circuit?

<p>A truth table lists all possible input combinations and the corresponding output, showing the circuit's behavior.</p>
Signup and view all the answers

State the output of an AND gate when one input is 1 and the other input is 0.

<p>The otuput is 0.</p>
Signup and view all the answers

State the output of an OR gate if input A is 1 and input B is 0.

<p>The output is 1.</p>
Signup and view all the answers

What is unique about a NOT gate compared to the other types of logic gates?

<p>It is the only logic gate with one input.</p>
Signup and view all the answers

How do you write the NOT expression using Boolean algebra?

<p>X = Ā</p>
Signup and view all the answers

If there are three inputs (A, B, C) to a complex logic circuit, how many possible binary combinations of inputs are there?

<p>There are eight possible binary combinations.</p>
Signup and view all the answers

Describe how you write out A AND B in Boolean algebra.

<p>You write it out X = A.B.</p>
Signup and view all the answers

Describe how you write out A OR B using Boolean algebra.

<p>You write it X = A + B.</p>
Signup and view all the answers

Write the Boolean algebra expression to describe this statement: The output X is 1 if either A is ON and B is OFF.

<p>A.B</p>
Signup and view all the answers

A safety system uses 3 inputs to a logic circuit: An alarm sounds when Input A=ON and Input B =Off. Convert that statement to Boolean algebra.

<p>A.B</p>
Signup and view all the answers

What is the purpose of the 4-input AND gate in logic circuits?

<p>It simplifies the overall result.</p>
Signup and view all the answers

If the inputs into a 4 input OR gate are 1,0,0,1, what is the output?

<p>The output is 1.</p>
Signup and view all the answers

Describe three differences between RAM and ROM.

<p>RAM is temporary, volatile (loses contents when there is no power) and can have data written to and read from them. ROM is permanent read-only. RAM can be increased in size to improve speed.</p>
Signup and view all the answers

Compare the relative advantages and disadvantages of SRAM and DRAM.

<p>Main memory is made from DRAM. SRAM is faster, but DRAM is less expensive to manufacture and is higher capacity. DRAM consumes slightly more power.</p>
Signup and view all the answers

Describe two features of magnetic storage which differentiates it from the other two types.

<p>It stores data in a digital format on the magnetic surfaces of disks. Data access time is relatively slow but the storage capacity is often very large.</p>
Signup and view all the answers

Give three examples of sensors

<p>They are: Temperature, pressure and motion</p>
Signup and view all the answers

What does a microprocesor do when the new data in the acceptable range in the monitoring or control systems?

<p>If data is in an acceptable range, the microprocessor simply <code>watches</code> the system. In other words, it does nothing.</p>
Signup and view all the answers

Explain how a virtual headset tracks the user's head movements to make the video the right orientation?

<p>As the user moves their head up and down or left to right, a series of sensors and/or LEDs measure this movement, which allows the image/video on the screen to react to the user's head movements.</p>
Signup and view all the answers

Flashcards

Memory

Internal devices that the computer can access directly; user's workspace, temporary data, or key data.

Storage Devices

Devices where users store applications, data and files permanently, bigger than internal memory.

Memory cache

A high-speed memory external to the processor used to store data needed again.

Random access memory (RAM)

Primary memory unit that allows both writing to and reading from.

Signup and view all the flashcards

Read-only memory (ROM)

Primary memory unit that can only be read from

Signup and view all the flashcards

Dynamic RAM (DRAM)

Type of RAM chip needing constant refreshing.

Signup and view all the flashcards

Static RAM (SRAM)

Type of RAM chip using flip-flops, not needing refreshing but consuming more power.

Signup and view all the flashcards

Refreshed

Requirement to charge a component to retain its electronic state.

Signup and view all the flashcards

Programmable ROM (PROM)

Type of ROM chip that can be programmed once.

Signup and view all the flashcards

Erasable PROM (EPROM)

Type of ROM that can be programmed more than once using ultraviolet (UV) light.

Signup and view all the flashcards

Hard disk drive (HDD)

Type of magnetic storage using spinning disks.

Signup and view all the flashcards

Latency

The lag in a system (e.g., time to find a track on a hard disk).

Signup and view all the flashcards

Fragmented

Storage of data in non-consecutive sectors due to editing and deletion of old data.

Signup and view all the flashcards

Removable hard disk drive

Portable HDD external to the computer, used for backing up files.

Signup and view all the flashcards

Solid state drive (SSD)

Storage media with no moving parts, relying on electron movement.

Signup and view all the flashcards

Electronically erasable programmable read-only memory (EEPROM)

ROM chip that can be modified by user, erased and written to using pulsed voltages.

Signup and view all the flashcards

Flash memory

A type of EEPROM suited for memory cards and sticks.

Signup and view all the flashcards

Optical storage

Optical CDs, DVDs or Blu-ray Discs using laser light to read and write.

Signup and view all the flashcards

Dual layering

Used in DVDs, uses two recording layers.

Signup and view all the flashcards

Birefringence

Reading problem with DVDs caused by refraction of laser light into two beams.

Signup and view all the flashcards

Binder 3D printing

3D printing method uses two passes: dry powder followed by a binding agent.

Signup and view all the flashcards

Direct 3D printing

3D printing builds layers of melted material using inkjet-like nozzles.

Signup and view all the flashcards

Digital to analogue converter (DAC)

Device needed to convert digital data into electric currents to drive motors.

Signup and view all the flashcards

Analogue to digital converter (ADC)

Device needed to convert analogue data into a form understood by a computer.

Signup and view all the flashcards

Organic LED (OLED)

Uses movement of electrons between cathode and anode to produce on-screen image with self-illumination.

Signup and view all the flashcards

Screen resolution

Number of pixels in horizontal and vertical directions on a screen.

Signup and view all the flashcards

Touch screen

Screen allowing selection via touch, often using capacitive or resistive tech.

Signup and view all the flashcards

Capacitive touch screen

Based on glass layers forming capacitors; touching the screen changes the electric field.

Signup and view all the flashcards

Resistive touch screen

When a finger touches, plastic and glass layers connect and causes electric current.

Signup and view all the flashcards

Virtual reality headset

Apparatus worn on the head that covers the eyes; gives user the feeling of being there.

Signup and view all the flashcards

Sensor

Input device that reads physical data from its surroundings.

Signup and view all the flashcards

NOT gate

A type of logic gate that inverts the input. If the input is TRUE the output is FALSE.

Signup and view all the flashcards

AND gate

A logic gate where the output is only TRUE when both inputs are TRUE.

Signup and view all the flashcards

OR gate

A logic gate where if either input is TRUE the output is TRUE.

Signup and view all the flashcards

NAND gate

A logic gate that is equivalent to an AND gate followed by a NOT gate, meaning if both inputs are TRUE, the output is FALSE .

Signup and view all the flashcards

NOR gate

A logic gate that is equivalent to an OR gate followed by a NOT gate, meaning if both inputs are FALSE, the output is TRUE.

Signup and view all the flashcards

XOR gate

A logic gate where the output is only TRUE when the inputs are different.

Signup and view all the flashcards

Logic gates

Electronic circuits which rely on 'on/off' logic.

Signup and view all the flashcards

Logic circuit

Formed from a combination of logic gates and designed to do a thing.

Signup and view all the flashcards

Truth table

A method of checking the output from a logic circuit using binary combinations.

Signup and view all the flashcards

Study Notes

  • This note discusses computer hardware, including memory, storage, and input/output devices

Hardware

  • Primary storage/memory devices will be discussed
  • Secondary storage, including removable devices, will be discussed
  • Will discuss the benefits and drawbacks of embedded systems
  • Hardware devices used for input, output, and storage will be covered
  • Differences between RAM, ROM, SRAM, DRAM, PROM, and EPROM will be clarified
  • The use of RAM, ROM, SRAM, and DRAM in various devices will be explained
  • Monitoring and control systems will be touched on
  • Logic gates (NOT, AND, OR, NAND, NOR, and XOR) will be explained
  • The construction and use of truth tables will be presented
  • Construction of logic circuits, truth tables, and logic expressions will be shown

Key Terms

  • Memory cache: High-speed memory external to the processor for frequently needed data
  • Random Access Memory (RAM): Primary memory that can be read from and written to
  • Read Only Memory (ROM): Primary memory that can only be read from, not written to
  • Dynamic RAM (DRAM): A type of RAM that needs constant refreshing
  • Static RAM (SRAM): A type of RAM that doesn’t need refreshing, using flip-flops
  • Refreshed: Requirement to recharge a component to retain its electronic state
  • Programmable ROM (PROM): ROM that can be programmed once
  • Erasable PROM (EPROM): ROM that can be reprogrammed using UV light
  • Hard Disk Drive (HDD): Magnetic storage device using spinning disks
  • Latency: Delay in system, like time to find track on hard disk
  • Fragmented: Storing data in non-contiguous sectors
  • Removable Hard Disk Drive: External HDD connected via USB
  • Solid State Drive (SSD): Storage using electron movement, no moving parts
  • Electronically Erasable PROM (EEPROM): ROM that can be modified by pulsed voltages and repeatedly erased/written
  • Flash Memory: EEPROM type used in SSDs, memory cards etc.
  • Optical Storage: CDs, DVDs, Blu-ray using laser light.
  • Dual Layering: Used in DVDs with two recording layers.
  • Birefringence: Reading problem in DVDs from refraction of laser light.
  • Binder 3D Printing: Printing with dry powder and a binding agent.
  • Direct 3D Printing: Printing by moving the print head in x, y, z directions.
  • Digital to Analogue Converter (DAC): Converts digital data to analogue signals for devices like motors.
  • Analogue to Digital Converter (ADC): Converts analogue data to digital for computer processing.
  • Organic LED (OLED): Uses electron movement between cathode and anode, generating its own light without backlighting.
  • Screen Resolution: Number of pixels horizontally and vertically on a screen.
  • Touch Screen: Screen allowing selection by touch, using capacitive or resistive technology.
  • Capacitive Touch Screen: Using glass layers forming a capacitor; touch changes the electric field.
  • Resistive Touch Screen: Plastic layer touches glass layer on touch, completing a circuit and causing current flow.
  • Virtual Reality Headset: Headset providing immersive virtual experience.
  • Sensor: Input device reading physical data from surroundings.

Types of Memory and Storage

  • Computers need memory and storage
  • Memory: Internal devices that the computer can directly access, a workspace for temporary data or critical data for running the computer
  • Storage Devices: Allow users to store applications, data and files and is persistent
  • Storage is usually larger than memory
  • Removable Storage: Allows for portable file storage between computers
  • Internal memory includes registers (part of the processor)
  • The memory cache is outside the processor, storing data that the processor will likely need again

Primary Memory

  • Primary Memory: Memory that the CPU can directly access
  • Contains RAM and ROM chips
  • Allows processor to access applications and services temporarily
  • Structure of primary memory includes SRAM, DRAM, ROM, PROM, EPROM, and EEPROM

RAM

  • RAM provides fast data access compared to secondary storage
  • RAM can be written to and read from
  • RAM can store data, files, applications, or the operating system currently in use
  • RAM is volatile, losing its contents when power is off
  • Larger RAM generally improves computer speed
  • If RAM is full, the processor accesses secondary storage, slowing down the computer

DRAM vs SRAM

  • DRAM is made of transistors and capacitors
  • DRAM needs constant refreshing to retain data as capacitors lose charge rapidly
  • DRAM is less expensive to manufacture than SRAM
  • DRAM consumes less power than SRAM
  • DRAM has higher memory capacity than SRAM
  • SRAM uses flip-flops to hold each bit of memory
  • SRAM doesn’t need constant refreshing
  • SRAM is faster than DRAM in data access
  • DRAM is typical RAM for computers, while SRAM is useful in memory caches when speed is essential

ROM

  • ROM shares random access properties with RAM
  • ROM cannot be written to or changed
  • ROM is non-volatile, retaining data without power
  • ROM stores data needed when powering up

PROM and EPROM

  • PROM is programmable ROM that can be altered once via a PROM writer that uses electrical current to burn fuses in a matrix
  • PROM can only be written to once
  • PROM are often used in mobile phones and RFID tags
  • EPROM uses floating gate transistors and capacitors, and can be reprogrammed with ultraviolet light through a quartz window
  • EPROM is used in applications under development, like the programming of new games consoles

Embedded Systems

  • Embedded systems involve installing microprocessors into devices to enable operations to be controlled more efficiently
  • Devices can be activated by web-enabled devices
  • Central heating systems' on/off times and temperature can be set by mobile phone apps
  • Embedded systems can be small and easy to fit into devices
  • Embedded systems relatively low cost to make
  • Embedded systems usually dedicated to one task, make for simple interfaces, and often no operating system needed
  • Embedded systems consume little power and have fast reaction to changing input and mass production leads to reliability
  • Embedded systems are difficult to upgrade for new technology, troubleshooting faults requires specialists, and they can be confusing to use
  • Troubleshooting requires specialists and they can be open to hackers and viruses and are often just thrown away rather than being repaired

Secondary Storage

  • Secondary storage consists of devices not directly accessible by the CPU
  • Secondary storage is non-volatile, retaining data as long as required
  • Secondary storage has a larger capacity compared to primary memory
  • Secondary storage has a slower data access time than RAM and ROM
  • Applications, operating systems, device drivers, and general files are stored on secondary storage
  • Magnetic, solid state, and optical are types of secondary storage

Hard Disk Drives

  • HDDs store data digitally on magnetic disk surfaces
  • HDDs contain platters that spin at high speeds with read-write heads to access the surfaces
  • Data is stored in sectors and tracks on the magnetic surfaces
  • HDDs have slow data access when compared to RAM
  • HDD applications require the read-write heads to constantly seek the correct data blocks
  • HDD latency is the time it takes of a block of data on the track to rotate to the read-write head
  • HDD head movements cause latency
  • HDDs undergo deletions and editing leading to data fragmentation, slowing data access
  • Direct access device; however, data sequentially within a sector

Removable Hard Disk Drives

  • Removable HDDs : External HDDs connected to the computer using USB ports
  • Removable HDDs are a backup and a way of transferring files between computers

Solid State Drives

  • SSDs reduce latency
  • SSDs retrieve data faster than HDDs
  • SSDs have no moving parts
  • They control the movement of electrons within NAND chips
  • Memory are non-volatile and rewritable
  • Some SSDs use EEPROM (NOR chips)
  • Most SSD storage devices use NAND technology (flash memory)
  • EEPROM is more expensive, faster, allows data to be read byte at a time
  • NAND only allows blocks to be read/erased
  • Flash memory main benefits are reliability, lighter, lower power consumption, less heat, very thin, and faster access speeds
  • The main drawback of SSD is longevity
  • Conservatively rated at only 20 GB write operations per day over a three year period
  • Flash memory devices cannot overwrite existing data; it must be erased first before writing new data

Memory Sticks/Flash Memories

  • Also known as pen drives
  • Connect to the computer through the USB port
  • Has the advantage of being small and lightweight, making them suitable for transferring files between computers
  • Can also be used as small back-up devices for music or photo files, for example
  • Complex or expensive software, such as an expert system, will often use a memory stick as a dongle to prevent illegal or unauthorized use of the software or copying the software

Optical Media

  • CDs and DVDs are optical storage devices that uses laser light to read data from, and write data onto, the surface of a disk
  • Uses a thin layer of metal alloy or light-sensitive organic dye
  • CD/DVD uses a single, spiral track which runs from the centre of the disk to the edge
  • CD/DVDs is divided into sectors allowing direct access of data
  • Standard single layer DVDs have more storage because the 'pit' size and track width are smaller and DVDs use lasers with a wavelength of 650 nanometers

Blu-Ray

  • Using blue laser light means that the 'pits' and 'bumps' can be much smaller, consequently, a Blu-ray can store up to five times more data than a DVD
  • Blu-ray uses a single 1.1 mm thick polycarbonate disk while DVDs use a sandwich of two 0.6 mm thick disks
  • Blu-ray has secure encryption system to help to prevent piracy and copyright infringement
  • Optical storage media is used as back-up systems to transfer files between computers or manufacturers supply software

Laser Printers

  • Use dry powder ink rather than liquid ink
  • Static electricity aids in the creation of a laser printer page
  • Laser printers print the whole page simultaneously
  • Colour laser printers utilizes blue, cyan, magenta, and black
  • The general steps in the operation are; Data received, printer driver, check if printer is available, data is sent to printer and stored, drum becomes positively charged, drum is coated in toner, negatively charged paper is rolled on drum and toner sticks, paper is transported to fuser and charge is removed before the next page

Inkjet Printers

  • Made up of print head, ink cartridge, stepper motor and paper feed
  • The print head contains rows of nozzles that spray droplets of ink onto the paper to form characters
  • The droplets are produced using of thermal bubble or piezoelectric process
  • Thermal bubble - tiny resistors create heat makes the ink vaporize and ink ejection from the head occurs

Speakers

  • speakers convert a digitised sound file stored on machine into sounds; The process involves DAC -> Amplifier -> Speaker
  • The rate at which the DAC can translate the digital output into analogue voltages is known as the sampling rate

Microphones

  • Microphones are used to convert sounds waves into an electrical signal
  • Microphones are either internal or use USB or wireless connectivity
  • when sound is created the air vibrates and vibrates the microphone diaphragm
  • coil around the diaphragm induces electrical current

Screens

  • Screens use either LCD, LEDs, or newer OLED tech
  • OLEDs allows for very thin screens, not needing back lighting and use pixel technology to form an image
  • Touch screens use either capacitive or resistive tech
  • Capacitive touchscreens are medium cost and durable but only works with bare fingers and resistives are cheaper, doesn't work well in sunlight or permit multi-touch

Virtual headset

  • Virtual headsets give the wearer the experience of a virtual environment using a video display, lenses, headphones and motion tracking using sensors

Sensors

  • Sensors read/measure physical properties such as temperature, pressure, acidity, etc.
  • ADC are used to convert this anlogue data to digital data to be processed by computer
  • DAC convert digital data to analogue to control external devices
  • Sensors are used for both monitoring and control activities of external computer controlled tools

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Computer Hardware: Random Access Memory (RAM)
30 questions
Computer Hardware: Data Storage and Memory Hierarchy
42 questions
Computer Hardware and Memory Basics
45 questions
Computer Hardware: CPU, Memory and Storage
10 questions
Use Quizgecko on...
Browser
Browser