WebCT Exam 1_marcia - Title: Exam 1 Started: October 3,...

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

View Full Document Right Arrow Icon
Title: Exam 1 Started: October 3, 2006 12:03 PM Submitted: October 3, 2006 1:04 PM Time spent: 01:00:28 Total score: 47/50 = 94% Total score adjusted by 0.0 Maximum possible score: 50 1. Q1 15 The maximum value that can be held in a 16-bit counter is 65,535 Student Response Value Correct Answer Feedback A. True 100% B. False 0% Score: 2/2 2. Q1 12 The following code uses Programmer Counter Array overflow: void ISR_code(void) interrupt 8 { ... }
Background image of page 1

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

View Full DocumentRight Arrow Icon
Student Response Value Correct Answer Feedback A. True 0% B. False 100% Score: 2/2 3. Q1 17 The following 2 segments of codes (Code A and Code B) do the same thing. Code A: i=0; while (i<10){ i++; printf(“%d”, i); } Code B: for (i=0;i<10;i++){ i++; printf(“%d”, i); } Student Response Value Correct Answer Feedback A. True 0% B. False 100% Score: 2/2 4.
Background image of page 2
Q1 16 The present count in Timer 0, ‘Present_Count’, is obtained by: Present_Count = TH0<<8+TL0; Student Response Value Correct Answer Feedback A. True 100% B. False 0% Score: 2/2 5. Q1 23 When both inputs of an OR gate is false, the output will be. . Student Response Value Correct Answer Feedback A. True 0% B. Flase 100% Score: 2/2 6. Q1 18 The following two lines of code illustrate a correct way of configuring Pins 2, 3, 5 and 7 of Port 3 to open drain and high impedance state for input:
Background image of page 3

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

View Full DocumentRight Arrow Icon
P3 | = 0x56 ; Student Response Value Correct Answer Feedback A. True 0% B. False 100% Score: 2/2 7. Q1 22 The following symbol represents an OR gate. Student Response Value Correct Answer Feedback A. True 0% B. False
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 14

WebCT Exam 1_marcia - Title: Exam 1 Started: October 3,...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online