Back to marketplace

1.4 - Data types, data structures and algorithms

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

What is a data type?

Back (Answer)

It is the classification of data telling the computer how the computer will use the data.

#2
Front (Question)

What is an integer?

Back (Answer)

Any positive/negative whole number.

#3
Front (Question)

What is a real/float?

Back (Answer)

Any real world quantity expressed as a number (decimals).

#4
Front (Question)

What is boolean?

Back (Answer)

Used to represent one of two truth values (True/False)

#5
Front (Question)

What is a character?

Back (Answer)

Represents a single character, alphanumeric/symbol.

#6
Front (Question)

What is a string?

Back (Answer)

A collection of characters.

#7
Front (Question)

What is casting data types?

Back (Answer)

Changing data types

#8
Front (Question)

What is a primitive data type?

Back (Answer)

A basic data type.

#9
Front (Question)

What base in binary?

Back (Answer)

Base 2 = 01

#10
Front (Question)

What base is denary?

Back (Answer)

Base 10 0-9

#11
Front (Question)

What base is hexadecimal?

Back (Answer)

Base 16 0-9, A-F

#12
Front (Question)

What are the 5 positives of hexadecimal?

Back (Answer)

• Values easier to remember/read than binary. • Quicker to write, less characters. • Less chance of eror when typing hex. • Defines colours, MAC addresses, in assembly languages/machine code. • Easy to convert to/from Binary.

#13
Front (Question)

How do you use sign + magnitude? (Negative numbers in binary)

Back (Answer)

The most significant number represents whether the number is positive (= 0)/negative (=1).

#14
Front (Question)

How do you use two’s compliment? (Negative numbers in binary)

Back (Answer)

The most significant number represents whether the number is positive (= 0)/negative (=1). Then all the numbers afterwards (until the last 1 (1 closest to the end)) are switched to the opposite value.

#15
Front (Question)

How do you convert from Denary to Binary?

Back (Answer)

Put in place value to add to make total of the number. e.g. 99 = 01100011 128/64/32/16/8/4/2/1 0 1 1 0 0 0 1 1

#16
Front (Question)

How do you convert from Hexadecimal to Denary

Back (Answer)

Do the rule of place values. 256 16 1 time number based on plate.

#17
Front (Question)

How do you convert from Denary to Hexadecimal?

Back (Answer)

Divide number by 16 and add remainder. e.g. 43/16 = 2 + 11 = 2B (11 = remainder in the example)

#18
Front (Question)

How do you convert from Binary to Hexadecimal?

Back (Answer)

Divide binrary number into 2 (2 x 4 digits)= 0011 1100 (Use 8421 place values) and then add to make up the 2 hex digits.

#19
Front (Question)

What is a bit?

Back (Answer)

An individual digit in a binary value. Used to represent ON + OFF voltage signals om a computer.

#20
Front (Question)

What is a byte

Back (Answer)

• 8 Bits grouped together. • Can group 2 or more bytes together to hold larger values.

#21
Front (Question)

What is a fixed bit?

Back (Answer)

extra zeros that pad the data at the front. So that the binary can be a full byte.

#22
Front (Question)

How big is a Kilobyte?

Back (Answer)

10^3 = 1,000 bytes KB = Kilobyte

#23
Front (Question)

How big is a Megabyte?

Back (Answer)

10^6 = 1,000,000 Bytes MB = Megabyte

#24
Front (Question)

How big is a Gigabyte?

Back (Answer)

10^9 = 1,000,000,000 Bytes GB = Gigabyte