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

Hello NPTEL Learners, In this article, you will find NPTEL Problem Solving Through Programming In C Assignment 2 Week 2 Answers 2023. All the Answers are provided below to help the students as a reference don’t straight away look for the solutions, 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 3 Answers 2023 Join Group👇

Note: We are trying to give our best so please share with your friends also.

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

#### Q.1. Which of the following statements is correct?

I. Keywords are those words whose meaning is already defined by Compiler. II. Keywords cannot be used as variable names. III. There are 32 keywords in C IV. C keywords are also called reserved words.

• a) I and II
• b) II and III
• c) I, II and IV
• d) All of the above

#### Q.2. A function is

• a) Block of statements to perform some specific task
• b) It is a fundamental modular unit to perform some task
• c) It has a name and can be used multiple times
• d) All of the above

• a) -(216-1)
• b) 0
• c) -(215-1)
• d) -215

• a) breaker
• b) go to
• c) shorter
• d) default

#### Q.7. Integers can be of the following type in C?

• a) short
• b) int
• c) long
• d) All the above

#### Q.8. The operator % in C Language is called?

• a) Percentage Operator
• b) Quotient Operator
• c) Modulus
• d) Division

#### Q.9. What will be the correct value of ‘x’? int x = 5.6634 + 4.867;

• a) x=10
• b) x= 11
• c) x = 10.530400
• d) Compilation error

#### Q.10. What is a C Storage Class?

• a) C Storage decides where to or which memory store the variable.
• b) C Storage Class decides what is the default value of a variable.
• c) C Storage Class decides what is the Scope and Life of a variable.
• d) All the above.
##### NPTEL Problem Solving Through Programming In C Assignment 2 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 Chase2learn. 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 Outcome:
• 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.
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/