Wk 1 Flashcards

1
Q

What’s the meaning of this command?

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

What’s the meaning of this command?

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

What’s the meaning of this command?

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

What’s the meaning of this command?

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

What’s the meaning of this command?

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

What are Boolean variable? What are the only possible values?

A

Logical values

TRUE (=1)
FALSE (=0)

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

Name of these operators and their definitions

A

Comparison operators

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

Name of these operators and their definitions

A

Logical Operators (AND,OR,NOT)

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

Determine if C is TRUE or FALSE

A

for LHS, inside bracket is TRUE so with the squigy line makes it FALSE

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

Predict what x1 is

A

x1 = 1

|| = True if AND OR values are True

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

Predict what x2 is

A

x2= 1

&& = true if AND both values true

> = greater than OR equal to

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