munotes® Sign in

B.Sc. (Information Technology) Sem I 2022 2023 PROGRAMMING PRINCIPLES WITH C Question Paper - Mumbai University | munotes

MU B.Sc. (Information Technology) student group Free to join

This paper is solved: read the model answers.

PROGRAMMING PRINCIPLES WITH C.pdf
SEM I · 2022-2023 · 1 May 2025

Loading PDF...

Questions asked in this paper

Solved paper All 30 questions answered in full Exam-ready answers, the reasoning behind each one, and what the examiner is looking for. Open the solutions

SECTION I - 1. (Attempt any three of the following) 15 Marks

  1. a. Write an algorithm for finding largest value among three values.
    Read the model answer
  2. b. What do you mean by flowchart? Explain different symbols used in flowchart.
    Read the model answer
  3. c. What are compiler, linker and preprocessor? Explain any two preprocessor.
    Read the model answer
  4. d. Explain following terms in short: A. identifiers B. keywords C. Variable D. Constant E. data types.
    Read the model answer
  5. e. Write a note on typecasting.
    Read the model answer
  6. f. Write pseudo code to find the sum of natural numbers.
    Read the model answer

SECTION II - 2. (Attempt any three of the following) 15 Marks

  1. a. Explain Arithmetic and relational operator with proper example.
    Read the model answer
  2. b. What do you mean by unary operator and binary operator? Explain with proper example.
    Read the model answer
  3. c. Give the difference between while and do-while.
    Read the model answer
  4. d. When "goto" statements are used? What is the use of "labels".
    Read the model answer
  5. e. Write a program to print day name of the week using Switch case statement.
    Read the model answer
  6. f. Write a C program to check number entered is positive or negative.
    Read the model answer

SECTION III - 3. (Attempt any three of the following) 15 Marks

  1. a. How we define function and call function in C? Explain with proper example.
    Read the model answer
  2. b. Compare inbuilt function with user defined function.
    Read the model answer
  3. c. What do you mean by call by reference in C functions?
    Read the model answer
  4. d. Write a C program to print area of square using function.
    Read the model answer
  5. e. Write a program to swap two numbers using function in C.
    Read the model answer
  6. f. Explain stdErr and Exit error handling functions in C.
    Read the model answer

SECTION IV - 4. (Attempt any three of the following) 15 Marks

  1. a. Why pointers are used in C program? Give reasons.
    Read the model answer
  2. b. Write a C program in C to add two numbers using pointers.
    Read the model answer
  3. c. Discuss character pointer in detail.
    Read the model answer
  4. d. Write a C program to explain the concept of Multidimensional array.
    Read the model answer
  5. e. Write a note on dynamic memory allocation.
    Read the model answer
  6. f. Write a C program to show the basic declaration of pointer.
    Read the model answer

SECTION V - 5. (Attempt any three of the following) 15 Marks

  1. a. Write a note on arrays of structure.
    Read the model answer
  2. b. How we define union? Explain with proper example.
    Read the model answer
  3. c. What are the different ways to access the file. Write a code to open a file and to access that file.
    Read the model answer
  4. d. Write a program to print the structure using: Title, Author, Subject, Book ID. Print details of two books.
    Read the model answer
  5. e. Write a code to copy content of one file to another file.
    Read the model answer
  6. f. Discuss the concept of pointers to structure.
    Read the model answer

Read from the scan above, so a character or two may differ. The scan is the original.

Issue

Something wrong on this page? Report it and we will check it against the scan.

Quick Help

No. The full paper opens straight away, with no login and nothing to pay.

Something wrong with this paper? Report it.

Connected Papers
B.Sc. (Information Technology) / Sem I · 71 papers
Browse all →
Questions? Email contact@munotes.in
Done!
Done!