if A>B is false , then which of the following will always be true ? and why ? a) A<B b)A<=B c)A=B d)A==B | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 17

if A>B is false , then which of the following will always be true ? and why ? a) A<B b)A<=B c)A=B d)A==B

i want to post your responses somewhere else to solve arguments

1st Apr 2021, 7:36 AM
Ona Nixon 🇹🇿 👑
Ona Nixon  🇹🇿  👑 - avatar
47 Answers
+ 35
If A>B is false So if we have A<B or A<=B or A==B is true So the The most correct answer is option b Because Includes all possible modes If A<=B true
1st Apr 2021, 7:53 AM
Donya Khoobani
Donya Khoobani - avatar
+ 14
Aman sharma see We have A>B as false It means There are 3 correct modes A<B A==B A<=B So the answer which includes all modes is A<=B Option Let me say an example 4>5 if false so we can say 4<5 is true But we don't know the exact number so If we have 5>5 if false then 5==5 is true So As a result of these two examples A<=B is correct ☺️
1st Apr 2021, 8:03 AM
Donya Khoobani
Donya Khoobani - avatar
+ 6
If A>B is false then there would arise 2 scenarios that you must confirm. 1) A could be less than B 2) A could be equal to B The option that matches the above is b).
1st Apr 2021, 7:48 AM
Avinesh
Avinesh - avatar
+ 6
A <= B
1st Apr 2021, 8:16 AM
Tharinda Nimnajith
Tharinda Nimnajith - avatar
+ 4
🅰🅹 I told We don't know the exact number We only have A and b So if A>B is false It's possible that Both A and B be a same number So 5>5 is false then 5==5 is true
1st Apr 2021, 1:18 PM
Donya Khoobani
Donya Khoobani - avatar
+ 4
A<=B
2nd Apr 2021, 4:08 PM
BIDISHA CHAKRABORTY
BIDISHA CHAKRABORTY - avatar
+ 4
(b) option
2nd Apr 2021, 4:38 PM
DEEPA BHAT
DEEPA BHAT - avatar
+ 3
sorry guys, first I answered correctly then I thought a>b is TRUE 😅 sry its my mistake
1st Apr 2021, 8:05 AM
Aman sharma
+ 3
Ona Nixon 🇹🇿 👑 Try to understand this with value A = 1 B = 2 1 > 2 //false 1 < 2 //true 1 <= 2 //true 1 == 2 //false in case of A = 2, B = 2 A > B //false A == B //true A <= B //true So finally A <= B will be always true
1st Apr 2021, 1:15 PM
A͢J
A͢J - avatar
+ 3
Donya Khoobani Yes got it that's why I deleted my comment.
1st Apr 2021, 1:19 PM
A͢J
A͢J - avatar
+ 3
Option b which is including option a too. Look, the given condition means a is lesser than b, but they haven't put any light in the fact that of its equal or not so I think to play safe you must consider option b.
2nd Apr 2021, 2:03 AM
Anjali Shaw
Anjali Shaw - avatar
+ 3
A<B Because if A>B is false, the opposite is true. A<=B Because A is either smaller or equal to B
2nd Apr 2021, 2:04 AM
Dzaikah Wonder
Dzaikah Wonder - avatar
+ 3
if A> B is false so the proposition that is true is that A == B or A <= B or A<B so we can just use B
2nd Apr 2021, 9:00 PM
Leila Kelmoua
Leila Kelmoua - avatar
+ 2
Donya Khoobani Attending to Bool's algebra.... A or B answers are ok. The reason? The opposite of "A>B" is at least "A<B" but also could be equal, so... "A<=B" But, thinking in programming languages, it could be limited. There are some of them doesn't accomplish. E.g. when A and B are of different type. Go ahead a bit more about "C" answer.. "A=B" is an assignment operation, not a conditional operation per sé but could be truth if contains true value and is used in a condition statement. Other time more... it could depend on language. E.g. let A, B; B = true; // A is undefined so A>B is falsy but with... If (A=B) { // is truth: first assigns, after evaluate A=true } I hope this helps.
2nd Apr 2021, 3:45 AM
David Ordás
David Ordás - avatar
+ 2
A<=B Because it includes all modes
2nd Apr 2021, 9:50 AM
D-Minun
D-Minun - avatar
+ 2
b) A<=B because inversion
2nd Apr 2021, 8:38 PM
Dark YT
Dark YT - avatar
+ 2
Based on the arguments given, i would say A<=B will be the right answer since it has all the right conditions which A>B is false.
3rd Apr 2021, 6:23 AM
Surafel Seboka
Surafel Seboka - avatar
+ 1
A<B returns true Also A<B to z returms true
1st Apr 2021, 7:55 AM
Ahmed Afgooye 🇸🇴 🇸🇴
Ahmed Afgooye 🇸🇴 🇸🇴 - avatar
+ 1
C) Because a=b is an assignment operation .. not a comparison 🤗 A<B is okay but most programming languages allow only lowercase letters..
1st Apr 2021, 1:45 PM
Sanjay Kamath
Sanjay Kamath - avatar
+ 1
Its A<=B. We dont the values but we know that A cant be bigger. So that mean A can be less or equal to B.
1st Apr 2021, 1:50 PM
Haos Kid
Haos Kid - avatar