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

Flashcards

Pseudocode revision

David Hewson English 8 cards

Cards in this deck (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?

Information

Description
Flashcards on Pseudocode revision, created by David Hewson on 01/12/2020.
Created by
David Hewson
Views
0
Rating

More on Algorithms and Flowcharts

Feedback

What is it about?

What do you think of the new look?

How do you like it?