Click here to Skip to main content
15,850,299 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
David Crow30-Nov-23 8:41
David Crow30-Nov-23 8:41 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
Amarnath S30-Nov-23 4:39
professionalAmarnath S30-Nov-23 4:39 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol PinPopular
raddevus30-Nov-23 6:15
mvaraddevus30-Nov-23 6:15 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
PIEBALDconsult30-Nov-23 6:44
mvePIEBALDconsult30-Nov-23 6:44 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
StarNamer@work30-Nov-23 6:43
professionalStarNamer@work30-Nov-23 6:43 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
jschell30-Nov-23 7:23
jschell30-Nov-23 7:23 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
Gerry Schmitz30-Nov-23 8:09
mveGerry Schmitz30-Nov-23 8:09 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
0x01AA30-Nov-23 8:31
mve0x01AA30-Nov-23 8:31 
Arithmetics:
Binary and Hex and this and that base is all the same. Only the base is different.
E.g. adding two numbers based on 2 or 16 or 10 following the same scheme.

Boolean Algebra:
This is a different from the above and needs to be explained seperately.
Here the operators are different. Operators like 'logical and', 'logical or', 'not', .... that are boolean operations and not arithmetic operators.

Why it is different
Let us have two boolean variables 'a' and 'b'. They can only have the values TRUE or FALSE.
One fundamental law in Boolean algebra is:
a AND b == NOT(NOT a OR NOT b) which is very different from arithmetics I think.
Same is valid for e.g.
a OR b == NOT(NOT a AND NOT b)


*1) 'Arithmetic' example, more number representing for different bases

I assume you know all these, therefore only as a basic idea how to start....

In my opinion you need to explain what number representation based on a different bases means.
The very basic thing how to represent a number based on any base 'b' is:

... b^2   b^1   b^0  ...  b^-1   b^-2 ....

The available digits depend on the base.

Examples for bases and available digits:
Base 2 (binary)  : 0, 1
Base 10 (decimal): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Base 16 (Hex)    : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

Example for the representataion of the decimal number 123 with different bases:
          b^7    b^6   b^5   b^4   b^3   b^2   b^1  b^0
Base 2 :  128     64    32    16     8     4     2    1
            0      1     1     1     1     0     1    1  = 1x64 + 1x32 + 1x16 + 1x8 + 1x2 + 1x1 = 123

Base 10: 10^7   10^6  10^5  10^4  10^3   100    10    1
            0      0     0     0     0     1     2    3  = 1x100 + 2x10 + 3x1 = 123
         
Base 16: 16^7   16^6  16^5  16^4  16^3  16^2    16    1
            0      0     0     0     0     0     7    B  = 7x16 + Bx1= 123

I hope I made no mistakes while writing the above ;)


modified 30-Nov-23 15:02pm.

GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
devenv.exe30-Nov-23 8:35
professionaldevenv.exe30-Nov-23 8:35 
JokeRe: Preferred Pedagogical Paradigmatic Protocol Pin
jeron130-Nov-23 13:00
jeron130-Nov-23 13:00 
JokePeter Piper Picked a Peck of Pickled Peppers Pin
Peter_in_278030-Nov-23 15:23
professionalPeter_in_278030-Nov-23 15:23 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
englebart1-Dec-23 15:38
professionalenglebart1-Dec-23 15:38 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
englebart1-Dec-23 15:47
professionalenglebart1-Dec-23 15:47 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
Roger Wright2-Dec-23 15:02
professionalRoger Wright2-Dec-23 15:02 
GeneralRe: Preferred Pedagogical Paradigmatic Protocol Pin
Juan Pablo Reyes Altamirano4-Dec-23 10:34
Juan Pablo Reyes Altamirano4-Dec-23 10:34 
GeneralGround Eggshell Flour Pin
C-P-User-330-Nov-23 4:19
C-P-User-330-Nov-23 4:19 
GeneralRe: Ground Eggshell Flour Pin
PIEBALDconsult30-Nov-23 4:26
mvePIEBALDconsult30-Nov-23 4:26 
GeneralRe: Ground Eggshell Flour Pin
Richard MacCutchan30-Nov-23 4:28
mveRichard MacCutchan30-Nov-23 4:28 
GeneralRe: Ground Eggshell Flour Pin
C-P-User-330-Nov-23 4:40
C-P-User-330-Nov-23 4:40 
GeneralRe: Ground Eggshell Flour Pin
Richard MacCutchan30-Nov-23 5:07
mveRichard MacCutchan30-Nov-23 5:07 
GeneralRe: Ground Eggshell Flour Pin
jschell30-Nov-23 7:38
jschell30-Nov-23 7:38 
GeneralRe: Ground Eggshell Flour Pin
MarkTJohnson30-Nov-23 4:53
professionalMarkTJohnson30-Nov-23 4:53 
GeneralRe: Ground Eggshell Flour Pin
C-P-User-39-Dec-23 6:12
C-P-User-39-Dec-23 6:12 
GeneralRe: Ground Eggshell Flour Pin
Maximilien30-Nov-23 4:56
Maximilien30-Nov-23 4:56 
GeneralRe: Ground Eggshell Flour Pin
charlieg1-Dec-23 0:08
charlieg1-Dec-23 0:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.