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

Flashcards

Answering Algorithm Exam Question using Pseudocode

Salman Bokhari Computing Year 8 English 8 cards

Cards in this deck (8)

  1. 1Ask the user to enter a number and store that number in a variablenumber = input("Please enter a number")
  2. 2Store the number 26 in a variablenumber = 26
  3. 3Multiply 5 by 10 and store the answer in a variableanswer = 5*10
  4. 4Multiply two variable values and store the answer in a variableanswer1 = 5*1
    answer2 = 5*2
    answer3 = answer1*answer2
  5. 5Check if the value of one of the variables is larger than the other symbolnumber1 = 5*1
    number2 = 5*2
    if number1 > number2 then
    print("Number 1 is bigger")
  6. 6Output text (string) to the userprint("Hello!")
  7. 7Output the value of a variable to the usernumber = input("Enter number")
    print(number)
  8. 8Output the text and the value of the variable on one line, by using concatenationnumber = input("Enter number")
    print("Hello! " + number)

Information

Description
Year 8 Computing Flashcards on Answering Algorithm Exam Question using Pseudocode , created by Salman Bokhari on 01/12/2020.
Created by
Salman Bokhari
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?