Computer science Kieran elder. What is computer science What is binary Binary maths What is hexadecimal Hexadecimal numbers programs for programming Different.

Slides:



Advertisements
Similar presentations
Number Systems and Codes
Advertisements

4/16/2015 MATH 224 – Discrete Mathematics Counting Basic counting techniques are important in many aspects of computer science. For example, consider the.
Number Bases Informatics INFO I101 February 9, 2004 John C. Paolillo, Instructor.
The Binary Numbering Systems
The Analytical Engine Module 6 Program Translation.
1 Computers and Representations Ascii vs. Binary Files Over the last few million years, Earth has experienced numerous ice ages when vast regions of the.
Information Processing Session 5B Binary Arithmetic Slide
Introduction to Computers and Programming. Some definitions Algorithm: –A procedure for solving a problem –A sequence of discrete steps that defines such.
Chapter 2: Input, Processing, and Output
Chapter 3 Planning Your Solution
Number Systems and Codes In PLC
Homework Reading –Finish K&R Chapter 1 (if not done yet) –Start K&R Chapter 2 for next time. Programming Assignments –DON’T USE and string library functions,
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
Working with Files CSC 161: The Art of Programming Prof. Henry Kautz 11/9/2009.
Binary and Hexadecimal Numbers
NUMBER SYSTEMS.
Homework Reading Programming Assignments
Numeral Systems Subjects: Numeral System Positional systems Decimal
Topics Introduction Hardware and Software How Computers Store Data
CSC212 – Computer Organization and Design
General Computer Science for Engineers CISC 106 Lecture 02 Dr. John Cavazos Computer and Information Sciences 09/03/2010.
Overview of Computing. Computer Science What is computer science? The systematic study of computing systems and computation. Contains theories for understanding.
CS 102 Computers In Context (Multimedia)‏ 01 / 23 / 2009 Instructor: Michael Eckmann.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Chapter 2 – Number Systems and Codes Copyright © 2011, 2007, 2004, 2001, 1998 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights.
ECEN2102 Digital Logic Design Lecture 1 Numbers Systems Abdullah Said Alkalbani University of Buraimi.
Chapter 3 Section 1 Number Representation Modern cryptographic methods, unlike the classical methods we just learned, are computer based. Representation.
Compsci Today’s topics l Binary Numbers  Brookshear l Slides from Prof. Marti Hearst of UC Berkeley SIMS l Upcoming  Networks Interactive.
Chapter 2: The Logic of Compound Statements 2.5 Application: Number Systems and Circuits for Addition 1 Counting in binary is just like counting in decimal.
CS161 Computer Programming Instructor: Maria Sabir Fall 2009 Lecture #1.
Protocol The status of assignments will be kept on the web. To protect identity, you will be assigned a UNIQUE 3 character code. That is the only identifier.
Compsci Today’s topics l Binary Numbers  Brookshear l Slides from Prof. Marti Hearst of UC Berkeley SIMS l Upcoming  Networks Interactive.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
COMP 171: Data Types John Barr. Review - What is Computer Science? Problem Solving  Recognizing Patterns  If you can find a pattern in the way you solve.
Copyright 2006 by Timothy J. McGuire, Ph.D. 1 MIPS Assembly Language CS 333 Sam Houston State University Dr. Tim McGuire.
AP Computer Science A – Healdsburg High School 1 Unit 1 - Binary Numbers - Hexadecimal Numbers.
Data Representation Conversion 24/04/2017.
EEL 3801C EEL 3801 Part I Computing Basics. EEL 3801C Data Representation Digital computers are binary in nature. They operate only on 0’s and 1’s. Everything.
XP Tutorial 8 Adding Interactivity with ActionScript.
Chapter 7 Low-Level Programming Languages Nell Dale John Lewis.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
WHAT IS COMPUTER SCIENCE? Phil Sands K-12 Outreach Coordinator for Computer Science.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Copyright 2006 by Timothy J. McGuire, Ph.D. 1 MIPS Assembly Language CS 333 Sam Houston State University Dr. Tim McGuire.
CCE Department – Faculty of engineering - Islamic University of Lebanon Chapter 6 Binary Arithmetic.
INVITATION TO Computer Science 1 11 Chapter 2 The Algorithmic Foundations of Computer Science.
AGBell – EECT by Andrew G. Bell (260) Lecture 2.
Programming. In your own words, explain what an algorithm is, and give an example of how people use algorithms every day.
Comp 335 – File Structures Hexadecimal Dumps Interpreting File Contents.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Programmable Logic Controller
Number Systems and Codes
Binary, Denary, Hexadecimal Conversion Binary Addition
Topics Introduction Hardware and Software How Computers Store Data
Chapter 2: Input, Processing, and Output
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Data Storage Introduction to computer, 2nd semester, 2010/2011
Binary Files.
Number Systems and Codes
Ch2: Data Representation
Topics Introduction Hardware and Software How Computers Store Data
Algorithm Discovery and Design
CMSC250 Fall 2018 Circuits 1 1.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
Chapter 2: Input, Processing, and Output
Chapter 3 - Binary Numbering System
Presentation transcript:

