FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What does the statement ‘print’ do?
A
Output a hard copy of a program to a printer
B
Output a message on the screen
C
Print a hard copy of a flowchart to a printer
D
None of the above
Explanation: 

Detailed explanation-1: -The PRINT statement sends data to the display terminal or to another specified print unit. Specifies that data should be output to a Spooler print unit unit#. unit# may be any integer in the range 0 to 254, with 0 as the default.

Detailed explanation-2: -Sending Output to the Printer (PRINTER) The PRINT statement by default sends output to the screen.

Detailed explanation-3: -What is a print statement? A statement in a program that displays the variables, object, or text to the output device (screen) is known as a print statement. The print statement consists of a function that forwards the output to standard output devices such as printers, monitors, etc.

Detailed explanation-4: -The print() function prints the specified message to the screen, or other standard output device. The message can be a string, or any other object, the object will be converted into a string before written to the screen.

Detailed explanation-5: -Answer. correct statement : A printer does not show text on the monitor . A printer is a output device used to print documents on paper .

There is 1 question to complete.