NPTEL Problem solving through Programming In C Assignment 1 Answers :- We do not claim 100% surety of answers, these answers are based on our sole knowledge, and by posting these answers we are just trying to help students, so we urge do your assignment on your own.
1.The intermediate medium for the communication between human and computer is called
a) Programmer
b) Interpreter
c) Compiler
d) Both (b) and (c)
2. Which one of the following statement is the most appropriate?
a) Flowchart is diagrammatic representation of the algorithm. Pseudo code is just another name of algorithm.
b) 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.
c) 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.
d) Pseudo code is another name of programming. Whereas in flowchart is diagrammatic representation of algorithm.
3. A Pseudo-code is
a) An equivalent of a flow chart
b) English-like statements
c) Steps to write a program
d) All the above
4. Compiler helps in the translation from
a) Integer to binary
b) High-level program to binary digits
c) High-level language to machine level language
d) Pseudo code to computer program
5. Computer memory which is used to store programs and data currently being processed by CPU is
a) ROM
b) RAM
c) Cache memory
d) PROM
6. X is an integer (X=1234). The print value of Y of the algorithm below is (note: ‘%’ is the modulo operator, which calculates the reminder and ‘/’ gives the quotient of a division operation)
a) 10
b) 11223344
c) 4321
d) 0
7. The flow chart calculates the HCF of two numbers a and b (where a is greater than or equal to b). Which of the following conditions need to be put inside the blanks 1 and 2 to calculate the HCF? (Hint: Use Euclidian Algorithm for finding HCF of two numbers)
a) 1. r!=0
2. a=r and b=q
b) 1. q=0
2. a=b and b=r
c) 1. r=0
2. a=q and b=r
d) 1. r=0
2. a=b and b=r
8. The input N from the user is 6. The output of the following algorithm is
a) 120
b) 720
c) 5040
d) 1
9. What is algorithm?
a) A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.
b) A process or set of rules to be followed in calculations or other problem-solving operations, especially by a human.
c) A process or set of rules to be followed to solve numerical problems only.
d) A process or set of rules to be followed in to solve logical problems only.
10. The ALU unit of computer
a) Can perform logical operation only
b) Can perform arithmetic operation only
c) Can perform both arithmetic and logical operations
d) None of the above.
NPTEL Project Management For Managers Assignment 1 Answers
NPTEL SOFT SKILLS WEEK 2 ASSIGNMENT ANSWERS
NPTEL SOFT SKILLS WEEK 1 ASSIGNMENT ANSWERS
NPTEL Problem solving through Programming In C Assignment 1 Answers
This answers are wrong
We do not claim 100% surety of answers, these answers are based on our sole knowledge, and by posting these answers we are just trying to help students, so we urge do your assignment on your own.
Whoa! This blog looks exactly like my old one! It’s on a entirely different subject but it has pretty much the same page layout and design. Great choice of colors!
Thanks for a marvelous posting! I really enjoyed reading it, you might be a great
author.I will be sure to bookmark your blog and definitely will come back very soon. I want to
encourage that you continue your great work, have a nice day!