Introduction To Programming in C | NPTEL 2022 | Week 0 Assignment Solutions

This article will help you with the solutions of Introduction To Programming in C NPTEL 2022 Week 0 Assignment.

This is a course in programming in C. No prior programming experience is assumed; however, mathematical maturity at the level of a second year science or engineering undergraduate is assumed.We emphasize solving problems using the language, and introduce standard programming techniques like alternation, iteration and recursion. We will briefly glimpse the basics of software engineering practices like modularization, commenting, and naming conventions which help in collaborating and programming in teams. Given a problem, we pay attention to the following questions:

  1. What is an algorithmic solution to the problem?
  2. How do we translate the algorithm into C code?
  3. How efficient is the code?
  4. How maintainable is the code?

Course layout

Answers COMING SOON! Kindly Wait!

Week 0: Assignment answers
Week 1: Assignment answers
Week 2: Assignment answers
Week 3: Assignment answers
Week 4: Assignment answers
Week 5: Assignment answers
Week 6: Assignment answers
Week 7: Assignment answers
Week 8: Assignment answers

Introduction To Programming in C NPTEL 2022 Week 0 Assignment Solutions

Week 0: Question 1

Write a program to print “Hello C”

void main() {
  printf("Hello C");

Compilation : Passed
Public Test Cases: 0 / 0 Passed

Week 0: Question 2

Input : Two even integers.
Output : Average of those numbers.


void main() {
  int a, b;
  scanf("%d", &a);
  scanf("%d", &b);
  int average = (a + b) / 2;
  printf("%d", average);

Compilation : Passed
Public Test Cases: 2 / 2 Passed

>> Next- Introduction To Programming in C Week 1 Assignment Solutions

DISCLAIMER: Use these answers only for the reference purpose. Quizermania doesn't claim these answers to be 100% correct. So, make sure you submit your assignments on the basis of your knowledge.

NPTEL answers: Problem solving through programming in C

Programming in Java NPTEL week 1 quiz answers

NPTEL – Python for Data Science assignment solutions

Nptel – Deep Learning assignment solutions

For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.

Leave a Comment

Your email address will not be published. Required fields are marked *