ICS 3U0 – Exam Review

Symbols, Punctuation – What is each used for?

Some have more than one use.

  1. { }

  1. [ ]

  1. ( )

  1. \

  1. /

  1. //

  1. \\

  1. \* *\

  1. +

  1. =

  1. ==

  1. .equals

  1. ||

  1. *

  1. %

  1. !

  1. ‘ – single quote

  1. “ – double quote

  1. ; – semi-color

  1. : – colon

  1. , – comma

  1. . – period

  1. ?

Terms List – Why is each used? What is each one?

Unit 1 – Binary, Input, Output

Assignment
Class
Comments
Constructor
Else
If
Input
Integer Division
Keyword
Main Method
Math.PI
Modulus
Output
Type
Unique variable names
Variable
Binary
ASCII
Unicode
Hexadecimal
ASCII art (which isn’t related to ASCII)
Flowchart
Diamond – Boolean Expression
Rectangle – math process
Parallelogram – input
Pencil – output
Oval – terminal

Unit 2 – Loops and Methods

AND
Boolean
Boolean expression
Global variable
Initialize
Local variable
Loop stopping condition
Loop stopping variable
Method
Method Calls
Method Signature
NOT
OR
Parameter lists
Parameter Types
Parameters
Return Lines
Return Types
Trace
PDLC
Analysis
Design
Code
Evaluation/Reflection
Steven Johnson
Slow Hunch
Platforms
Serendipity
Liquid Networks
Error
Exaptation
Adjacent Possible

Unit 3 - Applets

Applet
Libraries
Imports
GUI
CommandLine
accessor
ActionCommand
ActionEvent
ActionListener
ActionPerformed
add to applet
construction
createImageIcon
e.getActionCommand()
For Loop
init
Jbutton
Jlabel
Jtextfield
Light based colours
mutator
Object
Panel
RGB colours
Swing
While Loop
Widget
Denise Melanson
Screen Flow Diagram

User Interface Design

(Word Bank: Visually Appealing, Restricts Input, Widget Arrangement, Clear Instructions, Error Handling)

a)Have a reset/undo button to allow the user to start over if they make a mistake. Code if statements to handle invalid data entry.
b)Like items are grouped with like items. Widgets appear in the order the user will need them. This makes it easy to find what you need. Like items should have similar formatting.
c)Provide clear titles. Put prompts in front of JTextfields. Have useful information on JButtons. Provide instructions in JLabels.
d)Use colour and pictures. Change the fonts. Resize the applet to one that displays the content well. Similar widgets should be the same size.
e)Uses JButtons instead of JTextfields when possible – users are more likely to mistype than to misclick. Disables buttons when they should not be clicked.

Unit 4: Arrays

2D array
Algorithm
Array
array type
Bentley's example
Big-Oh notation
Binsort
Bubblesort
Efficiency
element
filled array
index
Jbutton array
Maximum
Minimum
Selectionsort
Sort
Search
Memory Diagram