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.
Answer:
In the Philippines, universities dominate the research arena. So you have scientists who make research for the sake of research.
The private sector may or may not adopt the research. If a research in UP finds a molecule that may kill cancer, we are not sure whether that research will be adopted or not.
We are not sure if that research will be continued to actual creation of a medicine of cancer. This is because our scientists are working in universities and not in actual pharma companies.
In other countries, the scientists build their own companies. So their research go from drug development to actual manufacturing and marketing of medicines.
So when they start a research, you know that in the next 5 to 10 years, these scientists will produce drugs which the public can benefit from.
This is why the Philippine research is not thriving as it should. Our government should support our start ups.
When scientists are given grants for research, they should also be given grants to start their company. Unfortunately, start up grant is not a function of the DOST. It is of the DTI.
Explanation:
Even numbers are numbers whigh are divisible by 2. Therefore, the first even number is 2. A pseudocode which adds the first 100 even numbers can be written thus :
counter = 0
sum = 0
interval = 2
while counter < 100 :
sum = sum + interval
interval += 2
counter +=1
print(sum)
- A counter takes count of the number of values summed
- Initializes a variable which holds the sum of even values
- Since even numbers are divisible by 2; every factor ; increase every added value by 2
- The program ends once counter is 100
Learn more : brainly.com/question/25327166
2. Telecommunications, also known as telecom, is the exchange of information over significant distances by electronic means and refers to all types of voice, data and video transmission. ... A complete, single telecommunications circuit consists of two stations, each equipped with a transmitter and a receiver.
3. Data transmission and data reception or, more broadly, data communication or digital communications is the transfer and reception of data in the form of a digital bitstream or a digitized analog signal over a point-to-point or point-to-multipoint communication channel.
I HOPE IT'S HELP :)