COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
How would you decide if a number is equal to 50?
|
“number > 50”
|
|
” number == 50”
|
|
” number-50”
|
|
None of the above
|
Explanation:
Detailed explanation-1: -If 50% of a number is added to 50, the result is the number itself.
Detailed explanation-2: -50 = 1 x 50, 2 x 25, or 5 x 10. Factors of 50: 1, 2, 5, 10, 25, 50. Prime factorization: 50 = 2 x 5 x 5, which can also be written 2 x 5².
Detailed explanation-3: -Multiples of 50 are 50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, … Multiples of 80 are 80, 160, 240, 320, 400, 480, 560, 640, 720, 800, …
There is 1 question to complete.