• Computer Science and Engineering
  • NOC:Problem Solving through Programming in C (Video) 
  • Co-ordinated by : IIT Kharagpur
  • Available from : 2017-12-21
  • Intro Video
  • Lecture 1 : Introduction
  • Lecture 2 : Idea of Algorithms
  • Lecture 3 : Flow Chart and Pseudocode
  • Lecture 4 : Introduction to Programming Language Concepts
  • Lecture 5 : Variables and Memory
  • Lecture 6 : Types of Software and Compilers
  • Lecture 7 : Introduction to C Programming Language
  • Lecture 8 : Variables and Variable Types in C
  • Lecture 9 : Introducing Functions
  • Lecture 10 : Address and Content of Variables and Types
  • Lecture 11 : Assignment Statement and Operators in C
  • Lecture 12 : Arithmetic Expressions and Relational Expressions
  • Lecture 13 : Logical Operators and Change in Control Flow
  • Lecture 14 : Use of Logical Operaotrs in Branching
  • Lecture 15 : Branching : IF - ELSE Statement
  • Lecture 16 : IF-ELSE Statement (Contd.)
  • Lecture 17 : Switch statement
  • Lecture 18 : Switch Statement (Contd.) and Introduction to Loops
  • Lecture 19 : Implementing Repetitions (Loops)
  • Lecture 20 : Implementation of Loops with for Statement (Contd.)
  • Lecture 21 : For Statement (Contd.)
  • Lecture 22 : Example of If-Else
  • Lecture 23 : Example of Loops
  • Lecture 24 : Example of Loops (Contd.)
  • Lecture 25: Example of Loops (Contd.), Use of FOR Loops
  • Lecture 26 : Introduction to Arrays
  • Lecture 27 : Arrays (Contd.)
  • Lecture 28 : Arrays (Contd.)
  • Lecture 29 : Program using Arrays
  • Lecture 30 : Array Problem
  • Lecture 31 : Linear Search
  • Lecture 32 : Character Array and Strings
  • Lecture 33 : String Operations
  • Lecture 34 : 2-D Array Operation
  • Lecture 35 : Introducing Functions
  • Lecture 36 : More on Functions
  • Lecture 37 : Function (Contd.)
  • Lecture 38 : Scanf and Printf Functions; Function Prototype
  • Lecture 39 : Parameter Passing in Function Revision
  • Lecture 40 : Parameter Passing in Function Revision (Contd.)
  • Lecture 41: Substitution of # include and Macro
  • Lecture 42: "search" as a function
  • Lecture 43: Binary Search
  • Lecture 44: Binary Search (Contd.)
  • Lecture 45: Sorting Methods
  • Lecture 46 : Bubble Sort (Contd.)
  • Lecture 47 : Use of Pointer in Function : Context Bubble Sort
  • Lecture 48 : Arrays at Strings
  • Lecture 49 : Data Representation
  • Lecture 50 : Bisection Method
  • Lecture 51 : Interpolation
  • Lecture 52 : Trapezoidal Rule and Runge-Kutta Method
  • Lecture 53 : Recursion
  • Lecture 54 : Recursion(Contd.)
  • Lecture 55 : Structure
  • Lecture 56 : Structure (Contd.)
  • Lecture 57 : Structure with typedef
  • Lecture 58 : Pointer
  • Lecture 59 : Pointer (Contd.)
  • Lecture 60 : Pointer in Structures
  • Lecture 61 : Dynamic Allocation and File
  • Week 2 - PMRF Live Session
  • Week 3 - PMRF Live Session
  • Watch on YouTube
  • Assignments
  • Download Videos
  • Transcripts
  • Handouts (3)
