السلام عليكم جميعا
برجاء مراجعة اجابة هذه الأسئلة وشكرا جزيلا مقدما
-The following statement can be used to test if the number n is a multiple of the number m or not :
(a) if(n!=m)
(b) if (n/m==0)
© if(n%m==1)
(d) if(n%m==0)
(e) none of these
- the following loop:
do{
k=0;
console.writeline(k);
k++;
}while(k<=7)
terminates if
a) k>7
b) k<7
c) k=7
d) none of these
اعتقد الاجابة الصحيحة في النقطة الثانية none of these لان ده ايكون لوب غير محدد ... ؟؟؟؟
- Putting the semicolon at the end of the if statement is ------------------ error
a) logic
b) run time
c) analysis
d) none of these
- what is wrong with the following while repetition structure ?
while(z>=0)
sum+=z;
a) z must be less than 0
b) The value of sum must decrement
c)none of these