Back to marketplace

1.4.1 Data Types

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

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

Card preview (17)

#1
Front (Question)

What data type should be used for storing a phone number like 07777777333?

Back (Answer)

String • Numeric types would remove the leading 0

#2
Front (Question)

Perform an AND mask on the Binary numbers 10101101 01011011

Back (Answer)

00001001

#3
Front (Question)

Which data type stores a collection of characters?

Back (Answer)

String

#4
Front (Question)

Add the two binary numbers and give answer in decimal 01011011 00111010

Back (Answer)

10010101 = 149

#5
Front (Question)

What is the decimal 45 in binary? Give your answer as a byte

Back (Answer)

00101101

#6
Front (Question)

What is the hexadecimal 2E in decimal?

Back (Answer)

(2x16) + (14x1) = 46

#7
Front (Question)

What is the hexadecimal 45 in binary? Give your answer as a byte

Back (Answer)

01000101

#8
Front (Question)

Which data type stores just True and False?

Back (Answer)

Boolean

#9
Front (Question)

What is -5 in sign magnitude binary? Give your answer as a nybble

Back (Answer)

1101

#10
Front (Question)

What does the binary 01101100 represent in hex?

Back (Answer)

6C

#11
Front (Question)

What is the effect of a logical shift left by one place?

Back (Answer)

The value is doubled (x2^1)

#12
Front (Question)

What is the two’s complement binary 10101101 in decimal?

Back (Answer)

-83

#13
Front (Question)

The binary 0011010000110 is a floating point number with a single-bit sign, 8 but mantissa and 4 bit exponent What is the number in decimal?

Back (Answer)

52

#14
Front (Question)

Perform a logical shift right by two places on the binary number 01101010 and convert your result to decimal

Back (Answer)

26.5

#15
Front (Question)

Perform an XOR mask on the binary numbers: 01010101 10111011

Back (Answer)

11101110

#16
Front (Question)

Which of the following is not a character? A: 8 B: R C: % D: 43

Back (Answer)

D

#17
Front (Question)

The binary 1100110000011 is a floating point number with a single-bit sign, 8-bit mantissa and 4 but exponent What is the number in decimal?

Back (Answer)

-9.5