Design Flashcards
(9 cards)
How do you create a record in suodocode?
Record data IS {REAL item, INTEGER item2, STRING item3 BOOLEAN item3}
How do you create a record in python
recordName = { item:str item2:int item3:real}
How do you declare a vairable in python to hold a set amount of values using a record
vairableName = [recordName() for x in range(setAmount)]
What is an actual parameter
The array/vairable that gets passes into a function
What is a formal parameter
An array/vairable that is a placeholder for a function
What is a local scope vairable
Vairables that only exist in the function
What is a global scope vairable
Variarables that exist outside the function, the main program.
What is a breakpoint
A point the programmer chooses to stop the program. When it gets to that certian line, it will stop the program, allowing the programmer to check whats stored in vairables
what is a watchpoint
A watchpoint stops the program when a variable meets a specific value like 10.