NPTEL Problem solving through Programming In C Programming Exam Unprotected Oct 2022| Swayam 2022. With the growth of Information and Communication Technology, there is a need to develop large and complex software.
ABOUT THE COURSE:
- 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
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
- Week 12 : Advanced Topics
Once again, thanks for your interest in our online courses and certification. Happy learning!
Programming Exam Unprotected Oct 2022
Programming Exam Oct 2022 (First Session): (10AM - 11AM)
Course Name : “Problem Solving through Programming In C 2022”
Program : 1 Write a C program which accept date, month and year as Input from the user, and using switch case, display the date in worded format.
Input: day=16, month=7, y=1992
Output: 16th July, 1992
Course Name : “Problem Solving through Programming In C 2022”
Program : 2 Write a C program to print a hollow rectangle pattern using “*” symbol. The number of rows and columns is accepted from the test case data.
For row = 5 and columns = 6 The output will be
Programming Exam Oct 2022 (Second Session): (8PM - 9PM)
Course Name : “Problem Solving through Programming In C 2022”
Program : 1 Write a C program to replace a word in a given sentence with a given string and print the new sentence.
For example:
If the given sentence is : I like to play Tabla
Word to be replaced is : Tabla
Word to be replaced with: Guitar
The new sentence will be printed as: I like to play Guitar
Course Name : “Problem Solving through Programming In C 2022”
Program : 2 Write a C program to print a triangle of prime numbers upto given number of lines of the triangle.
Example:
If number of lines is 3
the triangle will be
2
3 5
7 11 13