AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Communication Technology (Arabic)

المعاملات وجملة if

Week 12 · Unit 3 Creating Site Pages (5), Topic 2 Operators and conditional statements in PHP: arithmetic, assignment, comparison and logical operators, if, else, elseif and the in-line if · 3 lessons
الإجابات لأولياء الأمور والمعلمين.
1
تتبّع ‎⁦$x: $x = 9; $x -= 4; $x *= 3; $x %= 7; $x++;⁩
2
أكمل جدول الصواب لـ X ∨ Y عندما تكون X خطأ وY صوابًا؛ ثم لـ X ∧ Y.
3
يمنح متجر خصمًا للأعضاء الذين لديهم 20 نقطة فأكثر. اكتب الشرط ثم قل هل يحصل عليه عضو لديه 20 نقطة بالضبط.
4
ماذا يطبع هذا؟ ⁦$age = 15; if ($age >= 18) { echo "adult"; } elseif ($age >= 13) { echo "teen"; } else { echo "child"; }⁩
5
اعثر على الخطأين في الصياغة: ⁦$y = ($x = = 1) ? "A" : "B";⁩ و⁦$count⁩–;