
DeVry ECET 330 ECET330 Quiz 6 Answers
ECET 330 ECET330 QUIZ 6
- (TCO 8) Which of the following data types should be used for number of days in a month?
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x66 & 0x99; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x37 | 0x0F; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x03 ^ 0x0C; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = ~0xAA; - (TCO 8) Which of the following data types should be used for the number of days in a year?
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x37 & 0x0F; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x33 | 0xCC; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0xAA ^ 0xFF; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = ~0xFF; - (TCO 8) Which of the following data types should be used for an address of port in HCS12?
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x37 & 0x0F; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x37 | 0x0F; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x03 ^ 0x0C; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = ~0x55; - (TCO 8) Which of the following data types should be used for the number of days in a year?
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x37 & 0xF0; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x33 | 0xCC; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x55 ^ 0xFF; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = ~0xAA; - (TCO 8) Which of the following data types should be used for the number of days in a year?
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x37 & 0xF0; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x33 | 0xCC; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x66 ^ 0xFF; - (TCO 8) Assume PORTB has a value of 0xAA. Find the value for PORTB after execution of the following code:
PORTB = ~PORTB; - (TCO 8) Which of the following data types should be used for the number of people entering an elevator?
- (TCO 8) Find the value for PORTB after the execution of the following code:
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x66 | 0x99; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0xAA ^ 0xFF; - (TCO 8) Assume PORTB has a value of 0xAA. Find the value for PORTB after execution of the following code:
PORTB = ~PORTB; - (TCO 8) Which of the following data types should be used for an address of port in HCS12?
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x1 & 0xFF; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x07 | 0x30; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x66 ^ 0xFF; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = ~0x00; - (TCO 8) Which of the following data types should be used to represent a person’s age?
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x37 & 0x0F; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x07 | 0x30; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x55 ^ 0xFF; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = ~0x00; - (TCO 8) Which of the following data types should be used for the number of days in a year?
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x37 & 0x0F; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x33 | 0xCC; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x03 ^ 0x0C; - (TCO 8) Assume PORTB has a value of 0xAA. Find the value for PORTB after execution of the following code:
PORTB = ~PORTB; - (TCO 8) Which of the following data types should be used to represent a person’s age?
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x37 & 0xF0; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x66 | 0x99; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0xAA ^ 0xFF; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = ~0x55; - (TCO 8) Which of the following data types should be used for number of days in a month?
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x55 & 0xAA; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x07 | 0x30; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x55 ^ 0xFF; - (TCO 8) Assume PORTB has a value of 0xAA. Find the value for PORTB after execution of the following code:
PORTB = ~PORTB; - (TCO 8) Which of the following data types should be used for number of days in a month?
- (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x33 & 0xCC; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0x33 | 0xCC; - (TCO 8) Find the value for PORTB after the execution of the following code:
PORTB = 0xAA ^ 0x55; - TCO 8) Assume PORTB has a value of 0xAA. Find the value for PORTB after execution of the following code:
PORTB = ~PORTB;