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

Karteikarten

Gr 11 computer science

Julia Garant Computer Studies Grade 12 Englisch 43 Karten

Karten in diesem Stapel (43)

  1. 1Variable DeclarationPart of the 3 amigos
    eg: double price;
    + initialization
    double price=0;
  2. 2variablethe name of the variable being used
    double PRICE;
  3. 3data typepart of a variable declaration, can be in a parameter list
    int, double, float, String, boolean, color, char
  4. 4embedded commentcommenting during the program to explain what is currently happening.
  5. 5user promptpart 2 of 3 amigos
    c.print("Type in a price before tax: ");
  6. 6assignment operatorused when initializing, incrementing and decrementing a variable.
  7. 7operator<,>,==
  8. 8operandswhat is on either side of an operator,
    think of an
    -if ()
  9. 9concatenationto join together as strings
  10. 10escape character\
    used to separate lines ("\n\n");
  11. 11Boolean conditonusing and or, as well as <,>,==
    eg N is an even number
    N%2==0
  12. 12else clauseif all other statements fail, the else clause will happen
  13. 13infinite loopwhile(true)
    {
    }
    everything will repeat as long as true stays true
  14. 14while loop (COUNTER CONTROLLED)while(count<10)
    within the while loop there is an incremented counter (count++;)
  15. 15while loop (USER CONTROLLED)while(true)
    using the 3 amigos, ask the user for something, as long as their input sticks with the requirements the loop will repeat.
    To exit there will be a direct way.
  16. 16counteran integer variable used to count something
  17. 17initializationgiving a variable a starting value.
    Normally 0
  18. 18loop indexi
  19. 19increment/decrementto increase or decrease a variable by a certain amount
  20. 20nested loopa loop within a loop
  21. 21method definitionthe entire subprogram
  22. 22method callthe portion of subprogram within setup
  23. 23parameter list( )
  24. 24argument/actual parameterthe parameter within the method call
  25. 25formal parameterthe parameter used in the method definition
  26. 26method overloadingthe same subprogram but with different parameters
  27. 27parameter data typethe data type of the parameter
  28. 28return typeFUNCTION: instead of void for a procedure, the data type that is finally outputted
  29. 29voidessentially nothing, but specifically PROCEDURE CUE
  30. 30scopethe area where a variable can be used (Depends on where it is declared)
  31. 31local/globallocal-only in the certain area
    global- used anywhere
  32. 32boolean functioncan be used if specifically looking for certain things.
    eg x has to be between here and here && y needs to be between here and here
  33. 33IDEintegrated development environment,
    where you write your code.
  34. 34algorithmthe code itself
  35. 35debug windowwhere the errors show up
  36. 36debuggingfixing errors in code
  37. 37tracingrunning through a prgm as if you were the computer
  38. 38random number generatorhow many random numbers you want and what number you want to start at
  39. 39hexadecimal1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,10,11,12
  40. 40arduinoa microcontroller board with a programming language
  41. 41arraya list
  42. 42array element[ ] the number of items in an array
  43. 43array index[0] a specific number on the list

Informationen

Beschreibung
Grade 12 Computer Studies Karteikarten am Gr 11 computer science, erstellt von Julia Garant am 21/01/2018.
Erstellt von
Julia Garant · Jan 2018
Aktualisiert
21 Jan 2018
Aufrufe
6
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck