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

Flashcards

Computer Science Programming

Edward Tremayne-Smith Computer Science GCSE English 18 cards

Cards in this deck (18)

  1. 1.upper()Turns a string uppercase
  2. 2.lower()Turns a string lowercase
  3. 3x = len(y)Finds out how many characters are in y
  4. 4str()To return a string from a number (e.g if you want to output an int or float variable with a string, you would need to convert the number to a string first)
  5. 5[:?]To return characters to the left of a string
  6. 6[-?:]To return characters to the right of a string
  7. 7[?:?]To extract characters from the middle of a string
  8. 8.find() ( e.g x = y.find(z) )To find the position of substring z in y
  9. 9+, -, *, /(In Order) Addition, Subtraction, Multiplication, Division
  10. 10**To the power of
  11. 11ifif the user enters a certain thing, it will output a specific answer
  12. 12elifUsed as an alternative to multiple if statements
  13. 13elseanything else other than what the coder has intended can be written using this
  14. 14!=Does not equal
  15. 15<, >, <=, >=(In order) Less than, Greater than, Less than or equal to, Greater than or equal to
  16. 16andBoth conditions must be true
  17. 17orOne condition must be true
  18. 18notCondition is not true

Information

Description
GCSE Computer Science Flashcards on Computer Science Programming, created by Edward Tremayne-Smith on 17/01/2022.
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?