expand icon
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

النسخة 7الرقم المعياري الدولي: 1285225562
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

النسخة 7الرقم المعياري الدولي: 1285225562
تمرين 1

Assume that the following variables contain the values shown:

 Assume that the following variables contain the values shown:

الحلول خطوة بخطوة
موثّق
like image
like image

الخطوة 1 من12

Consider the following variables and their values:

numberBig = 300

numberMedium = 100

numberSmall = 5

wordBig = "Elephant"

wordMedium = "Horse"

wordSmall = "Bug"

a. Boolean Expression:

numberBig = numberSmall?

The value of numberBig is 300 and the value of numberSmall is 5.

So, the values of numberBig and numberSmall are different.

Hence, the Boolean expression is False.


الخطوة 2 من 12


الخطوة 3 من 12


الخطوة 4 من 12


الخطوة 5 من 12


الخطوة 6 من 12


الخطوة 7 من 12


الخطوة 8 من 12


الخطوة 9 من 12


الخطوة 10 من 12


الخطوة 11 من 12


الخطوة 12 من 12

close menu
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
cross icon