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

Flashcards

pseudocode

Rebecca Hall Computing GCSE English 23 cards

Cards in this deck (23)

  1. 1Declare subroutinesDeclare CapitalLetterOfName
    End Subroutine
  2. 2Call a subroutinecall SubroutineNeeded
  3. 3Declare and use arraysmyarray[99]
  4. 4Literal Outputsoutput "Please enter a number"
  5. 5Variable namesmyvariable
  6. 6Define variable data typemyvariable is integer
  7. 7Data typesinteger, character, string, boolean, real
  8. 8Assignmentset counter = 0
  9. 9Selectionif... else... end if
  10. 10Indent at least a single space after if or do or repeat etc.if counter = 1
    output counter
    end if
  11. 11Annotation{some annotation goes here}
  12. 12Comments/** Comments for program */
  13. 13Repetitionfor i... next i
    repeat... until
    do... loop
    do... while
    while... repeat
  14. 14string handline:
  15. 15mid(string,x,y)mid(banana,2,4)
    = nan
  16. 16left(string,x)left(banana,3)
    = bana
  17. 17right(string,x)right(banana,3)
    = nana
  18. 18instring(x,stringa,stringb)instring(2,pineapple,ananas)
    = pin ananas eapple
  19. 19len(string)len(word)
    = 4
  20. 20val(string)val(a)
    = ascii for a
  21. 21int(string)"2"
    = 2 (become integer)
  22. 22trim(string)trim(" banana ")
    = banana (leading and trailing spaces removed)
  23. 23char(number)0110
    = 6

Information

Description
GCSE Computing Flashcards on pseudocode, created by Rebecca Hall on 26/04/2022.
Created by
Rebecca Hall
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?