Exam Details

Subject fundamentals of programming – i
Paper
Exam / Course mca(integrated)
Department
Organization Gujarat Technological University
Position
Exam Date January, 2019
City, State gujarat, ahmedabad


Question Paper

1
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA SEMESTER- 2 EXAMINATION WINTER 2018
Subject Code: 3620001 Date: 01-01-2019
Subject Name: Fundamental of Programming II
Time: 02.30 pm to 5.00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1

Answer the following question.
i. What is Pointer?
ii. What is Bitfields?
iii. Define call by reference.
iv. The bitwise AND operator is used for
v. Operator used to access the value of the variable pointed by a pointer.
vi. What is the use of
vii. Differentiate: Text file Binary File.
07

Differentiate: Pointer to an Array Array of Pointer.
07
Q.2

What is Dynamic Memory Allocation? Explain various functions used in Dynamic Memory Allocation.
07

Write a short note on: Null Pointer Void Pointer.
07
OR

Write a short note on: Memory Leak Memory Corruption.
07
Q.3

Write a C program to concatenate two strings using pointer and user define function.
07

What do you mean by Structure? What is difference between array of structure and structure of array?
07
OR
Q.3

How can we declare, access and store value in to structure variables? Explain with example.
07

How structure and Union are differing? Discuss it in detail with example.
07
Q.4

Discuss different input and output functions of file handling used in C Programming.
07

Write a C program to merge two files into the third file.
07
OR
Q.4

Discuss various functions to access files randomly in brief with example.
07

Write an algorithm to insert a node into Singly Link List.
07
Q.5

What do you mean by Linked List? Discuss the various advantages and disadvantages of Linked List.
07

Discuss with figure and compare: Doubly Linked List and Circular Doubly Linked List.
07
OR
Q.5

Describe Preprocessor with at least three preprocessor directives with example.
07

Discuss Command Line Argument in detail. Also write a C program using Command Line Argument.
07



Subjects

  • advanced c programming (adv – c)
  • advanced python
  • basic mathematics for it
  • big data
  • c++ with class libraries (cpp)
  • communication skills - ii
  • communication skills-1
  • cyber security and forensics (csf)
  • data analytics with r
  • data structure
  • database management systems
  • discrete mathematics for computer science (dmcs)
  • environmental studies
  • fundamentals of computer
  • fundamentals of database management systems
  • fundamentals of networking
  • fundamentals of programming – i
  • fundamentals of web
  • information security
  • java programming
  • machine learning
  • management information systems (mis)
  • mobile programming
  • network security
  • operating system
  • operations research
  • python (py)
  • software engineering
  • software testing
  • statistical methods
  • uml & object oriented modeling
  • web development tools