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