ICS2O Grade 10 Computer Science Exam

Flow Chart diagrams

  • (rectangle) – Process
  • (Paralellogram) – Input/Output
  • (oval) – Start/end
  • (diamond) – Decision

Computer Parts

Input -> (CPU, Control, ALU <-> Memory, ROM, RAM) -> Output

Fetch -> Decode -> Execute

  • -Get instructions
  • -convert into a known language
  • -actual movement of program

ALU- Arithmetic Logic Unit

  • -Does basic mathematics and passes information to Control

Memory Registers

  • -Accumulator: stores information to be processed next
  • -Instruction Pointer: tells where the next piece of information is located

Control

  • Program Counter: counts how many times the program ran
  • Instruction Register:gets information on what to do with the basic numbers
    • -storage location
    • -what to execute and how
    • -where to store

Hz: In cycles per second how many times it can fetch, decode, and execute

FSB: Front side bus

IEEE1394: Firewire

Viruses: Copies itself to a computer to do harm

Trojan Horses: Self replicating and made to look harmless to the user

Worms: Self replicating and uses network to copy itself to other terminals

Spyware: Seeps into system to gather personal information or data from your computer

Adware: displays ads or banners when running and changing settings of computer to display ads

OS Updates: fix OS bugs, fill patches, and security updates

Application Updates: update app software to fix bugs or add new features

Virus Definitions: list of viruses and behaviors that allows AV programs to track down viruses by matching their symptoms with the list

VOIP: Voice over IP used for transferring audio data back and forth over the internet to create the functionality of calling

Streaming: viewing content from the internet halfway finished without downloading the entire thing

FTP: file transfer protocol: upload and download files onto disk unlike HTTP where it’s to be used only in a browser

Bit Torrent: sending data without a server but instead from one’s computer directly to another

NIC: Network Interface control/card: allows computers to establish a connection to the network and other computers

MAC: Media Access Control: unique identification allows devices on network to be individually recognized. IP related to the MAC so that your hardware can be tracked

Firewall: prevent unauthorized access to ports so that unauthorized access to computer and network is prohibited

Modem: converts analog signal (coaxial cable) into digital signals (ethernet)

Turing Syntaxes

  • “Put”
    • Put 3+2 <– Math
    • Put iCount <– Variable
    • Put “hello world” <– string
    • Put “” <– skip line
    • Put “hello”.. <– continue on same line
  • “Constant”
    • Const min:=0
  • “variables”
    • Var iCount:int:=0  <– New variable named iCount, integer, and value is 0
    • -Variables constantly changes
  • Var structure:  Var [name]:[data type]:=[value]
  • Array var structure: var [name]: array of [datatype] [initial amount]..[ending amount]:= init  ([value1],[value2])
  • “if statements”
    • If (boolean is true) then
    • End if
  • If (boolean is true) then
  • ______( procedure 1)
  • Elsif (boolean is true) then
  • ______( procedure 2)
  • Else
  • ______( procedure for everything else)
  • End if
  • “loops”
    • Loop
    • _____( procedure 1)   <– Repeats from loop to end loop forever
    • End loop
  • Use exit when boolean condition to exit loop
  • “for loops”
    • For iCount : 0..5
    • End for

 

  • For [temporary variable]:[range]..[range]
  • End for

Operating Systems

  • Shell:User interface, Windowed UI, Text based commands
    • -Shows a picture representing data being processed
    • Network Management:handles IP and communication over the network
      • -Handles information in and out
      • Task Management: dealing with multiple programs running at once
      • Kernel:Your OS’s connection to hardware
        • -Applies Tasks to hardware
          • EG: to save a file
  1. -Convert to binary
  2. -Find a location
  3. -Put it in
  4. -create an address to location
  5. -confirm with OS

LOGO

  • Syntaxes
    • Long alliterations: FORWARD, LEFT, RIGHT
    • Short forms: FT, RT, LT
    • [translation command] [number of pixels in that direction]
    • REPEAT [#] [(command)(pixel amount)  (command)(pixel amount)]
    • PENUP: takes pen off the chart to not leave a mark
    • PENDOWN : puts pen back down on the chart to leave a mark