Answer:
Following is the program in the python language
st = 'sAN RaN' #String
print(st.lower()) #display into the lowercase
Output:
san ran
Explanation:
Following are the description of program
- Declared and initialized the string in the "st" variable .
- The lower function in python is used for converting the uppercase string into the lower case string .
- Finally in the print function we used lower function and display the string into the lower case
Answer:
C)
Explanation:
One principle that can improve the efficiency of I/O would be to move processing primitives into hardware. Primitives are a semantic value representing something else such as words or numbers within the programming language. By moving them into hardware they system is able to read them at a much faster speed making the I/O more efficient.
Answer:
Direct data access reduces the speed of retrieving data from memory or storage. Retrieving data and storing it in a cache memory provides direct access to data in the storage.
Explanation:
Sequential memory access, as the name implies, goes through the memory length location in search of the specified data. Direct memory access, provides a memory location index for direct retrieval of data.
Examples of direct and sequential memory access are RAM and tapes respectively. Data in sequential memory access can be access directly by getting data in advance and storing them in cache memory for direct access by the processor.
Answer:
You can have many catch blocks to handle different types of exceptions.
Explanation:
In programming, catch and try are blocks of codes that are written to handle errors. While the try block of code will allow for the definition of code blocks which are tested for errors, the catch block of code allows the programmer to define the block of code to be executed if an error occurs in the try block.... somewhat like the if....else statements. since there could be different error handling scenarios,one can have as many catch blocks for different error exceptions