CPE PROG 2 PART 1 EXAM

Cards (32)

  • Computer system = combination of all the
    components required to
    process and store data
    using a computer.
  • Hardware= physical aspects of a computer
    system
    • They are tangible, i.e. you can
    see and touch them.
  • Software = anything that tells hardware
    what to do and how to do it. Computer instructions.
  • Input = Data items enter the computer system and are put into memory, where they can be processed
  • Processing= data is collected and translated into usable information (organizing
    /sorting,checking for accuracy, or
    performing calculations)
  • Output = after data items have been process, displaying on the console
  • Programming = process of writing instructions to facilitate specific actions in
    a computer
  • Programming language =is a vocabulary and set of
    grammatical rules for
    instructing a computer or
    computing device to perform
    specific tasks
  • Source code = the program statements you write in a programming language
  • Syntax = refers to the spelling and grammar
  • Syntax error = mistakes such as spelling and punctuation errors, incorrect labels, and so on
  • Logical error = mistakes that cause the program to operate incorrectly
  • Machine language = Binary language • lowest-level programming language(series of 1s and 0s) • only language understood by computers
  • Compiler = translates your source code into machine language • also checks for errors
  • Object code = the translated machine
    language statements
  • Pseudocode = English-like representation
    of the logical steps it takes
    to solve a problem
    Written in natural
    language and
    mathematical notations
  • Flowchart = Pictorial representation of
    the logical steps it takes to
    solve a problem
  • 1990s = when was Python created? By Guido Van Rossum
  • Python was created at = Nether lands
  • IDE = provides the user
    interface for code
    development, testing
    and debugging
    features.
    This
  • Compiler = special program that
    translates a programming
    language's source code into
    machine code, bytecode or
    another programming
    language
  • indentation = is very important
  • Variables = containers for storing data
    values for later use.
  • Identifier = Is the name we give to identify the variable
  • Data types = Types of data a variable
    can contain
  • Output = Displaying values to the console. After the data items have been processed
  • Input = Accepts keyboard input
    Returns a string, Data items
  • Type casting = Specifying the type of a variable
    Changing type
  • String concatenation= adding strings together
    • + Operator
  • Value = we assign to the variable
  • Elements of a computer system = People, Data, Procedures, Connectivity
  • What are the data types =
    String, Integer, Float, Boolean