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
Written for
- Institution
- KSU Cse
- Course
- KSU Cse
Document information
- Uploaded on
- May 4, 2024
- Number of pages
- 6
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
ksu cse 1321 test 1 actual questions and answers 2