NPTEL Joy of Computing Using Python.
NPTEL Joy of Computing Using Python.
Solution: (d) Programming is the process of taking an algorithm and encoding it into a notation, a
programming language, so that it can be executed by a computer
2. Which of the following controls the way in which the computer system works and give means
by which users can interact with the computer?
a) The motherboard
b) The operating system
c) The application software
d) The RAM
3. CPU consists of
a) ALU, Control Unit
b) ALU, Main memory, Control Unit
c) ALU, monitor, Registers
d) ALU, Control Unit, Hard Disk
4. C was developed by
a) Alan Turing
b) Charles Babbage
c) Ada Lovelace
d) Dennis Ritchie
5. C is-
a) General-purpose programming language
b) Domain-specific programming language
c) Page description programming language
d) None of the above
8. The binary AND operation of the numbers “100101” and “110011” results (in decimal)
a) 100001
b) 2
c) 33
d) 63
Solution: (c) AND operation between two “1” is one, otherwise zero. Hence, the result is binary
“100001” which is 33 in decimal.
Solution: (a) Printer is an output device. All others are input devices.
10. The process through which an user can find error(s) in a program is called
a) Processing
b) Compiling
c) Searching
d) Debugging