Back to marketplace

fundamentals of programming

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

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

Card preview (5)

#1
Front (Question)

what is a data type?

Back (Answer)

Basic ways data is stored on a program

#2
Front (Question)

what are the 8 data types?

Back (Answer)

Integer: A whole number. Eg 25,-3 Real/float : A number with a fractional part. Eg -13.5, 2.54 Boolean: A variable that can only take the value TRUE or FALSE Character: A letter, number or special character (typically represented in ascii). Eg a, b, A, 4(integer), 4(real number) String: Any set of characters in quotation marks. Eg “peter”, “132” Date/time: used to store values holding the date and time Record: Basic data column structure Array/list: A structured data type that stores multiple pieces of information by assigning them a number starting from 0

#3
Front (Question)

what is a User defined data type?

Back (Answer)

A variable that is defined by the user manually and not in the program

#4
Front (Question)

what is a recursive subroutine

Back (Answer)

one which is defined in terms of itself. This means that somewhere within the recursive subroutine, there is a call to the subroutine itself.

#5
Front (Question)

what 3 characteristics must a recursive algorithm have

Back (Answer)

• a stopping condition/base case which will stop the routine calling itself when met • input values apart from the stopping conditions • the stopping condition must be met after a finite number of calls