Flowcharts and programming Flashcards

1
Q

Flow Chart Symbols and Purpose

Terminator

A
Symbol = Oval 
Purpose = Start, Stop, Return
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Flow Chart Symbols and Purpose

Process

A
Symbol = Rectangle
Purpose = Delays, loop
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Flow Chart Symbols and Purpose

Input/Output

A
Symbol = Rhombus
Purpose = Turns on or off
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Flow Chart Symbols and Purpose

Decision

A

Symbol =Diamond

Purpose = Input on/off x=?

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

Flow Chart Symbols and Purpose

Sub Procedures

A
Symbol = Rectangle with two lines at each end
Purpose = Mini flow charts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

All flow charts must be related to

A

a microcontroller

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

P Basic

A

let dirs. = %11110000
must start every P Basic code

symbol x = 7
this is how to rename a pin, pin 7 is now called x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
High =
Low =
Pause =
if...else =
goto =
A
On 
Off
Delay (in milliseconds)
If x = on then y
go to this part of the code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

To set a counter in Pbasic

A

define the variable โ€˜counterโ€™ by

๐ฌ๐ฒ๐ฆ๐›๐จ๐ฅ ๐œ๐จ๐ฎ๐ง๐ญ๐ž๐ซ = ๐›๐ŸŽ

set the counter by

๐Ÿ๐จ๐ซ ๐œ๐จ๐ฎ๐ง๐ญ๐ž๐ซ = ๐Ÿ ๐ญ๐จ ๐Ÿ๐ŸŽ

to add to the counter do

๐ง๐ž๐ฑ๐ญ ๐œ๐จ๐ฎ๐ง๐ญ๐ž๐ซ

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