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

Flashcards

cards

josh mercurius English 8 cards

Cards in this deck (8)

  1. 1What is a variable?Computer programs accept inputs from a user, process them using some constants and output back to the user.
    It is a good idea to label various inputs, constants and outputs with descriptive names (the process known as assignment).
  2. 2keywordsinput output
    assignment pseudo code
    flowchart identifier
    variable constant
    concatenation memory locations
    parameters
  3. 3OperatorsNumbers: addition, subtraction, division, modular division (division with a remainder), integer division, multiplication, to-the-power-of, negation
    Boolean: AND, OR, NOT, larger, smaller, equal, not equal
    Strings/characters: slicing, length, format
  4. 4keywordsaddition-subtraction-division-negation
    modular division-integer division
    and-or-not-greater than-less than
    equal-not equal
  5. 5keywordsArithmetic-Boolean-string-concatenate
    sub string-delimiter-split-left-mid-right
    modulus-quotient-exponentiation
  6. 6sequencesSequencing allows a programmer to solve complex tasks through a number of simple steps. The order of steps in most tasks matters – similarly, we use brackets in math to make sure that certain operations are done before others (sometimes we need to add before we do multiplication and division).
  7. 7advantages and disadvantages of sequencesadvantages: each line follows the next ; create simple program;Easy to follow for a small program;Fundamental principal of a program; - Starts at the top, finishes at the bottom disadvantages:
    Not at all efficient; becomes very difficult to follow with large programs ;Extremely hard to maintain
  8. 8selectionThe use of selection allows a computer to “think” – make decisions
    Selection changes the flow of a program, depending on a set of conditions, it is used for validation, calculation and making sense of a user’s choices.
    Good connection to the topic of Boolean operations and logic gates

Information

Description
Flashcards on cards, created by josh mercurius on 31/01/2019.
Created by
josh mercurius
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?