GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

4.1

James John Englisch 11 Karten

Karten in diesem Stapel (11)

  1. 1Pointer/referenceA link to data elsewhere in memory
  2. 2RecordsA group of values that can be of different data types
  3. 3Procedural programmingA combination of statements that include:
    Variable deceleration (creating a variable and its type)
    Constant deceleration (creating a constant and its type)
    Iteration - repeating (looping) through a section of code under given conditions
    Assignment - assigning a value to a variable/constant
    Selection - branching from one section of code to another depending on a condition
    subroutine
  4. 4SubroutineA pre defined section of code that can be called at any time
    Procedure - a subroutine with no output
    Function - subroutine with an output
    Used to block code together so that it can be called instead of repeated each time and improves readability
  5. 5Nested iterationWhen a branch or loop is contained within another branch or loop
  6. 6Exception handlingA try block will deliver code to its catch block when a runtime error occurs. A finally block will always be run. Typically used to close files and prevent memory leaks.
  7. 7Local VariablesCan only be accessed in the subroutine they were created. They cannot be altered or accessed by other subroutines.
  8. 8Global variablesUsable by all subroutines. Create a large memory footprint as memory locations cannot be reused.
  9. 9RecursionA subroutine that calls itself. Can be used to make efficient calls to different data. Can cause memory overflows.
  10. 10Stack framesWhen a subroutine is run a stack frame is created to store:
    Return address
    Local Variables
    Parameters
  11. 11Object orientated programsDefine instances of classes and run them classes and execute methods within the objects.

Informationen

Beschreibung
Karteikarten am 4.1, erstellt von James John am 10/05/2022.
Erstellt von
James John
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck