IGNOU MCS-201 Programming in C and Python - Latest Solved Assignment
Get IGNOU MCS-201 Assignments Soft Copy ready for Download in PDF for (January 2024 – July 2024) in English Language.
- Helps save time and effort-really well
- Promises Good Marks in Less Time
- Answers that are verified and accurate
- Based on IGNOU Guidelines.
- Description
- Previous Year Solved Question Papers Included
- Assignments Details
- Assignment Submission End Date
- What's Included
PLEASE MATCH YOUR ASSIGNMENT QUESTIONS ACCORDING TO YOUR SESSION
IGNOU MCS-201 (January 2024 – July 2024) Assignment Questions
SECTION-A (C-Programming)
Q1: Briefly discuss the concept of “Call by value” and “Call by reference”. Give example code in C for each. Support your code with suitable comments.
Q2: Briefly discuss the relation between Pointers and Arrays, giving suitable example. Write a program in C, to print transpose of a 2D matrix entered by a user. Support your program with suitable comments.
Q3: Write an algorithm to find the slope of a line segment whose end point coordinates are (x1, y1) and (x2, y2). The algorithm gives output whether the slope is positive, negative or zero. Transform your algorithm to C program.
Note : Slope of line segment = (y2 – y1) / (x2 – x1)
Q4: Write an algorithm to find the HCF (Highest Common Factor) of the two numbers entered by a user. Transform your algorithm to a C program, support your program with suitable comments.
SECTION-B (PYTHON-Programming)
Q1: Discuss the connect( ) method of MySQL. Connector interface. List the arguments involved with connect( ) method. Write Python code to create database student_DB and to connect to student_DB (make suitable assumptions wherever necessary).
Q2: What are Pandas ? Write steps to import, read and print a CSV file using Pandas. Also, transform your steps in to suitable code in Python.
Q3: Write steps to create a package. Apply these steps to create a package named volume and create 3 modules in it named cube, cuboid and sphere, having function to calculate volume of the cube, cuboid and sphere respectively. Import the modules defined in the package and use the defined functions for calculation of volume respectively.
Q4: What does map( ) function do ? Write a program in Python to print the cube of the numbers present in the list, by using map( ) function.
IGNOU MCS-201 (January 2023 – July 2023) Assignment Questions
SECTION-A (C-Programming)
Q1: Compare flowchart and algorithm. Write Algorithm and also draw flowchart to perform following:
a. Find factorial of a number entered by user.
b. Print Fibonacci series up to the number of terms entered by the uses
Q2: Differentiate between Recursion and Iteration. Give suitable code to find factorial of a number entered by user in C for each.
Q3: Explain the concept of call by reference, with suitable code in C for each. Give advantage and disadvantage of call by reference
Q4: Write an algorithm to find the HCF (Highest Common Factor) of the two numbers entered by a user. Transform your algorithm into a C program, support your program with suitable comments.
Q5: Briefly discuss the relation between pointers and arrays, giving suitable example. Write a program in C, to print transpose of a 2D matrix entered by a user. Also give comments.
Q6: Write the syntax of looping control statements. Also draw the flowchart for each statement. Write a program in C to generate the following pattern :
*
* *
* * *
Q7: Differentiate between Random access and Sequential access of files in C. Discuss the syntax and role of fseek( ) and rewind( ) function, while accessing any file.
Q8: Compare any two of the following (give suitable C code for each):
c. Break and Continue Statement
d. Structure and Union
SECTION-B (PYTHON-Programming)
Q9: What is C-Python? Briefly discuss the relation between framework, library, package and module in Python.
Q10: Differentiate between mutable and immutable data types in Python. Briefly discuss the following data types of Python:
e. Lists
f. Tuples
g. Dictionary
Q11: What is the utility of map( ) function do ? Write a program in Python to print the square of the numbers present in the list, by using map( ) function.
Q12: Compare overloading and overriding in Python. Give suitable example code for each in Python.
Q13: Write Python code to perform the following :
h. Reading data from a file
i. Creating a file and add content to it
Q14: What are Lambda functions ? How do Lambda functions differ from Built-in functions ? Write lambda function to calculate cube of a number. Also write the program to find cube of a number without using lambda function.
Q15: Differentiate between the following with the help of suitable example for each :
j. Co-routines and subroutines
k. Co-routines and threads
Q16: What are Cursor Objects ? Briefly discuss the utility of cursor objects. Write Python code for a cursor to execute the SQL query, to print the version of database. Support your program with suitable comments.
MCS-201 Assignments Details
University | : | IGNOU (Indira Gandhi National Open University) |
Title | : | Programming in C and Python |
Language(s) | : | English |
Code | : | MCS-201 |
Degree | : | |
Subject | : | C and Python programming |
Course | : | Core Courses (CC) |
Author | : | Gullybaba.com Panel |
Publisher | : | Gullybaba Publishing House Pvt. Ltd. |