ITEC 1030-Intro to programming- Week 2
ITEC 1030-Intro to programming- Week 2 • Question 1 0.5 out of 0.5 points When data cannot be changed after a class is complied, the data is . Selected Answer: consta nt Correct Answer: consta nt • Question 2 Which of the following is not a primitive data type in Java? Selected Answer: sector Correct Answer: sector • Question 3 0.5 out of 0.5 points 1 out of 1 points Which of the following elements is not required in a variable declaration? Selected Answer: an assigned value Correct Answer: an assigned value • Question 4 The assignment operator in Java is . Selected Answer: = Correct Answer: = • Question 5 1 out of 1 points 1 out of 1 points Assuming you have declared shoeSize to be a variable of type int, which of the following is valid assignment statement in Java? Selected Answer: shoeSize = 9; Correct Answer: shoeSize = 9; • Question 6 1 out of 1 points Which of the following data types can store a value in the least amount of memory? Selected Answer: byte Correct Answer: byte • Question 7 A boolean variable can hold . Selected Answer: the value true or false 1 out of 1 points Correct Answer: the value true or false • Question 8 The value 137.68 can be held by a variable of type . Selected Answer: Two of the preceding answers are correct. 1 out of 1 points Correct Answer: Two of the preceding answers are correct. • Question 9 An escape sequence always begins with a(n) . 0 out of 1 points Selected Answer: Correct [None Given] Answer: backslash • Question 10 Which Java statement produces the following output? w xyz Selected Answer: Sln(“wn
Escuela, estudio y materia
- Institución
- Walden University
- Grado
- ITEC 1030-Intro To Programming- Week 2
Información del documento
- Subido en
- 10 de enero de 2022
- Número de páginas
- 11
- Escrito en
- 2021/2022
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
itec 1030 intro to programming week 2 • question 1 05 out of 05 points when data cannot be changed after a class is complied
-
the data is selected answer consta nt correct answer