Computer Science 215 Quiz 7 Name ______________________ 1. Given the following structure definition, which of the following is syntactically correct. struct new a. v[1].a = 1; b. v.a[1] = 1; { int a[2]; c. v.b[1] = 1.5; d. v[1].b = 1.5; float b; }; struct new v; 2. Given the following structure definition, which of the following is syntactically correct. struct new a. v[1].a[1] = 1; b. v[0].b[1] = 1; { int a; c. v.b[1] = 1.5; d. v.a[1] = 1.5; float b[2]; }; struct new v[3]; 3. Compute the dot product of (3, 4, 1) dot (2, -1, 3) = 4. Compute the length of the vector (-1, 2, 1) (No calculators are needed -- you may leave the square root symbol in your answer). || (-1, 2, 1) || = 5. Compute the vector difference of: (1, 2, 4) - (2, -1, 3) =