Nptel Problem Solving Through Programming In C Week 1 Assignment Answers

Searching for the Nptel Problem Solving Through Programming In C Week 1 Assignment Answers course? You’re in the right spot! Here, you’ll find reliable and up-to-date solutions to help you complete your Weekly assignment with confidence.

Nptel Problem Solving Through Programming In C Week 1 Assignment Answers

Problem Solving through Programming in C

ABOUT THE 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
INTENDED AUDIENCE : BE/BTech  in all disciplines BCA/MCA/M. Sc
INDUSTRY SUPPORT   : All IT Industries

COURSE LAYOUT – Click To Know More

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
Week 12 : Advanced Topics

Books and references

Textbooks:
1. Byron Gottfried, Schaum’s Outline of Programming with C, McGraw-Hill
2.  E. Balaguruswamy, Programming in ANSI C, Tata McGraw-Hill

Reference Books
:
1. Brian W. Kernighan and Dennis M. Ritchie, The C Programming Language, Prentice Hall of India
Unlocking the fundamentals of C programming, the NPTEL Weekly assignment is designed to introduce learners to the core concepts of this  language. From understanding C’s syntax and structure to writing simple programs, this week lays the foundation for a deeper journey into C development. In this post, we provide clear and concise solutions to the Weekly assignment, ensuring clarity for beginners while adhering to academic integrity and learning goals. Dive in to reinforce your concepts and validate your approach.
Get All Week Nptel Assignment Answers – Click Here

Nptel Problem Solving Through Programming In C Week 1 Assignment Answers

Que. 1) Set of instructions to be provided to an electronic machine to perform a task is called
A) Programming
B) Processing
C) Computing
D) Compiling

View Answer


Que. 2) 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

View Answer


Que. 3) 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

View Answer


Que. 4) What type of device is a computer printer?
A) Memory
B) Output
C) Storage
D) Input

View Answer

For Latest Update Join our official channel: Click here to join


Que. 5) 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 to solve logical problems only

View Answer


Que. 6) When we write X=10 and Y=X, which of the following memory assignment is correct?
A) X and Y will have the same location and 10 will be stored
B) X and Y will have two distinct locations and 10 will be stored in both
C) X and Y will have the same location, and only X will contain value 10
D) X and Y will have two distinct locations, and only X will contain value 10

View Answer


Que. 7) The input N from the user is 6. The output of the following algorithm is
A) 21
B) 720
C) 1
D) 2

View Answer


Que. 8) What will be the output of the algorithm given below?
A) 51
B) 52
C) 50
D) Compilation error

View Answer

For Latest Update Join our official channel: Click here to join


Que. 9) The following algorithm is used to find a number X is even or odd. What will be the content of the empty box?
A) X%10=0?
B) X/10=0?
C) X/2=0?
D) X%2=0?

View Answer


Que. 10) X is an integer (X=2648). The print value of Y of the flowchart below is
A) 20
B) 22664488
C) 8462
D) 0

View Answer

Nptel Problem Solving Through Programming In C Week 2 Assignment Answers Click Here