1) Choose the CORRECT array definition a) Array is a single data with same type that are referenced by a common name. b) Array is a multiple data elements of the different type that are referenced by a unique name. c) Array is a collection of data elements of the same type that are referenced by a common name. 2) Identify the index number for the first element in a one dimensional array with size of FIVE(5) a) 5 b) 0 c) 1 3) Identify the CORRECT one dimensional array declaration name 'Salary' that consist of TEN(10) elements a) float Salary {10}; b) float Salary [10]; c) float Salary [9]; 4) Determine which of the following is structure name based on code segment given in This Figure a) STUDENT b) CGPA c) HANIM 5) Choose the CORRECT syntax to display the value for 'id_number' according to the structure variable given in This Figure a) cout<<HANIM.id_number; b) count<<HANIM.id_number; c) cin<<HANIM.id_number; 6) Identify the CORRECT array declaration name MARKS that consist of FOUR(4) columns and THREE(3) rows a) int MARKS[4][3]; b) int MARKS[3,4]; c) int MARKS[3][4]; 7) Assume the address of variable 'value' is 0012FEC4. Choose the CORRECT output that will be displayed for coding in Line:8 a) DISPLAY = 10 b) DISPLAY = value c) DISPLAY = 01012FEC4 8) Assume the address of variable 'value' is 0012FEC4. Choose the CORRECT output that will be displayed for coding in Line:9 a) DISPLAY = mypoint b) 1DISPLAY = 01012FEC4 c) DISPLAY = value 9) Assume the address of variable 'value' is 0012FEC4. Choose the CORRECT output that will be displayed for coding in Line:10 a) DISPLAY = value b) DISPLAY = 10 c) DISPLAY = mypoint 10) Assume the address of variable 'value' is 0012FEC4. Choose the CORRECT output that will be displayed for coding in Line:9 a) DISPLAY = 10 b) 1DISPLAY = 01012FEC4 c) DISPLAY = mypoint

CHAPTER 4 DFC20113 PROGRAMMING FUNDAMENTALS

Leaderboard

Visual style

Options

Switch template

Continue editing: ?