#1 Best Selling IGNOU Assignments in All Available in Market
Bought By: 5714 Students
Rating:
Get IGNOU MCS-201 Assignments Soft Copy ready for Download in PDF for (January 2024 - July 2024) in English Language.
Are you looking to download a PDF soft copy of the Solved Assignment MCS-201 - Programming in C and Python? Then GullyBaba is the right place for you. We have the Assignment available in English language.
This particular Assignment references the syllabus chosen for the subject of C and Python programming, for the January 2024 - July 2024 session. The code for the assignment is MCS-201 and it is often used by students who are enrolled in the PGDCA (New) Degree.
Once students have paid for the Assignment, they can Instantly Download to their PC, Laptop or Mobile Devices in soft copy as a PDF format. After studying the contents of this Assignment, students will have a better grasp of the subject and will be able to prepare for their upcoming tests.
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.
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.
The IGNOU open learning format requires students to submit study Assignments. Here is the final end date of the submission of this particular assignment according to the university calendar.
Here are the PDF files that you can Download for this Assignment. You can pick the language of your choice and see other relevant information such as the Session, File Size and Format.
In this section you can find other relevant information related to the Assignment you are looking at. It will give you an idea of what to expect when downloading a PDF soft copy from GullyBaba.
In addition to this Assignment, there are also other Assignments related to the PGDCA (New) C and Python programming you are preparing for. Here we have listed other Assignments that were bought along with this one.