
Understand the conceptසංකල්පය තේරුම් ගන්න
A Boolean is true or false. AND requires both conditions to be true; OR requires at least one; NOT inverts a condition. An if/else statement chooses one branch. Missing sensor data must be checked separately from valid zero readings.
Boolean අගයකට true හෝ false තිබේ. AND සඳහා කොන්දේසි දෙකම සත්ය විය යුතුය. OR සඳහා එකක් හෝ සත්ය විය යුතුය. NOT මඟින් අගය ප්රතිලෝම කරයි. සංවේදක දත්ත නොමැති තත්ත්වය වෙනම පරීක්ෂා කරන්න.
Worked exampleවිසඳූ උදාහරණය
Allow motion only if sensorValid AND pathClear. If either is false, do not issue a motion command.
sensorValid සහ pathClear දෙකම true නම් පමණක් චලනයට ඉඩ දෙන්න.
Practice independentlyස්වාධීනව පුහුණු වන්න
Open logic mode. Build the four-row AND truth table. Repeat for OR and XOR. Explain which state represents a fault.
logic මාදිලියෙන් AND සත්යතා වගුව සාදන්න. OR සහ XOR සඳහාද නැවත කරන්න. දෝෂ තත්ත්වයක් වෙනම හඳුනා ගන්නේ කෙසේදැයි පැහැදිලි කරන්න.
Virtual lab / අතථ්ය පරීක්ෂණාගාරය ↗Compare your reasoning (model answer)ඔබේ හේතු සමඟ සසඳන්න (උදාහරණ පිළිතුර)
For (00,01,10,11): AND 0,0,0,1; OR 0,1,1,1; XOR 0,1,1,0. A separate validity bit is needed to identify missing data.
(00,01,10,11) සඳහා AND 0,0,0,1; OR 0,1,1,1; XOR 0,1,1,0. නොමැති දත්ත සඳහා වෙනම validity අගයක් අවශ්යයි.
Knowledge checkදැනුම පරීක්ෂාව
Choose an answer first.