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

Flashcards

CSCI 1302 Test 2

marc30599 . English 16 cards

Cards in this deck (16)

  1. 1SubscriptIndex Ex: Array index
  2. 2ArrayFixed-size data structure that can store a sequential collection of values, all the same type
  3. 3Assignment Operator"=" equal sign that initializes it
  4. 4ElementOne value in an array
  5. 5Control VariableMainly used in "for loop" to control how many times a loop executes
  6. 6ScopePart of the program where it may be accessed by name
  7. 7Pre-test LoopWill be a "while" loop
  8. 8Post-Test LoopWill be a "do-while" loop
  9. 9Equality OperatorUsed to compare objects (ints, chars, doubles) using "==". For strings you use ".equals" or ".equalsIgnoreCase"
  10. 10Logical "AND" operatorDenoted as "&&" both sides of the expression must be true in order for the entire expression to be true
  11. 11Logical "OR" operatorOnly one side of the expression must be true in order for the entire boolean expression to be true, denoted with "| |"
  12. 12Logical "NOT" operatorReverses the truth of a boolean expressions denoted with "!"
  13. 13IterationBasically loops and repetition
  14. 14IF Statementif(boolean expression) is true then the following statement afterwards executes. if false it skips over the following statement
  15. 15IF ElSE StatementSame as the IF Statement only in this instance if the expression is false, than the statements in the ELSE block will execute instead.
  16. 16Boolean ExpressionsAn expression that, when evaluated, returns a boolean value of true or false value

Information

Description
Flash Cards for my CSCI Test
Created by
marc30599 .
Views
17
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?