Exam Details

Subject fundamentals of programming (fop)
Paper
Exam / Course mca
Department
Organization Gujarat Technological University
Position
Exam Date May, 2018
City, State gujarat, ahmedabad


Question Paper

Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA SEMESTER- I EXAMINATION SUMMER 2018
Subject Code: 610001 Date: 19/05/2018
Subject Name: Fundamentals of Programming
Time: 02:30 P.M. to 05:00 P.M. 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
i. Explain term constant, symbolic constant and literal.
ii. Differentiate between algorithm and pseudo code.
03
04

Explain various symbols of flow chart and draw a flowchart to find maximum of three numbers.
07
Q.2

Differentiate between following:-
i. Constant pointer and pointer to constant
ii. int and int
03
04

What is an array? Write a program to sort n element using user define function.
07
OR

Write a program to multiply two matrices using user define function.
07
Q.3

What is recursion? Write a recursive function to convert any decimal number to binary number.
07

Explain various storage class in detail.
07
OR
Q.3

Explain malloc, calloc, realloc and free function in detail.
07

Differentiate between macro and function with suitable example.
07
Q.4

Differentiate between enum, structure and union with suitable example.
07

Write a program to perform following operations on singly linked list
i. Add node at end of list
ii. Delete node
iii. Search node
03
03
01
OR
Q.4

Differentiate between array name and pointer. Write a program sort string array using pointer.
07

Write short note on command line arguments and its usage and also write a program to make a DOS command "copy con" which shows the contents of given file.
07
Q.5

Differentiate between
i. ftell() and fseek() functions
ii. void pointer and NULL pointer
iii. binary file and text file
02
02
03

Explain #ifdef undef and #ifndef preprocessor with example
07
OR
Q.5

Write down the output of following code snippet
void main()

int
int


#define swap(a,b)
void main()

static int


printf("%d

03
04

Write short note on following:
i. bitwise operator
ii. #pragma
iii. bitfield
03
02
02


Other Question Papers

Subjects

  • advance database management system
  • advanced biopharmaceutics & pharmacokinetics
  • advanced medicinal chemistry
  • advanced networking (an)
  • advanced organic chemistry -i
  • advanced pharmaceutical analysis
  • advanced pharmacognosy-1
  • advanced python
  • android programming
  • artificial intelligence (ai)
  • basic computer science-1(applications of data structures and applications of sql)
  • basic computer science-2(applications of operating systems and applications of systems software)
  • basic computer science-3(computer networking)
  • basic computer science-4(software engineering)
  • basic mathematics
  • basic statistics
  • big data analytics (bda)
  • big data tools (bdt)
  • chemistry of natural products
  • cloud computing (cc)
  • communications skills (cs)
  • computer aided drug delivery system
  • computer graphics (cg)
  • computer-oriented numerical methods (conm)
  • cyber security & forensics (csf)
  • data analytics with r
  • data mining
  • data structures (ds)
  • data visualization (dv)
  • data warehousing
  • data warehousing & data mining
  • database administration
  • database management system (dbms)
  • design & analysis of algorithms(daa)
  • digital technology trends ( dtt)
  • discrete mathematics for computer science (dmcs)
  • distributed computing (dc1)
  • drug delivery system
  • dynamic html
  • enterprise resource planning (erp)
  • food analysis
  • function programming with java
  • fundamentals of computer organization (fco)
  • fundamentals of java programming
  • fundamentals of networking
  • fundamentals of programming (fop)
  • geographical information system
  • image processing
  • industrial pharmacognostical technology
  • information retrieving (ir)
  • information security
  • java web technologies (jwt)
  • language processing (lp)
  • machine learning (ml)
  • management information systems (mis)
  • mobile computing
  • molecular pharmaceutics(nano tech and targeted dds)
  • network security
  • object-oriented programming concepts & programmingoocp)
  • object-oriented unified modelling
  • operating systems
  • operation research
  • operations research (or)
  • pharmaceutical validation
  • phytochemistry
  • procedure programming in sql
  • programming skills-i (ps-i-fop)
  • programming skills-ii (ps-oocp)
  • programming with c++
  • programming with java
  • programming with linux, apache,mysql, and php (lamp)
  • programming with python
  • search engine techniques (set)
  • soft computing
  • software development for embedded systems
  • software engineering
  • software lab (dbms: sql & pl/sql)
  • software project in c (sp-c)
  • software project in c++ (sp-cpp)
  • software quality and assurance (sqa)
  • statistical methods
  • structured & object oriented analysis& design methodology
  • system software
  • virtualization and application of cloud
  • web commerce (wc)
  • web data management (wdm)
  • web searching technology and search engine optimization
  • web technology & application development
  • wireless communication & mobile computing (wcmc)
  • wireless sensor network (wsn)