{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

GIVEN - Unit 7 Version F

GIVEN - Unit 7 Version F - Version F 1 Indicate whether the...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Version F 1. Indicate whether the following statements are true (T) or false (F): a. An Array is a group of values having a common variable name and all of the same data type. TRUE b. The subscript (or index) identifies the location of a particular element in the array. TRUE c. If an array is defined without a size but with an initialization sequence, then the array size is arbitrary. FALSE 2. Basic Questions: a. Declare a character array and initialize it as “MyFirstArray”. char caMyFirstArray[] = “MyFirstArray”; b. We have a matrix , create a two-dimensional array with integer type and initialize them as matrix A. int iaaA[2][2]; 3. Now we will analyze grades for 4 students, each student has four exams. Create student grades (4-by-4) using for structures. Each row of the array represents a student and each column represents a grade on one of the four exams the students took during the semester. We need to find out following things: a. the highest grade of any student for the semester b. the lowest grade of any student for the semester
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}