Email: antonio.nicolodi@oi.com.br
Email e Msn: antonio.carlos.nicolodi@hotmail.com
antonio.carlos.nicolodi@gmail.com
INÍCIO
Desde criança, nós sempre aprendemos a usar o sistema decimal, e as pessoas
pensam que é o único sistema que existe. Porém as pessoas não se dão conta dos
outros sistemas numéricos adotados durante nossa vida, pois além de usármos os
números na base 10 para quase todos os cálculos, medições, etc. Temos números
que usamos que não fazem parte do sistema decimal. Por exemplo os dias da
semana, que apesar de serem representados pelos seus nomes como: "segunda,
terça, quarta, ..." trabalham sempre na base 7, pois matemáticamente
vão de (1 a 7) ou de (0 a 6). Tambem temos os dias do mês, que geralmente vão
de 1 a 30 (ou 31 ou 28 ou 29).
NA
INFORMÁTICA
Na informática adotamos quatro (04) sistemas numéricos básicos: Binários, Decimais, Hexadecimais, Octais.Sendo os mais comuns os sistemas Binários, Hexadecimais e Decimais.
O sistema decimal como todos sabem são formados pelos digitos ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ) e com esses digitos podemos representar qualquer quantidade numérica. Sendo que quando mais para a esquerda maior será o seu valor.
O sistema Binário possui somente DOIS algarismos onde usa os digitos 0 (zero) e 1 (um) e com uma associação de vários números enfileirados da esquerda para a direita pode-se representar todos os números. Assim como na base 10 (dez) também. Temos só que observar que todos os números, sempre são lidos da direita para a esquerda quando temos que verificar seu valor numérico.
O sistema Hexadecimal por sua vez também é muito usado na área da informática e é a represenção numérica dos endereços de memória quando estamos trabalhando com informações desse tipo.
Possui 16 (dezesseis) algarismos onde usa os digitos ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ) e também as letras ( A, B, C, D, E, F ) para compor seus valores.
Bom, sempre existe um sistema de cálculos que podemos usar para transformar um valor qualquer de uma base numérica para outra, mas para facilitar a conversão de valores entre as bases podemos criar um simples tabela. Isso porque esse blog não tem como fundamento ensinar matemática, mas sim facilitar a vida dos usuários em geral.
NUMEROS que representam 1 Nible (4 bits) EM :
Binário Hexadecimal Decimal
=============================
0000 0 0
0001 1 1
0010 2 2
0011 3 3
0100 4 4
0101 5 5
0110 6 6
0111 7 7
1000 8 8
1001 9 9
1010 A 10
1011 B 11
1100 C 12
1101 D 13
1110 E 14
1111 F 15
===========================
Para facilitar a conversão de binário para hexa e vice-versa,
é só seguir a tabelinha anterior.
Assim para representar um Byte ficaria :
===========================
binário Hexa Decimal
00000000 00 00
00000001 01 01
....
00110011 33 51
....
11111111 FF 255
Pra facilitar a conversão de binário para decimal tambem é simples conforme segue o modelo abaixo:
número 1 1 1 1 1 1 1 1 === bits
-----------------------------------------------------------------------
posição 7 6 5 4 3 2 1 0 === peso
base 2 2 2 2 2 2 2 2 === multiplicador
=====================================
valor 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
O valor final é calculado somando-se os resultados.
Então se voce possuir o seguinte número 11001101 e usando o metodo anterior faça:
7 6 5 4 3 2 1 0
1x2 + 1x2 + 0x2 + 0x2 + 1x2 + 1x2 + 0x2 + 1x2
=====================================================
128 + 64 + 0 + 0 + 8 + 4 + 0 + 1 = 205
Então 11001101 em binário é 205 em decimal e CD em hexa !
E para proceder de maneira inversa ou seja transformar de decimal pra binário deve-se pegar o número em decimal e dividir por 2 até que o último valor seja menor que dois. Então pega-se o resto de forma inversa.
205 ÷ 2 = 102 e o resto é 1
102 ÷ 2 = 51 e o resto é 0
51 ÷ 2 = 25 e o resto é 1
25 ÷ 2 = 12 e o resto é 1
12 ÷ 2 = 6 e o resto é 0
6 ÷ 2 = 3 e o resto é 0
3 ÷ 2 = 1 e o resto é 1
1 ÷ 2 = 0 e o resto é 1
0 ÷ 2 = É impossível continuar a dividir, pois não se pode dividir o zero.
Então para-se aqui e pega-se todos os RESTOS de baixo para cima e acharemos o valor em binário que nesse caso será 11001101 .
É simples assim.
Um abraço a todos!
Se desenvolver meu próprio tema para o Visual G 3.0 têm como?
ResponderExcluirAté tem, mas qual seria?
ExcluirEste comentário foi removido pelo autor.
ResponderExcluirObrigado
ExcluirEste comentário foi removido pelo autor.
ResponderExcluirMestre
ResponderExcluirAgradecido , por disponibilizar o aplicativo VISUALG 3.0 , porém sou usuário do windows 10 , e o mesmo está abrindo e fechando logo a seguir em meu PC , poderia me explicar se existe alguma configuração a fazer ?
Instalei o mesmo na pasta arquivo de programas.
Atenciosamente
https://www.facebook.com/manckennasigaonerd.com.br/
Não sei pois no meu abre normal
ExcluirSó por curiosidade, esse é o mesmo Visualg da Apoio Informática ou você criou um totalmente novo?
ResponderExcluirSim, Francisco, como eu sou o criador do PORTUGOL e co-criador do Visualg.
ExcluirO Cláudio da Apoio Informática me passou o comando do projeto e como era eu que estava fazendo a manutenção das versões anteriores pra ele, e foi por pedidos que eu resolvi fazer a nova versão 3.0
What?
ResponderExcluirVery Good Blog. Highly valuable information have been shared. Highly useful blog..Great information has been shared. We expect many more blogs from the author. Special thanks for sharing..
ResponderExcluirSalesforce Training in Chennai
Salesforce Online Training in Chennai
Salesforce Training in Bangalore
Salesforce Training in Hyderabad
Salesforce training in ameerpet
Salesforce Training in Pune
Salesforce Online Training
Salesforce Training
I believe there are many more pleasurable opportunities ahead for
ResponderExcluirindividuals that looked at your site.
oracle developer training in chennai
ASP.NET Training Institute in Chennai
Não consigo baixar nem no Android e nem pc!!!
ResponderExcluirExcellent introduction to informática! The content is simple, clear, and informative—perfect for beginners who are just starting their journey in computer science. It’s great to see educational content shared in an accessible way. Keep up the good work and continue spreading knowledge through such helpful posts.
ResponderExcluirGenerative AI Training In Hyderabad
Thanks for sharing! Very helpful and well explained.
ResponderExcluirFull Stack Developer Course in Chennai
Taking care of your skin has never been more crucial, especially with the rise in pollution and hectic urban lifestyles. For those seeking professional dermatological care, the best skin clinic in Hyderabad offers advanced treatments and the expertise of experienced specialists, helping you achieve clear, healthy, and radiant skin.
ResponderExcluirThanks for sharing! This was really helpful. Scrum Master Course in Bangalore
ResponderExcluirUseful post, keep sharing more like this!
ResponderExcluirSalesforce Course in Chennai
Great read! I learned something new today.
ResponderExcluirsupply chain management course
Thanks for sharing! This was really helpful.
ResponderExcluirTableau course in Chennai
Useful post, keep sharing more like this!
ResponderExcluirServiceNow Course in Online
Thanks for sharing such a thoughtful and informative blog post. I truly appreciate the clarity and engaging style you used to explain the topic. It’s not often that I come across content that is both easy to follow and highly insightful. I’ll certainly be looking forward to your future posts this kind of valuable content deserves more appreciation!
ResponderExcluirSoftware Testing Course in Chennai
Useful post, keep sharing more like this!
ResponderExcluirSalesforce Certification Online Course
Thanks for sharing such a thoughtful and informative blog post. I truly appreciate the clarity and engaging style you used to explain the topic. It’s not often that I come across content that is both easy to follow and highly insightful. I’ll certainly be looking forward to your future posts this kind of valuable content deserves more appreciation! Selenium Training in Chennai
ResponderExcluirGreat read! I learned something new today.
ResponderExcluirCyber Security Online Training
Great read! I learned something new today.
ResponderExcluirSelenium Training in Chennai
Thanks for sharing! This was really helpful.
ResponderExcluirSalesforce Certification Online Course
Thanks for sharing! This was really helpful.
ResponderExcluirSQL Course in Chennai
Useful post, keep sharing more like this!
ResponderExcluirData Analytics Online Certification Course
Thanks for sharing! Very helpful and well explained.
ResponderExcluirTally Course in Chennai
It's very nice blog and useful for students and developer.If you're looking for top-quality dental treatment in Nizampet, Nizampet Dentist is your premier destination. Led by the skilled Dr. Sri Lakshmi, the clinic offers comprehensive services—ranging from root canal therapy and dental implants to braces, cosmetic dentistry, and children’s dental care. With modern equipment like 3D imaging, digital X-rays, and a patient-first approach, they deliver comfortable, effective, and personalized care for every smile.
ResponderExcluirbest dental hospital nizampet
Looking for trusted information on Dental Implant Treatment in Nizampet?
ResponderExcluirAt Nizampet Dentist, expert implant dentists provide safe, painless, and long-lasting tooth replacement solutions. Dental implants look and work like natural teeth, helping you smile and eat with confidence. Book your consultation today and get a personalized treatment plan for your missing teeth.
dental implant treatment in nizampet
If you are looking for helpful blogs about saving damaged teeth, this one is worth reading!
ResponderExcluirRoot Canal Treatment in Nizampet is a safe and effective way to treat infected teeth and relieve pain. At Nizampet Dentist, skilled dentists use modern tools to clean the infection and protect your natural tooth. This treatment helps you avoid tooth removal and keeps your smile healthy for years.
Root Canal Treatment in Nizampet
Invisalign Providers in Nizampet offer clear, removable aligners that gently move your teeth into the right position. At Nizampet Dentist, skilled orthodontists use digital scans to create a custom treatment plan for each patient. Invisalign aligners are comfortable, almost invisible, and fit easily into your daily routine.
ResponderExcluirinvisalign providers in nizampet
If you are searching for ways to straighten your teeth without metal braces, invisible aligners are a great choice.
ResponderExcluirInvisible Aligners Treatment in Nizampet offers clear, comfortable, and removable trays that gently move your teeth into place.
At Nizampet Dentist, skilled orthodontists use advanced 3D scans to create custom aligners for your smile.
invisible aligners treatment in nizampet
Thanks for sharing! This was really helpful.
ResponderExcluirDigital Marketing Certification Course