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

Karteikarten

Pseudocode revision

David Hewson Englisch 8 Karten

Karten in diesem Stapel (8)

  1. 1How do you ask the user to enter a number and store that number in a variable in Pseudocode?You use the following code:
    age (for e.g.) = input ("Please enter your age: ")
  2. 2How do you store the number 26 in a variable in Pseudocode?With the following code:
    x (for e.g.) = 26
  3. 3How do you multiply 5 by 10 and store the answer in a variable in Pseudocode?With the following code:
    answer = 5 * 10
  4. 4How do you multiply two variable values and store the answer in a variable in Pseudocode?To multiply two numbers you just need the numbers and a * symbol in-between them.
  5. 5How do you check if the value of one variable is larger than another variable (using an if statement and the > symbol) in Pseudocode?
  6. 6How do you output text (string) to the user in Pseudocode?You can use the simple code below:
    print ("Hello")
    or
    age = input ("Please enter your age: ")
  7. 7How do you output the value of a variable to the user in Pseudocode?
  8. 8How do you output the text AND the value of the variable on one line, by using concatenation (+) in Pseudocode?

Informationen

Beschreibung
Karteikarten am Pseudocode revision, erstellt von David Hewson am 01/12/2020.
Erstellt von
David Hewson
Aufrufe
0
Bewertung

Mehr zu Algorithms and Flowcharts

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck