# NPTEL Problem Solving Through Programming In C Assignment 6 Answers 2023

Hello Learners, In this Post, you will find NPTEL Problem Solving Through Programming In C Assignment 6 Week 6 Answers 2023. All the Answers are provided below to help the students as a reference donâ€™t straight away look for the solutions.

###### NPTEL Problem Solving Through Programming In C Assignment 6 Answers Join Groupđź‘‡

Note: First try to solve the questions by yourself. If you find any difficulty, then look for the solutions.

## NPTEL Problem Solving Through Programming In C Assignment 6 Answers 2023:

#### Q.1. Which statement is correct?

• a) An index or subscript in array is a positive integer
• b) An index or subscript in array is a positive or negative integer
• c) An index or subscript in array is a real number
• d) None of the above

#### Q.2. Which of the following is the correct way to declare a one-dimensional integer array named â€śmyArrayâ€ť with 5 elements in C?

• a) int myArray(5);
• b) int myArray[5];
• c) int myArray = [5];
• d) int myArray = {5};

#### Q.3. The elements of array are stored in contiguous memory due to

• a) This way computers can keep track of only the address of the first element and the addresses of other elements can be calculated.
• b) The architecture of computer does not allow arrays to store other than serially
• c) Both (a) and (b) are true
• d) None of these are true

#### Q.4. What is the output of the following code snippet in C?

• a) 0
• b) 1
• c) 5
• d) The code will result in a runtime error.

#### Q.6. What is the maximum dimension of an array allowed in C?

• a) 10
• b) 100
• c) 1000
• d) No such limit exists

#### Q.7. What is the output of the following C code?

• a) 1 followed by two garbage values
• b) 1 1 1
• c) 1 0 0
• d) 0 0 0

#### Q.10. What will be the output?

• a) i=5, j=5, k=2
• b) i=6, j=5, k=3
• c) i=6, j=4, k=2
• d) i=5, j=4, k=2
##### NPTEL Problem Solving Through Programming In C Assignment 6 Answers Join Groupđź‘‡

Disclaimer: This answer is provided by us only for discussion purpose if any answer will be getting wrong donâ€™t blame us. If any doubt or suggestions regarding any question kindly comment. The solution is provided byÂ Brokenprogrammers. This tutorial is only for Discussion andÂ LearningÂ purpose.

#### About NPTEL Problem Solving Through Programming In C Course:

This course is aimed at enabling the students to

1. Formulate simple algorithms for arithmetic and logical problems
2. Translate the algorithms to programs (in C language)
3. Test and execute the programs andÂ  correct syntax and logical errors
4. Implement conditional branching, iteration and recursion
5. Decompose a problem into functions and synthesize a complete program using divide and conquer approach
6. Use arrays, pointers and structures to formulate algorithms and programs
7. Apply programming to solve matrix addition and multiplication problems and searching and sorting problemsÂ
8. Apply programming to solve simple numerical method problems, namely rot finding of function, differentiation of function and simple integration
##### Course Layout:
• Week 1 :Introduction to Problem Solving through programs, Flowcharts/Pseudo codes, the compilation process, Syntax and Semantic errors, Variables and Data Types
• Week 2 :Arithmetic expressions, Relational Operations, Logical expressions; Introduction to Conditional Branching
• Week 3 :Conditional Branching and Iterative Loops
• Week 4 :Arranging things : Arrays
• Week 5 :2-D arrays, Character Arrays and Strings
• Week 6 :Basic Algorithms including Numerical Algorithms
• Week 7 :Â Functions and Parameter Passing by Value
• Week 8 :Â Passing Arrays to Functions, Call by Reference
• Week 9 :Â Recursion
• Week 10 :Structures and Pointers
• Week 11 :Â Self-Referential Structures and Introduction to Lists
###### CRITERIA TO GET A CERTIFICATE:

Average assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course. NPTEL Problem Solving Through Programming In C Assignment 5 Answers
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 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.

If you have not registered for exam kindly register Through https://examform.nptel.ac.in/