Answer:
Binary Code
Explanation:
All microprocessors and programmable devices understand is Binary Code. These are various combinations of 0's and 1's which when placed together in a sequence represent a set of instructions that the microprocessor can read and understand to complete complex tasks. There are various other programming languages to program these tasks in an easier to read syntax for the programmers themselves but they simply take the written code and convert it into Binary before sending it to the microprocessor.
Is this a question or just something up here just to be here
When finished the corse code system is your code concerning your username password for payment
Answer:
Option d num = 50, min = 50, max = 50
Explanation:
Given the code segment:
- boolean isBigger;
- boolean isSmaller;
- boolean inRange;
- if (num < max)
- {
- isSmaller = true;
- }
- else {
- isSmaller = false;
- }
-
- if (num > min)
- {
- isBigger = true;
- }
- else {
- isBigger = false;
- }
-
- if (isBigger == isSmaller) {
- inRange = true;
- } else {
- inRange = false;
- }
If we have num = 50, min = 50 , max = 50, the condition num < max will be evaluated to false and therefore isSmaller is set to false.
The condition num > min will be evaluated to false as well and therefore isBigger is set to false.
Since isSmaller and isBigger are both false and therefore isBigger == isSmaller will be evaluated to true and set the inRange = true. This has violated the statement that if the integer value num is greater than min value and less than max value, then only set inRange to true. This is because num = 50 is neither greater than min nor less than max, it is supposedly not in range according to the original intention of the code design.