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

Get the Nursing Question Bank Android App

Access 10+ years of Question Papers with answers, notes for B.Sc Nursing on the go!

Install From Play Store

Download VTU B-Tech/B.E 2019 June-July 1st And 2nd Semester 18 Scheme 18CPS13 C Programming for Problem Solving Question Paper

Download VTU ((Visvesvaraya Technological University) B.E/B-Tech 2019 July ( Bachelor of Engineering) First & Second Semester (1st Semester & 2nd Semester) 18 Scheme 18CPS13 C Programming for Problem Solving Question Paper

This post was last modified on 01 January 2020

VTU B.Tech 1st Year Last 10 Years 2011-2021 Question Papers


FirstRanker's choice

FirstRanker.com

USN

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

18CPS13/23

First/Second Semester B.E. Degree Examination, June/July 2019

C Programming for Problem Solving

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. With a neat block diagram of computer, explain its components. (10 Marks)
  2. b. Classify the following into input and output devices: Monitors, visual display unit, Track balls, Bar code reader, Digital camera, Film recorder, Microfiche, OMR, Electronic Whiteboard, Plotters. (05 Marks)
  3. c. Define the terms: Network, LAN, WAN, MAN and network topology. (05 Marks)
  4. --- Content provided by​ FirstRanker.com ---

OR

  1. a. Write the basic structure of C program. Explain each section briefly with suitable example. (09 Marks)
  2. b. Define operator. Explain any 6 operators with suitable example. (07 Marks)
  3. c. State whether the following are valid identifiers or not: integer, float, I am, 123_AbC. (04 Marks)

Module-2

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

  1. a. Define and write the classification of Input and Output statements in C. Write a C-program that prints the following output:

    I am
    an
    SC lett,
    Enj;im-etY;fj

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

  2. b. Define branching statements. Explain them with syntax and suitable example. (10 Marks)
  3. C. Evaluate: i = 1

    L : if (i&lt=5)
    printf ("Saturday");

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

    i=i+1;
    goto L; printf ("Sunday");
    Explain your result briefly. (04 Marks)

OR

  1. a. State the drawback of ladder if-else. Explain how do you resolve with suitable example. (08 Marks)
  2. --- Content provided by​ FirstRanker.com ---

  3. b. Write a C program to get the triangle of numbers as a result:

    1
    12
    123
    1234

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

  4. c. Write a C program to check whether given number is prime or not. (06 Marks)

Module-3

  1. a. Define an array. Explain with suitable example how do you declare and initialize 1D array. (10 Marks)
  2. b. Write a C program to search an element using linear and binary techniques. (10 Marks)
  3. --- Content provided by​ FirstRanker.com ---

OR

  1. a. Define a string. Explain any 4 string library functions with syntax and example. (10 Marks)
  2. b. Write a C program to copy a string (combination of digits and alphabets) to another string (only alphabets). (10 Marks)

Module_4

  1. a. Define a function. List and explain the categories of user defined functions. (10 Marks)
  2. --- Content provided by‍ FirstRanker.com ---

  3. b. Write a C-program for evaluating the binomial coefficient using a function Factorial (n). (10 Marks)

OR

  1. a. Define a recursion. Write a C recursive function for multiplying two integers where a function call is passed with two integers m and n. (10 Marks)
  2. b. Differentiate: (i) User defined and built-in function (ii) Recursion and iteration (10 Marks)

Module_5

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

  1. a. Define structures. Explain how do you declare, initialize and represent the memory for structure variable. (10 Marks)
  2. b. Write a C program that accepts a structure variable as a parameters to a function from a function call. (10 Marks)

OR

  1. a. Define pointers. Explain pass by value and pass by reference with C statements and an example. (10 Marks)
  2. b. Define pre-processor directives. Write C program that finds the addition of two squared numbers, by defining macro for Square (x). (10 Marks)
  3. --- 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