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

9) What is printed to the screen with the printf statement. char stri120]: char

ID: 3590823 • Letter: 9

Question

9) What is printed to the screen with the printf statement. char stri120]: char str2120]: char str3[20]: char sptrli strcpy (strl, "Very ")i strcpy (str2, "Merry") strcpy (str3, "Xmas "); strcat (strl, str2) strcat (strl, str3); sptri printf strstr(strl, "M") ("%s", spt r1); A) Merry Very B) Merry Xmas c) Very Xmas D) Very Merry 10) Name the 3 stages of the Cortex-M4 pipeline? 1) 2) 3) 11) Which peripheral is used to manually control the pin on the SAM4SD32C? a) WDT b) PWM c) PIO d) PMC e) PLL 12) Which peripheral i other peripherals in use? a) WDT b) PIO c) PMC d)MCK e) PLL s responsible for enabling a clock signal to al1 the

Explanation / Answer

9) the answer is Merry Xmas. strstr modifies the string to start from first occurence of M.

11)PIO

12) MCK