© Anjana Fernando and Lakmal Warusawithana 2020
A. Fernando, L. WarusawithanaBeginning Ballerina Programminghttps://doi.org/10.1007/978-1-4842-5139-3_7

7. Files and I/O

Anjana Fernando1  and Lakmal Warusawithana2
(1)
Mountain View, CA, USA
(2)
Mountain View, USA
 
Computers are useless if they don’t have input/output (I/O) capabilities. Almost all the work done by a computer requires some input, performs some processing, and returns some output. I/O capabilities are computing facilities to provide user input/output, data storage and retrieval, and network access capabilities in the computer system. To generalize, there are four types of I/O devices.
  • Input devices such as keyboards and mice

  • Output devices such as screens and printers

  • Both input and output ...

Get Beginning Ballerina Programming: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.