Module NameDownloadDescriptionDownload Size
Week 1
Week 2
Week 3
Module NameDownload
noc20-cs06_Week_01_Assignment_01
noc20-cs06_Week_02_Assignment_01
noc20-cs06_Week_03_Assignment_01
noc20-cs06_Week_03_Assignment_02
noc20-cs06_Week_03_Assignment_03
noc20-cs06_Week_03_Assignment_04
noc20-cs06_Week_03_Assignment_05
noc20-cs06_Week_04_Assignment_01
noc20-cs06_Week_04_Assignment_02
noc20-cs06_Week_04_Assignment_03
noc20-cs06_Week_04_Assignment_04
noc20-cs06_Week_04_Assignment_05
noc20-cs06_Week_04_Assignment_06
noc20-cs06_Week_05_Assignment_01
noc20-cs06_Week_05_Assignment_02
noc20-cs06_Week_05_Assignment_03
noc20-cs06_Week_05_Assignment_04
noc20-cs06_Week_05_Assignment_05
noc20-cs06_Week_05_Assignment_06
noc20-cs06_Week_06_Assignment_01
noc20-cs06_Week_06_Assignment_02
noc20-cs06_Week_06_Assignment_03
noc20-cs06_Week_06_Assignment_04
noc20-cs06_Week_06_Assignment_05
noc20-cs06_Week_06_Assignment_06
noc20-cs06_Week_07_Assignment_01
noc20-cs06_Week_07_Assignment_02
noc20-cs06_Week_07_Assignment_03
noc20-cs06_Week_07_Assignment_04
noc20-cs06_Week_07_Assignment_05
noc20-cs06_Week_07_Assignment_06
noc20-cs06_Week_08_Assignment_01
noc20-cs06_Week_08_Assignment_02
noc20-cs06_Week_08_Assignment_03
noc20-cs06_Week_08_Assignment_04
noc20-cs06_Week_08_Assignment_05
noc20-cs06_Week_08_Assignment_06
noc20-cs06_Week_09_Assignment_01
noc20-cs06_Week_09_Assignment_02
noc20-cs06_Week_09_Assignment_03
noc20-cs06_Week_09_Assignment_04
noc20-cs06_Week_09_Assignment_05
noc20-cs06_Week_09_Assignment_06
noc20-cs06_Week_10_Assignment_01
noc20-cs06_Week_10_Assignment_02
noc20-cs06_Week_10_Assignment_03
noc20-cs06_Week_10_Assignment_04
noc20-cs06_Week_11_Assignment_01
noc20-cs06_Week_11_Assignment_02
noc20-cs06_Week_11_Assignment_03
noc20-cs06_Week_11_Assignment_04
noc20-cs06_Week_11_Assignment_05
noc20-cs06_Week_11_Assignment_06
noc20-cs06_Week_12_Assignment_01
noc20-cs06_Week_12_Assignment_02
noc20-cs06_Week_12_Assignment_03
noc20-cs06_Week_12_Assignment_04
noc20-cs06_Week_12_Assignment_05
noc20-cs06_Week_12_Assignment_06
Sl.No Chapter Name MP4 Download
1Lecture 1 : Introduction
2Lecture 2 : Idea of Algorithms
3Lecture 3 : Flow Chart and Pseudocode
4Lecture 4 : Introduction to Programming Language Concepts
5Lecture 5 : Variables and Memory
6Lecture 6 : Types of Software and Compilers
7Lecture 7 : Introduction to C Programming Language
8Lecture 8 : Variables and Variable Types in C
9Lecture 9 : Introducing Functions
10Lecture 10 : Address and Content of Variables and Types
11Lecture 11 : Assignment Statement and Operators in C
12Lecture 12 : Arithmetic Expressions and Relational Expressions
13Lecture 13 : Logical Operators and Change in Control Flow
14Lecture 14 : Use of Logical Operaotrs in Branching
15Lecture 15 : Branching : IF - ELSE Statement
16Lecture 16 : IF-ELSE Statement (Contd.)
17Lecture 17 : Switch statement
18Lecture 18 : Switch Statement (Contd.) and Introduction to Loops
19Lecture 19 : Implementing Repetitions (Loops)
20Lecture 20 : Implementation of Loops with for Statement (Contd.)
21Lecture 21 : For Statement (Contd.)
22Lecture 22 : Example of If-Else
23Lecture 23 : Example of Loops
24Lecture 24 : Example of Loops (Contd.)
25Lecture 25: Example of Loops (Contd.), Use of FOR Loops
26Lecture 26 : Introduction to Arrays
27Lecture 27 : Arrays (Contd.)
28Lecture 28 : Arrays (Contd.)
29Lecture 29 : Program using Arrays
30Lecture 30 : Array Problem
31Lecture 31 : Linear Search
32Lecture 32 : Character Array and Strings
33Lecture 33 : String Operations
34Lecture 34 : 2-D Array Operation
35Lecture 35 : Introducing Functions
36Lecture 36 : More on Functions
37Lecture 37 : Function (Contd.)
38Lecture 38 : Scanf and Printf Functions; Function Prototype
39Lecture 39 : Parameter Passing in Function Revision
40Lecture 40 : Parameter Passing in Function Revision (Contd.)
41Lecture 41: Substitution of # include and Macro
42Lecture 42: "search" as a function
43Lecture 43: Binary Search
44Lecture 44: Binary Search (Contd.)
45Lecture 45: Sorting Methods
46Lecture 46 : Bubble Sort (Contd.)
47Lecture 47 : Use of Pointer in Function : Context Bubble Sort
48Lecture 48 : Arrays at Strings
49Lecture 49 : Data Representation
50Lecture 50 : Bisection Method
51Lecture 51 : Interpolation
52Lecture 52 : Trapezoidal Rule and Runge-Kutta Method
53Lecture 53 : Recursion
54Lecture 54 : Recursion(Contd.)
55Lecture 55 : Structure
56Lecture 56 : Structure (Contd.)
57Lecture 57 : Structure with typedef
58Lecture 58 : Pointer
59Lecture 59 : Pointer (Contd.)
60Lecture 60 : Pointer in Structures
61Lecture 61 : Dynamic Allocation and File
Sl.No Chapter Name English
1Lecture 1 : Introduction
2Lecture 2 : Idea of Algorithms
3Lecture 3 : Flow Chart and Pseudocode
4Lecture 4 : Introduction to Programming Language Concepts
5Lecture 5 : Variables and Memory
6Lecture 6 : Types of Software and Compilers
7Lecture 7 : Introduction to C Programming Language
8Lecture 8 : Variables and Variable Types in C
9Lecture 9 : Introducing Functions
10Lecture 10 : Address and Content of Variables and Types
11Lecture 11 : Assignment Statement and Operators in C
12Lecture 12 : Arithmetic Expressions and Relational Expressions
13Lecture 13 : Logical Operators and Change in Control Flow
14Lecture 14 : Use of Logical Operaotrs in Branching
15Lecture 15 : Branching : IF - ELSE Statement
16Lecture 16 : IF-ELSE Statement (Contd.)
17Lecture 17 : Switch statement
18Lecture 18 : Switch Statement (Contd.) and Introduction to Loops
19Lecture 19 : Implementing Repetitions (Loops)
20Lecture 20 : Implementation of Loops with for Statement (Contd.)
21Lecture 21 : For Statement (Contd.)
22Lecture 22 : Example of If-Else
23Lecture 23 : Example of Loops
24Lecture 24 : Example of Loops (Contd.)
25Lecture 25: Example of Loops (Contd.), Use of FOR Loops
26Lecture 26 : Introduction to Arrays
27Lecture 27 : Arrays (Contd.)
28Lecture 28 : Arrays (Contd.)
29Lecture 29 : Program using Arrays
30Lecture 30 : Array Problem
31Lecture 31 : Linear Search
32Lecture 32 : Character Array and Strings
33Lecture 33 : String Operations
34Lecture 34 : 2-D Array Operation
35Lecture 35 : Introducing Functions
36Lecture 36 : More on Functions
37Lecture 37 : Function (Contd.)
38Lecture 38 : Scanf and Printf Functions; Function Prototype
39Lecture 39 : Parameter Passing in Function Revision
40Lecture 40 : Parameter Passing in Function Revision (Contd.)
41Lecture 41: Substitution of # include and Macro
42Lecture 42: "search" as a function
43Lecture 43: Binary Search
44Lecture 44: Binary Search (Contd.)
45Lecture 45: Sorting Methods
46Lecture 46 : Bubble Sort (Contd.)
47Lecture 47 : Use of Pointer in Function : Context Bubble Sort
48Lecture 48 : Arrays at Strings
49Lecture 49 : Data Representation
50Lecture 50 : Bisection Method
51Lecture 51 : Interpolation
52Lecture 52 : Trapezoidal Rule and Runge-Kutta Method
53Lecture 53 : Recursion
54Lecture 54 : Recursion(Contd.)
55Lecture 55 : Structure
56Lecture 56 : Structure (Contd.)
57Lecture 57 : Structure with typedef
58Lecture 58 : Pointer
59Lecture 59 : Pointer (Contd.)
60Lecture 60 : Pointer in Structures
61Lecture 61 : Dynamic Allocation and File
Sl.No Language Book link
1English
2BengaliNot Available
3GujaratiNot Available
4HindiNot Available
5KannadaNot Available
6MalayalamNot Available
7MarathiNot Available
8TamilNot Available
9TeluguNot Available

