ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

Task 2 What will be the result of the calculation of the following expressions: a) 1 + 6 * 2 b) 3 mod 7 c) 3 div 5

user-image
تم إضافة السؤال من قبل Tomasz Modrzejewski , Python Developer , Freelancer
تاريخ النشر: 2014/08/24
Shagufta Mubasher
من قبل Shagufta Mubasher , Web Developer , MP CJ O Shopping Sdn. Bhd.

Thanks for invitation

As you answered yourself its:

a)13

b)3

c)0

 

And as said by Mr. Hashim, I would like to request you to give us more time to respond before aswering yourself, thanks :)

مستخدم محذوف‎
من قبل مستخدم محذوف‎

Thank for the invitation , and sorry for late answer . As you answered already A)13 B)3 C)0

Abdulelah Fallatah
من قبل Abdulelah Fallatah , Computer Operator , شركة الحاسب الآلي العربي

a) 13 (Why13? Refer to "order of precedence")

 

b) 3

 

c) It is 0 if and only if both3 and5 are integers. Otherwise, the answer is0.6.

هاشم المشارقة
من قبل هاشم المشارقة , Key Account Manager , Advanced United Systems Ltd. ( A member of Taj Holding Group)

a)13

b)7

c)0

why you ask then answer quickly ?!

give us more time :)

Vinod Jetley
من قبل Vinod Jetley , Assistant General Manager , State Bank of India

I agree with Abdulelah Fallatah

 

Gayasuddin Mohammed
من قبل Gayasuddin Mohammed , Advocate , Practicing Law before High Court at Hyderabad

a)1 +6 *2=1+12=13 b)3 mod7= modulous operator (reminder) =3 c)3 div5 = zero times division possible here.

المزيد من الأسئلة المماثلة