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

Flashcards

Programming Basics (Part 2)

Daniel Smillie English 9 cards

Cards in this deck (9)

  1. 1VariableAn item of data whose value could change while the program is being run.
  2. 2DeclarationThe process of defining variables and constants in terms of their name and data type.
  3. 3AssignmentThe process of giving a value to a variable or constant.
  4. 4ConstantThe value of a constant is fixed for the duration of a program and cannot be changed.
  5. 5len(string)Returns the length of a string.
  6. 6String.substring(index1, index2)Returns a portion of a string inclusive of the characters at each index position.
  7. 7string.find(str)Determines if str occurs in a string. Returns index if found and -1 otherwise.
  8. 8ord(“a”)Returns the integer value of a character.
  9. 9chr(97)Returns the character represented by an integer.

Information

Description
Become familiar with basic string handling operations. Distinguish between variables and constants.
Created by
Daniel Smillie
Views
6
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?