DBC Itanagar

All India News

NPTEL Programming in Java Week 6 Assignment Answers 2024

Sanket

1. What is the output of the following program?

image 184

a. “Hello World” b. “Cannot divide by 0” c. Compilation Error d. Runtime Error (the code compiles successfully)

2. What will be the output of the following program?

image 185

a. 20 b. 21 c. 19 d. 22

3. What is the output of the following program?

image 186

a. 1 b. 2 c. 0 d. Compilation Error

4. Which exception is thrown when an array element is accessed beyond the array size?

a. ArrayElementOutOfBounds b. ArrayIndexOutOfBoundsException c. ArrayIndexOutOfBounds d. None of these

5. What is the output of the following program?

image 187

a. java b. java course c. nptel course d. Compilation Error

6. Fill in the blank in the program so that the output is “Java”.

image 188

a. public void b. void c. private void d. static void

7. How many times will “Java” be printed if the following code is executed?

image 189

a. 0 b. 1 c. 2 d. 3

8. The following is a simple program using the concept of thread. What is the output of the following program?

image 190

a. 1 3 5 7 b. 2 4 6 8 c. 1 3 5 7 9 d. 2 4 6

9. For the program given below, what will be the output after its execution?

image 191

a. 1 b. 2 c. 0 d. 01

