Answer:
the binary code for "5" is 00000101
In an if...else statement, if the code in the parenthesis of the if statement is true, the code inside its brackets is executed. But if the statement inside the parenthesis is false, all the code within the else statement's brackets is executed instead.
Of course, the example above isn't very useful in this case because true always evaluates to true. Here's another that's a bit more practical:
#include <stdio.h>
int main(void) {
int n = 2;
if(n == 3) { // comparing n with 3 printf("Statement is True!\n");
}
else { // if the first condition is not true, come to this block of code
printf("Statement is False!\n"); } return 0;
}
Output:
Statement is False!
Answer:
The correct option is A
Explanation:
In project management, earliest finish time for activity A refers to the earliest start time for succeeding activities such as B and C to start.
Assume that activities A and B comes before C, the earliest finish time for C can be arrived at by computing the earliest start-finish (critical path) of the activity with the largest EF.
That is, if two activities (A and B) come before activity C, one can estimate how long it's going to take to complete activity C if ones knows how long activity B will take (being the activity with the largest earliest finish time).
Cheers!
Answer:
CPU is considered as the brain of the computer. CPU performs all types of data processing operations. It stores data, intermediate results, and instructions (program). It controls the operation of all parts of the computer