Mon. Feb 26th, 2024

MCS-011 Solved Assignment 2023-24


MCS-011 Solved Assignment 2023-24

Course Code


Course Title Problem Solving and Programming
Assignment Number BCA(II)/011/Assignment/2023-24
Maximum Marks 100
Last Dates for Submission 31 st October, 2023 (For July Session)

30 th April, 2024 (For January Session

Note: There are seven questions in this assignment, which carry 80 marks. Rest 20 marks are for viva-voce. Answer all the questions. You may use illustrations and diagrams to enhance the explanations. Please go through the guidelines regarding assignments given in the Programme Guide for the format of presentation.


Q1. Write an algorithm, draw corresponding flow chart and write an interactive program which prompts the user with the following options on the opening menu: 

1) To accept two integers and check whether they are equal or not

2) To check whether a given number is even or odd

3) To check whether a given number is a positive number or a negative number

4) Quit

Enter your choice:

Note: Use SWITCH..CASE statement.


Q2. Write the functions in C for the following: 

(a) To find the square of any number.

(b) To find the absolute difference between two integers.

(c) To convert a decimal number to its equivalent binary number.

(d) To find the largest element in a given array of n elements.


Q3. Write an interactive program using recursion for each of the following: 

(a) To count the digits of a given number.

(b) To reverse a string

(c) To find the least-common-multiple of two numbers.


Q4. Write interactive C programs to perform the following on strings: 

(a) To find the length of a given string without using the string library functions.

(b) To compare two strings without using string library functions.

(c)To count the total number of vowels and consonants in a string and display the counts separately.


Q5. Write an interactive C program to insert new elements in the unsorted array. 


Q6. Using Structures in C, write an interactive program to display the mark-sheet and grade card for 10 students for a MOOC course. 

Note: Assumptions can be made wherever necessary and mention them.


Q7. Using File Handling concept in C programming, write the C programs for the following: 

(a) To find the number of lines in a text file.

(b) To delete specific line from a text file.

(c) To copy a file to another folder with a different file-name.


MCS-011 Solved Assignment 2023-24


Thank You

MCS-011 Solved Assignment 2023-24,MCS-011 Solved Assignment 2023-24

Leave a Reply

Your email address will not be published. Required fields are marked *

Insert math as
Additional settings
Formula color
Text color
Type math using LaTeX
Nothing to preview
error: Content is protected !!