GoConqr has a new look! Let us know what you think.

Flashcards

Computer Science

Ana Rodrigues Computing Year 10 English 5.0Average rating 5.0 out of 5 (1 rating) 15 cards

Computer Science

Cards in this deck (15)

  1. 1Defensive designIt ensures that:
    1. the number of errors or bugs is minimised
    2.the program behaves as expected in spite of unexpected user actions
    3.all possible errors that could occur are identified and allowed for
  2. 2Validation : Presence checkPresence checks ensure that data has been entered
  3. 3Length checkLength checks ensure that a specified number of characters have been entered
  4. 4Range checkRange checks ensure that an input falls within required range
  5. 5Testing: Syntax errorsThey are grammatical mistakes in code, which could be caused by misspelling, (prnit instead of print) or by missing colons, semi-colons or brackets. They are very difficult to spot and stop the program from working.
  6. 6Logic errorsThey cause unintended output because of the fault f the logic of the algorithm e.g. using an AND operator instead of OR operator.
  7. 7Logic gatesAND Gate:
    1+1=1
    1+0=0
    0+1=0
    0+0=0
    Both have to be 1.
    Logic gates
  8. 8Logic gatesOR Gate:
    1+1=1
    1+0=1
    0+1=1
    0+0=0
    Only one has to be 1.
    Logic gates
  9. 9Logic gatesNOT gate
    1=0
    0=1
    It is the opposite.
    Logic gates
  10. 10Programing languages Machine languageProcessors only understand instructions written in 1s and 0s. Machine code is a low-level language.
  11. 11Programing languages Assembly languageEach instruction is directly equivalent to one in machine code. Words called mnemonics are used to replace the command represented as strings of 1s and 0s in machine code. This is a low level language.
  12. 12Programming languages High-level languageThese are languages that resemble human languages. They use key words such as 'print', 'if', and 'then'.
  13. 13Translators CompilerIt translates the source code into a standalone, machine code program (object code) that can be executed by the processor.
  14. 14Translators InterpreterIt translates the high-level code line by line into machine code. It is needed each time the program is run.
  15. 15Translators AssemblersThey translate the mnemonics of assembly language into machine code instructions. Assembly language is very similar to machine code. This one assembly language instruction for each machine language instruction.

Information

Description
Computational logic
Created by
Ana Rodrigues
Views
16
Rating
Average rating 5.0 out of 5 (1 rating)

Feedback

What is it about?

What do you think of the new look?

How do you like it?