Want to create interactive content? It’s easy in Genially!

Get started free

Binary code , ASCII code and algorithms

ana.noya@obispoperello.edu.es

Created on October 29, 2024

Start designing with a free template

Discover more than 1500 professional designs like these:

Memories Presentation

Pechakucha Presentation

Decades Presentation

Color and Shapes Presentation

Historical Presentation

To the Moon Presentation

Projection Presentation

Transcript

Binary code, ASCII code and algorithms

By Samuel, Ana and Lucas

Index

1. COVER

7. END

2. INDEX

6. ALGORITHMS

3. INTRODUCTION

5. ASCII CODE

4. BINARY CODE

THE COMPUTER

Computers have many codes, instructions and even their own language. In this presentation we'll talk about binary code, ASCII code and algorithms, all represented with images, animations and colors everywhere.

Let's see it!

The binary code

It can also be called the “language of computers”.
What is it?

Binary code is a programming language used to communicate with computers. It uses numbers 0 and 1, called bits. Usually, bits are collected into groups of 8 bits, called bytes.

What do we use it for?

We use it to represent information digitally, using only the number 0 and 1.

TRANSFORM NORMAL NUMBERS INTO BINARY CODE

11

1. Choose a number.

2. We divide the number by 2.

3. We divide the quotiente by 2 again. Like this continuously until nothing more can be done.

4. Now, we take the last quotient and all the remainders, starting with the last division.

1011

HOW TO CONVERT A BINARY CODE INTO A NORMAL NUMBER

We have to work the number from right to left.1. You have to create a table with 3 lines and as many columns as the number of digits in the number. In the first line we will put the digits of the number (remember, it's from right to left, so the first number would go into the last line). In the second line we will put the number multiplied by a power which base will be 2 and exponent equal to the number that its position in the table (the first position will be counted as a 0, the second position as a 1...). In the third line there must be the potency result. 2. Finally, we will have to sum all the results, and that will be the decimal number we were looking for.

ASCII CODE

(American Standard Code for Information Interchange)

Is a character encoding system that assigns numbers to letters, digits and other symbols.It's used to represent text on computers and electronic devices. ASCII is fundamental for communication and word processing in computing.

ASCII code uses 7 bits to represent 128 characters, which include: Uppercase letters (A-Z) Lowercase letters (a-z) Digits (0-9) Punctuation symbols (such as ., ?, !) Control characters (such as line breaks) For example, the character “A” has the ASCII code 65, while “a” has 97.

Click here!

DIFFERENCES BETWEEN ASCII AND UNICODE

ASCII

  • There are 128 characters.
  • Can only represent english characters and some symbols.

UNICODE

  • There are more than 1 million characters.
  • It can represent characters of different languages, mathematical symbols, emojis and more.

And these are only a few examples!

ALGORITHMS

It's a sequence of finite instructions that solves a problem through concise instructions and rules.Algorithms are very important in computing because:1.Algorithms allow computers to perform tasks faster and more efficiently. 2.They help solve complex problems by breaking them down into simpler and more manageable steps. 3.Allow process automation, reducing the need of human intervention.

Recommendation algorithm: this type of algorithm is used on platforms such as Netflix or Spotify to analyze your past preferences and predict what content you will like.

EXAMPLES OF ALGORITHMS

To make an ice-cream:-Walk 10 steps to the fridge. -Hold on to the door handle. -Pull with a little strength until it opens. ...

To make ice-cream:-Catch a brick of milk. -Take an ice cream-shaped container. -Pour milk up to the middle of the container. -Put the container in the refrigerator. -Wait 4 h. -Remove the container from the refrigerator.

INTERACTIVE QUESTION

INTERACTIVE QUESTION

INTERACTIVE QUESTION

FINISH!

We hope you liked it!