20 réponses
Hello, thank you?
Already, or means the same thing as in French, in logic and in electronics...
. .
\_/
Already, or means the same thing as in French, in logic and in electronics...
. .
\_/
Hello.
In fact, computer science AND (ET), OR (OU), NOT (NON) are simply operators used to perform bitwise operations.
Example:
9 AND 7 = 1
Explanation:
9 in binary is 1001
7 in binary is 0111
With a logical operator, we perform the operation on each bit, so:
AND A | B | S
----------------------
0 | 0 | 0
0 | 1 | 0
1 | 0 | 0
1 | 1 | 0
So 9 AND 7 => 1001 AND 0111 = 0001
For more info, email me. And Google is your friend. ;)
josch83
In fact, computer science AND (ET), OR (OU), NOT (NON) are simply operators used to perform bitwise operations.
Example:
9 AND 7 = 1
Explanation:
9 in binary is 1001
7 in binary is 0111
With a logical operator, we perform the operation on each bit, so:
AND A | B | S
----------------------
0 | 0 | 0
0 | 1 | 0
1 | 0 | 0
1 | 1 | 0
So 9 AND 7 => 1001 AND 0111 = 0001
For more info, email me. And Google is your friend. ;)
josch83
Hello, I asked a question about the operators AND, OR, and the one who replied right after your response wasn't me but apparently a troublemaker pretending to be others.
Can you explain how to calculate with AND, OR?
1001 AND 0111
1001 OR 0111
1001 OR 0111
and what do AND, OR, and OR represent in computing?
Thank you in advance because I don't understand anything.
Can you explain how to calculate with AND, OR?
1001 AND 0111
1001 OR 0111
1001 OR 0111
and what do AND, OR, and OR represent in computing?
Thank you in advance because I don't understand anything.
laurent,
Before asking a question, one must do a little research.
However, part of the answer you are looking for has already been provided in the discussion here.
Make a little effort...
-= Bobinours - http://bobin.underlands.org =-
Before asking a question, one must do a little research.
However, part of the answer you are looking for has already been provided in the discussion here.
Make a little effort...
-= Bobinours - http://bobin.underlands.org =-
come on I'm too good: http://www.commentcamarche.com/logic/intro.php3
http://www.commentcamarche.com/base/binaire.php3
honestly you have everything here!! read this message and the links carefully
LMCT
PS a bit of information for your general knowledge in English OU=OR and ET=AND (wow I'm such a beast in English! lol )
All I know is I’m in love
with someone who loves me too.
http://www.commentcamarche.com/base/binaire.php3
honestly you have everything here!! read this message and the links carefully
LMCT
PS a bit of information for your general knowledge in English OU=OR and ET=AND (wow I'm such a beast in English! lol )
All I know is I’m in love
with someone who loves me too.
By the way, this story is so ridiculous about the guy who doesn't even get that 'ou' = 'or'
then a certain 'laurentfake' takes the place of 'laurentsimplet' to throw out some XOR... like, I'll correct you on what you're saying because you are all inferior to me in this area
and then here we go again 'laurentsimplet' comes back with a big smile to inform us that it wasn't him but an impostor, the famous 'laurentfake'... and therefore resumes his role of a big simpleton by asking us 'what is 'OU' or 'OR' because I still don't understand...
Conclusion:
One of two things
1) Either you are completely messing with us and you're the king of pathological liars
2) Or you are really too stupid to understand because, okay, you might have some difficulties, but to come back and say 'what is 'OU' and 'OR'', come on, you seriously have to be retarded and in that case, sorry for you but there's nothing we can do!
P.S. it's nice that you registered to back up the so-called theory of 'I’m nice, it’s not me who was messing with you earlier', now every time I see a question asked by a registered Laurent, I’M SKIPPING!
then a certain 'laurentfake' takes the place of 'laurentsimplet' to throw out some XOR... like, I'll correct you on what you're saying because you are all inferior to me in this area
and then here we go again 'laurentsimplet' comes back with a big smile to inform us that it wasn't him but an impostor, the famous 'laurentfake'... and therefore resumes his role of a big simpleton by asking us 'what is 'OU' or 'OR' because I still don't understand...
Conclusion:
One of two things
1) Either you are completely messing with us and you're the king of pathological liars
2) Or you are really too stupid to understand because, okay, you might have some difficulties, but to come back and say 'what is 'OU' and 'OR'', come on, you seriously have to be retarded and in that case, sorry for you but there's nothing we can do!
P.S. it's nice that you registered to back up the so-called theory of 'I’m nice, it’s not me who was messing with you earlier', now every time I see a question asked by a registered Laurent, I’M SKIPPING!
Nice try dude... but you forgot to mention XOR (the exclusive or)... so be more exhaustive next time!
Hi Laurent,
What Marden (our French language advisor) was trying to explain to you is that "exhaustif" already means everything. Just as a superlative expresses "the most."
We say "better," but not "more better" (at least in French).
His response was not inappropriate towards you, and he did not disrespect you, so do the same.
Thank you :o)
-= Bobinours =-
What Marden (our French language advisor) was trying to explain to you is that "exhaustif" already means everything. Just as a superlative expresses "the most."
We say "better," but not "more better" (at least in French).
His response was not inappropriate towards you, and he did not disrespect you, so do the same.
Thank you :o)
-= Bobinours =-
I think you are the one who is mistaken!
Either you say "be clearer" or you say "be exhaustive"
but you can't go deeper into a topic once you ask to be exhaustive, can you?
So we can't be MORE exhaustive even if it's a comparison.
It's a bit like "he hit rock bottom and he's starting to dig!"
Don't you agree?
LMCT (who got a 6 in his French baccalaureate! lol!)
All I know is I’m in love
with someone who loves me too.
Either you say "be clearer" or you say "be exhaustive"
but you can't go deeper into a topic once you ask to be exhaustive, can you?
So we can't be MORE exhaustive even if it's a comparison.
It's a bit like "he hit rock bottom and he's starting to dig!"
Don't you agree?
LMCT (who got a 6 in his French baccalaureate! lol!)
All I know is I’m in love
with someone who loves me too.
;-))
Moreover, the guy is so multilingual!! The AND, the OR, and the XOR? Laugh... And he tells people to screw off with his XOR? Laugh...
Hey, dude, I want to tell you something: When people come here, it's usually because they're in a bind, and we like to help them.... However, where it gets a bit tricky is reading some incoherent posts, especially when you can sense a response that feels like "taking the mickey," you see, that doesn’t sit well... Especially since just the title of your post is funny...
Are you aware that a famous publisher, "HARRAPS" as its name suggests, publishes books that help translate one language into another? And the worst of the worst, do you know that they released something "French/English"? Even German!! Imagine!! I swear!!
Only a 10-year-old child would not (yet) think to pick up a dictionary... And even then!! The difference between AND and OR!! Even in French, everyone knows that!! No need for computer science for that!!
Here's an example (laugh): If (IF) I take you for a fool AND I’m mocking you, then (then) EITHER you're upset OR you won't come back to make fun of us (END IF) Laugh...
Easy peasy!!! ;-)))))))
Woof....
Wild and Free
Moreover, the guy is so multilingual!! The AND, the OR, and the XOR? Laugh... And he tells people to screw off with his XOR? Laugh...
Hey, dude, I want to tell you something: When people come here, it's usually because they're in a bind, and we like to help them.... However, where it gets a bit tricky is reading some incoherent posts, especially when you can sense a response that feels like "taking the mickey," you see, that doesn’t sit well... Especially since just the title of your post is funny...
Are you aware that a famous publisher, "HARRAPS" as its name suggests, publishes books that help translate one language into another? And the worst of the worst, do you know that they released something "French/English"? Even German!! Imagine!! I swear!!
Only a 10-year-old child would not (yet) think to pick up a dictionary... And even then!! The difference between AND and OR!! Even in French, everyone knows that!! No need for computer science for that!!
Here's an example (laugh): If (IF) I take you for a fool AND I’m mocking you, then (then) EITHER you're upset OR you won't come back to make fun of us (END IF) Laugh...
Easy peasy!!! ;-)))))))
Woof....
Wild and Free
WhiteFang, I'm fully supporting you here. This is a forum to help, and it's possible that we forget some things, and in general, there's Google and others to help you find them. But what's annoying about all this is when some people come to have their little debates that have nothing to do with it. Well, have a good evening everyone. ;)
josch83
josch83
As I have a good heart (with a "d", which my key sometimes forgets or multiplies by 3), I am sharing the address of a small script from my early days in JS, which combines a converter and an adder (limited to 16 digits), giving the "AND", the "OR", and the "XOR" for binary inputs:
http://www.scriptzone-fr.com/javascript/calculbase.htm
http://www.scriptzone-fr.com/javascript/calculbase.htm
Here is what I call being constructive, Marden...
It's very different from your first post, which had nothing to do with the topic.
Well done and especially thank you for your valuable help!
As for WhiteFang and his "humor" that's worth nothing...
Have you ever thought about consulting a specialist????
You don't have to be so paranoid, man!
Because if some people see dwarfs everywhere... for you, it's trolls, that shows the severity of your condition!
It's very different from your first post, which had nothing to do with the topic.
Well done and especially thank you for your valuable help!
As for WhiteFang and his "humor" that's worth nothing...
Have you ever thought about consulting a specialist????
You don't have to be so paranoid, man!
Because if some people see dwarfs everywhere... for you, it's trolls, that shows the severity of your condition!
What unnecessary gloss...
Johan
The software said "Requires Windows98, Win2000, or better,
So I installed Unix.
Johan
The software said "Requires Windows98, Win2000, or better,
So I installed Unix.
and, or, not are used to activate or deactivate options, parameters...
Example:
You can turn on and off the keyboard LEDs (caps, num, scroll)
1: on
0: off
either (1)b for num (1)d
(10)b for caps (2)d
(100)b scroll (4)d
if all 3 are on, we have (7)d or (111)b
(NB: these are not the correct values, we are interested in the principle)
if we want to turn on caps:
(state before) or (010)b
if we want to turn off scroll
(state before) and (110)b
Example:
You can turn on and off the keyboard LEDs (caps, num, scroll)
1: on
0: off
either (1)b for num (1)d
(10)b for caps (2)d
(100)b scroll (4)d
if all 3 are on, we have (7)d or (111)b
(NB: these are not the correct values, we are interested in the principle)
if we want to turn on caps:
(state before) or (010)b
if we want to turn off scroll
(state before) and (110)b
It's me who asked the real question about "OR, AND, or Else, thanks josh83 but the one who replies to you after is not me, another one who thinks he's clever pretending to be someone else.
Operators | Name | Check Condition |
--------------------------------------------------------------------------------------
A and B | AND | True if A AND B are true. |
--------------------------------------------------------------------------------------
A or B | OR | True if A OR B is true. |
--------------------------------------------------------------------------------------
A xor B | XOR | True if A OR B is true, but not both at the same time. |
--------------------------------------------------------------------------------------
not A | NOT | True if A is false. |
--------------------------------------------------------------------------------------
A = 0110
B = 1010
With AND:
----------
A and B:
0110
and 1010
----
0010
With OR:
----------
A or B:
0110
or 1010
----
1110
With XOR:
----------
A xor B:
0110
xor 1010
----
1100
With NOT:
----------
not A:
not 0110
----
1001
--------------------------------------------------------------------------------------
A and B | AND | True if A AND B are true. |
--------------------------------------------------------------------------------------
A or B | OR | True if A OR B is true. |
--------------------------------------------------------------------------------------
A xor B | XOR | True if A OR B is true, but not both at the same time. |
--------------------------------------------------------------------------------------
not A | NOT | True if A is false. |
--------------------------------------------------------------------------------------
A = 0110
B = 1010
With AND:
----------
A and B:
0110
and 1010
----
0010
With OR:
----------
A or B:
0110
or 1010
----
1110
With XOR:
----------
A xor B:
0110
xor 1010
----
1100
With NOT:
----------
not A:
not 0110
----
1001
afterwards it's not me it's another laurent apparently who wants to cause trouble.
It's complicated to calculate with this binary mode I didn't understand anything.
It's complicated to calculate with this binary mode I didn't understand anything.
It should be verifiable by the moderators with the IP addresses... :-)
See you Blux "Fools will try anything.
That's how we recognize them"
See you Blux "Fools will try anything.
That's how we recognize them"