computer science kieran elder. what is computer science what is binary binary maths what is...

12
Computer science Kieran elder

Upload: octavia-richard

Post on 28-Dec-2015

221 views

Category:

Documents


0 download

TRANSCRIPT

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

Computer science

Kieran elder

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

• 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

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

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.

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

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 10101 is equivalent to the decimal 1 + 4 + 16 = 21:

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

Binary maths

1111=151010=101100 =121000=81011=110011=3This is some simple binary maths

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

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.

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

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: 0 1 2 3 4 5 6 7 8 9 A B C D E

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

Programs to use for computer science

• Pyscripter - you will be using python on this program

Little starter for computer scienceWould be scratch because it’s a funWay to code things to work

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

Different types of programs

• Windows • Fire fox• Chrome • Adobe Flash Player• Open Office

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

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

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

IOS vs android

android IOS Sales 2015 Sales 2015

55 million sold 20 million sold

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

Quiz

time