Ruby Flashcards Preview

Logic > Ruby > Flashcards

Flashcards in Ruby Deck (27)
Loading flashcards...
1

!false

True

2

!true

False

3

True||false

True

4

True||true

True

5

False||true

True

6

False||false

False

7

True && false

False

8

True && true

True

9

False && true

False

10

False && false

False

11

Not (true || false)

False

12

Not (true || true)

False

13

Not (true || true)

False

14

Not (false || true)

False

15

Not (false || false )

True

16

!(true && false)

True

17

!(true && true)

False

18

!(false && true)

True

19

!(false && false)

True

20

1 != 0

True

21

1 != 1

False

22

0 != 1

True

23

0 != 0

False

24

1 == 0

False

25

1 == 1

True

26

0 == 1

False

27

0 == 0

True