https://www.trccompsci.online/mediawiki/api.php?action=feedcontributions&user=MattPeet&feedformat=atomTRCCompSci - AQA Computer Science - User contributions [en-gb]2024-03-28T10:37:36ZUser contributionsMediaWiki 1.31.6https://www.trccompsci.online/mediawiki/index.php?title=How_would_you_increase_the_maximum_size_of_a_players_hand&diff=3867How would you increase the maximum size of a players hand2017-11-14T11:40:14Z<p>MattPeet: </p>
<hr />
<div>You would increase the value for the integer MaxHandSize.<br />
<syntaxhighlight lang="C#"><br />
static void Main(string[] args)<br />
{<br />
List<String> AllowedWords = new List<string>();<br />
Dictionary<Char, int> TileDictionary = new Dictionary<char, int>();<br />
int MaxHandSize = 20;<br />
</syntaxhighlight></div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=DisplayTilesInHand&diff=3859DisplayTilesInHand2017-11-14T11:28:05Z<p>MattPeet: Created page with "<syntaxhighlight lang="C#"> private static void DisplayTilesInHand(string PlayerTiles) { Console.WriteLine(); Console.WriteLine("Your current h..."</p>
<hr />
<div><syntaxhighlight lang="C#"><br />
private static void DisplayTilesInHand(string PlayerTiles)<br />
{<br />
Console.WriteLine();<br />
Console.WriteLine("Your current hand:" + PlayerTiles);<br />
}<br />
<br />
Choice = GetChoice();<br />
if (Choice == "1")<br />
{<br />
DisplayTileValues(TileDictionary, AllowedWords);<br />
}<br />
else if (Choice == "4")<br />
{<br />
TileQueue.Show();<br />
}<br />
else if (Choice == "7")<br />
{<br />
DisplayTilesInHand(PlayerTiles);<br />
}<br />
</syntaxhighlight><br />
The method that displays the tile in a players hand takes the string PlayerTiles and Writes it in the program.<br />
The player can do this at any time during their turn by pressing "7" on their turn.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Fundamentals_of_computer_organisation_and_architecture&diff=1679Fundamentals of computer organisation and architecture2017-02-28T17:53:44Z<p>MattPeet: /* I/O */</p>
<hr />
<div>=3 Box Model=<br />
<br />
==Processor==<br />
<br />
==Main Memory==<br />
<br />
==I/O==<br />
Input/Output or I/O is the communication between a device such as a computer and external devices. The Inputs are information received by the computer from external devices and the Output is the information sent by the computer out to external devices.<br />
<br />
I/O devices are hardware used by a human in order to interact with the computer. For example a keyboard and mouse are used to operate computers and are necessary for use to be able to use a computer efficiently, these are input devices, while the computer sends out information to the monitors in order for the person using the computer to see what is happening, information is also sent from the computer to printer telling it where to apply ink to the page and what colors to use when printing, these are output devices. There are also devices used to communicate between computers, such as modems or network cards, devices like these act as both input and output devices.<br />
<br />
Input devices are devices that take physical movements from the user and convert those inputs into input signals which the computer can understand.<br />
<br />
Output devices are devices that take signals from the computer and and convert them into something the user can understand, e.g the display on a monitor or the page printed by the printer.<br />
<br />
[[File:Output system.jpg]]<br />
<br />
=extended model with split I/O=<br />
<br />
=System Bus=<br />
<br />
==Control Bus==<br />
<br />
==Address Bus==<br />
<br />
==Data Bus==<br />
<br />
=Stored Program Concept=<br />
<br />
=von Neumann Architecture=<br />
von Neumann Architecture is a type of computer architecture, based on the design created by John von Neumann in 1945.<br />
<br />
Computer systems that use von Neumann Architecture contain three main components; the central processing unit (CPU), memory, and input/output devices (I/O), which are all connected together using the system bus.<br />
<br />
The memory stores the information (data/program). <br />
The processing unit handles computation/processing of information.<br />
The Input receives the information from input devices such as mouse and keyboard.<br />
The Output sends information out to devices such as the monitor or printer.<br />
The Control unit endures that the other components are performing their tasks correctly.<br />
<br />
[[File:von Neumann Architecture.jpg]]<br />
<br />
=Harvard Architecture=<br />
Harvard Architecture is a type of computer architecture based on the Harvard Mark 1 relay-based computer, which stored instructions on punched tape and data in electro-mechanical counters.<br />
<br />
Computer systems that use Harvard Architecture have their memory split into two parts. One part of the memory is used for data storage and handling, while the other half is used to run programs. Each part of the memory is accessed with a different bus, meaning the central processing unit can fetch data and instructions at the same time. This also decreases the chance of a program corruption.<br />
<br />
Harvard Architecture is sometimes used within the central processing unit to handle its catches, but it is used less with main memory because of its complexity and cost.<br />
<br />
[[File:Harvard Architecture.jpg]]</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Fundamentals_of_computer_organisation_and_architecture&diff=1677Fundamentals of computer organisation and architecture2017-02-28T17:51:00Z<p>MattPeet: /* I/O */</p>
<hr />
<div>=3 Box Model=<br />
<br />
==Processor==<br />
<br />
==Main Memory==<br />
<br />
==I/O==<br />
Input/Output or I/O is the communication between a device such as a computer and external devices. The Inputs are information received by the computer from external devices and the Output is the information sent by the computer out to external devices.<br />
<br />
I/O devices are hardware used by a human in order to interact with the computer. For example a keyboard and mouse are used to operate computers and are necessary for use to be able to use a computer efficiently, these are input devices, while the computer sends out information to the monitors in order for the person using the computer to see what is happening, information is also sent from the computer to printer telling it where to apply ink to the page and what colors to use when printing, these are output devices. There are also devices used to communicate between computers, such as modems or network cards, devices like these act as both input and output devices.<br />
<br />
Input devices are devices that take physical movements from the user and convert those inputs into input signals which the computer can understand.<br />
<br />
Output devices are devices that take signals from the computer and and convert them into something the user can understand, e.g the display on a monitor or the page printed by the printer.<br />
<br />
[[File:input/output system.jpg]]<br />
<br />
=extended model with split I/O=<br />
<br />
=System Bus=<br />
<br />
==Control Bus==<br />
<br />
==Address Bus==<br />
<br />
==Data Bus==<br />
<br />
=Stored Program Concept=<br />
<br />
=von Neumann Architecture=<br />
von Neumann Architecture is a type of computer architecture, based on the design created by John von Neumann in 1945.<br />
<br />
Computer systems that use von Neumann Architecture contain three main components; the central processing unit (CPU), memory, and input/output devices (I/O), which are all connected together using the system bus.<br />
<br />
The memory stores the information (data/program). <br />
The processing unit handles computation/processing of information.<br />
The Input receives the information from input devices such as mouse and keyboard.<br />
The Output sends information out to devices such as the monitor or printer.<br />
The Control unit endures that the other components are performing their tasks correctly.<br />
<br />
[[File:von Neumann Architecture.jpg]]<br />
<br />
=Harvard Architecture=<br />
Harvard Architecture is a type of computer architecture based on the Harvard Mark 1 relay-based computer, which stored instructions on punched tape and data in electro-mechanical counters.<br />
<br />
Computer systems that use Harvard Architecture have their memory split into two parts. One part of the memory is used for data storage and handling, while the other half is used to run programs. Each part of the memory is accessed with a different bus, meaning the central processing unit can fetch data and instructions at the same time. This also decreases the chance of a program corruption.<br />
<br />
Harvard Architecture is sometimes used within the central processing unit to handle its catches, but it is used less with main memory because of its complexity and cost.<br />
<br />
[[File:Harvard Architecture.jpg]]</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=File:Harvard_Architecture.jpg&diff=1676File:Harvard Architecture.jpg2017-02-28T17:38:00Z<p>MattPeet: </p>
<hr />
<div></div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Fundamentals_of_computer_organisation_and_architecture&diff=1675Fundamentals of computer organisation and architecture2017-02-28T17:37:46Z<p>MattPeet: /* Harvard Architecture */</p>
<hr />
<div>=3 Box Model=<br />
<br />
==Processor==<br />
<br />
==Main Memory==<br />
<br />
==I/O==<br />
<br />
=extended model with split I/O=<br />
<br />
=System Bus=<br />
<br />
==Control Bus==<br />
<br />
==Address Bus==<br />
<br />
==Data Bus==<br />
<br />
=Stored Program Concept=<br />
<br />
=von Neumann Architecture=<br />
von Neumann Architecture is a type of computer architecture, based on the design created by John von Neumann in 1945.<br />
<br />
Computer systems that use von Neumann Architecture contain three main components; the central processing unit (CPU), memory, and input/output devices (I/O), which are all connected together using the system bus.<br />
<br />
The memory stores the information (data/program). <br />
The processing unit handles computation/processing of information.<br />
The Input receives the information from input devices such as mouse and keyboard.<br />
The Output sends information out to devices such as the monitor or printer.<br />
The Control unit endures that the other components are performing their tasks correctly.<br />
<br />
[[File:von Neumann Architecture.jpg]]<br />
<br />
=Harvard Architecture=<br />
Harvard Architecture is a type of computer architecture based on the Harvard Mark 1 relay-based computer, which stored instructions on punched tape and data in electro-mechanical counters.<br />
<br />
Computer systems that use Harvard Architecture have their memory split into two parts. One part of the memory is used for data storage and handling, while the other half is used to run programs. Each part of the memory is accessed with a different bus, meaning the central processing unit can fetch data and instructions at the same time. This also decreases the chance of a program corruption.<br />
<br />
Harvard Architecture is sometimes used within the central processing unit to handle its catches, but it is used less with main memory because of its complexity and cost.<br />
<br />
[[File:Harvard Architecture.jpg]]</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=File:Von_Neumann_Architecture.jpg&diff=1674File:Von Neumann Architecture.jpg2017-02-28T17:27:24Z<p>MattPeet: </p>
<hr />
<div></div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Fundamentals_of_computer_organisation_and_architecture&diff=1673Fundamentals of computer organisation and architecture2017-02-28T17:27:09Z<p>MattPeet: /* von Neumann Architecture */</p>
<hr />
<div>=3 Box Model=<br />
<br />
==Processor==<br />
<br />
==Main Memory==<br />
<br />
==I/O==<br />
<br />
=extended model with split I/O=<br />
<br />
=System Bus=<br />
<br />
==Control Bus==<br />
<br />
==Address Bus==<br />
<br />
==Data Bus==<br />
<br />
=Stored Program Concept=<br />
<br />
=von Neumann Architecture=<br />
von Neumann Architecture is a type of computer architecture, based on the design created by John von Neumann in 1945.<br />
<br />
Computer systems that use von Neumann Architecture contain three main components; the central processing unit (CPU), memory, and input/output devices (I/O), which are all connected together using the system bus.<br />
<br />
The memory stores the information (data/program). <br />
The processing unit handles computation/processing of information.<br />
The Input receives the information from input devices such as mouse and keyboard.<br />
The Output sends information out to devices such as the monitor or printer.<br />
The Control unit endures that the other components are performing their tasks correctly.<br />
<br />
[[File:von Neumann Architecture.jpg]]<br />
<br />
=Harvard Architecture=</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Subtraction&diff=355Subtraction2016-12-14T17:37:29Z<p>MattPeet: /* Binary Subtraction */</p>
<hr />
<div>=Binary Subtraction=<br />
Binary subtraction uses twos's complement and binary addition. For example if a question asks for 73-62 in binary you would convert +62 to -62 using two's complement and then do 73+(-62) using binary addition.<br />
<br />
First you would write out 73 and 62 in their respective binary forms using your preferred method and then add 0's to make them 8bit.<br />
<br />
73= 64+0+0+8+0+0+1 = 1001001. In 8bit 01001001<br />
62 =32+16+8+4+2+0 = 111110. In 8bit 00111110 <br />
<br />
Then convert +62 to -62 using your preferred method<br />
-62 = 11000010<br />
<br />
Then use binary addition to add 73 and -62<br />
01001001 +<br />
<br />
11000010<br />
<br />
=100001011<br />
<br />
However the addition left us with a carried 1 that makes the result 9bit, as two's complement uses 8bit we simply ignore the carried one making our final answer equal 00001011.<br />
<br />
We can check by converting to denary. 00001011 = 8+2+1=11 and 73-62=11.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Subtraction&diff=354Subtraction2016-12-14T17:37:16Z<p>MattPeet: /* Binary Subtraction */</p>
<hr />
<div>=Binary Subtraction=<br />
Binary subtraction uses twos's complement and binary addition. For example if a question asks for 73-62 in binary you would convert +62 to -62 using two's complement and then do 73+(-62) using binary addition.<br />
<br />
First you would write out 73 and 62 in their respective binary forms using your preferred method and then add 0's to make them 8bit.<br />
<br />
73= 64+0+0+8+0+0+1 = 1001001. In 8bit 01001001<br />
62 =32+16+8+4+2+0 = 111110. In 8bit 00111110 <br />
<br />
Then convert +62 to -62 using your preferred method<br />
-62 = 11000010<br />
<br />
Then use binary addition to add 73 and -62<br />
01001001 +<br />
<br />
11000010<br />
<br />
=100001011<br />
<br />
However the addition left us with a carried 1 that makes the result 9bit, as two's complement uses 8 bit we simply ignore the carried one making our final answer equal 00001011.<br />
<br />
We can check by converting to denary. 00001011 = 8+2+1=11 and 73-62=11.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Subtraction&diff=353Subtraction2016-12-14T17:37:08Z<p>MattPeet: /* Binary Subtraction */</p>
<hr />
<div>=Binary Subtraction=<br />
Binary subtraction uses twos's complement and binary addition. For example if a question asks for 73-62 in binary you would convert +62 to -62 using two's complement and then do 73+(-62) using binary addition.<br />
<br />
First you would write out 73 and 62 in their respective binary forms using your preferred method and then add 0's to make them 8bit.<br />
<br />
73= 64+0+0+8+0+0+1 = 1001001. In 8bit 01001001<br />
62 =32+16+8+4+2+0 = 111110. In 8bit 00111110 <br />
<br />
Then convert +62 to -62 using your preferred method<br />
-62 = 11000010<br />
<br />
Then use binary addition to add 73 and -62<br />
01001001 +<br />
<br />
11000010<br />
<br />
=100001011<br />
However the addition left us with a carried 1 that makes the result 9bit, as two's complement uses 8 bit we simply ignore the carried one making our final answer equal 00001011.<br />
<br />
We can check by converting to denary. 00001011 = 8+2+1=11 and 73-62=11.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Subtraction&diff=352Subtraction2016-12-14T17:36:53Z<p>MattPeet: Created page with "=Binary Subtraction= Binary subtraction uses twos's complement and binary addition. For example if a question asks for 73-62 in binary you would convert +62 to -62 using two's..."</p>
<hr />
<div>=Binary Subtraction=<br />
Binary subtraction uses twos's complement and binary addition. For example if a question asks for 73-62 in binary you would convert +62 to -62 using two's complement and then do 73+(-62) using binary addition.<br />
<br />
First you would write out 73 and 62 in their respective binary forms using your preferred method and then add 0's to make them 8bit.<br />
<br />
73= 64+0+0+8+0+0+1 = 1001001. In 8bit 01001001<br />
62 =32+16+8+4+2+0 = 111110. In 8bit 00111110 <br />
<br />
Then convert +62 to -62 using your preferred method<br />
-62 = 11000010<br />
<br />
Then use binary addition to add 73 and -62<br />
01001001 +<br />
<br />
11000010<br />
<br />
= 100001011<br />
However the addition left us with a carried 1 that makes the result 9bit, as two's complement uses 8 bit we simply ignore the carried one making our final answer equal 00001011.<br />
<br />
We can check by converting to denary. 00001011 = 8+2+1=11 and 73-62=11.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Negative_Numbers&diff=351Negative Numbers2016-12-14T17:22:43Z<p>MattPeet: /* Two's Complement */</p>
<hr />
<div>=Two's Complement=<br />
Two's Complement uses a similar number system to binary except the msb or left hand bit is a negative value, meaning for 8 bit two's complement it would be -128 instead of 128 like it is in regular 8bit binary.<br />
<br />
-128 64 32 16 8 4 2 1<br />
<br />
We can see that a 1 in the msb position, or the position of -128 would result in the binary number being negative as the other bits 64-1 only total 127. This means that even if there was a 1 in every position a two's complement number of 11111111 in binary would equal -1.<br />
<br />
this means that in two's complement if the msb is a 0 the number is positive and if it is a 1 the number is negative.<br />
<br />
Therefore we know that the smallest possible value in 8bit two's complement binary is 10000000 = -128 and the largest value is 01111111 = +127.<br />
<br />
=Using Two's Complement=<br />
Two's Complement can be used to convert binary numbers from positive to negative, to do this we need to:<br />
<br />
•Write the number is its equivalent positive binary form<br />
•Add 0's to the number to make it 8 bit<br />
•Invert each bit, changing 0's to 1's and 1's to 0's<br />
•Add 1 to the number to make it a two's complement number<br />
<br />
For example, represent -41 in two's complement form:<br />
<br />
First calculate +41 in binary using your preferred method<br />
<br />
41= 32+0+8+0+0+1 = 101001<br />
<br />
Then add 0's to make it 8 bit. 00101001<br />
<br />
Then Invert the bits. 11010110.<br />
<br />
Then Add 1 to the number. 11010110+1= 11010111.<br />
<br />
To check our answer we can convert the number to denary, remembering that the msb represent -128.<br />
<br />
11010111 = -128+64+16+4+2+1 = -41<br />
<br />
There is one other method for representing numbers in two's complement form, without using calculations. To do this we need to:<br />
<br />
•Write the number is its equivalent positive binary form<br />
•Add 0's to the number to make it 8 bit<br />
•Starting from the right and going left find the first 1 and keep it<br />
•Invert each bit, changing 0's to 1's and 1's to 0's, but don't invert the 1 you kept or any 0's to the right of it<br />
<br />
For example, represent -46 in twos complement:<br />
<br />
First calculate +46 in binary using your preferred method<br />
<br />
46= 32+0+8+4+2+0 = 101110<br />
<br />
Then add 0's to make it up to 8bit<br />
<br />
Then find the first one and keep it 001011'''1'''0<br />
<br />
Then invert the bits excluding the 1 you kept and all 0's to the right of it. 11010010<br />
<br />
To check our answer we can convert the number to denary, remembering that the msb represent -128.<br />
<br />
-128+64+16+2= -46</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Negative_Numbers&diff=350Negative Numbers2016-12-14T16:57:20Z<p>MattPeet: Created page with "=Two's Complement= Two's Complement uses a similar number system to binary except the msb or left hand bit is a negative value, meaning for 8 bit two's complement it would be ..."</p>
<hr />
<div>=Two's Complement=<br />
Two's Complement uses a similar number system to binary except the msb or left hand bit is a negative value, meaning for 8 bit two's complement it would be -128 instead of 128 like it is in regular 8bit binary.<br />
<br />
-128 64 32 16 8 4 2 1<br />
<br />
We can see that a 1 in the msb position, or the position of -128 would result in the binary number being negative as the other bits 64-1 only total 127. This means that even if there was a 1 in every position a two's complement number of 11111111 in binary would equal -1.<br />
<br />
this means that in two's complement if the msb is a 0 the number is positive and if it is a 1 the number is negative.<br />
<br />
Therefore we know that the smallest possible value in 8bit two's complement binary is 10000000 = -128 and the largest value is 01111111 = +127.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Multiplication&diff=349Multiplication2016-12-14T16:47:10Z<p>MattPeet: /* Binary Multiplication */</p>
<hr />
<div>=Binary Multiplication=<br />
Binary Multiplication uses a combination of multiplying by one, shifting and addition. When multiplying a binary number by 10 it is simply shifted to the left into the next column, this multiplies the original number by 2. Multiplying by 100 causes a shift of two places to the left which multiplies the original number by four.<br />
<br />
The rules for multiplying a binary number by another binary number is:<br />
<br />
For every 1 in the multiplier repeat the number being multiplied with as many zero's to the right of it as there are digits before the 1 in the multiplier.<br />
<br />
For every 0 in the multiplier nothing is written.<br />
<br />
For example multiply 22 by 5, which in binary is 10110 by 101<br />
<br />
starting from right to left there is a 1 in the multiplier so we write the number being multiplied normally 10110.<br />
<br />
The second number in the multiplier is a 0 so we write nothing.<br />
<br />
The last number in the multiplier is a 1 and there are two digits before it a 0 and a 1, 2 digits, so we write out the number being multiplied with 2 zeros to the right of it, 10110'''00'''<br />
<br />
After the number has been multiplied by all the digits in the multiplier we simply add them up using binary addition, be careful when writing the numbers out so they are lined up correctly for addition.<br />
<br />
..10110 + <br />
<br />
1011000<br />
<br />
=1101110 converting 1101110 to denary gives us 110, which is 22x5.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Multiplication&diff=348Multiplication2016-12-14T16:41:28Z<p>MattPeet: Created page with "=Binary Multiplication= Binary Multiplication uses a combination of multiplying by one, shifting and addition. When multiplying a binary number by 10 it is simply shifted to t..."</p>
<hr />
<div>=Binary Multiplication=<br />
Binary Multiplication uses a combination of multiplying by one, shifting and addition. When multiplying a binary number by 10 it is simply shifted to the left into the next column, this multiplies the original number by 2. Multiplying by 100 causes a shift of two places to the left which multiplies the original number by four.<br />
<br />
The rules for multiplying a binary number by another binary number is:<br />
<br />
For every 1 in the multiplier repeat the number being multiplied with as many zero's to the right of it as there are digits before the 1 in the multiplier.<br />
<br />
For every 0 in the multiplier nothing is written.<br />
<br />
For example multiply 10110 by 101<br />
<br />
starting from right to left there is a 1 in the multiplier so we write the number being multiplied normally 10110.<br />
<br />
The second number in the multiplier is a 0 so we write nothing.<br />
<br />
The last number in the multiplier is a 1 and there are two digits before it a 0 and a 1, 2 digits, so we write out the number being multiplied with 2 zeros to the right of it, 10110'''00'''</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Addition&diff=347Addition2016-12-14T16:29:50Z<p>MattPeet: /* Binary Addition */</p>
<hr />
<div>=Binary Addition=<br />
Binary addition is done similarly to normal addition but instead of a value of 10 being carried, in binary addition a value of 2 is carried to the next column. <br />
<br />
There are for possibilities when adding binary numbers, these possibilities are:<br />
<br />
•a total of 0 (0+0) put down 0<br />
<br />
•a total of 1 (1+0, 0+1 or 0+0+carried 1) put down 1<br />
<br />
•a total of 2 (1+1) put down 0, carry 1<br />
<br />
•a total of 3 (1+1+ carried 1) put down 1, carry 1<br />
<br />
For example, solve 6+7 using binary addition: <br />
<br />
First convert 6 and 7 from denary to binary using your preferred method<br />
<br />
6 = 4+2+0 = 110<br />
7 = 4+2+1 = 111<br />
<br />
Then add them keeping in mind the 4 possibilities<br />
<br />
110 +<br />
<br />
111<br />
<br />
0+1 = 1<br />
1+1 = 0 carry 1<br />
1+1+ carried 1 = 1 carry 1<br />
1 + 0 = 1<br />
<br />
so 110+111 = 1101. Converting this number back to denary gives us an answer of 13.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Addition&diff=346Addition2016-12-14T16:29:29Z<p>MattPeet: /* Binary Addition */</p>
<hr />
<div>=Binary Addition=<br />
Binary addition is done similarly to normal addition but instead of a value of 10 being carried, in binary addition a value of 2 is carried to the next column. <br />
<br />
There are for possibilities when adding binary numbers, these possibilities are:<br />
<br />
•A total of 0 (0+0) put down 0<br />
<br />
•A total of 1 (1+0, 0+1 or 0+0+carried 1) put down 1<br />
<br />
•A total of 2 (1+1) put down 0, carry 1<br />
<br />
•A total of 3 (1+1+ carried 1) put down 1, carry 1<br />
<br />
For example, solve 6+7 using binary addition: <br />
<br />
First convert 6 and 7 from denary to binary using your preferred method<br />
<br />
6 = 4+2+0 = 110<br />
7 = 4+2+1 = 111<br />
<br />
Then add them keeping in mind the 4 possibilities<br />
<br />
110 +<br />
<br />
111<br />
<br />
0+1 = 1<br />
1+1 = 0 carry 1<br />
1+1+ carried 1 = 1 carry 1<br />
1 + 0 = 1<br />
<br />
so 110+111 = 1101. Converting this number back to denary gives us an answer of 13.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Addition&diff=345Addition2016-12-14T16:28:27Z<p>MattPeet: Created page with "=Binary Addition= Binary addition is done similarly to normal addition but instead of a value of 10 being carried, in binary addition a value of 2 is carried to the next colum..."</p>
<hr />
<div>=Binary Addition=<br />
Binary addition is done similarly to normal addition but instead of a value of 10 being carried, in binary addition a value of 2 is carried to the next column. <br />
<br />
There are for possibilities when adding binary numbers, these possibilities are:<br />
<br />
A total of 0 (0+0) put down 0<br />
<br />
A total of 1 (1+0, 0+1 or 0+0+carried 1) put down 1<br />
<br />
A total of 2 (1+1) put down 0, carry 1<br />
<br />
A total of 3 (1+1+ carried 1) put down 1, carry 1<br />
<br />
For example, solve 6+7 using binary addition: <br />
<br />
First convert 6 and 7 from denary to binary using your preferred method<br />
<br />
6 = 4+2+0 = 110<br />
7 = 4+2+1 = 111<br />
<br />
Then add them keeping in mind the 4 possibilities<br />
<br />
110 +<br />
<br />
111<br />
<br />
0+1 = 1<br />
1+1 = 0 carry 1<br />
1+1+ carried 1 = 1 carry 1<br />
1 + 0 = 1<br />
<br />
so 110+111 = 1101. Converting this number back to denary gives us an answer of 13.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=344Conversions2016-12-14T16:14:18Z<p>MattPeet: /* Hexadecimal to Binary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 32 16 8 4 2 1<br />
<br />
Binary Number 1. 1. 0 0 1 0<br />
<br />
Therefore the denary number 50 when converted to binary would read 110010.<br />
<br />
<br />
Repeated Division Method:<br />
The repeated division method for denary to binary is done by taking the denary number you wish to convert and repeatedly dividing it by 2 as binary is base 2. <br />
<br />
When you divide the denary number by 2 you write down the result and the remainder until the result is 0. The final 1 and the remainders are read starting from the bottom and going up.<br />
<br />
Using 50 as an example again<br />
<br />
50÷2 = 25 remainder 0<br />
<br />
25÷2 = 12 remainder 1<br />
<br />
12÷2 = 6 remainder 0<br />
<br />
6÷2 = 3 remainder 0<br />
<br />
3÷2 = 1 remainder 1<br />
<br />
We then read the binary number bottom to top including the last 1 (the one we got as a result of 3÷2) which gives us a final answer of 110010.<br />
<br />
=Hexadecimal to Denary=<br />
Converting hexadecimal to denary is done using the place value method, to do this you need to know the hexadecimal number system<br />
[[File:Hexidecimal Powers.jpg]]<br />
<br />
The conversion method is the same as when converting denary to binary but you need to know the hexadecimal values.<br />
<br />
To convert a hexidecimal number to denary, starting from the right you would multiply the hexadecimal number by its denary value from the hexadecimal number system.<br />
<br />
For example:<br />
<br />
Converting for 2A9 to denary you would multiply, starting from the right, the 9 in the hexadecimal number by its corresponding denary value on the far right of the table 1, you would then multiply A by 16, substituting in A's value in hexadecimal which is 10 and then multiply 2 by 256.<br />
<br />
So to convert 2A9 to denary you would do 2x256 + 10x16 + 9x1 = 681. Meaning 2A9 in denary would be 681<br />
<br />
=Denary to Hexadecimal=<br />
Place value method:<br />
<br />
In order to convert denary to hexadecimal with the place value method, just like denary to binary you split up the denary number into the hexadecimal systen denary values that add up to it starting with the largest. However unlike denary to binary where you fit the largest value into the number once, when converting denary to hexadecimal you fit each value into the denary number as many times as possible.<br />
<br />
For example: Converting 1000 from denary to hexadecimal.<br />
<br />
You take the largest hexadecimal denary value that goes into it without exceeding it, 256, which can go into 100 3 times before exceeding it which gives us 3x256. We then take the next hexadecimal denary value 16 which can fit into the remaining 232 14 times giving us 14x16. The remaining final hexadecimal denary value 1, fits into the remaining 8, 8 times giving us 8x1<br />
<br />
We then turn these values into their hexadecimal values and add them together, 3 and 8 remain as they are and 14 becomes its hexadecimal value E<br />
<br />
so to convert 1000 from denary to hexadecimal we get 1000 = 3x256 + 14x16 + 8 = 3E8<br />
<br />
<br />
Repeated Division Method:<br />
This method is the same as it is for Denary to Binary except you divide by 16 each time instead of 2<br />
<br />
You take your hexadecimal number and divide it by 16, writing down the result and the remainder. You keep diving the result and writing down the remainder until you reach 0. When this happens you read you remainders from bottom to top which gives you the numbers Hexadecimal value.<br />
<br />
For example convert 12345 to hexadecimal:<br />
<br />
12345÷16 = 771 remainder 9<br />
771÷16 = 48 remainder 3<br />
48÷16 = 3 remainder 0<br />
3÷16 = 0 remainder 3<br />
<br />
Reading the remainders from bottom to top gives us the hexadecimal number 3039.<br />
<br />
=Binary to Hexadecimal=<br />
The conversions between binary and hexadecimal are very similar, both conversions have you splitting up the number in order to convert it, as 4 binary digits can be represented by 1 hexadecimal digit.<br />
<br />
To convert a Binary Number to a Hexadecimal number you need to split the binary number up into groups of 4 bits, starting from the right.<br />
<br />
Example:<br />
<br />
01011111<br />
<br />
Split the number into 2 groups of 4. 0101 and 1111. Then use the place value method to get the hexadecimal equivalent of each group.<br />
<br />
8 4 2 1<br />
<br />
0 1 0 1 = 5<br />
<br />
1 1 1 1 = 16 which in hexadecimal is F<br />
<br />
so 01011111 in hexadecimal is 5F<br />
<br />
<br />
=Hexadecimal to Binary=<br />
This conversion is the exact same as Binary to Hexadecimal but reversed, each hexadecimal digit is written as a string of 4 binary numbers<br />
<br />
Example:<br />
<br />
A7<br />
<br />
A = 10 = 8+0+2+0 = 1010<br />
<br />
7 = 0+4+2+1 = 0111<br />
<br />
so A7 as in binary is 10100111</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=343Conversions2016-12-14T16:13:57Z<p>MattPeet: /* Binary and Hexadecimal */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 32 16 8 4 2 1<br />
<br />
Binary Number 1. 1. 0 0 1 0<br />
<br />
Therefore the denary number 50 when converted to binary would read 110010.<br />
<br />
<br />
Repeated Division Method:<br />
The repeated division method for denary to binary is done by taking the denary number you wish to convert and repeatedly dividing it by 2 as binary is base 2. <br />
<br />
When you divide the denary number by 2 you write down the result and the remainder until the result is 0. The final 1 and the remainders are read starting from the bottom and going up.<br />
<br />
Using 50 as an example again<br />
<br />
50÷2 = 25 remainder 0<br />
<br />
25÷2 = 12 remainder 1<br />
<br />
12÷2 = 6 remainder 0<br />
<br />
6÷2 = 3 remainder 0<br />
<br />
3÷2 = 1 remainder 1<br />
<br />
We then read the binary number bottom to top including the last 1 (the one we got as a result of 3÷2) which gives us a final answer of 110010.<br />
<br />
=Hexadecimal to Denary=<br />
Converting hexadecimal to denary is done using the place value method, to do this you need to know the hexadecimal number system<br />
[[File:Hexidecimal Powers.jpg]]<br />
<br />
The conversion method is the same as when converting denary to binary but you need to know the hexadecimal values.<br />
<br />
To convert a hexidecimal number to denary, starting from the right you would multiply the hexadecimal number by its denary value from the hexadecimal number system.<br />
<br />
For example:<br />
<br />
Converting for 2A9 to denary you would multiply, starting from the right, the 9 in the hexadecimal number by its corresponding denary value on the far right of the table 1, you would then multiply A by 16, substituting in A's value in hexadecimal which is 10 and then multiply 2 by 256.<br />
<br />
So to convert 2A9 to denary you would do 2x256 + 10x16 + 9x1 = 681. Meaning 2A9 in denary would be 681<br />
<br />
=Denary to Hexadecimal=<br />
Place value method:<br />
<br />
In order to convert denary to hexadecimal with the place value method, just like denary to binary you split up the denary number into the hexadecimal systen denary values that add up to it starting with the largest. However unlike denary to binary where you fit the largest value into the number once, when converting denary to hexadecimal you fit each value into the denary number as many times as possible.<br />
<br />
For example: Converting 1000 from denary to hexadecimal.<br />
<br />
You take the largest hexadecimal denary value that goes into it without exceeding it, 256, which can go into 100 3 times before exceeding it which gives us 3x256. We then take the next hexadecimal denary value 16 which can fit into the remaining 232 14 times giving us 14x16. The remaining final hexadecimal denary value 1, fits into the remaining 8, 8 times giving us 8x1<br />
<br />
We then turn these values into their hexadecimal values and add them together, 3 and 8 remain as they are and 14 becomes its hexadecimal value E<br />
<br />
so to convert 1000 from denary to hexadecimal we get 1000 = 3x256 + 14x16 + 8 = 3E8<br />
<br />
<br />
Repeated Division Method:<br />
This method is the same as it is for Denary to Binary except you divide by 16 each time instead of 2<br />
<br />
You take your hexadecimal number and divide it by 16, writing down the result and the remainder. You keep diving the result and writing down the remainder until you reach 0. When this happens you read you remainders from bottom to top which gives you the numbers Hexadecimal value.<br />
<br />
For example convert 12345 to hexadecimal:<br />
<br />
12345÷16 = 771 remainder 9<br />
771÷16 = 48 remainder 3<br />
48÷16 = 3 remainder 0<br />
3÷16 = 0 remainder 3<br />
<br />
Reading the remainders from bottom to top gives us the hexadecimal number 3039.<br />
<br />
=Binary to Hexadecimal=<br />
The conversions between binary and hexadecimal are very similar, both conversions have you splitting up the number in order to convert it, as 4 binary digits can be represented by 1 hexadecimal digit.<br />
<br />
To convert a Binary Number to a Hexadecimal number you need to split the binary number up into groups of 4 bits, starting from the right.<br />
<br />
Example:<br />
<br />
01011111<br />
<br />
Split the number into 2 groups of 4. 0101 and 1111. Then use the place value method to get the hexadecimal equivalent of each group.<br />
<br />
8 4 2 1<br />
<br />
0 1 0 1 = 5<br />
<br />
1 1 1 1 = 16 which in hexadecimal is F<br />
<br />
so 01011111 in hexadecimal is 5F<br />
<br />
<br />
=Hexadecimal to Binary=<br />
This conversion is the exact same as Binary to Hexadecimal but reversed, each hexadecimal digit is written as a string of 4 binary numbers<br />
<br />
Example:<br />
<br />
A7<br />
<br />
A = 10 = 8+0+2+0 = 1010<br />
7 = 0+4+2+1 = 0111<br />
<br />
so A7 as in binary is 10100111</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=342Conversions2016-12-14T16:13:10Z<p>MattPeet: /* Binary and Hexadecimal */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 32 16 8 4 2 1<br />
<br />
Binary Number 1. 1. 0 0 1 0<br />
<br />
Therefore the denary number 50 when converted to binary would read 110010.<br />
<br />
<br />
Repeated Division Method:<br />
The repeated division method for denary to binary is done by taking the denary number you wish to convert and repeatedly dividing it by 2 as binary is base 2. <br />
<br />
When you divide the denary number by 2 you write down the result and the remainder until the result is 0. The final 1 and the remainders are read starting from the bottom and going up.<br />
<br />
Using 50 as an example again<br />
<br />
50÷2 = 25 remainder 0<br />
<br />
25÷2 = 12 remainder 1<br />
<br />
12÷2 = 6 remainder 0<br />
<br />
6÷2 = 3 remainder 0<br />
<br />
3÷2 = 1 remainder 1<br />
<br />
We then read the binary number bottom to top including the last 1 (the one we got as a result of 3÷2) which gives us a final answer of 110010.<br />
<br />
=Hexadecimal to Denary=<br />
Converting hexadecimal to denary is done using the place value method, to do this you need to know the hexadecimal number system<br />
[[File:Hexidecimal Powers.jpg]]<br />
<br />
The conversion method is the same as when converting denary to binary but you need to know the hexadecimal values.<br />
<br />
To convert a hexidecimal number to denary, starting from the right you would multiply the hexadecimal number by its denary value from the hexadecimal number system.<br />
<br />
For example:<br />
<br />
Converting for 2A9 to denary you would multiply, starting from the right, the 9 in the hexadecimal number by its corresponding denary value on the far right of the table 1, you would then multiply A by 16, substituting in A's value in hexadecimal which is 10 and then multiply 2 by 256.<br />
<br />
So to convert 2A9 to denary you would do 2x256 + 10x16 + 9x1 = 681. Meaning 2A9 in denary would be 681<br />
<br />
=Denary to Hexadecimal=<br />
Place value method:<br />
<br />
In order to convert denary to hexadecimal with the place value method, just like denary to binary you split up the denary number into the hexadecimal systen denary values that add up to it starting with the largest. However unlike denary to binary where you fit the largest value into the number once, when converting denary to hexadecimal you fit each value into the denary number as many times as possible.<br />
<br />
For example: Converting 1000 from denary to hexadecimal.<br />
<br />
You take the largest hexadecimal denary value that goes into it without exceeding it, 256, which can go into 100 3 times before exceeding it which gives us 3x256. We then take the next hexadecimal denary value 16 which can fit into the remaining 232 14 times giving us 14x16. The remaining final hexadecimal denary value 1, fits into the remaining 8, 8 times giving us 8x1<br />
<br />
We then turn these values into their hexadecimal values and add them together, 3 and 8 remain as they are and 14 becomes its hexadecimal value E<br />
<br />
so to convert 1000 from denary to hexadecimal we get 1000 = 3x256 + 14x16 + 8 = 3E8<br />
<br />
<br />
Repeated Division Method:<br />
This method is the same as it is for Denary to Binary except you divide by 16 each time instead of 2<br />
<br />
You take your hexadecimal number and divide it by 16, writing down the result and the remainder. You keep diving the result and writing down the remainder until you reach 0. When this happens you read you remainders from bottom to top which gives you the numbers Hexadecimal value.<br />
<br />
For example convert 12345 to hexadecimal:<br />
<br />
12345÷16 = 771 remainder 9<br />
771÷16 = 48 remainder 3<br />
48÷16 = 3 remainder 0<br />
3÷16 = 0 remainder 3<br />
<br />
Reading the remainders from bottom to top gives us the hexadecimal number 3039.<br />
<br />
=Binary and Hexadecimal=<br />
The conversions between binary and hexadecimal are very similar, both conversions have you splitting up the number in order to convert it, as 4 binary digits can be represented by 1 hexadecimal digit.<br />
<br />
Binary to Hexadecimal:<br />
<br />
To convert a Binary Number to a Hexadecimal number you need to split the binary number up into groups of 4 bits, starting from the right.<br />
<br />
Example:<br />
<br />
01011111<br />
<br />
Split the number into 2 groups of 4. 0101 and 1111. Then use the place value method to get the hexadecimal equivalent of each group.<br />
<br />
8 4 2 1<br />
<br />
0 1 0 1 = 5<br />
<br />
1 1 1 1 = 16 which in hexadecimal is F<br />
<br />
so 01011111 in hexadecimal is 5F<br />
<br />
<br />
Hexadecimal to Binary:<br />
<br />
This conversion is the exact same as Binary to Hexadecimal but reversed, each hexadecimal digit is written as a string of 4 binary numbers<br />
<br />
Example:<br />
<br />
A7<br />
<br />
A = 10 = 8+0+2+0 = 1010<br />
7 = 0+4+2+1 = 0111<br />
<br />
so A7 as in binary is 10100111</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=341Conversions2016-12-14T16:02:41Z<p>MattPeet: /* Denary to Hexadecimal */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 32 16 8 4 2 1<br />
<br />
Binary Number 1. 1. 0 0 1 0<br />
<br />
Therefore the denary number 50 when converted to binary would read 110010.<br />
<br />
<br />
Repeated Division Method:<br />
The repeated division method for denary to binary is done by taking the denary number you wish to convert and repeatedly dividing it by 2 as binary is base 2. <br />
<br />
When you divide the denary number by 2 you write down the result and the remainder until the result is 0. The final 1 and the remainders are read starting from the bottom and going up.<br />
<br />
Using 50 as an example again<br />
<br />
50÷2 = 25 remainder 0<br />
<br />
25÷2 = 12 remainder 1<br />
<br />
12÷2 = 6 remainder 0<br />
<br />
6÷2 = 3 remainder 0<br />
<br />
3÷2 = 1 remainder 1<br />
<br />
We then read the binary number bottom to top including the last 1 (the one we got as a result of 3÷2) which gives us a final answer of 110010.<br />
<br />
=Hexadecimal to Denary=<br />
Converting hexadecimal to denary is done using the place value method, to do this you need to know the hexadecimal number system<br />
[[File:Hexidecimal Powers.jpg]]<br />
<br />
The conversion method is the same as when converting denary to binary but you need to know the hexadecimal values.<br />
<br />
To convert a hexidecimal number to denary, starting from the right you would multiply the hexadecimal number by its denary value from the hexadecimal number system.<br />
<br />
For example:<br />
<br />
Converting for 2A9 to denary you would multiply, starting from the right, the 9 in the hexadecimal number by its corresponding denary value on the far right of the table 1, you would then multiply A by 16, substituting in A's value in hexadecimal which is 10 and then multiply 2 by 256.<br />
<br />
So to convert 2A9 to denary you would do 2x256 + 10x16 + 9x1 = 681. Meaning 2A9 in denary would be 681<br />
<br />
=Denary to Hexadecimal=<br />
Place value method:<br />
<br />
In order to convert denary to hexadecimal with the place value method, just like denary to binary you split up the denary number into the hexadecimal systen denary values that add up to it starting with the largest. However unlike denary to binary where you fit the largest value into the number once, when converting denary to hexadecimal you fit each value into the denary number as many times as possible.<br />
<br />
For example: Converting 1000 from denary to hexadecimal.<br />
<br />
You take the largest hexadecimal denary value that goes into it without exceeding it, 256, which can go into 100 3 times before exceeding it which gives us 3x256. We then take the next hexadecimal denary value 16 which can fit into the remaining 232 14 times giving us 14x16. The remaining final hexadecimal denary value 1, fits into the remaining 8, 8 times giving us 8x1<br />
<br />
We then turn these values into their hexadecimal values and add them together, 3 and 8 remain as they are and 14 becomes its hexadecimal value E<br />
<br />
so to convert 1000 from denary to hexadecimal we get 1000 = 3x256 + 14x16 + 8 = 3E8<br />
<br />
<br />
Repeated Division Method:<br />
This method is the same as it is for Denary to Binary except you divide by 16 each time instead of 2<br />
<br />
You take your hexadecimal number and divide it by 16, writing down the result and the remainder. You keep diving the result and writing down the remainder until you reach 0. When this happens you read you remainders from bottom to top which gives you the numbers Hexadecimal value.<br />
<br />
For example convert 12345 to hexadecimal:<br />
<br />
12345÷16 = 771 remainder 9<br />
771÷16 = 48 remainder 3<br />
48÷16 = 3 remainder 0<br />
3÷16 = 0 remainder 3<br />
<br />
Reading the remainders from bottom to top gives us the hexadecimal number 3039.<br />
<br />
=Binary and Hexadecimal=</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=340Conversions2016-12-14T15:55:00Z<p>MattPeet: /* Denary to Hexadecimal */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 32 16 8 4 2 1<br />
<br />
Binary Number 1. 1. 0 0 1 0<br />
<br />
Therefore the denary number 50 when converted to binary would read 110010.<br />
<br />
<br />
Repeated Division Method:<br />
The repeated division method for denary to binary is done by taking the denary number you wish to convert and repeatedly dividing it by 2 as binary is base 2. <br />
<br />
When you divide the denary number by 2 you write down the result and the remainder until the result is 0. The final 1 and the remainders are read starting from the bottom and going up.<br />
<br />
Using 50 as an example again<br />
<br />
50÷2 = 25 remainder 0<br />
<br />
25÷2 = 12 remainder 1<br />
<br />
12÷2 = 6 remainder 0<br />
<br />
6÷2 = 3 remainder 0<br />
<br />
3÷2 = 1 remainder 1<br />
<br />
We then read the binary number bottom to top including the last 1 (the one we got as a result of 3÷2) which gives us a final answer of 110010.<br />
<br />
=Hexadecimal to Denary=<br />
Converting hexadecimal to denary is done using the place value method, to do this you need to know the hexadecimal number system<br />
[[File:Hexidecimal Powers.jpg]]<br />
<br />
The conversion method is the same as when converting denary to binary but you need to know the hexadecimal values.<br />
<br />
To convert a hexidecimal number to denary, starting from the right you would multiply the hexadecimal number by its denary value from the hexadecimal number system.<br />
<br />
For example:<br />
<br />
Converting for 2A9 to denary you would multiply, starting from the right, the 9 in the hexadecimal number by its corresponding denary value on the far right of the table 1, you would then multiply A by 16, substituting in A's value in hexadecimal which is 10 and then multiply 2 by 256.<br />
<br />
So to convert 2A9 to denary you would do 2x256 + 10x16 + 9x1 = 681. Meaning 2A9 in denary would be 681<br />
<br />
=Denary to Hexadecimal=<br />
Place value method:<br />
<br />
In order to convert denary to hexadecimal with the place value method, just like denary to binary you split up the denary number into the hexadecimal systen denary values that add up to it starting with the largest. However unlike denary to binary where you fit the largest value into the number once, when converting denary to hexadecimal you fit each value into the denary number as many times as possible.<br />
<br />
For example: Converting 1000 from denary to hexadecimal.<br />
<br />
You take the largest hexadecimal denary value that goes into it without exceeding it, 256, which can go into 100 3 times before exceeding it which gives us 3x256. We then take the next hexadecimal denary value 16 which can fit into the remaining 232 14 times giving us 14x16. The remaining final hexadecimal denary value 1, fits into the remaining 8, 8 times giving us 8x1<br />
<br />
We then turn these values into their hexadecimal values and add them together, 3 and 8 remain as they are and 14 becomes its hexadecimal value E<br />
<br />
so to convert 1000 from denary to hexadecimal we get 1000 = 3x256 + 14x16 + 8 = 3E8</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=339Conversions2016-12-14T15:44:15Z<p>MattPeet: /* Hexadecimal to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 32 16 8 4 2 1<br />
<br />
Binary Number 1. 1. 0 0 1 0<br />
<br />
Therefore the denary number 50 when converted to binary would read 110010.<br />
<br />
<br />
Repeated Division Method:<br />
The repeated division method for denary to binary is done by taking the denary number you wish to convert and repeatedly dividing it by 2 as binary is base 2. <br />
<br />
When you divide the denary number by 2 you write down the result and the remainder until the result is 0. The final 1 and the remainders are read starting from the bottom and going up.<br />
<br />
Using 50 as an example again<br />
<br />
50÷2 = 25 remainder 0<br />
<br />
25÷2 = 12 remainder 1<br />
<br />
12÷2 = 6 remainder 0<br />
<br />
6÷2 = 3 remainder 0<br />
<br />
3÷2 = 1 remainder 1<br />
<br />
We then read the binary number bottom to top including the last 1 (the one we got as a result of 3÷2) which gives us a final answer of 110010.<br />
<br />
=Hexadecimal to Denary=<br />
Converting hexadecimal to denary is done using the place value method, to do this you need to know the hexadecimal number system<br />
[[File:Hexidecimal Powers.jpg]]<br />
<br />
The conversion method is the same as when converting denary to binary but you need to know the hexadecimal values.<br />
<br />
To convert a hexidecimal number to denary, starting from the right you would multiply the hexadecimal number by its denary value from the hexadecimal number system.<br />
<br />
For example:<br />
<br />
Converting for 2A9 to denary you would multiply, starting from the right, the 9 in the hexadecimal number by its corresponding denary value on the far right of the table 1, you would then multiply A by 16, substituting in A's value in hexadecimal which is 10 and then multiply 2 by 256.<br />
<br />
So to convert 2A9 to denary you would do 2x256 + 10x16 + 9x1 = 681. Meaning 2A9 in denary would be 681<br />
<br />
=Denary to Hexadecimal=</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=338Conversions2016-12-14T15:43:27Z<p>MattPeet: /* Hexadecimal to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 32 16 8 4 2 1<br />
<br />
Binary Number 1. 1. 0 0 1 0<br />
<br />
Therefore the denary number 50 when converted to binary would read 110010.<br />
<br />
<br />
Repeated Division Method:<br />
The repeated division method for denary to binary is done by taking the denary number you wish to convert and repeatedly dividing it by 2 as binary is base 2. <br />
<br />
When you divide the denary number by 2 you write down the result and the remainder until the result is 0. The final 1 and the remainders are read starting from the bottom and going up.<br />
<br />
Using 50 as an example again<br />
<br />
50÷2 = 25 remainder 0<br />
<br />
25÷2 = 12 remainder 1<br />
<br />
12÷2 = 6 remainder 0<br />
<br />
6÷2 = 3 remainder 0<br />
<br />
3÷2 = 1 remainder 1<br />
<br />
We then read the binary number bottom to top including the last 1 (the one we got as a result of 3÷2) which gives us a final answer of 110010.<br />
<br />
=Hexadecimal to Denary=<br />
Converting hexadecimal to denary is done using the place value method, to do this you need to know the hexadecimal number system<br />
[[File:Hexidecimal Powers.jpg]]<br />
<br />
The conversion method is the same as when converting denary to binary but you need to know the hexadecimal values.<br />
<br />
To convert a hexidecimal number to denary, starting from the right you would multiply the hexadecimal number by its denary value from the hexadecimal number system.<br />
<br />
For example:<br />
<br />
Converting for 2A9 to denary you would multiply, starting from the right, the 9 in the hexadecimal number by its corresponding denary value on the far right of the table 1, you would then multiply A by 16, substituting in A's value in hexadecimal which is 10 and then multiply 2 by 256.<br />
<br />
So to convert 2A9 to denary you would do 2x256 + 10x16 + 9x1 = 681. Meaning 2A9 in denary would be 681</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=337Conversions2016-12-14T15:32:59Z<p>MattPeet: /* Denary to Binary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 32 16 8 4 2 1<br />
<br />
Binary Number 1. 1. 0 0 1 0<br />
<br />
Therefore the denary number 50 when converted to binary would read 110010.<br />
<br />
<br />
Repeated Division Method:<br />
The repeated division method for denary to binary is done by taking the denary number you wish to convert and repeatedly dividing it by 2 as binary is base 2. <br />
<br />
When you divide the denary number by 2 you write down the result and the remainder until the result is 0. The final 1 and the remainders are read starting from the bottom and going up.<br />
<br />
Using 50 as an example again<br />
<br />
50÷2 = 25 remainder 0<br />
<br />
25÷2 = 12 remainder 1<br />
<br />
12÷2 = 6 remainder 0<br />
<br />
6÷2 = 3 remainder 0<br />
<br />
3÷2 = 1 remainder 1<br />
<br />
We then read the binary number bottom to top including the last 1 (the one we got as a result of 3÷2) which gives us a final answer of 110010.<br />
<br />
=Hexadecimal to Denary=</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=336Conversions2016-12-14T15:31:29Z<p>MattPeet: /* Denary to Binary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 32 16 8 4 2 1<br />
<br />
Binary Number 1. 1. 0 0 1 0<br />
<br />
Therefore the denary number 50 when converted to binary would read 110010.<br />
<br />
<br />
Repeated Division Method:<br />
The repeated division method for denary to binary is done by taking the denary number you wish to convert and repeatedly dividing it by 2 as binary is base 2. <br />
<br />
When you divide the denary number by 2 you write down the result and the remainder until the result is 0. The final 1 and the remainders are read starting from the bottom and going up.<br />
<br />
Using 50 as an example again<br />
<br />
50÷2 = 25 remainder 0<br />
<br />
25÷2 = 12 remainder 1<br />
<br />
12÷2 = 6 remainder 0<br />
<br />
6÷2 = 3 remainder 0<br />
<br />
3÷2 = 1 remainder 1<br />
<br />
We then read the binary number bottom to top including the last 1 (the one we got as a result of 3÷2) which gives us a final answer of 110010.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=335Conversions2016-12-14T15:00:36Z<p>MattPeet: /* Denary to Binary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 64 32 16 8 4 2 1<br />
<br />
Binary Number 0.. 1. 1. 0 0 1 0<br />
<br />
Therefore the denary number 50 when converted to binary would read 0110010.<br />
<br />
<br />
Repeated Division Method:</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=334Conversions2016-12-14T15:00:24Z<p>MattPeet: /* Denary to Binary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 64 32 16 8 4 2 1<br />
<br />
Binary Number 0.. 1. 1. 0 0 1 0<br />
<br />
Therefore the denary number 50 when converted to binary would read 0110010.<br />
<br />
Repeated Division Method;</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=333Conversions2016-12-14T14:59:16Z<p>MattPeet: /* Denary to Binary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 64 32 16 8 4 2 1<br />
<br />
Binary Number 0.. 1. 1. 0 0 1 0</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=332Conversions2016-12-14T14:58:45Z<p>MattPeet: /* Denary to Binary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 64 32 16 8 4 2 1<br />
<br />
Binary Number 0. 1. 1. 0 0 1 0</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=331Conversions2016-12-14T14:58:13Z<p>MattPeet: /* Denary to Binary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 64 32 16 8 4 2 1<br />
<br />
Binary Number 0 1 1 0 0 1 0</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=330Conversions2016-12-14T14:57:58Z<p>MattPeet: /* Denary to Binary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
Column Value 64 32 16 8 4 2 1<br />
Binary Value 0 1 1 0 0 1 0</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=329Conversions2016-12-14T14:57:20Z<p>MattPeet: /* Denary to Binary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=<br />
Place Value Method:<br />
<br />
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number<br />
<br />
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.<br />
<br />
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.<br />
<br />
64 32 16 8 4 2 1<br />
0 1 1 0 0 1 0</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=328Conversions2016-12-14T14:52:14Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.<br />
<br />
=Denary to Binary=</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=327Conversions2016-12-14T14:51:43Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=326Conversions2016-12-14T14:51:29Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=325Conversions2016-12-14T14:51:13Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
column Value 16 8 4 2 1 <br />
<br />
Binary Value 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=324Conversions2016-12-14T14:50:38Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Value 16 8 4 2 1 <br />
<br />
Binary Value 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=323Conversions2016-12-14T14:49:52Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Denary Value 16 8 4 2 1 <br />
<br />
Binary Value 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=322Conversions2016-12-14T14:49:19Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Value 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted.<br />
<br />
So 10101 represents 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=321Conversions2016-12-14T14:46:49Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Value 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted, 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=320Conversions2016-12-14T14:46:34Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Value 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted, 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=319Conversions2016-12-14T14:46:20Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Value 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted, 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=318Conversions2016-12-14T14:46:07Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column Value 16 8 4 2 1 <br />
<br />
Binary Value 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted, 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=317Conversions2016-12-14T14:45:35Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
<br />
Column value 16 8 4 2 1 <br />
<br />
Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted, 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=316Conversions2016-12-14T14:45:23Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
Column value 16 8 4 2 1 <br />
<br />
Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted, 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=315Conversions2016-12-14T14:45:04Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
Column value 16 8 4 2 1 <br />
<br />
Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted, 16+4+1=21 so your denary value would be 21.</div>MattPeethttps://www.trccompsci.online/mediawiki/index.php?title=Conversions&diff=314Conversions2016-12-14T14:44:55Z<p>MattPeet: /* Binary to Denary */</p>
<hr />
<div>=Conversions=<br />
Conversions are the process in which one number system is converted to another, for example deanry to binary.<br />
<br />
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base<br />
<br />
=Binary to Denary=<br />
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.<br />
[[File:binary system.jpg]]<br />
<br />
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.<br />
<br />
Then add up all of the denary values and you will have the converted denary value.<br />
<br />
For example: <br />
Column value 16 8 4 2 1 <br />
Number 1 0 1 0 1<br />
<br />
You would then add up the denary numbers that were substituted, 16+4+1=21 so your denary value would be 21.</div>MattPeet