Go Back   Computer Forums > Welcome To Computer Forums .org > Social Lounge | Off Topic
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 09-21-2006, 12:06 PM   #21
Daemon Poster
 
Jon.'s Avatar
 
Join Date: Jun 2006
Posts: 511
Send a message via AIM to Jon. Send a message via Yahoo to Jon.
Default Re: How many poeple

lol. I'm in my CISCO class right now... Just got done taking a test just hangin out now.
__________________

__________________
It's no different then the war against maggots and men, or dragons and wolves... or men ridding dragons throwing wolves at maggots....
Jon. is offline   Reply With Quote
Old 09-21-2006, 03:06 PM   #22
Fully Optimized
 
troy's Avatar
 
Join Date: Jul 2006
Location: USA
Posts: 2,410
Default Re: How many poeple

I have no clue about binary, hexadecimal or any of that. I just know that binary is ones and zeroes. I'm new to programming so I don't know much...
__________________

__________________
Desktop: Dell Dimension E510, 2.5GB RAM, Intel P4 3.0GHZ, 250GB HDD, Windows Vista Premium. Might not be the best, but the old girl is still running good.
troy is offline   Reply With Quote
Old 09-21-2006, 03:11 PM   #23
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,003
Default Re: How many poeple

the boolean algebra is a simple equation for a set logic...

Q is the resultant of the equation, and is either true or false depending on the conditions of the equation...

the reaon I asked if it made any sense is because the set of matmatical signs have a completly different meaning...

+ means OR
* means AND
! means NOT

so if I say Q = A,
if A is true then Q is true.
if the equation is Q = A+B
the Q will be true if either A is true or B is true or if both A and B are true

the ! means not...

so if Q = !A
Q will only be true if condition A is false...

so if Q = !A+!B Q is only true if condition A and condition B are both false...
as I said, * means AND...
so if q = A*B Q is only true if A and B conditions are both met...
if I said Q = !(A*B) then Q is only true if neither condition A or condition B are false..

HoLd on a minute that means that means that
Q = !A+!B = !(A*B)...

boolean algebra is all about taking complicated logical expressions an simplifying them according to simple sets of rules...

for instance...
Q = (A*B) + (A*!B) can be simplified to Q = A

this is mightly useful in electronics when you are looking at true and false to mean voltages...

but it's also quite useful in programming of computers when you might be loking at a statement like

IF ((checkbox1.checked == TRUE AND checkbox2.checked == TRUE)OR(checkbox1.checked==TRUE AND checkbox2.checked=FALSE)) THEN...

can easily be simplified to IF(checkbox1.checked == TRUE) THEN...
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 09-21-2006, 03:24 PM   #24
Fully Optimized
 
Nik00117's Avatar
 
Join Date: May 2005
Posts: 4,025
Send a message via AIM to Nik00117 Send a message via MSN to Nik00117 Send a message via Yahoo to Nik00117
Default Re: How many poeple

Ok lets say you got the following binary code
10101110

In hex it'll equal
AE
Oct it'll equal
256

Oct is unit of 3 so basically you take the binary number and chop it up like this
10 101 110
2 5 6

Now Hex is based on 0 to F and based on 4. So you'd cut up the binary like this
1010 1110
A E
__________________
Main Rig: I7 920 CPU, 6 Gigs ram 5870 GPU
M17X Laptop 2.8 Ghz Dual Core, 4870 Radeon
Nik00117 is offline   Reply With Quote
Old 09-21-2006, 03:25 PM   #25
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: How many poeple

I remember thinking how cool it was when I first learned how to do it. Its like speaking another language - not many people can do it!
David Lindon is offline   Reply With Quote
Old 09-21-2006, 03:35 PM   #26
Fully Optimized
 
troy's Avatar
 
Join Date: Jul 2006
Location: USA
Posts: 2,410
Default Re: How many poeple

programming to me is also like speaking another language


We did learn the and, not and or when we did scheme. We used it when making conditionals... for example [(and(>= input 50) (<= input 70)) true]
__________________
Desktop: Dell Dimension E510, 2.5GB RAM, Intel P4 3.0GHZ, 250GB HDD, Windows Vista Premium. Might not be the best, but the old girl is still running good.
troy is offline   Reply With Quote
Old 09-21-2006, 05:09 PM   #27
Fully Optimized
 
Nik00117's Avatar
 
Join Date: May 2005
Posts: 4,025
Send a message via AIM to Nik00117 Send a message via MSN to Nik00117 Send a message via Yahoo to Nik00117
Default Re: How many poeple

I figured out and today, however done much more then that though.
__________________

__________________
Main Rig: I7 920 CPU, 6 Gigs ram 5870 GPU
M17X Laptop 2.8 Ghz Dual Core, 4870 Radeon
Nik00117 is offline   Reply With Quote
Reply

« hello | vpn? »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 08:29 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0