2024-03-01T12:37:21+03:00[Europe/Moscow] en true <p>Variable + Variable declaration</p>, <p>Constant declaration</p>, <p>Assignment</p>, <p>Selection</p>, <p>Iteration</p>, <p>Count controlled loop</p>, <p>Condition controlled loop</p>, <p>Nested structures</p>, <p>Relational operator</p>, <p>Arithmetic operator</p>, <p>Boolean operator</p>, <p>Dimensional arrays</p>, <p>Records</p>, <p>Random num generation code example</p>, <p>Subroutine </p>, <p>Functions</p>, <p>Procedure</p>, <p>Abstraction</p> flashcards

Computer Science Paper 1

COMPUTER SCIENCE PAPER 1

  • Variable + Variable declaration

    Variables = space in memory.

    Variable declaration = Create a variable and giving a Variable a name

  • Constant declaration

    Assigning a value to a constant (cannot be changed)

  • Assignment

    giving the variable a value

  • Selection

    Process of making a decision

  • Iteration

    Programming statement that repeat code

  • Count controlled loop

    A loop that has a definite num of times to run

  • Condition controlled loop

    A loop that has a indefinite num of times to run until conditions are met

  • Nested structures

    Process of putting a statement inside of another, through iteration and selection

  • Relational operator

    Comparing values e.g > < =

  • Arithmetic operator

    To perform mathematical operations e.g + x -

  • Boolean operator

    To test true or false conditions e.g AND OR

  • Dimensional arrays

    Multiple spaces in memory

  • Records

    Data structure allowing multiple data types under a single identifier

  • Random num generation code example

    Num = random_int(2,5)

  • Subroutine

    Set of instructions in order to execute a task

  • Functions

    Subroutines that return a value

  • Procedure

    Subroutines that do not return a value

  • Abstraction

    Representation that is arrived at by removing unnecessary details.