COMPUTER FUNDAMENTALS

COMPUTER APPLICATIONS

DATABASE MANAGEMENT SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Pay attention to the program code below, the output of the program above is
A
variable a:10
B
variable b:16
C
variable c:25
D
variable d:25
E
variable d:26
Explanation: 

Detailed explanation-1: -output is just what happens onces all the code is done, the end result. after all the calculation are done its what get put into the console. basically its what gets put out.

Detailed explanation-2: -If the variable declared as integer data type and stores the value(7/2) then the output will be 3. The integer datatype can only be used to store the integer part, so it ignored the decimal points and give the answer by approximating the value.

Detailed explanation-3: -Output of Program A program or other electronic device’s output is any information it processes and sends out. Anything visible on the monitor screen, such as the words you write on your keyboard, is an example of the output.

There is 1 question to complete.