ICS2O
Introduction to Computer Studies - Grade 10
Introduction to Computer Studies - Grade 10
Overview | Computing basics | [HTML] | [smallBASIC] | [Python] |Construct | ActionScript | GameMaker | Kodu | Summative
You are to complete the following survey (linky) as best you can in class, then the rest of it at home if you don't offhand know all of the answers.
Challenge:
Create a new program in Khan Academy's interactive java environment and first person who manages to draw a perfect stickman/woman wins
Complete the game. Take a screen-capture of each successful solution (e.g. hit the print-screen button on your keyboard just as your bot finishes the level then paste the screen capture into paint.net and save the file solution_1, solution_2, solution_3 etc.... or even easier, just paste each screenshot into a google doc directly). When you're done submit the document to our gClassroom by clicking submit for Asst#1 and choosing the google doc as the upload.
Logic gates are primarily implemented electronically using diodes or transistors, but can also be constructed using electromagnetic relays (relay logic), fluidic logic, pneumatic logic, optics, molecules, or even mechanical elements
These basic elements include:
AND
AND gate
OR
OR gate
NOT
NOT gate (inverter)
NOT AND (NAND)
NOT OR (NOR)
EXCLUSIVE OR (XOR)
PRACTICE SHEET
A numeral system (or system of numeration) is a writing system for expressing numbers, that is a mathematical notation for representing numbers of a given set, using graphemes or symbols in a consistent manner. It can be seen as the context that allows the symbols "11" to be interpreted as the binary symbol for three, the decimal symbol for eleven, or a symbol for other numbers in different bases.
(source)At first, it would seem like using any number system other than decimal is complicated and unnecessary. However, since the job of electrical and software engineers is to work with digital circuits, engineers require number systems that can best transfer information between the human world and the digital circuit world and those forms are usually binary, octal, or hexadecimal. It turns out that the way in which a number is represented can make it easier for the engineer to perceive the meaning of the number as it applies to a digital circuit. In other words, the appropriate number system can actually make things less complicated.
The decimal counting system comes from the greek prefix ‘dec’ meaning ten. This makes sense to us because humans have 10 fingers to count on, and thus we developed ten digits in which to count: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. If you can recall back to when you first learned math in primary school, we were taught that from 0-9 we are counting in the ‘ones’ column, but 9 is the biggest single digit that we have, so we increment our next column like an odometer, ‘tens’ to one, and then reset our ‘ones’ column back to 0.
This method of counting makes a lot of sense to us because we can count it on our fingers, and to increment to the next unit, we simply add a 0 to the end, and we’ve multiplied by 10 and gone from ones to tens, or tens to hundreds etc.
(Base 2)
Decimal is great for us, but completely counter to the way a computer works. A computer doesn’t think between 0-9, it thinks in either ON or OFF, HIGH or LOW, 1 or 0. This is due to the way that the silicon hardware works, a transistor can either turn on or off, it can’t be in between. Which brings us to the binary counting system.
A Binary Number is made up of only 0s and 1s.
110100
Example of a Binary Number
There is no 2, 3, 4, 5, 6, 7, 8 or 9 in Binary!
A "bit" is a single binary digit.
Binary numbers have many uses in mathematics and beyond.
The maximum range for an 8-bit binary number is 256 values (or 0-255)
‘What?!’ I hear you say? If computers work best in binary, why do we need to use another counting system? It’s a great question and there are a few different reasons why hexadecimal is commonly used in computing systems.
Hexadecimal is much easier for humans to interpret than binary, its closer to our base 10 counting logic than binary is. It’s also requires far less digits to represent a number than both binary and decimal, and isn’t overly hard for computers to understand.
Before we can take a look at why hexadecimal is great to use, we need to understand how it works first. Our plain old decimal system is known as base-10 counting, binary is known as base-2 counting, and hexadecimal is known as base-16 counting. Instead of stopping at 9 (our 10th unique digit) to increment the next column, hexadecimal uses 16 unique digits to represent the numbers 0-15. Except we only have 0-9, so we use A, B, C, D, E, and F for the numbers 10-15. Hexadecimal is represented with either ‘0x’ or ‘h’ before the number.
e.g. 0x 1C8
Try these:
When you're done take this google form quiz
This quiz is submitted automatically as Assignment #2 for the course.