(Solved) : Hal Test Ussen Question 1 10 5 Points 1 Following Statement Assigns Values Stored X Array Q37202462 . . .
hal Test USSEN Question 1-10 (each 5 points) 1. Which of the following statement assigns the values stored in x an array, ary? element on a. ary x b. ary x[O] c. ary x[l: d. ary(01 -x e. ary[1)x 2. The following is a line in a program. I/The program was written by Ginny Student It is an example of a a. Control structure b. Decision statement c. Comment d. Syntax error or false. -137 3. If A -10 and B -3, determine if each of the following is true a. (A+B)> (A 2-3) b. (B -A 2) (A 2-B 3) 4. What is the output of the following code? int N – 5; int A 6; If (N>-5) If (N>5A2) cout<cA; Else cout<<N; 5. True or False: Each element in an array is referenced by its value. 6. What is the output given the code below is executed? int B[10) for (k-0,k<3;k++) B[k]-k3+1 cout<<B[k]+3; What output does it produce? int funA(int x) void funB(int x); 7. Show transcribed image text hal Test USSEN Question 1-10 (each 5 points) 1. Which of the following statement assigns the values stored in x an array, ary? element on a. ary x b. ary x[O] c. ary x[l: d. ary(01 -x e. ary[1)x 2. The following is a line in a program. I/The program was written by Ginny Student It is an example of a a. Control structure b. Decision statement c. Comment d. Syntax error or false. -137 3. If A -10 and B -3, determine if each of the following is true a. (A+B)> (A 2-3) b. (B -A 2) (A 2-B 3) 4. What is the output of the following code? int N – 5; int A 6; If (N>-5) If (N>5A2) cout
Expert Answer
Answer to hal Test USSEN Question 1-10 (each 5 points) 1. Which of the following statement assigns the values stored in x an array…
OR