10. Which of the following method returns a reference to the currently executing thread object?

a. public static boolean interrupted(); b. public static Thread currentThread(); c. public final boolean isAlive(); d. public final void suspend();

[Week 1] NPTEL Problem Solving Through Programming In C Assignment Answers 2023

Leave a Reply Cancel reply

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

Save my name, email, and website in this browser for the next time I comment.

Latest News

NPTEL Introduction to Operating Systems Week Assignment Answers

NPTEL Introduction to Operating Systems Week 7 Assignment Answers 2024

NPTEL Learning Analytics Tools Week 1 Assignment Answers

NPTEL Learning Analytics Tools Week 7 Assignment Answers 2024

NPTEL Conservation Geography Week 2 Assignment Answers

NPTEL Conservation Geography Week 7 Assignment Answers 2024

NPTEL Theory of Computation Week 2 Assignment Answers

NPTEL Theory of Computation Week 7 Assignment Answers 2024

NPTEL Wild Life Ecology Week 1 Assignment Answers 2024

NPTEL Wild Life Ecology Week 7 Assignment Answers 2024

introduction to programming in c nptel assignment answers 2022

Sign in to your account

Username or Email Address

Remember Me

Introduction To Programming In C NPTEL Assignment 6 Answers

Introduction To Programming In C NPTEL Assignment 6 Answers 2022:- All the Answers are provided here to help the students as a reference, You must submit your assignment at your own knowledge.

What is Introduction To Programming In C?

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. 

CRITERIA TO GET A CERTIFICATE

Average assignment score = 25% of the average of best 6 assignments out of the total 8 assignments given in the course. Exam score = 75% of the proctored certification exam score out of 100

Final score = Average assignment score + Exam score

YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF THE AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.

Assignment No.Answers

Introduction To Programming In C NPTEL Assignment 6 Answers 2022:-

Q1. We say that a string ‘s’ is an anagram of another string ‘t’ if the letters in ‘s’ can be rearranged to form ‘t’.

Q2. In a string, a “run” is a substring with consisting of consecutive occurrences of the same character. For example, the string “mississippi” contains the following runs – “ss”, “ss” and “pp”.

Q3. In this question, you are given two positive integers M and N, where M < N. You may assume that N is less than or equal to 100.

Disclaimer :- We do not claim 100% surety of solutions, these solutions are based on our sole expertise, and by using posting these answers we are simply looking to help students as a reference, so we urge do your assignment on your own.

For More NPTEL Answers:-  CLICK HERE

Join Our Telegram:-  CLICK HERE

Introduction To Programming In C NPTEL Assignment 6 Answers 2022:- All the Answers are provided here to help the students as a reference, You must submit your assignment to your own knowledge.

1 thought on “Introduction To Programming In C NPTEL Assignment 6 Answers”

sir last date kya assignment abhi tak nahi mila,aj hi last date hain assignment 8 introduction of c.

Leave a Comment Cancel reply

You must be logged in to post a comment.

Please Enable JavaScript in your Browser to Visit this Site.

Quizermania Logo

Problem Solving Through Programming In C NPTEL 2022 Week 1 Solutions

This set of MCQ(multiple choice questions) focuses on the  Problem Solving Through Programming In C NPTEL Week 1 Solutions.

Problem solving through programming in c NPTEL

Course layout

Answers COMING SOON! Kindly Wait!

Week 0 : Assignment Week 1 :  Introduction to Problem Solving through programs Week 2 :   Arithmetic expressions, Relational Operations, Logical expressions; Introduction to Conditional Branching Week 3 :   Conditional Branching and Iterative Loops Programming Assignment Week 4 :   Arranging things : Arrays Programming Assignment Week 5 :   2-D arrays, Character Arrays and Strings   Programming Assignment Week 6 :   Basic Algorithms including Numerical Algorithms Week 7 :  Functions and Parameter Passing by Value Week 8 :  Passing Arrays to Functions, Call by Reference Programming Assignment Week 9 :  Recursion Week 10 :   Structures and Pointers Week 11 :  Self-Referential Structures and Introduction to Lists Week 12 :   Advanced Topics

NOTE:  You can check your answer immediately by clicking show answer button. Problem Solving Through Programming In C NPTEL Week 1 assignment answers ” contains 10 questions.

Now, start attempting the quiz.

Problem Solving Through Programming In C NPTEL Week 1 assignment answers

Q1. 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) Programming

Q2. 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

Answer: a) Flow-chart

