Design Flashcards

(9 cards)

1
Q

How do you create a record in suodocode?

A

Record data IS {REAL item, INTEGER item2, STRING item3 BOOLEAN item3}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you create a record in python

A

recordName = { item:str item2:int item3:real}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you declare a vairable in python to hold a set amount of values using a record

A

vairableName = [recordName() for x in range(setAmount)]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is an actual parameter

A

The array/vairable that gets passes into a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a formal parameter

A

An array/vairable that is a placeholder for a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a local scope vairable

A

Vairables that only exist in the function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a global scope vairable

A

Variarables that exist outside the function, the main program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a breakpoint

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is a watchpoint

A

A watchpoint stops the program when a variable meets a specific value like 10.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly