B.Sc. (Computer Science) Sem 2 Programming with C 2018-19 ATKT Question Paper - Mumbai University | munotes
Loading PDF...
Questions asked in this paper
- 2) Figures to the right indicate marks
-
Q3 Draw suitable diagrams and illustrations wherever necessary
-
Q4 Mixing of sub-questions is not allowed
-
Q1 Attempt All the Questions
- A) Choose the correct alternative
- i) Which of the following special symbol allowed in a variable name?
- a. * (asterisk)
- b. | (pipeline)
- c. - (hyphen)
- d. _ (underscore)
- ii) How many times "FYCS" is get printed?
- a. infinite times
- b. 11 times
- d. 10 times
- iii) How can you combine the following two statements into one?
- a. char p = *malloc(100);
- d. char *p *)(malloc*)(100); Paper Code: 77301 Programming with C
- Q. P. Code: 33132
- iv) Which of the following operations can be performed on the file "NOTES.TXT" using the below code?
- a. Reading
- b. Writing
- c. Appending
- d. Read and Write
- v) Ifa variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable? in the blanks: (5M) { argument, 2, continue, or, 3, goto, scanf, function, printf, and }
- i) function is used to display the output on the screen
- ii) statement is used to skip a part of the statements in a loop is true only when both the operands are true
- iv) The function strcat parameters
- v) The parameter used in a function call is called
- C) Explain the following terms in one or two lines (5M)
-
Q1 What is mean by reserved words?
- ii) Inthe function call s1); final result gets stored into which string? What are header files and how are they useful in C programming
- iv) The variables declared in a structure definition are called as?
- v) When is the “void” keyword used ina function? Attempt the following: (Any THREE) (15M) A Differentiate between Interpreter and Compiler Explain the loop structures available in C languages. Explain any one in detail with Explain in brief hierarchy of data type variables in C programming What is the difference between = and == symbols in C programming? Explain with Briefly explain with example working of continue statement in C programming Write a short note on conditional operator Paper Code: 77301 Programming with C Attempt the following: (Any THREE) (15M) Define local variable and global variable. Explain in brief Differentiate between array types of C with list and tuple types of Python C Explain the various ways of initializing one-dimensional integer and character What is putchar? Explain with appropriate example E Explain in detail function prototype F Briefly explain working of st rcmp function
-
Q4 Attempt the following: (Any THREE) (15M) Write a short note on chain of pointers Write a C program for defining pointer variable to the structure. Also initialized structure elements pointed by pointer and print the same C State and explain rules for initializing structure D What does sizeof operator does? Explain with suitable example E Write a C program using pointers to compute the sum of all elements stored in an F What is Unions in C programming? How it is different from Structure
-
Q5 Attempt the following: (Any THREE) (15M) A Explain in brief structure of C program Explain working of increment and decrement operator in C programming? Explain C Explain the nesting of function with appropriate example State and explain example of a function with argument and return values E Write note on fseek function
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.