munotes®

BSc CS Sem 2 BSc CS Semester 2 (ATKT) 2019 2020 Nov 2020 ATKT C PROGRAMMING Question Paper - Mumbai University | munotes

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

Loading PDF...

Older exam Nov 2020 - ATKT DATA STRUCTURES Semester-end · BSc CS Semester 2 (ATKT) 2019 2020
Newer exam None yet: this is the latest New papers land after each exam season.

Questions asked in this paper

  • 2) Figures to the right indicate marks
  1. Q3 Illustrations, in-depth answers and diagrams will be appreciated
  2. Q4 Mixing of sub-questions is not allowed
  3. Q1 Attempt All(Each of
    • (A) Choose the correct option C programs are converted into machine level language with the help of
    • A. An Editor
    • B. B.A compiler
    • D. D. none of these
  4. Q2 What is sizeof() in C2?
    • A. Operator
    • B. B. Function
    • C. C.Macro
    • D. D.Variable Find the output for following code
    • B. compilation error
    • D. D.undefined 4 What should be the output?
  5. Q5 Find the output for following code?
    • D. compilation error
    • (B) Fill in the blanks variable that represents the location of data item in provides code reusability by calling function with in
  6. Q4 The process of converting one predefined type into another is is a collection of similar type of data Write answer in one or two lines What is the use of goto statement?
  7. Q2 What are header files?
  8. Q3 What is recursive function?
  9. Q4 What is union?
  10. Q5 Explain fopen() function
  11. Q2 Attempt the following (Any THREE)(Each of 5Marks) 15M
    • a. Write a simple structure of C program
    • b. Give the difference between interpreters and compilers
    • c. Write a C program to find greatest number among three numbers
    • d. Write a note on scope of variable in C
    • e. Explain increment and decrement operator with example
    • f. Explain while and do while loop with proper example
  12. Q3 the following (Any THREE) (Each of SMarks) ISM
    • (a) Write ac program to show the use of one dimensional array
    • (b) Compare C array and list with tuple in python
    • (c) Explain following functions:
    • (d) Write a C program using function to find whether entered number is prime or
    • (e) Explain following string functions with proper example:
    • (f) What is recursion ? Explain with proper example
  13. Q4 the following (Any THREE) (Each of SMarks) 15M
    • (a) What are different memory allocation functions? Explain with proper example
    • (b) Create a structure student with roll no, name, contact number, marks. Accept name and marks from student and find grade for it. (grade A for 65 or above, grade B for 55 to 64, grade C for 40 to 54 and grade F for below 40)
    • (c) Write a note on different types of files,
    • (d) Explain different file modes in deails
    • (e) Explain pointers as function arguments with proper example
    • (f) Compare C garbage collection with Python garbage collection 0.5 Attempt the following (Any THREE) (Each of
    • (a) Explain following functions :
    • (b) Write a note on local and global variable
    • (c) Explain use of goto statement with proper example
    • (d) How break statement can be used in switch statement?
    • (e) Write a note on type conversion,

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!