Back to marketplace

Fundamentals of 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)

concept of a data type

Back (Answer)

defines the type of data that a variable or object can hold

#2
Front (Question)

user defined data types

Back (Answer)

data types created by the programmer for a specific problem

#3
Front (Question)

what are reference data types used for

Back (Answer)

reference data type are used as stores for memory addresses of objects created at runtime

#4
Front (Question)

integer

Back (Answer)

any whole number {8, 35)

#5
Front (Question)

real

Back (Answer)

numbers with a decimal point and a fractional part {2.0, 19.234)

#6
Front (Question)

boolean

Back (Answer)

one of two values {true or false}

#7
Front (Question)

character

Back (Answer)

a letter, number or symbol in the given character set {h, 6, $}

#8
Front (Question)

string

Back (Answer)

sequence of characters {hello world !}

#9
Front (Question)

casting

Back (Answer)

changing the data type

#10
Front (Question)

sequence

Back (Answer)

all lines are executed

#11
Front (Question)

selection

Back (Answer)

decisions made that determines the execution

#12
Front (Question)

iteration

Back (Answer)

code is repeated until specified conditions are met

#13
Front (Question)

count control loops

Back (Answer)

exact number of iterations known

#14
Front (Question)

condition controlled loops

Back (Answer)

iterates dependent on condition

#15
Front (Question)

variables

Back (Answer)

locations in the memory containing single values

#16
Front (Question)

constants

Back (Answer)

identifiers with values that remain fixed with values that remain fixed during the programs execution

#17
Front (Question)

why use constants

Back (Answer)

ability to update readability compiler optimisation

#18
Front (Question)

modulus

Back (Answer)

remainder 12 mod 5 gives 2

#19
Front (Question)

quotient

Back (Answer)

how many times 17 div 5 gives 3

#20
Front (Question)

boolean operators

Back (Answer)

takes boolean inputs and evaluate to a boolean value

#21
Front (Question)

example of string handling

Back (Answer)

string subject = “Computer Science” subject.length = 16 subject.upper = COMPUTER SCIENCE subject.lower = compuer science subject.substring(0,8) = Computer

#22
Front (Question)

exceptions

Back (Answer)

events that occur during the executions of a program that disrupts the normal flow of the programs instructions (sometimes cant be avoided and would normally terminate the program)

#23
Front (Question)

exception handling

Back (Answer)

to provide an alternative code if an exception is raised (e.g. try and catch)

#24
Front (Question)

pointer

Back (Answer)

stores the memory address of another variable