1 of 55

## What's hot

Analysis of algorithms
Analysis of algorithmsGanesh Solanke

Algorithms Lecture 2: Analysis of Algorithms I
Algorithms Lecture 2: Analysis of Algorithms IMohamed Loey

Algorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to AlgorithmsMohamed Loey

Data structures question paper anna university
Data structures question paper anna universitysangeethajames07

Algorithms Lecture 4: Sorting Algorithms I
Algorithms Lecture 4: Sorting Algorithms IMohamed Loey

Programming in ansi C by Balaguruswami
Programming in ansi C by BalaguruswamiPriya Chauhan

Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmDhaval Kaneria

Lecture 2 role of algorithms in computing
Lecture 2 role of algorithms in computingjayavignesh86

Asymptotic Notations
Asymptotic NotationsRishabh Soni

Algorithms Lecture 8: Pattern Algorithms
Algorithms Lecture 8: Pattern AlgorithmsMohamed Loey

Introduction to design and analysis of algorithm
Introduction to design and analysis of algorithmDevaKumari Vijay

Data Structure and Algorithms Linked List
Data Structure and Algorithms Linked ListManishPrajapati78

Design and analysis of algorithms
Design and analysis of algorithmsDr Geetha Mohan

Architecture of net framework
Architecture of net frameworkumesh patil

Unit 1 introduction to data structure
Unit 1 introduction to data structurekalyanineve

Additional Relational Algebra OperationsA. S. M. Shafi

Dinive conquer algorithm
Dinive conquer algorithmMohd Arif

### What's hot(20)

Analysis of algorithms
Analysis of algorithms

Algorithms Lecture 2: Analysis of Algorithms I
Algorithms Lecture 2: Analysis of Algorithms I

Algorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to Algorithms

String operation
String operation

Data structures question paper anna university
Data structures question paper anna university

Algorithms Lecture 4: Sorting Algorithms I
Algorithms Lecture 4: Sorting Algorithms I

Programming in ansi C by Balaguruswami
Programming in ansi C by Balaguruswami

Introduction to data structures and Algorithm
Introduction to data structures and Algorithm

Lecture 2 role of algorithms in computing
Lecture 2 role of algorithms in computing

Asymptotic Notations
Asymptotic Notations

Algorithms Lecture 8: Pattern Algorithms
Algorithms Lecture 8: Pattern Algorithms

Introduction to design and analysis of algorithm
Introduction to design and analysis of algorithm

Data Structure and Algorithms Linked List
Data Structure and Algorithms Linked List

Rehashing
Rehashing

Design and analysis of algorithms
Design and analysis of algorithms

Architecture of net framework
Architecture of net framework

Unit 1 introduction to data structure
Unit 1 introduction to data structure

Dinive conquer algorithm
Dinive conquer algorithm

## Viewers also liked

VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...vtunotesbysree

VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015vtunotesbysree

VTU 8TH SEM CSE ADHOC NETWORKS SOLVED PAPERS OF JUNE-2014 DEC-14 & JUNE-2015
VTU 8TH SEM CSE ADHOC NETWORKS SOLVED PAPERS OF JUNE-2014 DEC-14 & JUNE-2015vtunotesbysree

VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...vtunotesbysree

VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION) SOLVED PAPERS
VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION) SOLVED PAPERSvtunotesbysree

MULTIPLE CHOICE QUESTIONS WITH ANSWERS ON NETWORK MANAGEMENT SYSTEMS
MULTIPLE CHOICE QUESTIONS WITH ANSWERS ON NETWORK MANAGEMENT SYSTEMSvtunotesbysree

VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERSvtunotesbysree

MULTIPLE CHOICE QUESTIONS WITH ANSWERS ON WIRELESS SENSOR NETWORKS
MULTIPLE CHOICE QUESTIONS WITH ANSWERS ON WIRELESS SENSOR NETWORKSvtunotesbysree

VTU 5TH SEM CSE SOFTWARE ENGINEERING SOLVED PAPERS - JUN13 DEC13 JUN14 DEC14 ...
VTU 5TH SEM CSE SOFTWARE ENGINEERING SOLVED PAPERS - JUN13 DEC13 JUN14 DEC14 ...vtunotesbysree

SOLUTION MANUAL OF WIRELESS COMMUNICATIONS BY THEODORE S RAPPAPORT
SOLUTION MANUAL OF WIRELESS COMMUNICATIONS BY THEODORE S RAPPAPORTvtunotesbysree

MULTIPLE CHOICE QUESTIONS ON COMMUNICATION PROTOCOL ENGINEERING
MULTIPLE CHOICE QUESTIONS ON COMMUNICATION PROTOCOL ENGINEERINGvtunotesbysree

VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...
VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...vtunotesbysree

SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...vtunotesbysree

### Viewers also liked(13)

VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...

VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015

VTU 8TH SEM CSE ADHOC NETWORKS SOLVED PAPERS OF JUNE-2014 DEC-14 & JUNE-2015
VTU 8TH SEM CSE ADHOC NETWORKS SOLVED PAPERS OF JUNE-2014 DEC-14 & JUNE-2015

VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...

VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION) SOLVED PAPERS
VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION) SOLVED PAPERS

MULTIPLE CHOICE QUESTIONS WITH ANSWERS ON NETWORK MANAGEMENT SYSTEMS
MULTIPLE CHOICE QUESTIONS WITH ANSWERS ON NETWORK MANAGEMENT SYSTEMS

VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS

MULTIPLE CHOICE QUESTIONS WITH ANSWERS ON WIRELESS SENSOR NETWORKS
MULTIPLE CHOICE QUESTIONS WITH ANSWERS ON WIRELESS SENSOR NETWORKS

VTU 5TH SEM CSE SOFTWARE ENGINEERING SOLVED PAPERS - JUN13 DEC13 JUN14 DEC14 ...
VTU 5TH SEM CSE SOFTWARE ENGINEERING SOLVED PAPERS - JUN13 DEC13 JUN14 DEC14 ...

SOLUTION MANUAL OF WIRELESS COMMUNICATIONS BY THEODORE S RAPPAPORT
SOLUTION MANUAL OF WIRELESS COMMUNICATIONS BY THEODORE S RAPPAPORT

MULTIPLE CHOICE QUESTIONS ON COMMUNICATION PROTOCOL ENGINEERING
MULTIPLE CHOICE QUESTIONS ON COMMUNICATION PROTOCOL ENGINEERING

VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...
VTU 7TH SEM CSE DATA WAREHOUSING AND DATA MINING SOLVED PAPERS OF DEC2013 JUN...

SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...

## Similar to VTU 1ST SEM PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPERS OF JUNE-2015 & DECEMBER-2015

17432 object oriented programming
17432 object oriented programmingsoni_nits

FDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docjaba kumar

ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]
ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]Mumbai B.Sc.IT Study

[Question Paper] Advanced SQL (Revised Course) [April / 2014]
[Question Paper] Advanced SQL (Revised Course) [April / 2014]Mumbai B.Sc.IT Study

[Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014]
[Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014]Mumbai B.Sc.IT Study

[Question Paper] C++ and Java (Old Course) [June / 2014]
[Question Paper] C++ and Java (Old Course) [June / 2014]Mumbai B.Sc.IT Study

MCA-ASS-Semester V.pdf
MCA-ASS-Semester V.pdfShubbyyChan

Oop r&amp;s may 2019 (2)
Oop r&amp;s may 2019 (2)ktuonlinenotes

[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...Mumbai B.Sc.IT Study

BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]
BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]Mumbai B.Sc.IT Study

B.Sc.IT: Semester - VI (December - 2017) [IDOL - Revised Course | Question Pa...
B.Sc.IT: Semester - VI (December - 2017) [IDOL - Revised Course | Question Pa...Mumbai B.Sc.IT Study

### Similar to VTU 1ST SEM PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPERS OF JUNE-2015 & DECEMBER-2015(20)

Pcd201516
Pcd201516

Cs8251 faq1
Cs8251 faq1

17432 object oriented programming
17432 object oriented programming

FDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.doc

ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]
ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]

[Question Paper] Advanced SQL (Revised Course) [April / 2014]
[Question Paper] Advanced SQL (Revised Course) [April / 2014]

2013-June: 7th Semester ISE Question Papers
2013-June: 7th Semester ISE Question Papers

7th Semester Information Science (2013-June) Question Papers
7th Semester Information Science (2013-June) Question Papers

7th Semester Computer Science (2013-June) Question Papers
7th Semester Computer Science (2013-June) Question Papers

7th cs june 2013
7th cs june 2013

2013-June: 7th Semester CSE Question Papers
2013-June: 7th Semester CSE Question Papers

[Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014]
[Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014]

2. cs8451 daa anna univ question bank unit 2
2. cs8451 daa anna univ question bank unit 2

[Question Paper] C++ and Java (Old Course) [June / 2014]
[Question Paper] C++ and Java (Old Course) [June / 2014]

MCA-ASS-Semester V.pdf
MCA-ASS-Semester V.pdf

Oop r&amp;s may 2019
Oop r&amp;s may 2019

Oop r&amp;s may 2019 (2)
Oop r&amp;s may 2019 (2)

[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...

BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]
BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]

