Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

douglass-default-SSH Secure Shell Ele Edit View Window Help Quick Connect Profil

ID: 3917917 • Letter: D

Question

douglass-default-SSH Secure Shell Ele Edit View Window Help Quick Connect Profiles Problem 117: [Points31 Consider the declaration below: ITIME LEFT 01:13:43 1 float Salary 18]: Which of theae statemen ts are true: A. the data type of variable Salary is float. B. Salary is a collection of 18 variables. C. Each member variable of array Salary has the data type float. D. Each member variable of array Salary has a unique identifying number, called a subscript. E. A subscript must be an integer value F. The valid subscripts for array Salary are 0-18. NOTE: If multiple statements are true, separate them by+ te.g, A+B+Q+R) NOTE: Enter your choices in alphabetical order (e.g.. A+B+D, NOT B+A+D) Previous Answer: NO PREVIOUS ANSWER Enter Answer (Hit ENTER to RETAINI SSH2 - aes128-cbc- hmac-mds - ne 8088 Conected to douglass

Explanation / Answer

The correct answer is B+C+D+E.

Justification :-

B - Beacuse "Salary" is an Array which is a collection to store variables of same datatype

C - Because "Salary" is an Array for storing values of datatype float so each variable has same datatype float

D - Beacuse Array is a collection for storing variables under a single variable name with a subscript which is also known as index

E - Because subscript denotes the position of variable in an Array so it should be of datatype integer

Why not A & F :-

A - The datatype of variable Salary is Array

F - For Array first subscript starts from 0. So valid subscripts for array "Salary" are 0-17

Please upvote my answer if it answers your question clearly and all the best in your study.