Q3. X ia an integer (X=1234). The print valud of Y of the algorithm below is

a) 10 b) 11223344 c) 4321 d) 0

Answer: c) 4321

Q4. 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

Answer: c) Control Unit

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

a) 120 b) 720 c) 1 d) 5040

Answer: d) 5040

Q6. Which one is comparatively faster in terms of execution?

a) Interpreter b) Compiler c) Both are same d) Depends on the programming language

Answer: b) Compiler

Q7. What will be the output of the flowchart given below?

a) 20 b) 21 c) 10 d) 0.33

Answer: b) 21

Q8. 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 are true

Answer: c) can perform both arithmetic and logical operations

Q9. What type of device is computer touchpad?

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

Answer: d) Input

Q10. 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) High-level language to machine level language

Previous Year – Problem Solving Through Programming In C NPTEL Week 1 assignment answers

Q1. The input given from keyboard is converted to computer understandable unit (bit) by the standard

a) ISO b) ANSI c) ASCII d) EBCDIC

Answer: c) ASCII

Q2. The execution nature of C program is

a) Event-based b) Concurrent c) Multi-threaded d) Sequential

Answer: d) Sequential

Q3. Choose the correct statements from the following i) In high-level language, testing and debugging a program is difficult than assembly language. ii) C programs are highly portable on any type of operating system platform. iii) A flowchart is a visual representation of the sequence of steps for solving a problem. iv) The role of a compiler is to translate source program statements to decimal codes.

a) (i) and (ii) b) (ii) and (iii) c) (i), (ii) and (iii) d) (ii, (iii) and (iv)

Answer: b) (ii) and (iii)

Q4. When we write X=Y in C, which of the following statements is valid?

a) X and Y both have same values but different locations. b) X and Y both have same location and same values. c) X and Y have different values and same location. d) X and Y have different values and different locations.

Answer: a) X and Y both have same values but different locations.

Q5. What will be the output of the flowchart given below?

a) 4 b) 8 c) 16 d) 20

Answer: c) 16

Q6. The output of the following algorithm is

a) 21 b) 28 c) 30 d) 40

Answer: b) 28

Q7. The print values of ‘a’ and ‘b’ of the flowchart below are

a) a=4, b=6 b) a=6, b=4 c) a=10, b=2 d) a=2, b=10

Answer: b) a=6, b=4

Q8. The program which translates high level program into its equivalent machine language program is called

a) translator b) a language processor c) a convertor d) None of the above

Answer: a) translator

Q9. An interpreter reads the source code of a program

a) one line at a time b) two line at a time c) complete program in one stroke d) None of these

Answer: a) one line at a time

Q10. The C language has been developed at

a) IBM, USA b) Borland International, USA c) Sun Microsystems d) AT & T Bell Labs, USA

Answer: d) AT & T Bell Labs, USA

Previous Course – Week 1 assignment answers

Q1. The section of CPU that is responsible for performing mathematical operations is known as

a) Memory b) Register unit c) ALU-Arithmetic and Logic Unit d) Control unit

Answer: c) ALU-Arithmetic and Logic Unit

Q2. What type of device is a computer mouse?

Q3. 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.

Q4. The smallest unit of memory is

a) Byte b) Bit c) Nibble d) Baud

Answer: b) Bit

Problem Solving Through Programming In C NPTEL Week 1 solutions

Problem Solving Through Programming In C NPTEL Week 1 solutions

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

introduction to programming in c nptel assignment answers 2022

a) 5040 b) 720 c) 28 d) 21

Answer: a) 5040

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

introduction to programming in c nptel assignment answers 2022

a) 1248 b) 88442211 c) 8421 d) 0

Answer: c) 8421

Q8. The section of the CPU that selects, interprets and sees to the execution of program instructions

Q9. The ________ scans the entire C program and translates it as a whole into machine code.

a) Interpreter b) Compiler c) Program counter d) Operating system

Q10. The list of coded instructions is called

a) Computer Program b) Algorithm c) Flow chart d) Utility instructions

Answer: a) Computer Program

<< Prev – An Introduction to Programming Through C++ Week 0 Assignment Solutions

>> Next- An Introduction to Programming Through C++ Week 2 Assignment Solutions

Programming in Java NPTEL week 1 quiz answers

NPTEL – Python for Data Science assignment solutions

Nptel – Deep Learning assignment solutions

The above question set contains all the correct answers. But in any case, you find any typographical, grammatical or any other error in our site then kindly  inform us . Don’t forget to provide the appropriate URL along with error description. So that we can easily correct it.

Thanks in advance.

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.

Related Posts

Html mcq : html basics (multiple choice question), html mcq : html web browsers (multiple choice question).

Preprocessor Directives

C programming MCQ : Preprocessor Directives(MULTIPLE CHOICE QUESTION)

