CS Test Flashcards

1
Q

Why might a programmer prefer to use hexadecimal to access the contents of location?

A

1) Easier to identify values
2) Easier to spot errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a memory dump?

A

When the memory contents are output to a printer of monitor, this is known as a memory dump.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What do numbers in memory dump refer to?

A

to the memory location of the error (usually automatically generated by the computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does MAC Address stand for

A

Media Access Control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Mac adresses are made up of ___?

A

48 bits (6 groups of hexadecimal digits)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

1st half of MAC Address identifies ___?

A

the manufacturer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

2nd half of MAC Address identifies ___?

A

serial number of the hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what are the 2 types of MAC Addresses?

A

UAA (universally administered mac address) + LAA (locally administered mac address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

UAA is ___?

A

By far the most common type of MAC Address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

UAA is set by?

A

the manufacturer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

MAC address sometimes need to be changed using
___?

Why do mac addresses sometimes need to be changed using LAA?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does IP stand for?

A

Internet Protocol (address)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is an IP Address?

A

an address given to every device connected to a network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is an IPv4?

A

a 32-bit number written in denary or hex form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

IPv4 has been improved by the adoption ___?

A

IPv6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is an IPv6?

A

a 128 bit number broken down into 16-bit chunks represented by a hex number

17
Q

What does IPv6 use instead of a decimal point?

A

A colon (:)

18
Q

Each color is made up of a combination of shades ___?

A

red, green, blue

19
Q

in HTML color code…what do the numbers represent?

A

1st 2 hex digits = red

next 2 digits = green

last two = blue

20
Q

What does ASCII stand for?

A

American Standard Code for Information Interchange

21
Q

ASCII uses how many bits to represent each character?

A

7 bits (it can achieve 27 = 128 different representations)

22
Q

What are some disadvantages of ASCII code?

A

MAIN: it does not represent character in non-western languages, for example Chinese characters

23
Q

Unicode was made to__?

A

represent all languages of the world, unlike ASCII

24
Q

ASCII uses ___? Unicode uses ___?

A

ASCII uses 1 byte to represent a character, but unicode uses 4 bytes per character

25
Q

In ASCII character encoding scheme….lower case is…?

A

lower case is always 32 higher than the upper case

26
Q

ASCII is based on…

A

the english alphabet

27
Q

Unicode consortium was set up when and why?

A

In 1991 to create a more universal standard that covered all languages + writing systems. Also to adopt a more efficient coding system than ASCII.

28
Q

File size of an image is calculated as:

A

image resolution (in pixels) x colour depth (in bits)

29
Q

Size of a mono sound file is calculated as:

A

sample rate (in Hz) x sample resolution (in bits) x length of sample (in seconds)