munotes®

BSc CS Sem 2 BSc CS Semester 2 (ATKT) 2018 2019 2019 ATKT Programming With C Question Paper - Mumbai University | munotes

BSc CS Semester 2 (ATKT) 2018 2019 Question Paper, 2018.pdf
SEM 2 · BSc CS Semester 2 (ATKT) 2018-2019 · 1 May 2025

Loading PDF...

Questions asked in this paper

  • 2) Figures to the right indicate marks
  1. Q3 Draw suitable diagrams and illustrations wherever necessary
  2. Q4 Mixing of sub-questions is not allowed
  3. 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)
  4. 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
  5. 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
  6. 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.

Report or request

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
BSc CS / Sem 2 · 47 papers
Browse all →
Questions? Email contact@munotes.in
Done!
Done!