CS Test Flashcards
Why might a programmer prefer to use hexadecimal to access the contents of location?
1) Easier to identify values
2) Easier to spot errors
What is a memory dump?
When the memory contents are output to a printer of monitor, this is known as a memory dump.
What do numbers in memory dump refer to?
to the memory location of the error (usually automatically generated by the computer.
What does MAC Address stand for
Media Access Control
Mac adresses are made up of ___?
48 bits (6 groups of hexadecimal digits)
1st half of MAC Address identifies ___?
the manufacturer
2nd half of MAC Address identifies ___?
serial number of the hardware
what are the 2 types of MAC Addresses?
UAA (universally administered mac address) + LAA (locally administered mac address
UAA is ___?
By far the most common type of MAC Address
UAA is set by?
the manufacturer
MAC address sometimes need to be changed using
___?
Why do mac addresses sometimes need to be changed using LAA?
LAA
- on mainframe systems all MAC addresses of devices might need to fall into strict format
- to bypass a MAC address filter on a router network or firewall
- to get past some network restrictions
What does IP stand for?
Internet Protocol (address)
What is an IP Address?
an address given to every device connected to a network
What is an IPv4?
a 32-bit number written in denary or hex form
IPv4 has been improved by the adoption ___?
IPv6
What is an IPv6?
a 128 bit number broken down into 16-bit chunks represented by a hex number
What does IPv6 use instead of a decimal point?
A colon (:)
Each color is made up of a combination of shades ___?
red, green, blue
in HTML color code…what do the numbers represent?
1st 2 hex digits = red
next 2 digits = green
last two = blue
What does ASCII stand for?
American Standard Code for Information Interchange
ASCII uses how many bits to represent each character?
7 bits (it can achieve 27 = 128 different representations)
What are some disadvantages of ASCII code?
MAIN: it does not represent character in non-western languages, for example Chinese characters
Unicode was made to__?
represent all languages of the world, unlike ASCII
ASCII uses ___? Unicode uses ___?
ASCII uses 1 byte to represent a character, but unicode uses 4 bytes per character
In ASCII character encoding scheme….lower case is…?
lower case is always 32 higher than the upper case
ASCII is based on…
the english alphabet
Unicode consortium was set up when and why?
In 1991 to create a more universal standard that covered all languages + writing systems. Also to adopt a more efficient coding system than ASCII.
File size of an image is calculated as:
image resolution (in pixels) x colour depth (in bits)
Size of a mono sound file is calculated as:
sample rate (in Hz) x sample resolution (in bits) x length of sample (in seconds)