C++ mcq : c++ basics(multiple choice question), 2 thoughts on “problem solving through programming in c nptel 2022 week 1 solutions”.

' src=

answer of 6th question is 720 bcz n<7 not <= 7

' src=

Answer is 5040. Try it again step by step. When i becomes 6: the condition will become 6<7 So, the condition is true that means i become i+1 (i.e., i = 7) Now, X = x*i (i.e., X = 720*7=5040) Again we have to check condition which is 7<7 (False) So, we came out of the loop and print(x) which is 5040.

Hope you got it. Try it once 🙂

Leave a Comment Cancel Reply

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

Save my name, email, and website in this browser for the next time I comment.

  • 1st Central Law Reviews: Expert Legal Analysis & Insights

Navigation Menu

Search code, repositories, users, issues, pull requests..., provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

nptel-solutions

Here are 60 public repositories matching this topic..., kishanrajput23 / nptel-the-joy-of-computing-using-python.

Study materials related to this course.

  • Updated Oct 27, 2023

progiez / nptel-assignment-answers

NPTEL Assignment Answers and Solutions 2024 (July-Dec). Get Answers of Week 1 2 3 4 5 6 7 8 8 10 11 12 for all courses. This guide offers clear and accurate answers for your all assignments across various NPTEL courses

  • Updated Sep 4, 2024

kishanrajput23 / NPTEL-Programming-In-java

  • Updated Apr 14, 2022

omunite215 / NPTEL-Programming-in-Java-Ultimate-Guide

I am sharing my journey of studying a course on Programming in Java taught by Prof.Debasis Samanta Sir IIT Kharagpur

  • Updated Dec 4, 2023

kadeep47 / NPTEL-Getting-Started-With-Competitive-Programming

[Aug - Oct 2023] Solutions for NPTEL Course Getting started with competitive programming weekly assignment.

  • Updated Jul 24, 2024

Md-Awaf / NPTEL-Course-Getting-started-with-Competitive-Programming

Solutions for NPTEL Course Getting started with competitive programming weekly assignment.

  • Updated Apr 20, 2023

guru-shreyansh / NPTEL-Programming-in-Java

The sole intention behind this repository is to help the beginners in Java with the course contents.

  • Updated Aug 1, 2021

rvutd / NPTEL-Joy-of-Computing-2020

Programming Assignment Solutions

  • Updated May 5, 2020

avinashyadav16 / The-Joy-of-Computing-Using-Pyhton

12 Weeks long NPTEL Elective MOOC Course's codes, assignments and solutions. If you want to contribute and keep it updated with the new content, then please fork and raise pull request.

  • Updated Oct 30, 2023
  • Jupyter Notebook

gxuxhxm / NPTEL-The-Joy-of-Computing-using-Python

NPTEL-The-Joy-of-Computing-using-Python with NOTES and Weekly quizes Answers

  • Updated Jun 25, 2024

gunjanmimo / NPTEL-The-Joy-of-Computing-using-Python

  • Updated Jan 26, 2020

AdishiSood / The-Joy-of-Computing-using-Python

  • Updated Apr 28, 2021

NPTEL-Course / Programming-Data-Structures-And-Algorithms-Using-Python

Nptel Course Solutions : Programming, Data Structures And Algorithms Using Python

  • Updated Nov 30, 2020

tdishant / NPTEL-Joy-of-Computing-Using-Python

Python code from week-3 to week-12 for the NPTEL course The Joy of Computing using Python

  • Updated Oct 26, 2021

TarunSehgal27 / NPTEL-JAVA-2020

this is a repo about the java program headed by Debasis Samantha during 2020

  • Updated Apr 23, 2020

iamrudhresh / NPTEL-JAVA-PROGRAMMING

Welcome to the NPTEL "Programming in Java" course repository! This repository hosts a comprehensive collection of programming assignments, quizzes, and test solutions for the NPTEL "Programming in Java" course offered in the years 2024, 2022, and 2020.

  • Updated Apr 18, 2024

NPTEL-Course / Google-Cloud-Computing-Foundations

Nptel Course Solution : Google Cloud Computing Foundations

  • Updated Nov 19, 2020

Anmol-PROgrammar / SWAYAM-Programming_In_Java-NPTEL

This site contains the weekly( i.e. 1-9) questions and their solution of NPTEL-SWAYAM course "Programming in Java".

  • Updated Aug 19, 2021

CGreenP / NPTEL-Introduction-to-Programming-in-C-Assignment-4-Question-1

NPTEL Introduction to Programming in C Assignment 4 Question 1

  • Updated Apr 2, 2024

lonebots / python-programming-joc-nptel

Python programming repository for NPTEL joy of computing course

  • Updated Dec 21, 2020

