FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download VTU B-Tech/B.E 2019 June-July 1st And 2nd Semester 2018 Jan 2017 Dec 17PCD13 Programming in C and Data Structures Question Paper

Download VTU ((Visvesvaraya Technological University) B.E/B-Tech 2019 July ( Bachelor of Engineering) First & Second Semester (1st Semester & 2nd Semester) 2018 Jan 2017 Dec 17PCD13 Programming in C and Data Structures Question Paper

This post was last modified on 01 January 2020

This download link is referred from the post: VTU B.Tech 1st Year Last 10 Years 2011-2021 Question Papers


Firstranker's choice

USN

FirstRanker.com

--- Content provided by FirstRanker.com ---

17PCD13

First Semester S.E. Degree Examination, Dec.2017/Jan.2018

Programming in C and Data Structures

Time: 3 hrs.

Max. Marks: 100

--- Content provided by FirstRanker.com ---

Note: Answer any FIVE full questions, choosing one full question from each module

Module-1

  1. a. List all the logical operators and write a C program to demonstrate working of these logical operators. (10 Marks)
  2. b. Explain structure of C program with an example. (05 Marks)
  3. c. Classify the following as valid and invalid variable. If invalid give reasons. (05 Marks)
    1. r143
    2. --- Content provided by FirstRanker.com ---

    3. belp+me
    4. auto
    5. hello how
  1. a. What is a token? What are different types of tokens available in c language? Explain. (10 Marks)
  2. --- Content provided by FirstRanker.com ---

  3. b. Write an algorithm and program to find biggest of three numbers. (10 Marks)
  1. a. Write a C program to find the roots of quadratic equation. (10 Marks)
  2. b. Explain syntax of while statement. Write a C program to check the given number is palindrome or not. (10 Marks)
  1. a. Explain break and continue statements with respect to do-while and for loop with suitable examples. (10 Marks)
  2. b. Print the following series: (05 Marks)

    --- Content provided by FirstRanker.com ---

    1
    12
    123
    1234
  3. c. Explain ternary operator with suitable example. (05 Marks)
  4. --- Content provided by FirstRanker.com ---

Module-3

  1. a. Define an array. Write a syntax for declaring two dimensional array and initialize the same with suitable example. (10 Marks)
  2. b. Write a C program to find sum of array elements by passing array as function argument. (05 Marks)
  3. c. Explain any two string manipulation functions. (05 Marks)

OR

--- Content provided by FirstRanker.com ---

  1. a. Explain recursion with an example. (06 Marks)
  2. b. Write a C program to sort the elements of a given array using bubble sort. (08 Marks)
  3. c. Write a C program to concatenate two strings without using built-in function strcat(). (06 Marks)

Module-4

  1. a. What is structure? Explain its declaration and initialization with an example. (06 Marks)
  2. --- Content provided by FirstRanker.com ---

  3. b. Explain any four file operations with an example. (06 Marks)
  4. c. Write a C program to pass structure variable as function argument. (08 Marks)

OR

  1. a. Write a C program to store and print Name, USN, SubjectName and IA Marks of student using structure. (10 Marks)
  2. b. Explain typedef with suitable example. (05 Marks)
  3. --- Content provided by FirstRanker.com ---

  4. c. Explain how the input is accepted from file and displayed. (05 Marks)

Module-5

  1. a. What is pointer? Give advantages and disadvantages of pointers in C. (07 Marks)
  2. b. Explain malloc() and calloc() functions with examples. (06 Marks)
  3. c. What is queue? Explain its operations. (07 Marks)
  4. --- Content provided by FirstRanker.com ---

OR

  1. a. Write a C program to swap two numbers using call by address. (08 Marks)
  2. b. What are primitive and non-primitive data types and explain. (07 Marks)
  3. c. Define stack. List applications of stack. (05 Marks)

--- Content provided by FirstRanker.com ---


This download link is referred from the post: VTU B.Tech 1st Year Last 10 Years 2011-2021 Question Papers