What is the quotient(q) and the remainder(r) when -12 is divided by 5?
A
q=−3,r=3
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
q=3,r=−3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
q=−2,r=−2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
q=−4,r=−8
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is Aq=−3,r=3 Euclid’s division lemma states that for integers a and b, there exist unique integers q and r such that a=bq+r, where 0≤r<|b|. Since −12=5(−3)+3, we have quotient q=−3, and remainder r=3.