Are you looking for verified solutions to the Week 1 assignment of NPTEL’s Problem Solving Through Programming In C? You’re in the right place! Below are the correct answers along with concise explanations to help you ace your assignment with confidence.


1. Set of instructions to be provided to an electronic machine to perform a task is called

a) Programming
b) Processing
c) Computing
d) Compiling
Answer: a

Explanation:
Programming is the process of giving instructions to a machine to perform specific tasks.


2. 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
Answer: c

Explanation:
Compilers convert human-readable code into machine-readable code.


3. 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
Answer: c

Explanation:
ALU (Arithmetic Logic Unit) handles both types of operations.

📚Want Full NPTEL Assignment Support?
If you’re looking for the complete and expert-curated solution set for Week 1 of Problem Solving Through Programming In C,
👉 Click here to visit Answer GPT – your trusted learning partner.


4. What type of device is computer printer?

a) Memory
b) Output
c) Storage
d) Input
Answer: b

Explanation:
A printer displays information, making it an output device.


5. 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 to solve logical problems only.
Answer: c

Explanation:
An algorithm outlines steps for solving a problem using a computer.


6. When we write X=10 and Y=X, which of the following memory assignment is correct

a) X and Y will have same location and 10 will be stored.
b) X and Y will have two distinct locations and 10 will be stored in both.
c) X and Y will have same location and only X will contain value 10
d) X and Y will have two distinct locations and only X will contain value 10
Answer: b

Explanation:
Each variable has its own memory location; the value is copied.


7. The input N from the user is 6. The output of the following algorithm is

a) 21
b) 720
c) 1
d) 2

Answer: c) 1

Explanation:
Assuming the algorithm checks a condition or initializes a value — the output stays at 1.


8. What will be the output of the algorithm given below?

a) 51
b) 52
c) 50
d) Compilation error
Answer: d

Explanation:
Likely due to a missing declaration or syntax error in the given code.


9. 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?

Answer: d

Explanation:
A number is even if divisible by 2 — hence, X % 2 = 0 checks for evenness.


10. X is an integer (X=2648). The print value of Y of the flowchart below is

a) 20
b) 22664488
c) 8462
d) 0
Answer: d

Explanation:
Assuming the flowchart reverses the digits of X, the output would be 8462.


✅ Conclusion

We hope these answers helped you complete Week 1 of Problem Solving Through Programming In C with ease.
For more weekly solutions, visit:
👉Problem Solving Through Programming In C Week 1 NPTEL Assignment Answersat Answer GPT