Podcast
Questions and Answers
Why did programmers adopt the binary number system for computers?
Why did programmers adopt the binary number system for computers?
- Because it perfectly aligns with the on/off states of computer switches. (correct)
- Because it is easier for humans to understand than other number systems.
- Because it allows for more complex calculations than the decimal system.
- Because it requires less energy to process than other number systems.
What is the decimal (denary) equivalent of the binary number 101010
?
What is the decimal (denary) equivalent of the binary number 101010
?
- 10
- 84
- 21
- 42 (correct)
What is the purpose of using two's complement representation for binary numbers?
What is the purpose of using two's complement representation for binary numbers?
- To increase the storage capacity of computer memory.
- To represent fractional values in binary.
- To simplify the process of binary multiplication.
- To easily represent and perform arithmetic operations with negative numbers. (correct)
Using an 8-bit two's complement representation, what is the decimal value of the binary number 11111110
?
Using an 8-bit two's complement representation, what is the decimal value of the binary number 11111110
?
What is the one’s complement of the binary number 10110011
?
What is the one’s complement of the binary number 10110011
?
Which of the following memory units is the largest?
Which of the following memory units is the largest?
What is the key difference between the decimal-based memory system (kilobyte, megabyte, etc.) and the binary-based system (kibibyte, mebibyte, etc.) created by the IEC?
What is the key difference between the decimal-based memory system (kilobyte, megabyte, etc.) and the binary-based system (kibibyte, mebibyte, etc.) created by the IEC?
Convert the denary number 53 to binary.
Convert the denary number 53 to binary.
Which of the following is a potential drawback of implementing a large network?
Which of the following is a potential drawback of implementing a large network?
Which of the following is primarily the responsibility of the organization that owns a private network?
Which of the following is primarily the responsibility of the organization that owns a private network?
What distinguishes a Wireless Local Area Network (WLAN) from a traditional LAN?
What distinguishes a Wireless Local Area Network (WLAN) from a traditional LAN?
Which of these scenarios exemplifies a Wide Area Network (WAN)?
Which of these scenarios exemplifies a Wide Area Network (WAN)?
In a client-server networking model, what role does the server primarily fulfill?
In a client-server networking model, what role does the server primarily fulfill?
Which network component is responsible for directing data traffic between different networks, often connecting a LAN to the internet?
Which network component is responsible for directing data traffic between different networks, often connecting a LAN to the internet?
What is a primary difference between a public and a private network regarding accessibility?
What is a primary difference between a public and a private network regarding accessibility?
What is the function of a Wireless Access Point (WAP) in a WLAN?
What is the function of a Wireless Access Point (WAP) in a WLAN?
Which of the following is a typical size range for a Metropolitan Area Network (MAN)?
Which of the following is a typical size range for a Metropolitan Area Network (MAN)?
What consideration should be made when deciding whether to use public communication networks versus dedicated lines for a WAN?
What consideration should be made when deciding whether to use public communication networks versus dedicated lines for a WAN?
Which memory designation is equivalent to $2^{40}$ bytes, representing a common measure for storage capacity?
Which memory designation is equivalent to $2^{40}$ bytes, representing a common measure for storage capacity?
Within the hexadecimal system, what denary (base-10) value does the digit 'D' represent?
Within the hexadecimal system, what denary (base-10) value does the digit 'D' represent?
If a system uses 5 hexadecimal digits to represent a number, what is the maximum denary value that can be represented?
If a system uses 5 hexadecimal digits to represent a number, what is the maximum denary value that can be represented?
What is the primary advantage of using the Binary-Coded Decimal (BCD) system for representing denary numbers?
What is the primary advantage of using the Binary-Coded Decimal (BCD) system for representing denary numbers?
Why was the ASCII code system developed, and what is its primary function in computing?
Why was the ASCII code system developed, and what is its primary function in computing?
If an image has a colour depth of 8 bits per pixel, what is the maximum number of different colours that can be represented?
If an image has a colour depth of 8 bits per pixel, what is the maximum number of different colours that can be represented?
What is the key difference between 'bit depth' and 'colour depth' in digital imaging?
What is the key difference between 'bit depth' and 'colour depth' in digital imaging?
What is the main drawback of using high-resolution bit-map images?
What is the main drawback of using high-resolution bit-map images?
An uncompressed bit-map image is 1000 pixels wide and 500 pixels high, with a colour depth of 24 bits. Approximately, what is the file size of this image in megabytes?
An uncompressed bit-map image is 1000 pixels wide and 500 pixels high, with a colour depth of 24 bits. Approximately, what is the file size of this image in megabytes?
In what scenario are vector graphics generally more suitable than bit-map images?
In what scenario are vector graphics generally more suitable than bit-map images?
What is the primary reason vector graphics typically result in smaller file sizes compared to bit-map images?
What is the primary reason vector graphics typically result in smaller file sizes compared to bit-map images?
Which file format is generally used for vector graphics?
Which file format is generally used for vector graphics?
In digital audio, what does the 'sampling rate' refer to?
In digital audio, what does the 'sampling rate' refer to?
When converting analogue sound to digital, why are approximate values stored instead of precise amplitude measurements?
When converting analogue sound to digital, why are approximate values stored instead of precise amplitude measurements?
What part of a sound wave is most closely related to the 'loudness' of the sound.
What part of a sound wave is most closely related to the 'loudness' of the sound.
Which of the following statements accurately describes the relationship between sampling resolution and file size in audio files?
Which of the following statements accurately describes the relationship between sampling resolution and file size in audio files?
What is the defining characteristic of lossless file compression?
What is the defining characteristic of lossless file compression?
How does lossy file compression reduce file size?
How does lossy file compression reduce file size?
Which of the following is NOT a characteristic of the MP3 audio format?
Which of the following is NOT a characteristic of the MP3 audio format?
What is a key advantage of the MPEG-4 (MP4) file format compared to MPEG-3 (MP3)?
What is a key advantage of the MPEG-4 (MP4) file format compared to MPEG-3 (MP3)?
What happens to the original file after JPEG compression is applied to a photographic image?
What happens to the original file after JPEG compression is applied to a photographic image?
What type of data does Run-Length Encoding (RLE) compress?
What type of data does Run-Length Encoding (RLE) compress?
What was the primary purpose of ARPAnet in the early 1970s?
What was the primary purpose of ARPAnet in the early 1970s?
What is a key distinction between a Local Area Network (LAN) and a Wide Area Network (WAN)?
What is a key distinction between a Local Area Network (LAN) and a Wide Area Network (WAN)?
How does the internet differ from a traditional Wide Area Network (WAN)?
How does the internet differ from a traditional Wide Area Network (WAN)?
What is the typical geographical scope of a Metropolitan Area Network (MAN)?
What is the typical geographical scope of a Metropolitan Area Network (MAN)?
Which of the following is NOT a typical benefit of networking?
Which of the following is NOT a typical benefit of networking?
In a networked environment, what capabilities does a network manager typically have?
In a networked environment, what capabilities does a network manager typically have?
What is the relationship between frame rate and video quality?
What is the relationship between frame rate and video quality?
Which of these would be considered a use of lossy compression?
Which of these would be considered a use of lossy compression?
Flashcards
Binary Number System
Binary Number System
Base-2 number system using only 0s and 1s.
Bit
Bit
A single digit in the binary system (0 or 1).
Binary to Denary Conversion
Binary to Denary Conversion
Converting a binary number into its equivalent base-10 value.
One's Complement
One's Complement
Signup and view all the flashcards
Two's Complement
Two's Complement
Signup and view all the flashcards
Kilobyte (KB)
Kilobyte (KB)
Signup and view all the flashcards
Megabyte (MB)
Megabyte (MB)
Signup and view all the flashcards
Gigabyte (GB)
Gigabyte (GB)
Signup and view all the flashcards
Networking Drawbacks
Networking Drawbacks
Signup and view all the flashcards
Network infrastructure
Network infrastructure
Signup and view all the flashcards
Private Network
Private Network
Signup and view all the flashcards
Public Network
Public Network
Signup and view all the flashcards
Local Area Network (LAN)
Local Area Network (LAN)
Signup and view all the flashcards
Wireless LAN (WLAN)
Wireless LAN (WLAN)
Signup and view all the flashcards
Wide Area Network (WAN)
Wide Area Network (WAN)
Signup and view all the flashcards
Wireless Access Point (WAP)
Wireless Access Point (WAP)
Signup and view all the flashcards
Client-Server Model
Client-Server Model
Signup and view all the flashcards
Dedicated Server
Dedicated Server
Signup and view all the flashcards
Kibibyte (KiB)
Kibibyte (KiB)
Signup and view all the flashcards
Mebibyte (MiB)
Mebibyte (MiB)
Signup and view all the flashcards
Gibibyte (GiB)
Gibibyte (GiB)
Signup and view all the flashcards
Tebibyte (TiB)
Tebibyte (TiB)
Signup and view all the flashcards
Pebibyte (PiB)
Pebibyte (PiB)
Signup and view all the flashcards
Hexadecimal
Hexadecimal
Signup and view all the flashcards
Hexadecimal to Binary Relation
Hexadecimal to Binary Relation
Signup and view all the flashcards
Binary-Coded Decimal (BCD)
Binary-Coded Decimal (BCD)
Signup and view all the flashcards
ASCII
ASCII
Signup and view all the flashcards
Bit-map Images
Bit-map Images
Signup and view all the flashcards
Color Depth
Color Depth
Signup and view all the flashcards
Vector Graphics
Vector Graphics
Signup and view all the flashcards
Vector vs Bitmap
Vector vs Bitmap
Signup and view all the flashcards
Sampling Rate
Sampling Rate
Signup and view all the flashcards
Sampling Resolution
Sampling Resolution
Signup and view all the flashcards
Frame Rate
Frame Rate
Signup and view all the flashcards
Lossless File Compression
Lossless File Compression
Signup and view all the flashcards
Lossy File Compression
Lossy File Compression
Signup and view all the flashcards
MP3 (MPEG-3)
MP3 (MPEG-3)
Signup and view all the flashcards
MP4 (MPEG-4)
MP4 (MPEG-4)
Signup and view all the flashcards
JPEG
JPEG
Signup and view all the flashcards
Run-Length Encoding (RLE)
Run-Length Encoding (RLE)
Signup and view all the flashcards
ARPAnet
ARPAnet
Signup and view all the flashcards
Metropolitan Area Network (MAN)
Metropolitan Area Network (MAN)
Signup and view all the flashcards
Benefit of Networking: Shared Resources
Benefit of Networking: Shared Resources
Signup and view all the flashcards
Benefit of Networking: Cheaper Software Licenses
Benefit of Networking: Cheaper Software Licenses
Signup and view all the flashcards
Benefit of Networking: Easy File Sharing
Benefit of Networking: Easy File Sharing
Signup and view all the flashcards
Benefit of Networking: Centralized Backup
Benefit of Networking: Centralized Backup
Signup and view all the flashcards
Study Notes
Data Representation
Number Systems
- Humans use base 10 (denary) number system with digits 0-9.
- Programmers use base 2 (binary) number system with values 0 and 1 because computers use switches with on/off positions.
- Binary is the building block of all computer systems.
- Each binary digit is called a bit.
Binary Number System
- Binary uses 1s and 0s with corresponding weights: 128, 64, 32, 16, 8, 4, 2, 1, equivalent to powers of 2 from 2^7 to 2^0.
- To convert binary to denary, add the column values where a 1 appears.
Binary Addition and Subtraction
- One's complement involves inverting each digit in a binary number (1s become 0s and vice versa).
- Two's complement involves inverting each digit and adding 1 to the rightmost bit.
- Two's complement simplifies binary addition and subtraction.
- When using negative numbers with an 8-bit representation, the weightings are -128, 64, 32, 16, 8, 4, 2, 1, with anything above 127 being a negative number, easily created through the two's complement.
Computer Memory
- Memory is measured in bytes.
- Kilobyte (KB) is 1,000 bytes.
- Megabyte (MB) is 1,000,000 bytes.
- Gigabyte (GB) is 1,000,000,000 bytes.
- Terabyte (TB) is 1,000,000,000,000 bytes.
- Petabyte (PB) is 1,000,000,000,000,000 bytes.
- This system is based on powers of 10 which some devices use due to simplicity.
- Actual memory is measured by powers of 2.
- Kibibyte (KiB) is 2^10 bytes (1,024).
- Mebibyte (MiB) is 2^20 bytes (1,048,576).
- Gibibyte (GiB) is 2^30 bytes (1,073,741,824).
- Tebibyte (TiB) is 2^40 bytes (1,099,511,627,776).
- Pebibyte (PiB) is 2^50 bytes (1,125,899,906,842,624).
- The IEC created this system based on the binary system.
- The base 2 system is more accurate and ideal for usage with internal memories.
Hexadecimal Number System
- Hexadecimal (hex) is base 16.
- Weightings are 1048576 (16^5), 65536 (16^4), 4096 (16^3), 256 (16^2), 16 (16^1), 1 (16^0).
- Uses digits 0-9 and letters A-F (A=10, B=11, C=12, D=13, E=14, F=15).
- Each hexadecimal digit represents 4 binary digits (16 = 2^4).
Binary-Coded Decimal (BCD) System
- Uses a 4-bit code to represent each denary digit.
- 0000 = 0, 0001 = 1, 0010 = 2, 0011 = 3, 0100 = 4, 0101 = 5, 0110 = 6, 0111 = 7, 1000 = 8, 1001 = 9.
- 4-bit codes can be stored as a half-byte or two 4-bit codes can form one byte.
ASCII Codes and Unicode
- ASCII (American Standard Code for Information Interchange) was established in 1963 and updated in 1986 and is for use in communication and computer systems.
- Standard ASCII consists of 7-bit codes (0-127 denary or 0-7F hexadecimal).
- Represents letters, numbers, and standard keyboard characters, plus 32 control codes.
Multimedia
Bit-Map Images
- Bit-map images consist of pixels in a 2D matrix.
- At least 8 bits (1 byte) per pixel are needed for a colored image (256 possible colors).
- True color requires 3 bytes per pixel (24 bits), resulting in over a million colors.
- The number of bits used to represent a pixel is called the color depth.
- Bit depth determines the color depth of a pixel; increasing bit depth increases the number of possible colors.
- Scaling images impacts density of pixels.
- Increasing image resolution increases the sharpness of an image
- Higher resolution images result in larger file sizes.
- File size = (width * height * bit depth) in bits, divide by 8 for bytes.
Vector Graphics
- Vector graphics use 2D points to describe lines, curves, and geometric shapes.
- Vector graphics are ideal for logos.
Comparison Between Vector Graphics and Bit-Map Images
- Vector graphics are made of geometric shapes while bit-map images are made of pixels with different colors..
- Modification of vectors require changing the properties of the geometric shapes while bit-maps are altered by modifying pixels to alter the image
- Vector graphics do not require large file sizes while Bit-map images are generally very large
- Vector graphics lack realism due to limited shapes while bit-map images are very realistic due to number of pixels.
- Vector graphic file formats usually are extension .svg,.cgm,.odg while bit-map file formats are usually .jpeg,.bmp,.png.. Images that need to be resized should ideally be done through vectors while realistic imaging should be completed by bit-maps.
Sound Files
- Sound requires a medium to travel through oscillations in particles.
- Human ears detect these changes in air pressure as sound.
- Sound waves are converted from analogue to digital using an ADC (analogue to digital converter.
- The computer filters out quiet noises of frequencies outside hearing range.
- Sound waves are sampled at a given time rate.
- Approximate amplitude values are stored.
- Sampling resolution is the number of bits stored per sound sample.
- Sampling rate is the number of sound samples taken per second.
- The higher the rate or sampling resolution, the higher the quality of sound.
Video
- Videos are made of individual picture frames.
- More frames per second mean better video quality.
- Frame rate refers to the number of frames recorded per second.
File Compression
Lossless File Compression
- Allows the original file to be fully recovered without any data loss.
- Important for files where data loss is unacceptable.
- The original data is not degraded.
Lossy File Compression
- Uses an algorithm to remove unnecessary data.
- Results in some loss of detail.
- Original file is usually impossible to reconstruct.
File Compression Applications
MPEG-3 (MP3)
- Uses audio compression to reduce file sizes by roughly 90%.
- Uses perceptual music shaping to remove frequencies outside human range and softer sounds masked by louder ones.
- Employs a lossy format.
- Quality depends on the bit rate (bits per second used when creating the file).
MPEG-4 (MP4)
- Stores multimedia files (music, videos, photos, animations).
- Can be streamed over the internet without significant quality loss.
Photographic (Bit-Map) Images
- Compression reduces both file size and image quality.
- JPEG uses lossy file compression, reducing raw bit-map image size by a factor of 5 to 15.
Vector Graphics
- Scalable Vector Graphics (.svg) are XML text files, allowing them to be compressed.
RLE (Run-Length Encoding)
- Can compress many file formats.
- It is a lossless compression that reduces the size of strings of identical data.
General Methods of Compressing Files
- There are general methods of compression that are not specialized
Networking
Networking Devices
- ARPAnet (Advanced Research Projects Agency Network) was an early packet-switching WAN (1970s).
- Expanded from the Department of Defense to universities, leading to the internet.
- LANs (Local Area Networks) began appearing as personal devices became more common.
- LANs confined to one building or small area while WANs usually consist of multiple LANs
- MANs (Metropolitan Area Networks) are more common than WANs and include multiple LAN's usually restricted to the size of a city
- WANs can be used by international corporations connecting MANs or LANs across the world
Benefits of Networking
- Sharing of devices (e.g., printers) reduces costs.
- Software licenses are cheaper for networks than stand-alone computers.
- Users can share files and data.
- Access to reliable data from a central source.
- Centralized data and file backups.
- User communication via email and instant messaging.
- Network managers can oversee the network, apply access rights, and restrict network access.
Drawbacks of Networking
- Cabling and servers are expensive initial outlay.
- Managing large networks is complex.
- File server breakdowns affect the whole network.
- Malware can affect entire networks.
- Networks can be characterized as Private or Public
Networked Computers
- LAN cards
- Routers
- Switches
- Wireless Routers
- Cabling
- Software
- Operation and Management of the Network
- Operation of firewalls
- Security Applications Utilities
- Services
- DSL
- Satellite Communication Channels
- Wireless Protocols
- IP Addressing
Private Networks
- Private networks are owned by organizations and usually LANs that have restricted access, the organization is responsible for buying.
Public Networks
- Public networks are publicly owned and let others use them.
WANs and LANs
- LANs are in one building or area.
- LANs consist of computers and devices connected to hubs or switches.
- One hub or switch connects to a router and/or modem.
Wireless LAN
- Wireless LAN's dont use wired connections and connect through infared or wireless methods.
- Devices use WAPs (wireless access points) to access networks from further away.
- WAPs transmit data between the WLAN and wired network structure.
- Users access WLANs through wireless LAN adapters.
Wide Area Networks (WANs)
- WANs connect computers or networks over long distances.
- Multiple LANs can form a WAN through modems.
- WANs use (ATMs) networks as common examples.
- WANs use public communication networks, dedicated or leased lines.
- A typical WAN consists of end systems and intermediate systems.
Network Size Guide
- WAN: 100 km to over 1000 km.
- MAN: 1km to 100km
- LAN 10m to 1000m
Client-Server Networking Models
- Client-server model uses dedicated servers and specific client workstations.
- Client computers connect to server computers.
- Users can access files stored on dedicated servers.
- The server dictates which users can access which files.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.