Improve this page

Add a description, image, and links to the nptel-solutions topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the nptel-solutions topic, visit your repo's landing page and select "manage topics."

swayam-logo

Problem Solving Through Programming In C

  • Formulate simple algorithms for arithmetic and logical problems
  • Translate the algorithms to programs (in C language)
  • Test and execute the programs and  correct syntax and logical errors
  • Implement conditional branching, iteration and recursion
  • Decompose a problem into functions and synthesize a complete program using divide and conquer approach
  • Use arrays, pointers and structures to formulate algorithms and programs
  • Apply programming to solve matrix addition and multiplication problems and searching and sorting problems 
  • Apply programming to solve simple numerical method problems, namely rot finding of function, differentiation of function and simple integration
--> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> -->

Note: This exam date is subject to change based on seat availability. You can check final exam date on your hall ticket.

Page Visits

Course layout, books and references, instructor bio.

introduction to programming in c nptel assignment answers 2022

Prof. Anupam Basu

Course certificate.

  • Assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course. 
  • ( All assignments in a particular week will be counted towards final scoring - quizzes and programming assignments). 
  • Unproctored programming exam score = 25% of the average scores obtained as part of Unproctored programming exam - out of 100
  • Proctored Exam score =50% of the proctored certification exam score out of 100

introduction to programming in c nptel assignment answers 2022

DOWNLOAD APP

introduction to programming in c nptel assignment answers 2022

SWAYAM SUPPORT

Please choose the SWAYAM National Coordinator for support. * :

IMAGES

  1. Introduction To Programming In C

    introduction to programming in c nptel assignment answers 2022

  2. An Introduction to Programming Through C++

    introduction to programming in c nptel assignment answers 2022

  3. NPTEL C Programming And Assembly Language Assignment 1 Answers 2022 || Unique Jankari

    introduction to programming in c nptel assignment answers 2022

  4. NPTEL Programming In Modern C++ Week 1 Programming Assignment Q3 Solution

    introduction to programming in c nptel assignment answers 2022

  5. NPTEL Problem Solving Through Programming In C Assignment 3 Answers 2022

    introduction to programming in c nptel assignment answers 2022

  6. An Introduction to Programming Through C++ || NPTEL || week 2 solution

    introduction to programming in c nptel assignment answers 2022

VIDEO

  1. Introduction to Programming In C||WEEK-3 Assignment Answers||#NPTEL||#SKumarEdu||#cprogramming

  2. Introduction to programming in C NPTEL 2024 Assignment 3 solutions

  3. NPTEL Problem Solving Through Programming in C Week 0 Assignment Solution July 2024 |IIT Kharagpur

  4. Introduction to programming in C NPTEL (2024) Week 2 Assignment Answers

  5. Introduction to Programming In C @NPTEL 2024 Week 6 Solutions #nptel #nptelquiz #nptelcourseanswers

  6. NPTEL Problem Solving through Programming in C ASSIGNMENT 6 ANSWERS 2024

