Back to marketplace

Section Five - Programming

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)

True or False? Programming languages have SIX main data types.

Back (Answer)

False Programming languages have FIVE main data types.

#2
Front (Question)

Name the main data types:

Back (Answer)

Integer Real (or float) Boolean Character String

#3
Front (Question)

What is the characteristic of an integer?

Back (Answer)

Whole numbers only

#4
Front (Question)

What is the characteristic of a real/float?

Back (Answer)

Numbers that have a decimal part

#5
Front (Question)

What is the characteristic of a boolean?

Back (Answer)

Can only take one of two values, usually TRUE or FALSE

#6
Front (Question)

What is the characteristic of a character?

Back (Answer)

A single letter, number, symbol.

#7
Front (Question)

What is the characteristic of a string?

Back (Answer)

Used to represent text, it is a collection of characters

#8
Front (Question)

How much memory does an INTEGER typically take up?

Back (Answer)

2 or 4 bytes

#9
Front (Question)

What data type typically takes up 4 or 8 bytes?

Back (Answer)

Real

#10
Front (Question)

How much memory does a BOOLEAN typically take up?

Back (Answer)

1 bit is needed but 1 byte is actually used

#11
Front (Question)

What data type typically takes up 1 byte?

Back (Answer)

Character

#12
Front (Question)

How much memory does a STRING typically take up?

Back (Answer)

1 byte for every character in the string

#13
Front (Question)

What is used to change data types?

Back (Answer)

Casting

#14
Front (Question)

What does the operator ‘==’ mean?

Back (Answer)

Equal to

#15
Front (Question)

What symbol means ‘not equal to’?

Back (Answer)

!=

#16
Front (Question)

What does the operator ‘<=’ mean?

Back (Answer)

smaller than or equal to

#17
Front (Question)

What is the operator ‘=’ used for?

Back (Answer)

Is used to assign values to constants or variables

#18
Front (Question)

What is a constant?

Back (Answer)

An assigned data value that CAN’T be changed while the program is running

#19
Front (Question)

What is a variable?

Back (Answer)

An assigned data value that CAN be changed while the program is running

#20
Front (Question)

What is a string written inside?

Back (Answer)

Quotation marks

#21
Front (Question)

What is concatenation?

Back (Answer)

Joining strings together to form new strings.

#22
Front (Question)

How are the characters in a string numbered?

Back (Answer)

They are numbered numerically, starting at 0.

#23
Front (Question)

What does the function x.upper do?

Back (Answer)

Changes all characters in string x to upper case

#24
Front (Question)

What function would turn all the characters in string x to lower case?

Back (Answer)

x.lower