Wednesday, January 13, 2016

Difference between For and While Loops

For Loop: 
  • fixed repetition loop
  • keeps running when variables change
  • you can change the value of constant (number of times it runs)
  • seperate variable needed
While Loop
  • has a condition
  • if condition not met loop continues
  • statement within loop

Wednesday, October 28, 2015

Input Devices

Input Devices
keyboard
dictation device
trackpad
graphic tablets
cameras
joystick
scanner
webcam
pen
electronic whiteboard


Output Devices
monitor
printer
plotters
projector
speakers
radio

Both Input and Output
USB
modems
touchscreen
headseat (with mic)
facsimile (fax)
audio cards
usb

Name Card: Define

My favorite time of day is the evening because it is cool and the sunset turns the sky blue, purple, red, and orange. My favorite vacation spot is in Northern Europe because it is very clean and the weather is good.

Bits/Bytes/Compilers & Interpreter

Bits are the base of programming. There are only two bits, 0 and 1. 0 represents off, and 1 represents on. When put together, each series of bits is put in groups of 8, which is called a byte. The byte is a form of memory which can record which slot is 0 or 1. Depending on the order, each byte remembers something different. Programming languages take the 0s and 1s, which are called binary code, and convert them into letters and numbers and symbols. To convert between the languages and the binary code, there are compilers and interpreters. Compilers are like translators where you put something in and it comes out as a result. Interpreters are more like word for word translators, and they may take longer to convert the code. High level languages that we normally use for programming are called source codes, like Java or C++. Source codes use compilers and interpreters to reference binary codes.

Computer Architecture

I think that computer architecture is how we tell computers to do what we want them to do. We use things like programs.

How does the computer understand what I type?
The computer is wired to do certain things when I enter in a specific chain of letters or numbers or symbols into a specific program. It can store large amounts of knowledge, so it uses that to do what I want it to.