U4 - GRAPHICS & SOUND Flashcards

1
Q

NAME THE 5 DATA TYPES ?

A

Boolean
Float / Real
Integer
Character
String

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

WHAT ARE RASTER IMAGES MADE ?

A

Raster images are made from a dot matrix of data representing a grid of pixels

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

PROS / CONS OF RASTER

A
  • Pixels can be individually edited
  • Lose quality when scaled up
  • Take up more storage space
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

WHAT ARE VECTORS IMAGES ?

A
  • Graphics made using mathematical formulas
  • Popular in logo design
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

PROS / CONS OF VECTOR

A
  • Can be scaled up without a loss of quality
  • Smaller amount of memory needed to store
  • More complicated to make
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

WHAT IS RESOLUTION ?

A
  • The number of dots/ pixels per inch (dpi)
  • The greater the image the more defined an image is but also more file space needed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

HOW DO YOU CALCULATE IMAGE SIZE ?

A

Colour Depth x Img Height x Img Width

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

COLOUR DEPTH

A

How many bits a colour pixel is

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

HOW MANY BITS ARE TRUE COLOUR DISPLAYS ?

A

24 BITS (RGB Colour Sliders)

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

WHY IS SOUND CONVERTED FROM ANALOGUE TO DIGITAL ?

A

Computers cannot understand analogue sound. It must be converted into discrete digital data through sampling

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

WHAT IS SAMPLING ?

A

The amplitude of an analogue sound is sampled at set intervals and recorded as digital data.

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

WHAT IS SAMPLING RATE ?

A

The number of times a sound is sampled per SECOND (Hz)

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

WHAT IS BIT DEPTH ?

A

Number of bits used to store each sample.

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

WHAT IS DURATION ?

A

How many seconds of audio in a file

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

HOW DO YOU CALCULATE SOUND FILE SIZE ?

A

Sample Rate (Hz) x Bit Depth (bits) x Duration (s)

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

WHAT DOES ASCII STAND FOR ?

A

American Standard Code for Information Interchange

17
Q

WHAT DOES ASCII DO ?

A

Standardised character sets allow for data interchange between different programs

18
Q

HOW MANY BITS DOES ASCII USE ?

A

7 bit

19
Q

WHAT IS UNICODE ?

A

Uses 32-bit in order to represent all language characters
Original 128 ASCII characters are the same
Unicode uses more memory to store a character

20
Q

NAME 6 VALIDATION CHECKS

A

PRESENCE CHECKS
FORMAT CHECKS
LENGTH CHECKS
TYPE CHECKS
RANGE CHECK

21
Q

PRESENCE CHECK

A

Prevents further progress if a required field is left blank

22
Q

FORMAT CHECKS

A

ENSURES DATA MATCHES A SPECIFIC PATTERN i.e dd/mm/yyyy

23
Q

LENGTH CHECKS

A

Used to ensure input data is a sensible length .i.e. First name is between 3-16 characters

24
Q

TYPE CHECKS

A

Ensures inputted data is the correct data type

25
Q

RANGE CHECKS

A

Ensures input data lays within a specific range

26
Q

TWO WAYS TO VERIFY CODE

A

Double keying (two different transcripts made - compared for errors )
Proof reading

27
Q

1D ARRAYS

A

A collection of related data all of ONE DATA TYPE. Lists in python. Can hold a fixed number of items

28
Q

2D ARRAYS

A

SAME DATA TYPE - Like a table

29
Q
A