 # MCS – 011 Important Question

#### MCS – 011 PROBLEM SOLVING AND PROGRAMMING (BCA) Important Question

1. Draw a Flowchart with an Algorithm for each.
2. Mention the rules of using Big-O notation.

4. Explain variables.? How are variables declared in C? What are the rules to name variables in C? How do assign a value to the variable at the time of declaration? Explain with a suitable example.
5. What are Arithmetical and Logical Operators?
6. Write a program to find the string length without using the stolen () function.
7.  Define the function prototypes with an example for each.
8. Difference between Call by Reference and call by value using an example program for each?
9. What is Recursion? Write the recursion function in C to generate a Fibonacci Series. Explain the following terms with examples in C.
b) Nested if statement
c) Switch statement
d) For loop statement
10. Calculate the Net Salary if the basic TA, TD, allowance& deduction are given using structures.

11. Explain union. Give an example code segment to initialize a union and access a member of a union.
12. Difference between Structure and Union?
13. Define a Pointer. How is a pointer variable different from an array?
14. Illustrate the pointer concept with the help of a program in C.
Pass by value
Pass by reference
15. Write a program to swap the values.
16. Write a program to reverse an input string using pointers.
17. Write the program to test whether the given string is a number palindrome or not.
18. Difference between Sequential and Random Access Files?
19. Write the program to find out the square and cube of a given number using macros.
20. Explain the term File Handling. What is the use of open (), and close () in file handling with an example in C?
21. Explain the use of the following function in C with an example.
22. Write a program in C language to multiply two matrices A and B of size 3*3.
23. Write the program in C to find the all number is Amstrong numbers in the range of 0-999.?
24. Find the largest and smallest number among three numbers given as input. Also, draw a flowchart for these algorithms?
25. Computer Organization and Architecture: What is the basic structure of a computer system? What are the different types of memory and their characteristics? How are data and instructions stored in memory and processed by the CPU?
26. Assembly Language Programming: What is assembly language, and how is it different from high-level languages? How do you write simple programs in assembly language? What is the role of the assembler in converting assembly code to machine code?
27. Computer Networks: What is a computer network, and how does it work? What are the different types of network topologies and protocols? How do you troubleshoot common network problems?
28. Operating Systems: What is an operating system, and what are its functions? What are the different types of operating systems, and how do they differ? What is process management, and how does it work in an operating system?
29. Data Structures and Algorithms: What are data structures, and why are they important? What are the different types of data structures, and how do you implement them in a program? What are algorithms, and how do you analyze their efficiency?
30. Design an algorithm and draw a flowchart and program to convert decimal numbers into binary numbers. Ignou Study materials