University of Mumbai BE Biomedical Engineering सत्र २ (इंजीनियरिंग) Important Questions for Structured Programming Approach - Arrays , String Structure and Union
Advertisements
Advertisements
Chapter wise important questions with answers and solutions for Structured Programming Approach in University of Mumbai BE Biomedical Engineering सत्र २ (इंजीनियरिंग).
Write a program to multiply two matrices after checking compatibility.
पाठ: [13] Arrays , String Structure and Union
Write a program to calculate summation of series
1/1! + 2/2! + 3/3! +….+ n/n!
पाठ: [13] Arrays , String Structure and Union
Define union. Compare Structure and Union.
पाठ: [13] Arrays , String Structure and Union
State True or False with reason.
scanf() function is used to input string having multiple words.
पाठ: [13] Arrays , String Structure and Union
State True or False with reason.
In a union, space is allocated to every member individually.
पाठ: [13] Arrays , String Structure and Union
State True or False with reason.
There is no difference between ‘\0’ and ‘0’.
पाठ: [13] Arrays , String Structure and Union
How to create array of structure variable and assign values to its members?
पाठ: [13] Arrays , String Structure and Union
Differentiate between struct and union. When is union preferred over struct? Give on example of each.
पाठ: [13] Arrays , String Structure and Union
Differentiate between structure and union.
पाठ: [13] Arrays , String Structure and Union
Define pointer and its use. Explain array of pointer with example. Write program to swap the values by using call by reference concept.
पाठ: [13] Arrays , String Structure and Union
Write a program to create two integer of size 8 and 7. Initialize the arrays with random values. Sort the arrays in ascending order with the help of user defined function namely “sort array”. Merge these arrays with the help of another user defined function named “merge arrays” which returns a new array. Program should display the arrays before and after sorting, also the merged arrays.
पाठ: [13] Arrays , String Structure and Union
Write a program to calculate number of vowels (a, e, i, o, u) separately in the entered string.
पाठ: [13] Arrays , String Structure and Union
What are structures? Comment on nested structures. Write a program to read Title, Author and price of 10 books using array of structures. Display the records in ascending order of Price.
पाठ: [13] Arrays , String Structure and Union
Write user defined function to implement string concatenation.
पाठ: [13] Arrays , String Structure and Union
Write a C program to
i. Create a 2D array [Matrix] [in main function]
ii. Write a function to read 2D array[Matrix]
iii. Write a function that will return true(1) if entered matrix is symmetric or false(0) is not symmetric.
iv. Print whether entered matrix is symmetric or not [in main function]
पाठ: [13] Arrays , String Structure and Union
Implement string copy function STRCOPY (str1,str2) that copies a string str1 (source) to another string str2 (destination) without using library function.
पाठ: [13] Arrays , String Structure and Union
Write a program to sort given array in ascending order.
पाठ: [13] Arrays , String Structure and Union
Comment on dynamic memory allocation. Write a program to read and store N integers in a Array, where value of N is defined by user. Find minimum and maximum members from the Array.
पाठ: [13] Arrays , String Structure and Union
Explain any 4 functions from string.h header file with suitable examples.
