# NPTEL Problem solving through Programming In C Assignment 10 Answers 2022

**NPTEL Problem solving through Programming In C Assignment 10 Answers 2022 :- **Here All The Questions and Answers Provided to Help All The Students and NPTEL Candidate as a Reference Purpose, It is Mandetory to Submit Your Weekly Assignment By Your Own Understand Level.

Are you looking for the Assignment Answers to **NPTEL Problem solving through Programming In C Assignment 10 Answers 2022****? **If Yes You are in Our Great Place to Getting Your Solution, This Post Should be help you with the Assignment answer to the **Nation**** al Programme on Technology Enhanced LearningÂ (NPTEL)** Course “

**NPTEL Problem solving through Programming In C Week 10**

**Solution 2022**”

Table of Contents

**NPTEL Problem solving through Programming In C**

*From My Side :*

This course is aimed at enabling the students to :

Formulate easy algorithms for arithmetic and investigative problems

Translate the algorithms to programs (in C language)

Test and kill the programs and truthful syntax and investigative errors

Implement conditional branching, iteration and recursion

Decompose a tortured into functions and synthesize a unmodified program using divide and conquer right of admission

Use arrays, pointers and structures to formulate algorithms and programs

Apply programming to solve matrix adding occurring together and multiplication problems and searching and sorting problems

Apply programming to solve easy numerical method problems, namely rot finding of doing, differentiation of do something and easy integration

This course is aimed at enabling the students to. Formulate easy algorithms for arithmetic and rational problems. Translate the algorithms to programs (in C language) Test and execute the programs and precise syntax and logical errors.

10 Steps to Solving a Programming Problem.

Read the difficulty at least three era (or however many makes you setting satisfying)

Work through the shackle manually taking into account at least three sets of sample data.

Simplify and optimize your steps.

Write pseudocode.

Translate pseudocode into code and debug.

**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
- 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

**INTENDED AUDIENCEÂ : BE/BTechÂ in all disciplines BCA/MCA/M. Sc**

**INDUSTRY SUPPORTÂ Â : All IT Industries**

**CRITERIA TO GET A CERTIFICATE**

This course can have Associate in Nursing unproctored programming communication conjointly excluding the Proctored communication, please check announcement section for date and time. The programming communication can have a weightage of twenty fifth towards the ultimate score.

- 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

**YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF ASSIGNMENT SCORE >=10/25 AND**

**UNPROCTORED PROGRAMMING EXAM SCORE >=10/25 AND PROCTORED EXAM SCORE >= 20/50.Â**

**If any one of the 3 criteria is not met, you will not be eligible for the certificate even if the Final score >= 40/100.Â**

**CHECK HERE OTHERS NPTEL ASSIGNMENTS ANSWERSÂ **

*BELOW YOU CAN GET YOUR NPTEL Problem solving through Programming In C Assignment 10 Answers 2022***?** :

**?**:

## NPTEL Problem solving through Programming In C Assignment 10 Answers 2022

Q1. The bisection method is used to find

a) Derivative of a function at a given point

b) Numerical integration of a function within a range

c) The root of the function

d) None of the above

SHOW Answer By SciShowEngineer

Answer By SciShowEngineer: c) The root of the function

Q2. In __________ , the search starts at the beginning of the list and checks every element in the list.

a) Linear search

b) Binary search

c) Hash search

d) Binary tree search

SHOW Answer By SciShowEngineer

Answer By SciShowEngineer: a) Linear search

Q3. What is the advantage of a recursive approach over an iterative approach?

a) Consumes less memory

b) Less code and easy to implement

c) Consumes more memory

d) More code has to be written

SHOW Answer By SciShowEngineer

Answer By SciShowEngineer: b) Less code and easy to implement

Q4. Which of the following is not an application of binary search?

a) To find the lower/upper bound in an ordered sequence

b) Union of intervals

c) Debugging

d) To search an unordered list

SHOW Answer By SciShowEngineer

Answer By SciShowEngineer: d) To search an unordered list

Q5. A function is given by y â€“ e-y = 0. Find the root between [0, 1] by using Bisection method.

a) 0.655

b) 0.665

c) 0.565

d) 0.656

SHOW Answer By SciShowEngineer

Answer By SciShowEngineer: c) 0.565

Q6. What would be the equivalent pointer expression for referring to the array element a[i][j][k][l]?

a) (((*(a+i)+j)+k)+l)

b) *(*(*(*(a+i)+j)+k)+l)

c) (*(*(a+i)+j)+k+l)

d) *((a+i)+j+k+l)

SHOW Answer By SciShowEngineer

Answer By SciShowEngineer: b) *(*(*(*(a+i)+j)+k)+l)

Q7. What will be output when you execute the following C code?

#include<stdio.h>

int main()

{

short num[3][2] = {2,5,11,17,23,28};

printf(â€ś%d, %dâ€ť, *(num+2)[0],**(num+1));

return 0;

}

a) 23, 11

b) 23, 23

c) 11, 17

d) 17, 17

SHOW Answer By SciShowEngineer

Answer By SciShowEngineer: a) 23, 11

Q8. Assume sizeof an integer and a pointer is 4 bytes. What is the output?

#include<stdio.h>

#define A 5

#define B 8

#define C 2

int main()

{

int (*x)[A][B][C];

printf(â€ś%dâ€ť, sizeof(*x));

return 0;

}

SHOW Answer By SciShowEngineer

Answer By SciShowEngineer: 320

Q9. Find the output of the following program

#include<stdio.h>

int main()

{

int *ptr, a = 12;

ptr = &a;

*ptr = *ptr â€“ 2**ptr;

printf(â€ś%d, %dâ€ť, *ptr, a);

return 0;

}

SHOW Answer By SciShowEngineer

Answer By SciShowEngineer: -12, -12

Q10. What is the solution of the equation given below using the Bisection Method up to four decimal places? (Consider the root lying on positive quadrant only and compute the root till five iterations only)

f(x) = xe2x â€“ 3×2 â€“ 5

SHOW Answer By SciShowEngineer

Answer By SciShowEngineer: 1.0625

**Problem solving through Programming In C Week 10 Assignments Solutions**

**Problem solving through Programming In C Week 10 Assignments Solutions**

Yhaa You have done it but next? if YOU Want to your Others * NPTEL Problem solving through Programming In C Assignments Answers* Then

**Follow US HERE**and Join Telegram.