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

Flashcards

Chapter 2 Variables, expressions and statements

Deleted user User has deleted their subject information English 18 cards

Cards in this deck (18)

  1. 1ValueOne of the basic units of data, like a number or string, that a program manipulates.
  2. 2TypeA category of values. The types we have seen so far are integers (type int), floating-point numbers (type float), and strings (type str).
  3. 3IntegerA type that represents whole numbers.
  4. 4Floating-pointA type that represents numbers with fractional parts.
  5. 5StringA type that represents sequences of characters.
  6. 6VariableA name that refers to a value.
  7. 7StatementA section of code that represents a command or action. So far, the statements we have seen are assignments and print statements.
  8. 8AssignmentA statement that assigns a value to a variable.
  9. 9State DiagramA graphical representation of a set of variables and the values they refer to.
  10. 10KeywordA reserved word that is used by the compiler to parse a program; you cannot use keywords like if, def, and while as variable names.
  11. 11OperatorA special symbol that represents a simple computation like addition, multiplication, or string concatenation.
  12. 12OperandOne of the values on which an operator operates.
  13. 13Floor DivisionThe operation that divides two numbers and chops off the fraction part.
  14. 14ExpressionA combination of variables, operators, and values that represents a single result value.
  15. 15EvaluateTo simplify an expression by performing the operations in order to yield a single value.
  16. 16Rules of PrecedenceThe set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
  17. 17ConcatenateTo join two operands end-to-end.
  18. 18CommentInformation in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.

Information

Description
User has deleted their subject information Flashcards on Chapter 2 Variables, expressions and statements, created by Deleted user on 22/09/2016.
Created by
Deleted user · Sep 2016
Updated
Jan 10, 2017
Views
84
History
  • Created by Troy Bowlin · May 1, 2016
  • Copied by Troy Bowlin · Sep 22, 2016
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?