COMMENTS

  1. GitHub

    By following these steps, you can easily locate and use the assignment answers and solutions for the NPTEL courses provided in this repository. We hope this resource assists you in your studies! List of Courses

  2. Introduction To Programming In C

    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 eng...

  3. Introduction To Programming In C

    Introduction To Programming In C | Week 2 : Assignment 2 | Answers | Jan-2024 | NPTEL | SwayamJoin our Telegram Channel : https://telegram.me/SwayamSolverJoi...

  4. Introduction To Programming in C

    This post will help you with the solutions of Introduction To Programming in C NPTEL 2022 Week 1 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 ...

  5. Introduction to programming in C Week 2 Assignment Answers

    #programmingincnptel #programminginc #nptelprogrammingIntroduction to Programming in CIn this video, we're going to unlock the answers to the Introduction to...

  6. Introduction To Programming In C

    Learners enrolled: 44925. 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 ...

  7. Introduction to Programming in C

    Course certificate. The course is free to enroll and learn from. But if you want a certificate, you have to register and write the proctored exam conducted by us in person at any of the designated exam centres. The exam is optional for a fee of Rs 1000/- (Rupees one thousand only).Date and Time of Exams:18 December 2020Morning session 9am to 12 ...

  8. Course Name: Introduction To Programming In C

    Course abstract. 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.

  9. NPTEL Introduction To Programming In C Assignment 1 Answers 2022

    NPTEL Introduction To Programming In C Assignment 1 Answers:-. Q1. You will be given 3 integers as input. The inputs may or may not be. different from each other. You have to output 1 if sum of first two inputs is greater than the third input, and 0 otherwise. Input. ————————————-.

  10. Introduction To Programming in C

    Week 2: Question 1. In this assignment, you will be given an NxN matrix. You have to. determine whether the matrix is a upper triangular or lower triangular matrix or both or not a triangular matrix. The diagonal of the matrix M of size NxN is the set of entries M (0,0), M (1,1), M (2,2), …, M (N,N).

  11. NPTEL Introduction To Programming In C Assignment 2 Answers 2022

    NPTEL Introduction To Programming In C Assignment 2 Answers:-. Q1. In this assignment, you will be given an NxN matrix. You have to determine whether the matrix is a upper triangular or lower triangular matrix or both or not a triangular matrix. The diagonal of the matrix M of size NxN is the set of entries M (0,0), M (1,1), M (2,2), …, M (N,N).

  12. NPTEL :: Computer Science and Engineering

    Week 1. Lecture 1 : Introduction. Lecture 2 : Idea of Algorithms. Lecture 3 : Flow Chart and Pseudocode. Lecture 4 : Introduction to Programming Language Concepts. Lecture 5 : Variables and Memory. Week 2. Lecture 6 : Types of Software and Compilers. Lecture 7 : Introduction to C Programming Language.

  13. Introduction To Programming In C WEEK 3 Programming Assignment

    🔊 Introduction To Programming In C NPTEL Elective Course 2022NPTEL Introduction To Programming In C WEEK 3 Programming Assignment Solutions | Swayam 2022 | ...

  14. NPTEL Problem Solving Through Programming in C Week 7 Assignment

    NPTEL Problem Solving Through Programming in C Week 7 Assignment Answers 2024. 1. In C, the placement of elements of a two dimensional array is. a) Row wise b) Column wise c) Diagonal wise d) Bottom to top wise. Answer :- For Answers Click Here

  15. Introduction To Programming In C NPTEL Assignment 1 Answers

    Introduction To Programming In C NPTEL Assignment 1 Answers:-. Q1. You will be given 3 integers as input. The inputs may or may not be. different from each other. You have to output 1 if sum of first two inputs is greater than the third input, and 0 otherwise. Input. ————————————-.

  16. NPTEL-Problem-Solving-through-programming-in-C/Week 11/11-5.c ...

    Contribute to kg-0805/NPTEL-Problem-Solving-through-programming-in-C development by creating an account on GitHub. ... kg-0805 / NPTEL-Problem-Solving-through-programming-in-C Public archive. Notifications You must be signed in to change notification settings; Fork 1; Star 1. Code; Issues 0; Pull requests 0; Actions;

  17. NPTEL Programming in Java Week 6 Assignment Answers 2024

    NPTEL Programming in Java Week 6 Assignment Answers 2024. 1. What is the output of the following program? ... Previous Article NPTEL Problem Solving Through Programming in C Week 6 Assignment Answers 2024. ... NPTEL Introduction to Operating Systems Week 6 Assignment Answers 2024. August 31, 2024.

  18. Introduction To Programming in C

    Week 5: Question 3. Write a recursive program that inputs a line of characters from the user. The line may contain blanks. It outputs the line with the characters reversed. The input ends with EOF (end of file). NOTE: You have to use recursion to solve this, and are NOT allowed to use array to store the input!!

  19. Introduction To Programming In C NPTEL Assignment 6 Answers

    Introduction To Programming In C NPTEL Assignment 6 Answers 2022:-. Q1. We say that a string 's' is an anagram of another string 't' if the letters in 's' can be rearranged to form 't'. Code:-. #include<stdio.h>.

  20. Problem Solving Through Programming In C NPTEL 2022 Week 1 Solutions

    Kindly Wait! Week 0 : Assignment. Week 1 : Introduction to Problem Solving through programs. Week 2 : Arithmetic expressions, Relational Operations, Logical expressions; Introduction to Conditional Branching. Week 3 : Conditional Branching and Iterative Loops. Programming Assignment. Week 4 : Arranging things : Arrays. Programming Assignment.

  21. nptel-solutions · GitHub Topics · GitHub

    Welcome to the NPTEL "Programming in Java" course repository! This repository hosts a comprehensive collection of programming assignments, quizzes, and test solutions for the NPTEL "Programming in Java" course offered in the years 2024, 2022, and 2020.

  22. Problem Solving Through Programming In C

    Learners enrolled: 29073. ABOUT THE COURSE : This course is aimed at enabling the students to. Formulate simple algorithms for arithmetic and logical problems. Translate the algorithms to programs (in C language) Test and execute the programs and correct syntax and logical errors. Implement conditional branching, iteration and recursion.

Course Status : Completed
Course Type : Elective
Duration : 12 weeks
Category :
Credit Points : 3
Undergraduate/Postgraduate
Start Date : 25 Jul 2022
End Date : 14 Oct 2022
Enrollment Ends : 08 Aug 2022
Exam Date : 29 Oct 2022 IST