For Loop:
It is a fixed repetition loop. It will run the given number of times no matter how the body of for loop code changes the values of the variables.
If you have a constant, you can run the For Loop for that many times. You can change the value of the constant.
The counter value increases or decreases depending on the for loop min, max, incremental or decremented values automatically as stated per requirement -- no separate statement is made within the body of the loop.
A separate variable is needed most times to run a For loop.
While Loop:
While loop can have various conditions and they can be joined. The control enters the loop body only when the condition is met. If the condition is not met, the control goes to the statement following the end of the while loop body. A statement within the while loop changes the criteria and that actually moves the control out and to the statements that are following the end of while loop body.
8cs20rohana
Wednesday, January 13, 2016
Wednesday, November 11, 2015
Wednesday, November 4, 2015
Wednesday, October 28, 2015
I/O Devices
Input:
- Graphics tablets
- Cameras
- Video Cameras
- Trackballs
- Barcode reader
- Digital Camera
- Gamepad
- Joystick
- Keyboard
- Microphones
- Mouse
- Scanner
- Webcam
- Touchpads
- Pen input
- Electronic Whiteboard
- Magnetic key cards
Output:
- Monitor
- Printers
- Plotters
- Projectors
- LCD Projection Panels
- Computer output microfilm
- Speakers
- Radio
I/O Devices (both)
- Modems
- Network cards
- Touchscreen
- Headsets
- facsimile (fax)
- Audio cards/sound cards
- USB
Compilers/Interpreters/Bits and Bytes
- The job of a compiler is to convert the entire program into binary all at once
- Interpreters translate lines into binary once at a time
- Bits are units of binary, such as ones and zeroes
- Bytes are units of memory, such as a gigabyte
- 0 is a bit; 1 is also a bit
- Every character on the keyboard including space are represented by bits/1's and 0's
Computer Architecture
Computer Architecture is designing a computer in the best way possible. You must try to take out as many design flaws and bugs as possible. You have to really think about it and see what the customer wants/needs.
How does the computer understand what I type?
I don't know.
How does the computer understand what I type?
I don't know.
Wednesday, September 30, 2015
Design Thinking Process - Define
You come up with some basic problems that need to be overcome, based on the feedback that you got from your potential customers/users.
Subscribe to:
Comments (Atom)
