create account

08-12-2024 - Computer science basics - Binary coding [EN]-[IT] by stefano.massari

View this thread on: hive.blogpeakd.comecency.com
· @stefano.massari ·
$8.52
08-12-2024 - Computer science basics - Binary coding [EN]-[IT]
![image.png](https://files.peakd.com/file/peakd-hive/stefano.massari/Eq13wucCaAiZ69qj4Nn4db1z38gXc7qoS6VE6ijGZFR4WgV1LcHSjvv9g5kSXcT2Xj3.png)


---

*~~~ La versione in italiano inizia subito dopo la versione in inglese ~~~*

---


**ENGLISH**
**08-12-2024 - Computer science basics - Binary coding [EN]-[IT]**
With this post I would like to give a brief instruction on the topic mentioned in the subject
(code notes: X_93)

***Binary coding***
Binary coding in computer science is a method of representing information using only two symbols: 0 and 1.
The symbols 0 and 1 represent the minimum units of representation and storage called bit.
The word BIT derives from the combination of the words BInary digiT, or digital digit.
The bit is therefore the elementary unit of measurement of processing; it means that it is the smallest storable data and represents a single piece of information.
Any other type of information is represented as a finite sequence of 0s and 1s. The set of 8 bits constitutes a byte (B)

![image.png](https://files.peakd.com/file/peakd-hive/stefano.massari/23tw9yBHYBy1oeZgYbyytbzFBBN5VLUDE9iYuugYMiuKafMz4G3mbX5MoF2ocGYbacceC.png)

**-1-**
*In binary coding, what are 0 and 1 compared to?*
By convention, in binary coding 0 and 1 correspond to a closed switch and an open switch, respectively

**-2-**
*How many objects can be encoded with k bits*
2^k objects

**-3-**
*How many symbols does the hexadecimal system consist of?*
16 symbols
Below is an image representing the octal and hexadecimal

![image.png](https://files.peakd.com/file/peakd-hive/stefano.massari/23tHbr9ynHUnCDh4PBxzt1FaWMuA3QTZ86d4VeWQaDFXuJxpaQT8tHi2EPxwC3jMAUK9R.png)

**-4-**
*How is the number 10 represented in the hexadecimal system?*
With the letter A

**-5-**
*What does the number 8 represent in octal representation?*
by 10

**-6-**
*In the positional numbering system, where is the most significant digit?*
On the left

Below is an image to clarify the concept

![image.png](https://files.peakd.com/file/peakd-hive/stefano.massari/23tHbr9EMy7maHiPAUQyfdCgpVFT8t5WA5mYmoyhjTtEqwJLmnDr6LQHWMcjW1RGLFN7e.png)

**-7-**
*How many bits are needed to encode 3 objects?*
2 are needed

**-8-**
*How many states correspond to 1byte?*
1byte corresponds to 2^8 states

***Conclusions***
In computer science, binary encoding is used for hardware simplicity and reliability

***Question***
I remember that binary and hexadecimal encoding were encodings that I understood immediately. Did you study binary encoding at school? And hexadecimal encoding?





---

https://images.hive.blog/1536x0/https://files.peakd.com/file/peakd-hive/green77/gGQutTRs-hive-spacer.png

---


**[ITALIAN]**
**08-12-2024 - Basi di informatica - La codifica binaria [EN]-[IT]**
Con questo post vorrei dare una breve istruzione a riguardo dell’argomento citato in oggetto
(code notes: X_93)

***La codifica binaria***
La codifica binaria in informatica è un metodo di rappresentazione delle informazioni utilizzando solo due simboli: 0 e 1.
I simboli 0 e 1 rappresentano le unità minime di rappresentazione e memorizzazione dette bit.
La parola BIT deriva dalla combinazione delle parole BInary digiT, ovvero cifra digitale.
Il bit è quindi l’unità di misura elementare dell’elaborazione; significa che è il più piccolo dato memorizzabile e rappresenta una sola informazione.
Qualsiasi altro tipo di informazione è rappresentato come sequenza finita di 0 e 1. L’insieme di 8 bit costituisce un byte (B)


![image.png](https://files.peakd.com/file/peakd-hive/stefano.massari/23tw9yBHYBy1oeZgYbyytbzFBBN5VLUDE9iYuugYMiuKafMz4G3mbX5MoF2ocGYbacceC.png)



**-1-**
*Nella codifica binaria lo 0 e l'1 a cosa vengono paragonati?*
Per convenzione, nella codifica binaria 0 e 1 corrispondono rispettivamente a interruttore chiuso e interruttore aperto

**-2-**
*Quanti oggetti possono essere codificati con k bit*
2^k oggetti

**-3-**
*Di quanti simboli si compone il sistema esadecimale?*
16 simboli
Qui di seguito un'immagine in cui sono rappresentati il sistema ottale ed esadecimale

![image.png](https://files.peakd.com/file/peakd-hive/stefano.massari/23tHbr9ynHUnCDh4PBxzt1FaWMuA3QTZ86d4VeWQaDFXuJxpaQT8tHi2EPxwC3jMAUK9R.png)


**-4-**
*Come viene rappresentato il numero 10 nel sistema esadecimale?*
Con la lettera A

**-5-**
*il numero 8, nella rappresentazione ottale, da cosa è rappresentato?*
da 10

**-6-**
*Nel sistema di numerazione posizionale, dove si trova la cifra più significativa?*
A sinistra

Qui di seguito un immagine per chiarire il concetto

![image.png](https://files.peakd.com/file/peakd-hive/stefano.massari/23tHbr9EMy7maHiPAUQyfdCgpVFT8t5WA5mYmoyhjTtEqwJLmnDr6LQHWMcjW1RGLFN7e.png)


**-7-**
*Quanti bit servono per codificare 3 oggetti?*
ne servono 2

**-8-**
*A quanti stati corrispondono 1byte?*
1byte corrisponde a 2^8 stati

***Conclusioni***
In informatica si usa la codifica binaria per semplicità hardware e affidabilità

***Domanda***
Ricordo che la codifica binaria e quella esadecimale furono codifiche che compresi immediatamente. Avete studiato a scuola la codifica binaria? E quella esadecimale? 


**THE END**
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 135 others
properties (23)
authorstefano.massari
permlink08-12-2024-computer-science-basics-binary-coding-en-it
categoryhive-146620
json_metadata{"app":"peakd/2024.11.3","format":"markdown","tags":["learn","computerscience","proofofbrain","ctp","palnet","stem","archon","pimp","vyb"],"users":[],"image":["https://files.peakd.com/file/peakd-hive/stefano.massari/Eq13wucCaAiZ69qj4Nn4db1z38gXc7qoS6VE6ijGZFR4WgV1LcHSjvv9g5kSXcT2Xj3.png","https://files.peakd.com/file/peakd-hive/stefano.massari/23tw9yBHYBy1oeZgYbyytbzFBBN5VLUDE9iYuugYMiuKafMz4G3mbX5MoF2ocGYbacceC.png","https://files.peakd.com/file/peakd-hive/stefano.massari/23tHbr9ynHUnCDh4PBxzt1FaWMuA3QTZ86d4VeWQaDFXuJxpaQT8tHi2EPxwC3jMAUK9R.png","https://files.peakd.com/file/peakd-hive/stefano.massari/23tHbr9EMy7maHiPAUQyfdCgpVFT8t5WA5mYmoyhjTtEqwJLmnDr6LQHWMcjW1RGLFN7e.png","https://images.hive.blog/1536x0/https://files.peakd.com/file/peakd-hive/green77/gGQutTRs-hive-spacer.png"]}
created2024-12-08 11:02:00
last_update2024-12-08 11:02:00
depth0
children9
last_payout2024-12-15 11:02:00
cashout_time1969-12-31 23:59:59
total_payout_value4.212 HBD
curator_payout_value4.312 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,120
author_reputation344,619,655,078,320
root_title"08-12-2024 - Computer science basics - Binary coding [EN]-[IT]"
beneficiaries
0.
accountbalaenoptera
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,038,923
net_rshares20,478,965,469,791
author_curate_reward""
vote details (199)
@cryptoyzzy ·
!HOPE
!LOL
!INDEED
👍  
properties (23)
authorcryptoyzzy
permlinkre-stefanomassari-so7q8b
categoryhive-146620
json_metadata{"tags":["hive-146620"],"app":"peakd/2024.11.3","image":[],"users":[]}
created2024-12-09 06:04:57
last_update2024-12-09 06:04:57
depth1
children1
last_payout2024-12-16 06:04:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length18
author_reputation428,318,088,872,023
root_title"08-12-2024 - Computer science basics - Binary coding [EN]-[IT]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,061,690
net_rshares30,137,420,856
author_curate_reward""
vote details (1)
@lolzbot ·
<div class='pull-right'><center><img src="https://lolztoken.com/lolz.png"><br><a href="https://lolztoken.com">lolztoken.com</a></p><br><br><br><br></center></div><p><center><strong>I don't want my wife any longer.<br>Her height is perfect.</strong><br><sub>Credit: <a href="https://peakd.com/@reddit">reddit</a></sub><br>@stefano.massari, I sent you an <a href="https://lolztoken.com">$LOLZ</a> on behalf of cryptoyzzy<br><br>(7/10)<br>NEW:  <a href='https://peakd.com/@lolz.burner/posts'>Join LOLZ's Daily Earn and Burn Contest and win $LOLZ</a></center></p>
properties (22)
authorlolzbot
permlinkre-re-stefanomassari-so7q8b-20241209t060800z
categoryhive-146620
json_metadata"{"app": "beem/0.24.19"}"
created2024-12-09 06:08:06
last_update2024-12-09 06:08:06
depth2
children0
last_payout2024-12-16 06:08:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length559
author_reputation196,110,681,977,384
root_title"08-12-2024 - Computer science basics - Binary coding [EN]-[IT]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,061,897
net_rshares0
@discovery-it ·
$0.05
<div class="pull-left">https://cdn.steemitimages.com/DQmTAn3c753LR7bHCLPo96g9UvRMaPFwaMYn8VQZa85xczC/discovery_logo_colore%20-%20Copia.png</div><br> This post was shared and voted inside the discord by the curators team of <a href="https://discord.gg/cMMp943"> discovery-it</a> <br>Join our <a href = "https://hive.blog/trending/hive-193212"> Community</a> and follow our <a href = "https://hive.vote/dash.php?i=1&trail=discovery-it">Curation Trail</a><br>Discovery-it is also a Witness, vote for us <a href = "https://hivesigner.com/sign/account-witness-vote?witness=discovery-it&approve=true"> here</a>  <br>Delegate to us for passive income. Check our <a href = "https://hive.blog/hive-193212/@discovery-it/delegations-program-80-fee-back"> 80% fee-back Program</a> <hr>
👍  
properties (23)
authordiscovery-it
permlinkre-stefano-massari-d4sn3d531m
categoryhive-146620
json_metadata"{"app": "beem/0.24.26"}"
created2024-12-09 01:41:42
last_update2024-12-09 01:41:42
depth1
children0
last_payout2024-12-16 01:41:42
cashout_time1969-12-31 23:59:59
total_payout_value0.022 HBD
curator_payout_value0.023 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length773
author_reputation67,276,961,856,302
root_title"08-12-2024 - Computer science basics - Binary coding [EN]-[IT]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,056,479
net_rshares110,248,985,785
author_curate_reward""
vote details (1)
@hivebuzz ·
Congratulations @stefano.massari! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

<table><tr><td><img src="https://images.hive.blog/60x60/https://hivebuzz.me/badges/postallweek.png"></td><td>You have been a buzzy bee and published a post every day of the week.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@stefano.massari) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out our last posts:**
<table><tr><td><a href="/hive-122221/@hivebuzz/pum-202411-delegations"><img src="https://images.hive.blog/64x128/https://i.imgur.com/fg8QnBc.png"></a></td><td><a href="/hive-122221/@hivebuzz/pum-202411-delegations">Our Hive Power Delegations to the November PUM Winners</a></td></tr></table>
properties (22)
authorhivebuzz
permlinknotify-1733715527
categoryhive-146620
json_metadata{"image":["https://hivebuzz.me/notify.t6.png"]}
created2024-12-09 03:38:48
last_update2024-12-09 03:38:48
depth1
children0
last_payout2024-12-16 03:38:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length940
author_reputation369,964,757,814,703
root_title"08-12-2024 - Computer science basics - Binary coding [EN]-[IT]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,059,417
net_rshares0
@hopelizer ·
<center><p><sub>(2/10)</sub><br>@stefano.massari! <b>@cryptoyzzy Wants to spread Hope!</b> so I just sent 1 <b>HOP</b> to your account on behalf of @cryptoyzzy. </p><p>Since we think the world can use more Hope, you can now already start spreading Hope yourself!
<p><img src="https://images.ecency.com/DQmWgjquLMiUmRCMvttUVeLUJVQuUmJT2vEiXWuvBHtVEgZ/hope_s.png" style="width: 75px; height: 75px;" alt="Hope Logo"></p></center>
properties (22)
authorhopelizer
permlinkre-stefano-massari-20241209t060538
categoryhive-146620
json_metadata""
created2024-12-09 06:05:39
last_update2024-12-09 06:05:39
depth1
children0
last_payout2024-12-16 06:05:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length426
author_reputation-1,139,624,065,804
root_title"08-12-2024 - Computer science basics - Binary coding [EN]-[IT]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,061,763
net_rshares0
@indeedly ·
<center><p><sub>(7/25)</sub><br>@stefano.massari! <b>@cryptoyzzy Totally agrees with your content!</b> so I just sent 1 <b>IDD</b> to your account on behalf of @cryptoyzzy. </p>
<p><img src="https://images.ecency.com/DQmWb3w1G2BqK4FQdm7VzMnr7iwc2ESzQd4Nnb21Sbp8rK8/idd_s.png" style="width: 75px; height: 75px;" alt="Indeed Logo">

</p></center>
properties (22)
authorindeedly
permlinkre-stefano-massari-20241209t060640
categoryhive-146620
json_metadata""
created2024-12-09 06:06:39
last_update2024-12-09 06:06:39
depth1
children0
last_payout2024-12-16 06:06:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length344
author_reputation-809,142,277,994
root_title"08-12-2024 - Computer science basics - Binary coding [EN]-[IT]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,061,839
net_rshares0
@libertycrypto27 ·
$0.05
!discovery 25
@tipu curate
👍  
properties (23)
authorlibertycrypto27
permlinkre-stefanomassari-2024129t24119720z
categoryhive-146620
json_metadata{"tags":["learn","computerscience","proofofbrain","ctp","palnet","stem","archon","pimp","vyb"],"app":"ecency/4.0.2-vision","format":"markdown+html"}
created2024-12-09 01:41:21
last_update2024-12-09 01:41:21
depth1
children1
last_payout2024-12-16 01:41:21
cashout_time1969-12-31 23:59:59
total_payout_value0.022 HBD
curator_payout_value0.023 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length26
author_reputation1,975,090,284,282,622
root_title"08-12-2024 - Computer science basics - Binary coding [EN]-[IT]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,056,474
net_rshares111,471,605,686
author_curate_reward""
vote details (1)
@tipu ·
<a href="https://tipu.online/hive_curator?libertycrypto27" target="_blank">Upvoted  &#128076;</a> (Mana: 16/46) <a href="https://peakd.com/hive/@reward.app/reward-app-quick-guide-updated" target="_blank">Liquid rewards</a>.
properties (22)
authortipu
permlinkre-re-stefanomassari-2024129t24119720z-20241209t014127z
categoryhive-146620
json_metadata"{"app": "beem/0.24.26"}"
created2024-12-09 01:41:27
last_update2024-12-09 01:41:27
depth2
children0
last_payout2024-12-16 01:41:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length223
author_reputation55,914,851,917,880
root_title"08-12-2024 - Computer science basics - Binary coding [EN]-[IT]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,056,476
net_rshares0
@mfontom ·
$0.04
I think I love this lesson. I hope you give us more of it so that I could gather little knowledge of computer science here
👍  
properties (23)
authormfontom
permlinkre-stefanomassari-2024129t164734892z
categoryhive-146620
json_metadata{"type":"comment","tags":["hive-146620","learn","computerscience","proofofbrain","ctp","palnet","stem","archon","pimp","vyb"],"app":"ecency/3.2.0-mobile","format":"markdown+html"}
created2024-12-09 15:47:36
last_update2024-12-09 15:47:36
depth1
children0
last_payout2024-12-16 15:47:36
cashout_time1969-12-31 23:59:59
total_payout_value0.020 HBD
curator_payout_value0.021 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length122
author_reputation61,357,005,420,286
root_title"08-12-2024 - Computer science basics - Binary coding [EN]-[IT]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id139,073,317
net_rshares104,880,621,887
author_curate_reward""
vote details (1)