The Art of Computational Thinking…Binary Code

Slides:



Advertisements
Similar presentations
Information Representation
Advertisements

1 Chapter 2 The Digital World. 2 Digital Data Representation.
What is computer science and how can it be helpful in our lives? Introduction to the Art of Computer Science.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
SIMS-201 Representing Information in Binary. 2  Overview Chapter 3: The search for an appropriate code Bits as building blocks of information Binary.
Bits and Bytes.
+ Intro to The Art of Computer Science Code.org. + Table of Contents Vocabulary Introduction to Computer Science Computer Scientist’s Responsibility Technology.
RAM and Binary Numbers RAM and Binary Numbers What is ? What is 52 in binary? What is a file? Preview Questions:
THE ART OF COMPUTER SCIENCE INFORMATION TECHNOLOGY.
Programmable Logic Controllers
Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved. 1 Chapter 1 Introduction to Computer Science.
Georgia Institute of Technology Introduction to Programming Part 2 Barb Ericson Georgia Institute of Technology May 2006.
INTRO TO THE ART OF COMPUTER SCIENCE Main Goal: Give the class a clear understanding of what computer science is and how it could be helpful in their lives.
IT-101 Section 001 Lecture #3 Introduction to Information Technology.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Data Representation Int 2 Computing Unit 1 – Computer Systems St Kentigern’s Academy.
Math for Liberal Studies.  A binary code is a system for encoding data made up of 0’s and 1’s  Examples  Postnet (tall = 1, short = 0)  UPC (dark.
How Computers Work … and how you can work them. Art 315 Lecture 03 Dr. J Parker Fall 2010.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
Introduction to Digital Media. What is it? Digital media is what computers use to; Store, transmit, receive and manipulate data Raw data are numbers,
Getting Started with MATLAB (part2) 1. Basic Data manipulation 2. Basic Data Understanding 1. The Binary System 2. The ASCII Table 3. Creating Good Variables.
Binary Numbers So what are they and why are they important?
Binary Bracelets. Objectives Encode letters into binary Decode binary back to letters Relate the idea of storing initials on a bracelet to the idea of.
UNIT 2 LESSON 3 CS PRINCIPLES. OBJECTIVES Students will be able to: Construct a binary communication protocol for playing Battleship using the Internet.
INTRO TO THE ART OF COMPUTER SCIENCE Let’s Get Technical.
HNC COMPUTING - COMPUTER PLATFORMS 1 Micro Teach Binary.
Chapter 5 - The Once And Future Digital Network Introduction The World Was Once Digital A Telegraph Is Digital [The telegraph is a digital technology because.
Computer Science 105 RAM and Binary Numbers What is ? What is 52 in binary? What is a file? Preview Questions:
Lesson 6 Binary Understand what Binary Code means and apply this knowledge Understand how data is represented using bit systems and be able to change decimal.
Nat 4/5 Computing Science Lesson 1: Binary
DATA REPRESENTATION - TEXT
Digital technologies.
Unit 2.6 Data Representation Lesson 2 ‒ Characters
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Vocabulary byte - The technical term for 8 bits of data.
Binary and Logic Computers use electrical signals that are on or off, so they have to see everything as a series of binary numbers. This data is represented.
Number Systems and Codes
Binary, Denary, Hexadecimal Conversion Binary Addition
NUMBER SYSTEMS.
AP CSP: Sending Binary Messages with the Internet Simulator
UNIT 2 – LESSON 3 Encoding B&W Images.
Introduction to Programming Part 2
UNDERSTANDING YOUR COMPUTER
Exploring Computer Science – Lesson 2-5
THE NEED FOR DNS DOMAIN NAME SYSTEM
Unit 3 Lesson 6 Electronic Technology
Digital Electronics INTRODUCTION ANALOG VS DIGITAL NUMBER SYSTEMS.
Binary Number System Lesson objectives:
Introduction to Computers
UNIT 1 – LESSON 6 SENDING NUMBERS.
Computer Science LESSON 1 on Number Bases.
Introduction to Programming Part 3
AP CSP: Bytes, File Sizes, and Text Compression
Sending Bits on the Internet
MAT 105 Spring 2008 Chapter 17: Binary Codes.
Theory of Computation Turing Machines.
Binary Numbers Press any key to begin..
Topics Introduction Hardware and Software How Computers Store Data
Introduction to Binary
Computers in the real world Objectives
Fundamentals of Data Representation
Introduction to Programming Part 2
Objective 1.02 Understand Numbering Systems
AP Computer Science LESSON 1 on Number Bases.
John Owen, Rockport Fulton HS
Information Technology Department
Understanding Binary Numbers.
ASCII LP1.
Lecture 36 – Unit 6 – Under the Hood Binary Encoding – Part 2
Section 6 Primitive Data Types
Presentation transcript:

The Art of Computational Thinking…Binary Code Introduction to Coding The Art of Computational Thinking…Binary Code

The Art of Computer Science… …Often starts with a problem that needs to be solved

Computer Scientists aren’t just programmers… They are: Creative problem solvers, Psychologists Artists, Authors, and yes, even actual Scientists They are needed in: Biology, video gaming, schools, health care, public service, and anywhere that innovation is involved!

Vocabulary 1. Automate - To make something happen automatically (without help from people) 2. Computer Science – The art of blending human ideas and digital tools to increase problem solving power 3. Computer Scientist – A person who is skilled at modifying problems for digital solutions

Vocabulary (continued) Data – Information, including facts, samples, names, and numbers Environment – The world we live in Interface – The way something allows you to connect with it Programming – Writing instructions for a digital tool Simulation – Pretending to be (a stand-in for) the real thing

Discussion Questions Can you think of a problem that a computer scientist could solve? Have you ever seen a computer simulation before? Describe it. What other jobs could benefit from the help of computer science? Are there any jobs that you can think of where understanding computers would not be useful? Do you think there will be more or fewer of those in 5 years?

Discussion Questions (continued) Technology vs. Physical Movement: What happens to your muscles when you stop using them? Your eyes have muscles, too. How do you think you could get them extra exercise? Technology vs. Environment: What other electricity do you use that you could try to save? Is there anything else you could recycle to help offset paper use?

Discussion Questions (continued) Technology vs. Philanthropy How would you help the world if you were a computer scientist? Who is the first person that you are going to teach this to once you learn it?

Binary Codes A binary code is a system for encoding data made up of 0’s and 1’s Examples Morse code (dash = 1, dot = 0) Braille (raised bump = 1, flat surface = 0) Movie ratings (thumbs up = 1, thumbs down = 0)

Binary Codes are Everywhere CD, MP3, and DVD players, digital TV, cell phones, the Internet, space probes, etc. all represent data as strings of 0’s and 1’s rather than digits 0-9 and letters A-Z Whenever information needs to be digitally transmitted from one location to another, a binary code is used

Decimal System vs. Binary System The Decimal System is a “Base 10 System”. That simply means it uses 10 symbols (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) The Binary System is a “Base 2 System”. It only uses 2 symbols (0 and 1)

Binary in Computing Only 2 symbols are necessary because computers/electronics recognize only “ON” (represented by “1”) and “OFF” (represented by “0”) This 2 symbol system is crucial to computers because it increases speed, memory, and utilization These binary digits (“0” and “1”) are known as “bits”

Understanding Binary For example, in the Decimal System, with the number 150 The “ones” column is represented by 0 The “tens” column is represented by 5 The “hundredths” column is represented by 1 As we go from right to left, the columns represent increasing powers of 10. Ones to tens, tens to hundredths, etc.

Understanding Binary However, the Binary Number System, from right to left increases in powers of 2 (128, 64, 32, 16, 8, 4, 2, 1) To easily determine the value of each column we can deduce what the number is by whether there is a “1” (yes to that value) or “0” (none of that value) in the column

Binary Numbers Let’s take the binary number: 10 The column on the far right is the “1” column and the “0” indicates no value present. The column on the left is the “2” column and the “1” means there is a value of “2” present. So, “10” in binary (remember this reads as “1” and “0”, not “ten”) = “2” in the decimal system.

Binary Numbers Now let’s watch a brief video to better understand how to convert numbers from binary to decimal and decimal to binary. Binary Numbers in 60 seconds: https://www.youtube.com/watch?v=qdFmSlFojIw Let’s Practice!

Converting Binary Code to Text We are going to simulate a computer and “store” letters of the alphabet as binary. https://www.youtube.com/watch?v=wCQSIub_g7M “Decoder” Activity Binary Decoder Key, Graph Paper Encode first name and last initial Skip a line Encode a random minimum six letter word Exchange and decode classmate’s word 4 x 4 square with 1st and last initial in bit value

Challenge Question: How many squares will you need to store your first, middle, and last names altogether?

Answer to Challenge My name: Christine Diane Claxton 21 (letters) x 8 (bits per character) = 168 squares needed