B.Sc. (Information Technology) Sem I 2022 2023 PROGRAMMING PRINCIPLES WITH C Question Paper - Mumbai University | munotes
This paper is solved: read the model answers.
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 solutionsSECTION I - 1. (Attempt any three of the following) 15 Marks
-
a. Write an algorithm for finding largest value among three values.Read the model answer
-
b. What do you mean by flowchart? Explain different symbols used in flowchart.Read the model answer
-
c. What are compiler, linker and preprocessor? Explain any two preprocessor.Read the model answer
-
d. Explain following terms in short: A. identifiers B. keywords C. Variable D. Constant E. data types.Read the model answer
-
e. Write a note on typecasting.Read the model answer
-
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
-
a. Explain Arithmetic and relational operator with proper example.Read the model answer
-
b. What do you mean by unary operator and binary operator? Explain with proper example.Read the model answer
-
c. Give the difference between while and do-while.Read the model answer
-
d. When "goto" statements are used? What is the use of "labels".Read the model answer
-
e. Write a program to print day name of the week using Switch case statement.Read the model answer
-
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
-
a. How we define function and call function in C? Explain with proper example.Read the model answer
-
b. Compare inbuilt function with user defined function.Read the model answer
-
c. What do you mean by call by reference in C functions?Read the model answer
-
d. Write a C program to print area of square using function.Read the model answer
-
e. Write a program to swap two numbers using function in C.Read the model answer
-
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
-
a. Why pointers are used in C program? Give reasons.Read the model answer
-
b. Write a C program in C to add two numbers using pointers.Read the model answer
-
c. Discuss character pointer in detail.Read the model answer
-
d. Write a C program to explain the concept of Multidimensional array.Read the model answer
-
e. Write a note on dynamic memory allocation.Read the model answer
-
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
-
a. Write a note on arrays of structure.Read the model answer
-
b. How we define union? Explain with proper example.Read the model answer
-
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
-
d. Write a program to print the structure using: Title, Author, Subject, Book ID. Print details of two books.Read the model answer
-
e. Write a code to copy content of one file to another file.Read the model answer
-
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.
What do you need?
Tap one.
The answers are on this page
You can read the first answer here. The box further down shows how to read all of them.
Read it here, any time
We keep checking and updating our papers and notes, and adding more. A saved copy would be an old version. Reading on munotes.in always gives you the latest one.
I paid, but I can't open it
Please type an email, or a 10-digit phone number.
Done
If we find your payment, we send a link to the email you paid with. Open it to read.
Check your email in 2 minutes. Also check Spam.
No email after 10 minutes?
Something else
Please write a little more, so we can help.
Your email app opens with this. You can add more there. We reply by email.
Something wrong on this page? Report it and we will check it against the scan.
Quick Help
Related Resources
Something wrong with this paper? Report it.