Back to marketplace

Section 7

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

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

Card preview (21)

#1
Front (Question)

What are variables?

Back (Answer)

Any data that a program uses which is stored in memory locations, has its own identifier, and has values in locations which may change when running

#2
Front (Question)

What is an identifier?

Back (Answer)

• Refers to location in memory where the data item is stored

#3
Front (Question)

What is a data type?

Back (Answer)

• Defines type of data that will be stored at the memory location and therefore the operations that can be performed on it

#4
Front (Question)

What are the data types?

Back (Answer)

integer - whole number real/float - number with fractional part char - single character (letter, digit, punctuation mark, symbol) string - zero or more characters, can be null boolean - value of true or false

#5
Front (Question)

How are values assigned to variables?

Back (Answer)

Using an = sign

#6
Front (Question)

What is casting?

Back (Answer)

Changing the type of variable value from one type to another

#7
Front (Question)

What is concatenation?

Back (Answer)

Joining two strings together with +

#8
Front (Question)

What type of length does an array have?

Back (Answer)

Fixed Length

#9
Front (Question)

What is an array?

Back (Answer)

Group of fata items of the same data type

#10
Front (Question)

What does each box in an array include?

Back (Answer)

• Numerical reference called a subscript or index

#11
Front (Question)

What is a subroutine or sub-program?

Back (Answer)

Self- contained section of code that performs a specific task

#12
Front (Question)

What are the two types of subroutine?

Back (Answer)

• Procedures • Functions

#13
Front (Question)

How can you make a procedure more useful?

Back (Answer)

Pass it one or more parameters

#14
Front (Question)

What is a parameter?

Back (Answer)

Variable named in procedure heading that will receive and use whatever value you pass it

#15
Front (Question)

What is the main difference of a function compared to procedure?

Back (Answer)

Always return a value

#16
Front (Question)

What are variables declared or used in the main program called?

Back (Answer)

Global Variables

#17
Front (Question)

What are advantages of subroutines?

Back (Answer)

• Decompose large problem into small tasks • Tested • Used several times • Stored in library • Work at same time • Maintenance easier

#18
Front (Question)

What is it called when we group data items together?

Back (Answer)

• Data structure • Treated as a set of data

#19
Front (Question)

Where can data be stored other than variable for permanent?

Back (Answer)

• File • Held permanently on disk • Read next time needed

#20
Front (Question)

What is the format for a SQL command?

Back (Answer)

SELECT WHERE FROM ORDER BY

#21
Front (Question)

Back (Answer)