Computer science Kieran elder

What is computer science What is binary Binary maths What is hexadecimal Hexadecimal numbers programs for programming Different pieces of code Different programs to use for programming

What is computer science Computer science is a philosophy and a field of study that covers basically all aspects of information access, particularly as relates to computer code, technical engineering, and Internet communications. Some of the people who work in this area have jobs as programmers, using algorithms to study and solve complex problems and equations; others look for ways of leveraging information technology to make certain tasks more efficient or streamlined. In modern times the field is often very closely related to cutting-edge technology, but this hasn’t always been the case. The building blocks of computer science — the mathematical computations, the information ordering systems, and the logical puzzles used to decode patterns — existed long before personal computers or mobile phones were even invented.

What is binary Binary describes a numbering scheme in which there are only two possible values for each digit: 0 and 1. The term also refers to any digital encoding/decoding system in which there are exactly two possible states. In digital data memory, storage, processing, and communications, the 0 and 1 values are sometimes called "low" and "high," respectively. Binary numbers look strange when they are written out directly. This is because the digits' weight increases by powers of 2, rather than by powers of 10.In a binary numeral, the digit furthest to the right is the "ones" digit; the next digit to the left is the "twos" digit; next comes the "fours" digit, then the "eights" digit, then the "16s" digit, then the "32s" digit, and so on. The decimal equivalent of a binary number can be found by summing all the digits. For example, the binary is equivalent to the decimal = 21:

Binary maths 1111= = = =8 1011= =3 This is some simple binary maths

What is hexadecimal Hexadecimal describes a base-16 number system. That is, it describes a numbering system containing 16 sequential numbers as base units (including 0) before adding a new position for the next number. (Note that we're using "16" here as a decimal number to explain a number that would be "10" in hexadecimal.) The hexadecimal numbers are 0-9 and then use the letters A-F. We show the equivalence of binary, decimal, and hexadecimal numbers in the table below. Hexadecimal is a convenient way to express binary numbers in modern computers in which a byte is almost always defined as containing eight binary digits. When showing the contents of computer storage (for example, when getting a core dump of storage in order to debug a new computer program or when expressing a string of text characters or a string of binary values in coding a program or HTML page), one hexadecimal digit can represent the arrangement of four binary digits. Two hexadecimal digits can represent eight binary digits, or a byte.

Hexadecimal numbers Hexadecimal (or hex) is a base 16 system used to simplify how binary is represented. A hex digit can be any of the following 16 digits: A B C D E

Programs to use for computer science Pyscripter - you will be using python on this program Little starter for computer science Would be scratch because it’s a fun Way to code things to work

Different types of programs Windows Fire fox Chrome Adobe Flash Player Open Office

Different parts code This type of code is a string This is a user input peace of code which asks you to input a number then a secondary number then adds it together at the end This is a function which has hello twice(name): defined n the top then when you print the defined name it will print the name you put in 2 times This is a if statement which gives you and option and if you don’t select one of the option it will run it

IOS vs android androidIOS Sales million sold 20 million sold