Course Description :
NPTEL Problem Solving Through Programming In C course will teach you how to formulate, translate, and execute simple algorithms in C. You will learn how to use conditional branching, iteration, and recursion to solve problems. You will also learn how to decompose problems into functions and use arrays, pointers, and structures to formulate algorithms and programs. Finally, you will apply your programming skills to solve matrix addition and multiplication problems, searching and sorting problems, and simple numerical method problems.
This course is designed for students in BE/BTech, BCA/MCA, and M.Sc. programs. It is also relevant to anyone who wants to learn how to program in C. The course is supported by the IT industry, so you can be confident that the skills you learn will be in demand.
If you are ready to take your programming skills to the next level, then this course is for you. Join me on this journey and learn how to use C to solve real-world problems.
Here are some specific benefits of taking this course:
- You will learn how to think like a programmer and solve problems in a systematic way.
- You will gain hands-on experience with C programming and develop your problem-solving skills.
- You will be able to apply your programming skills to solve real-world problems.
- You will be prepared for a career in the IT industry.
I hope you will join me on this journey. Together, we will learn how to use C to solve problems and create amazing things.
|Course Name||NPTEL Problem Solving Through Programming In C|
|Course Duration||12 weeks|
|Course Start Date||24 Jul 2023|
|Course End Date||13 Oct 2023|
|Exam Date||28 Oct 2023|
|Course Link||Click Here|
Table of Contents
NPTEL Problem Solving Through Programming In C Week 2 Assignment Answers
|1.||Which of the following is not a C variable?|
Answer: C. Count@ 123
1000+ students getting help from instant notifications, Join us on telegram.
|A.||is a block of statements to perform some specific task|
|B.||is a fundamental modular unit to perform some task|
|C.||has a name and can be used multiple times|
|D.||All the above options are true|
Answer: D. All the above options are true
|3.||The execution of any C program is|
|D.||None of these|
Answer: A. Sequential
|4.||Syntax error occurs when|
|A.||The rules of grammar of the programming language is violated|
|B.||The statements in the program have no meaning|
|C.||The program gives wrong or undesired output|
|D.||Some illegal operation (e.g. divide by zero) is performed|
Answer: A. The rules of grammar of the programming language is violated
|5.||If integer needs two bytes of storage, then the minimum value of a signed integer in C would be|
Answer: D. -32,768
|6.||What will be the output of the program given below?|
Answer: D. Compilation Error
|7.||What is the output?|
Answer: D. 16.00
|8.||The following C program swaps the value of two numbers without using any third variable. What will be the correct option to fill up the blank?|
|A.||a=a-b; b=a-b; a=a+b;|
|B.||a=a%b; b=a+b; a=a/b;|
|C.||a=a+b; b=a-b; a=a-b;|
|D.||None of the above|
Answer: C. a=a+b; b=a-b; a=a-b;
|9.||What will be the output?|
Answer: B. 3 1
|10.||When executed the following code will print _______ .|
NPTEL Problem Solving Through Programming In C Week 1 Assignment Answers
|1.||What type of device is computer webcam?|
Answer: Option D. Input
|2.||Set of instructions to be provided to an electronic machine to perform a task is called|
Answer: Option A. Programming
|3.||Which of the following language does the computer understand?|
|A.||Computer understands only C Language|
|B.||Computer understands only Assembly Language|
|C.||Computer understands only Binary Language|
|D.||Computer understands only BASIC|
Answer: Option C. Computer understands only Binary Language
|4.||Which of the following is known as the language made up of binary-coded instructions?|
Answer: D. Machine
|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.|
Answer: C. A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.
|6.||A 2D diagram to represent the steps to be followed to solve a problem is known as|
|C.||Both (a) and (b)|
|D.||None of these|
Answer: Option A. Flow-chart
|7.||Which one of the following statement is the most appropriate?|
|A.||Pseudo code is basically a diagrammatic representation of the algorithm. Whereas in flowchart normal English language is translated into the programming languages to be worked on.|
|B.||Flowchart is diagrammatic representation of the algorithm. Pseudo code is just another name of algorithm.|
|C.||Pseudo code is another name of programming. Whereas in flowchart is diagrammatic representation of algorithm.|
|D.||Flowchart is basically a diagrammatic representation of the algorithm. Whereas in pseudo code normal English language is translated into the programming languages to be worked on.|
Answer: D. Flowchart is basically a diagrammatic representation of the algorithm. Whereas in pseudo code normal English language is translated into the programming languages to be worked on.
|8.||The input N from the user is 6. The output of the following algorithm is|
(Image is given in your assignment)
Answer: C. 1
|9.||What will be the output of the algorithm given below?|
(Image is given in your assignment)
Answer: D. Compilation error
|10.||The section of the CPU that selects, interprets and sees to the execution of program instructions.|
Answer: C. Control Unit
Disclaimer: These answers are provided only for the purpose to help students to take references. This website does not claim any surety of 100% correct answers. So, this website urges you to complete your assignment yourself.