Back to marketplace

1.4.1 Data Types

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

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

Card preview (12)

#1
Front (Question)

What is a logical shift?

Back (Answer)

• a shift performed on a binary numbers • logical shift left : multiplication • logical shift right : division • n= number of places shifted, has the effect of multiplying or dividing by 2^n

#2
Front (Question)

Masks

Back (Answer)

Can be applied to binary numbers by combining them with logic gates

#3
Front (Question)

Bits and bytes

Back (Answer)

• a bit is a binary digit (can be 1 or 0) -which is the fundamental unit of information • 1 and 0 are used to represent 2 electrical states on and off • 8 bits = 1 byte • 4 bits = 1 nibble

#4
Front (Question)

Character set

Back (Answer)

• A published collection of codes paired with corresponding characters. • Enables computers to represent text using binary code. • Two main character sets are Unicode and ASCII.

#5
Front (Question)

ASCII (American Standard Code for information interchange)

Back (Answer)

• a character set used to map binary values to characters [1] • uses 7 bits to encode each character [1] • can represent 128 distinct characters • is used to represent characters in the English language

#6
Front (Question)

ASCII benefits

Back (Answer)

Uses a lot less storage space than Unicode

#7
Front (Question)

ASCII drawbacks

Back (Answer)

• it has a limited number of characters/ is limited to 128 characters • it can’t represent multilingual characters/text • it does not include special characters like emojis

#8
Front (Question)

Unicode

Back (Answer)

• a character set which is used to map binary values to characters [1] • uses up to 32 bits to encode each character [1] • it supports a very large number of characters [1] • used to represent characters across the world

#9
Front (Question)

Unicode benefits

Back (Answer)

• it can represent more characters than ascii • it can represent special character such as emojis • it can represent multilingual text

#10
Front (Question)

Unicode drawbacks

Back (Answer)

It uses a lot more storage space than ASCII

#11
Front (Question)

Trade off between accuracy and range

Back (Answer)

• larger mantissa increases accuracy [1] • smaller exponent decreases range [1]

#12
Front (Question)

Explain how codes are used to represent a Character set

Back (Answer)

• each symbol has a unique binary code [1] • e.g ascii uses 7 bits per character