KSU CSE 1321 TEST 1 ACTUAL QUESTIONS AND ANSWERS 2024 WITH COMPLETE SOLUTION
KSU CSE 1321 TEST 1 ACTUAL QUESTIONS AND ANSWERS 2024 WITH COMPLETE SOLUTION Which of the following variables could hold the literal numeric value 3.141 without losing any information? float x int y char z string w float What is the value of the variable divisor in the following equation? Int divisor = 3/6; 0.5 1 0 2 0 What is the value of the variable remainder in the following equation? long remainder = 3%6; 6 3 0 0.5 3 When assigning a value to a variable, the variable must be on the left of the assignment operator (=). True False True Constants are used to make program maintenance easier. True False True A DEFAULT CASE is required as part of a SWITCH statement. True False False An IF statement must always have an ELSE statement after it. True False False
Escuela, estudio y materia
- Institución
- KSU Cse
- Grado
- KSU Cse
Información del documento
- Subido en
- 4 de mayo de 2024
- Número de páginas
- 6
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
ksu cse 1321 test 1 actual questions and answers 2