N Nexsus

Basic Computer Programming — Minor 2 2023 question paper

MMMUT Mechanical Engineering previous year question paper for Basic Computer Programming (BCS-105), semester 1, Minor 2 2023. All 8 questions are listed below, each with a written answer on Nexsus.

Paper details

  • Subject: Basic Computer Programming (BCS-105)
  • Branch: Mechanical Engineering
  • Semester: 1
  • Exam: Minor 2 2023
  • Questions: 8

Questions asked in Basic Computer Programming Minor 2 2023

  1. Q1. Attempt any Two parts of the following. Q. 1 (a) is compulsory.
  2. Q1(a). What do you mean by call by value and call by reference? Write a program to reverse the string using recursion. [3 marks]
  3. Q1(b). Write the advantages of using array. Write a program for matrix multiplication of two matrix elements. [2 marks]
  4. Q1(c). Explain String. Explain the significance of null character in string. [2 marks]
  5. Q2. Attempt any Two parts of the following. Q. 2 (a) is compulsory.
  6. Q2(a). Explain the importance of pointers in C. Write a program to display the total memory size occupied by union members. [3 marks]
  7. Q2(b). Explain the term - (i) Referencing (ii) Dereferencing [2 marks]
  8. Q2(c). How to declare and initialize structure? Explain with example. [2 marks]