13.07.2015 Views

เฉลยข้อสอบกลางภาค

เฉลยข้อสอบกลางภาค

เฉลยข้อสอบกลางภาค

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6562211 กก 2 1. ก 2. ก3. 5 30 กก--------------------------------------------------------1. ( 253.146)7 (2 )(253.146) 7 = 2×7 2 + 5×7 1 + 3×7 0 + 1×7 -1 + 4×7 -2 + 6×7 -3 = (136.2419) 102. ก (4 ) ก 5000 BF ___________191____________5001 7D ___________125____________3. NPRU.ac.th ASCII กก16 2 ก (4 )N P R U . a c . t hASCII 100 1110 101 0000 101 0010 101 0101 010 1110 110 0001 110 0011 010 1110 111 0100 110 1000ASCII / 0100 1110 0101 0000 1101 0010 0101 0101 0010 1110 1110 0001 0110 0011 0010 1110 0111 0100 1110 1000Even Parity bitHexadecimal Base 4E 50 D2 55 2E E1 63 2E 74 E84. กกก 1 14.1 กก (5 )F = A ⊕ B + A ⊕ B ⊕ C ⊕ CF =( ) [(( ) ) ]A ⊕ B + ( A ⊕ B ⊕ C ⊕ D)Solution of midterm examination in the 1st semester, 2009Sopapun Suwansawang


F = A ⊕ B + C ⊕ Dก X = A ⊕ B Y = C ⊕ D F = X + ( X ⊕Y)F = X + ( XY + XY )F = X (1 + Y ) + XYF = X + XYF = X + Y4.2 ก (5 )A B C D A ⊕ B C ⊕ DF0 0 0 0 0 0 00 0 0 1 0 1 10 0 1 0 0 1 10 0 1 1 0 0 00 1 0 0 1 0 10 1 0 1 1 1 10 1 1 0 1 1 10 1 1 1 1 0 11 0 0 0 1 0 11 0 0 1 1 1 11 0 1 0 1 1 11 0 1 1 1 0 11 1 0 0 0 0 01 1 0 1 0 1 11 1 1 0 0 1 11 1 1 1 0 0 05. กกก (Sensor) 4 (Temperature) (Pressure) (Fluid Level) ก (Weight) กก 4 ก1 ก กกก ก 0 กกก (Alarm) ก 1 กก (10 )1. กกก2. กก กกกก3. กก กกก4. ก กก กกกSolution of midterm examination in the 1st semester, 2009Sopapun Suwansawang


T (Temperature) P (Pressure) F (Fluid Level) W (Weight) Y (Output) Condition0 0 0 0 00 0 0 1 00 0 1 0 00 0 1 1 00 1 0 0 10 1 0 1 1 30 1 1 0 00 1 1 1 01 0 0 0 1 41 0 0 1 1 21 0 1 0 01 0 1 1 01 1 0 0 1 41 1 0 1 1 21 1 1 0 11 1 1 1 1 1TPFW 00 01 11 1000 1 1 10111101 1 111TPY = TP + PF + TFYFSolution of midterm examination in the 1st semester, 2009Sopapun Suwansawang

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!