W3 - Primitive Data Types Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What are the 5 types of data types

A

Real/float, Boolean, integer, string and character

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

What is an integer?

A

Whole numbers without decimal places

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

What is a float/real?

A

Numeric value that has decimal places

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

What is Boolean

A

Holds one of two values - true/false, 1/0 etc

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

What is character?

A

A single character

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

What is string?

A

String is a collection of characters

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

What is ASCII?

A

ASCII stands for American Standard Code for Information Interchange and is a set of digital codes which are used to represent 128 different characters (numbers, letters and symbols)

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

What is ASCII used for?

A

Used as a standard format in the transfer of text between computer systems.

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

How do Parity Checks work?

A

A bit is assigned to be a parity bit. It is then entered to be a 0 or 1 (depending on if we are looking for odd or even parity). Then it sees if there are an even number of 1s and 0s if you are looking for even parity and vice versa

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

What are the main problem with Parity Checks?

A

2 bit changes cannot be detected

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

What is Unicode?

A

It is a globally recognised system to maintain all character sets by mapping different binary values to them. It can represent more characters than ASCII but it has larger file sizes and data transmission times

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

What is Parity?

A

A function that provides a check on a set of binary values to see if the data has changed during transmission

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