APPREHENDING MICROCONTROLLER PLATFORM AND SOFTWARE Flashcards

1
Q

one of the most important statement in programming.

A

IF- ELSE Conditional statements

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

It gives you the ability to control the flow of your program, letting it make decisions on what statement to execute.

A

IF- ELSE Conditional statements

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

often called as tactile switch

A

pushbuttons

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

momentary switches that are capable of turning any electronic
device to either on or off state.

A

pushbuttons

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

Equal to
A is equal to B

A

==
A==B

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

Not equal to
A is not equal to B

A

!=
A!=B

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

Less than
A is less than B

A

<
A<B

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

greater than
A is greater than B

A

> A>B

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

less than or equal to
A is less than or equal to B

A

<=
A<=B

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

greater than or equal to
A is greater than or equal to B

A

> =
A>=B

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

Only true if BOTH operands are true

A

Syntax: &&
Operator: Logical AND

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

True if EITHER of the operand is true

A

Syntax: ||
Operator: Logical OR

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

True if the operand is false

A

Syntax: !
Operator: Logical NOT

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

Comparison Operators

A

equal to, not equal to, less than, greater than, less than or equal to, greater than or equal to

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

Boolean Operators

A

Logical AND, Logical OR, Logical NOT

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

allows you to perform some task depending on whether given condition is true or false.

A

if () statement

17
Q

used when condition in if statement is false.

A

else statement

18
Q

allows multiple conditions/test to be group together in a single loop. You can use unlimited number of else if branch in a single loop.

A

else if () block

19
Q

essential in every computing devices, it helps them do task in random manner.

A

Generating random numbers

20
Q

actually generated using an algorithm that produces numbers that appear to be random, but actually it follows a sequence.

A

Pseudo- random

21
Q

initialize a random number generator with a random input such as analogRead() on an unconnected pin to alter the random list generated by the random().

A

randomSeed()

22
Q

The number you pass to randomSeed() function is called a
“___” and this number must be in integer or long.

A

seed