Computer Science

1234567891011121314151617181920
Across
  1. 3. An alternative block of code executed if the if condition is false.
  2. 7. A loop typically used when the number of iterations is known ahead of time.
  3. 8. The logical operator (&&) used to combine conditions.
  4. 9. A conditional statement used to execute a block of code only if a condition is true.
  5. 10. A data type used to store fractional or decimal numbers.
  6. 11. A loop inside another loop.
  7. 13. A small, specific portion of a larger string.
  8. 16. Converting a value of one data type into another (e.g., double to int).
  9. 18. The data type used to store whole numbers (integers).
  10. 20. A fixed-size collection of elements of the same data type.
Down
  1. 1. The first index of any array or string in Java.
  2. 2. A named block of code that performs a specific task and can be called.
  3. 4. The arithmetic operator (%) that returns the remainder of a division.
  4. 5. A loop that runs as long as a specified condition remains true.
  5. 6. A variable type that stores true or false values.
  6. 12. A sequence of characters, enclosed in double quotes.
  7. 14. An error in the code's logic or syntax that prevents it from running correctly.
  8. 15. A location in memory that holds data and has a name and a type.
  9. 17. The numeric position of an element in an array or a character in a string.
  10. 19. A keyword used to output text to the console: System.out._______().