Quiz Assignment 1:
1)What type of device is computer mouse?
a) Memory
b) Output
c) Storage
d) Input
2)Algorithm is -
a) A process or set of rules to be followed in calculations or other problem-solving operations, especially by a human.
b) A process or set of rules to be followed to solve numerical problems only.
c) A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.
d) A process or set of rules to be followed in to solve logical problems only.
3)The lowest form of Computer language is
a) C
b) BASIC
c) FORTRAN
d) Machine language
4)A 2D diagram to represent the steps to be followed to solve a problem is known as
a) Flow-chart
b) Pseudo-code
c) Both (a) and (b)
d) None of these
5)The correct sequence of memory access while running a computer program is
a) RAM -> DISK -> RAM -> CPU
b) CPU -> DISK -> RAM -> CPU
c) DISK -> RAM -> CPU -> DISK
d) DISK -> RAM -> DISK -> CPU
6)Which one of the following statement is the most appropriate?
a) Pseudo code is basically a diagrammatic representation of the algorithm. Whereas in flowchart normal English language is translated into the programming languages to be worked on.
b) Flowchart is diagrammatic representation of the algorithm. Pseudo code is just another name of algorithm.
c) Pseudo code is another name of programming. Whereas in flowchart is diagrammatic representation of algorithm.
d) Flowchart is basically a diagrammatic representation of the algorithm. Whereas in pseudo code normal English language is translated into the programming languages to be worked on.
7)The input N from the user is 8. The output of the following algorithm is
a) 120
b) 720
c) 5040
d) 40320
8) The following algorithm is used to find a number X is even or odd. What will be the content of the empty box?
a) X%10=0?
b) X/10=0?
c) X/2=0?
d) X%2=0?
9) X is an integer (X=1234). The print value of Y of the flowchart below is
a) 10
b) 11223344
c) 4321
d) 0
10)The section of the CPU that selects, interprets and sees to the execution of program instructions
a) Memory
b) Register Unit
c) Control Unit
d) ALU
Disclaimer: Here you can find all nptel assignment solutions related to CS stream.These may help you for your assignment.The answers are only for verification.You cannot copy these directly from the post(code of conduct of NPTEL).These is not 100% correct solutions.
No comments:
Post a Comment
If you have any problems related to solutions or any concept please let me know.