1) What is a variable? a) A set of steps to solve a problem. b) A variable in programming. c) where data is stored 2) What does the "if" control structure do in programming? a) Repeats a block of code while a condition is true. b) Executes a block of code if a condition is true. c) Defines a function in programming. 3) What does the "while" control structure do in programming? a) Repeats a block of code until a condition is true. b) Executes a block of code once. c) Defines a function in programming. 4) What does the "int" data type represent in programming? a) Integers. b) Decimal numbers. c) Text. 5) What is the "for" control structure used for in programming? a) To define functions. b) To execute a block of code a specific number of times c) To perform mathematical operations. 6) What is the name of the main method in programming? a) main b) do While c) char 7) What is "Scanner" in Java? a) A class for reading user input. b) A class for printing to the console. c) A class for file manipulation. 8) What does the "char" data type represent in programming? a) Integers. b) Individual characters. c) false-true 9) What does the "String" data type represent in programming? a) false-true b) Individual characters. c) A sequence of tex. 10) What does the "boolean" data type represent in programming? a) A true or false value. b) Integers. c) Individual characters. 11) What does the "double" data type represent in programming? a) Integers. b) Decimal numbers. c) Individual characters.

Rebríček

Vizuálny štýl

Možnosti

Prepnúť šablónu

Obnoviť automaticky uložené: ?