- 13

Please select the correct statements about && and || operators.

a || b is true if either a or b is true a && b is false if both a and b are true (a || b ) && c is true if c is true and either a or b is true a && b is true if either a or b is true

10th Jan 2017, 8:16 AM
parkavi
16 Respostas
+ 11
1- a && b is true if either a or b is true (X ). 2- a || b is true if either a or b is true (√ ). 3- (a || b ) && c is true if c is true and either a or b is true (√ ). 4- a && b is false if both a and b are true (X )..
30th Mar 2017, 2:47 PM
عيسى
عيسى - avatar
+ 3
1st statement and 3rd statement are correct.
10th Jan 2017, 8:34 AM
Saumya
Saumya - avatar
+ 2
(a || b ) && c is true if c is true and either a or b is true a || b is true if either a or b is true
10th Mar 2018, 2:45 PM
Mahnoor Shahzad
Mahnoor Shahzad - avatar
+ 1
(a || b ) && c is true if c is true and either a or b is true a || b is true if either a or b is true
20th Apr 2018, 8:13 PM
German Maximiliano Flores Garcia
German Maximiliano Flores Garcia - avatar
+ 1
1 3
15th Jun 2018, 2:50 PM
Rustam Erik
Rustam Erik - avatar
0
1 and 3
25th Feb 2018, 11:35 AM
Pooja Deshmukh
Pooja Deshmukh - avatar
0
a and b u smart ome
30th Apr 2018, 7:39 PM
Cedric
Cedric - avatar
0
according to me 4th one is correct
25th Jun 2018, 6:27 PM
Nishant Tiwari
0
a and c is the correct answer
8th Sep 2018, 1:09 PM
E.Elayavathi
E.Elayavathi - avatar
0
a || b is true if either a or b is true (a || b ) && c is true if c is true and either a or b is true
20th Sep 2018, 12:59 PM
Rakshada Deore
Rakshada Deore - avatar
0
1 and 3
7th Jul 2020, 2:01 PM
ATTAMAH BENEDICT
ATTAMAH BENEDICT - avatar
0
a
26th Feb 2021, 3:43 PM
Haneen Khaled
Haneen Khaled - avatar
0
(a || b ) && c is true if c is true and either a or b is true a || b is true if either a or b is true
1st Jul 2022, 3:37 PM
Antenhe Yimer
0
1st and 3rd are right options
21st Apr 2023, 6:06 PM
Deven
Deven - avatar
- 3
(a || b ) && c is true if c is true and either a or b is true a && b is true if either a or b is true
23rd Mar 2018, 8:08 AM
Eframe Mekonen
Eframe Mekonen - avatar
- 3
val1 == val2 // are equal val1 ! = val2 // not equal val1 < val2 // less than val1 val2 // are strict equal (identical)
2nd Aug 2021, 5:41 PM
Mahamudu J Msangi
Mahamudu J Msangi - avatar