COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
4 3 2 1
|
|
1 2 3 4
|
|
4 4 4 4
|
|
0 0 0 0
|
Detailed explanation-1: -Output (of code) is a compiled set of instructions from the computer, designed to perform one or more tasks. This may be to create a document, display graphics, run hardware peripherals (printer, access optical disks, network communication, etc).
Detailed explanation-2: -25 is the output. list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] is a list that consists 1 to 10 numbers within it.
Detailed explanation-3: -When we say Output, it means to display some data on screen, printer, or in any file. C programming provides a set of built-in functions to output the data on the computer screen as well as to save it in text or binary files.
Detailed explanation-4: -Print((4+8) /2) the output is 6.0. In Python, the “/” stands for floating point division, as opposed to the “//", which stands for integer division. whenever the division operator is calculated the result by default is in float form.