B.Sc.IT: Semester - VI (December - 2017) [IDOL - Revised Course | Question Pa...
B.Sc.IT: Semester - VI (December - 2017) [IDOL - Revised Course | Question Pa...

Virtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat

11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdfHafizMudaserAhmad

complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62

Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE

Risk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectErbil Polytechnic University

Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774

Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913

THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian

Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB

Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303

Earthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld

chpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMM
chpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMMNanaAgyeman13

multiple access in wireless communication

Main Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat

Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441

Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Sumanth A

Virtual memory management in Operating System
Virtual memory management in Operating System

11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf

complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...

Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx

Risk Management in Engineering Construction Project
Risk Management in Engineering Construction Project

Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt

Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg

THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION

Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv

Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx

Designing pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptx

Earthing details of Electrical Substation
Earthing details of Electrical Substation

POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes examples

chpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMM
chpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMM

Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf

multiple access in wireless communication
multiple access in wireless communication

Main Memory Management in Operating System
Main Memory Management in Operating System

Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...

Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...

### VTU 1ST SEM PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPERS OF JUNE-2015 & DECEMBER-2015

• 1.
• 2. For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit http://victory4sure.weebly.com/
• 3. For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit http://victory4sure.weebly.com/
• 4. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 1 1 a. What are data types? Mention the different data types supported by C language, giving an example to each. (5 Marks) Ans: 1 b. Write a C program which takes as input p, t, r. Compute the simple interest and display the result. (5 Marks) Ans:
• 5. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 2 1 c. What is an operator? List and explain various types of operators. (10 Marks) Ans:
• 6. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 3
• 7. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 4 2 a. What is a token? What are the different types of tokens available in C language? Explain. (08 Marks) Ans:
• 8. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 5 2 b. Write C expressions corresponding to the following (Assume all quantities are of same type) (06 Marks) Ans: 2 c. What is the value of ‘x’ in the following code segments? Justify your answers: (06 Marks) Ans:
• 9. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 6 3 a. What are the different types of conditional decision making statements? Explain each with example. (10 Marks) Ans:
• 10. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 7
• 11. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 8
• 12. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 9 3 b. Write a C program to simulate simple calculator that performs arithmetic operations using switch statements. Error message should be displayed, if any attempt is to made to divide by zero. (10 Marks) Ans:
• 13. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 10 4 a. Explain with example formatted input output statements in C. (06 Marks) Ans:
• 14. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 11 4 b. List four differences between while loop and do-while loop along with syntax and example. (06 Marks) Ans:
• 15. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 12 4 c. Design and develop a C program to reverse a given four digit integer number and check whether it is a palindrome or not. (08 Marks) Ans:
• 16. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 13 5 a. What is an array? Explain different methods of initialization of single dimensional arrays. (06 Marks) Ans:
• 17. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 14
• 18. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 15 5 b. Write a C program to read N integers into an array A and to i) find the sum of odd numbers ii) find the sum of even numbers iii) find the average of all numbers Output the results computed with appropriate headings. (06 Marks) Ans:
• 19. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 16 5 c. How string is declared and initialized? Explain any FOUR string manipulation functions with examples. (08 Marks) Ans:
• 20. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 17
• 21. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 18 6 a. Explain function call, function definition and function prototype with examples to each. (06 Marks) Ans:
• 22. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 19 6 b. What are actual parameters and formal parameters? Illustrate with example. (06 Marks) Ans: 6 c. What is recursion? Write a C program to compute the factorial of a given number ‘n’ using recursion. (08 Marks) Ans:
• 23. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 20 7 a. How structure is different from an array? Explain declaration of a structure with an example. (06 Marks) Ans:
• 24. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 21 7 b. Explain with an example, how to create a structure using ‘typedef’. (04 Marks) Ans:
• 25. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 22 7 c. Write a C program to input the following details of ‘N’ students using structure: Roll No: integer, name: string, marks: float, grade: char Print the names of the students with marks >= 60.0%. (10 Marks) Ans:
• 26. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 23 8 a. Explain following file operations along with syntax and examples: i)fopen() ii)fclose() iii)fscanf() iv) fprintf() v)fgets(). (10 Marks) Ans:
• 27. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 24 8 b. Write a C program to read the contents from the file called abc: text, count the number of characters, number of lines and number of white spaces and output the same. (10 Marks) Ans:
• 28. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 25 8 a. Define pointer variable. Explain with an example, the declaration and initialization of pointer variable. (06 Marks) Ans:
• 29. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 26 8 b. Explain following C functions along with syntax and example to each. i) malloc() ii) calloc() iii) realloc iv) free() (08 Marks) Ans:
• 30. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 27 8 c. Develop a C program to read two numbers and function to swap these numbers using pointers. (06 Marks) Ans:
• 31. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 28 10 . Write short notes on following: a. Preprocessor directives b. Primitive and non primitive data types c. Stack operations d. Types of queues. (20 Marks) Ans: a)
• 32. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 29 Ans: b) Ans: c)
• 33. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER JUNE- 2015 30 Ans: d)
• 34. For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit http://victory4sure.weebly.com/
• 35. For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit http://victory4sure.weebly.com/
• 36. For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit http://victory4sure.weebly.com/
• 37. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 1 1 a. Explain the structure of ‘C’ program with example. (5 Marks) Ans:
• 38. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 2 1 b. Explain scanf() and printf() function in ‘C’ language with syntax and examples. (5 Marks) Ans: For answer, refer Solved Paper June-2015 Q.No.4a. 1 c. Write a ‘C’ program to find area of circle. (5 Marks) Ans: 2 a. What is an algorithm? Write an algorithm to find largest of 3 numbers. (5 Marks) Ans:
• 39. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 3 2 b. Explain the following operators in ‘C’ language. i) Relational ii) Conditional iii) Logical (5 Marks) Ans:
• 40. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 4 2 c. What is an identifier? Give any 5 rules that are to be followed while declaring a variable. (4 Marks) Ans:
• 41. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 5 3 a. Explain the ELSE IF ladder with syntax and example. (8 Marks) Ans:
• 42. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 6 3 b. List the types of loops. Explain the working of any one type of loop with syntax and example. (8 Marks) Ans:
• 43. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 7 3 b. Write a program to read a year as an input and find whether it is a LEAP YEAR or not (8 Marks) Ans:
• 44. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 8 4 a. Explain SWITCH statement, with syntax and example. (8 Marks) Ans: 4 b. Differentiate between WHILE and DO-WHILE loops. (6 Marks) Ans: For answer, refer Solved Paper June-2015 Q.No.4b. 4 c. Write a program to find reverse of a number and check whether it is a PALINDROME or not (6 Marks) Ans: For answer, refer Solved Paper June-2015 Q.No.4c.
• 45. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 9 5 a. What is an ARRAY? Explain the different ways of initializing an array with examples. (7 Marks) Ans: For answer, refer Solved Paper June-2015 Q.No.5a. 5 b. What are the advantages of using User defined functions. (6 Marks) Ans:
• 46. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 10 5 c. Write a program to read a sentence and print the frequencies of each VOWEL and total count of CONSONANTS. (7 Marks) Ans:
• 47. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 11 6 a. Explain the different types of arrays, with syntax and examples. (7 Marks) Ans:
• 48. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 12 6 b. Explain any 4 string manipulating functions with examples. (8 Marks) Ans:
• 49. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 13
• 50. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 14 6 c. Define the following: i) Actual parameter ii) Formal parameter iii) Global variable (external variable) iv) Local variable (automatic variable) (5 Marks) Ans: 7 a. Define a STRUCTURE. Explain structure with syntax and example. (5 Marks) Ans: For answer, refer Solved Paper June-2015 Q.No.7a.
• 51. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 15 7 b. What is a FILE? Explain any 2 FILE functions, with example. (5 Marks) Ans: 7 c. Write a program to maintain a record 0f ‘n’ student details using an array of structures with four fields (Roll number, Name, Marks, and Grade). Each field is of a appropriate data type. Print the marks of the students based on the student name as input (10 Marks) Ans: Ans: For answer, refer Solved Paper June-2015 Q.No.7c.
• 52. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 16 8 a. Differntiate between STRUCTURES and UNIONS. (5 Marks) Ans: 8 b. Explain the various MODES in which a FILE can be created successfully. (5 Marks) Ans:
• 53. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 17 8 c. Given 2 university information files ‘student.txt’ and ‘usn.txt’ that contains students Name and USN respectively. Write a program to create a new file called ‘output.txt’ and copy and contents of files ‘studentname.txt’ and ‘usn.txt’ into output file in the sequence shown below. (10 Marks) Ans:
• 54. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 18 9 a. Define a POINTER. Explain how pointer variable is declared and initialized. (6 Marks) Ans: For answer, refer Solved Paper June-2015 Q.No.9a. 9 b. What are primitive and non-primitive data types? Give examples. (6 Marks) Ans: For answer, refer Solved Paper June-2015 Q.No.10b. 9 c. Write a program using pointers to compute sum, mean and standard deviation of all elements stored in an array of ‘n’ real numbers. (8 Marks) Ans:
• 55. PROGRAMMING IN C & DATA STRUCTURES SOLVED PAPER DEC- 2015 19 10 a. Explain any 2 pre-processor directives in ‘C’ language. (5 Marks) Ans: For answer, refer Solved Paper June-2015 Q.No.10a. 10 b. What is a STACK? Explain its applications. (5 Marks) Ans: 10 c. What is a QUEUE? Explain with example. (5 Marks) Ans: 10 d. Write a program to swap 2 numbers using call-by-refernce method. (5 Marks) Ans: For answer, refer Solved Paper June-2015 Q.No.9c.
Current LanguageEnglish
Español
Portugues
Français
Deutsche