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 AKTU B-Tech 4th Sem 2014-15 Hydraulics and Hydraulic Machines Question Paper

Download AKTU (Dr. A.P.J. Abdul Kalam Technical University (AKTU), formerly Uttar Pradesh Technical University (UPTU) B-Tech 4th Semester (Fourth Semester) 2014-15 Hydraulics and Hydraulic Machines Question Paper

This post was last modified on 29 January 2020

AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University


JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

R18 B.Tech I Year I Semester Examinations, December - 2018

COMPUTER PROGRAMMING IN C

(Common to EEE, ECE, CSE, EIE, IT, MCT, ETM, MMT, AE, MIE, PTM, CEE, MSNT)

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

Time: 3 hours Max. Marks: 75

Note: This question paper contains two parts A and B.

Part A is compulsory which carries 25 marks. Answer all questions in Part A.

Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks.

PART - A (25 Marks)

  1. Answer all questions

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

    1. What is an algorithm? List the properties of an algorithm. [2M]
    2. Define keyword. List out any four keywords in C. [3M]
    3. Explain the difference between 'while' and 'do-while' loop. [2M]
    4. Write a C program to print the factorial of a given number using recursion. [3M]
    5. Define pointer. How can you declare a pointer? [2M]
    6. --- Content provided by‌ FirstRanker.com ---

    7. Differentiate between structure and union. [3M]
    8. What is preprocessor? List out any four preprocessor directives. [2M]
    9. How to open and close a file in C? Explain with example. [3M]
    10. What are command line arguments? [2M]
    11. What is meant by type conversion? How is it useful? [3M]
    12. --- Content provided by FirstRanker.com ---

PART - B (50 Marks)

(Answer any one full question from each unit)

UNIT - I

  1. a) Explain the different types of operators used in C language. [5M]

    b) Draw a flowchart to find the largest of three numbers. [5M]

    OR

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

  2. a) Write an algorithm to find the roots of a quadratic equation. [5M]

    b) Explain about the different data types available in C language. [5M]

UNIT - II

  1. a) Explain the concept of nested if-else statement with example. [5M]

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

    b) Write a C program to generate prime numbers between 1 and n. [5M]

    OR

  2. a) Explain the difference between 'break' and 'continue' statements with example. [5M]

    b) Write a C program to check whether a given number is Armstrong number or not. [5M]

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

UNIT - III

  1. a) Explain the concept of call by value and call by reference with example. [5M]

    b) Write a C program to find the sum of diagonal elements of a matrix. [5M]

    OR

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

  3. a) Write a C program to sort an array of elements using bubble sort technique. [5M]

    b) Explain the concept of multidimensional arrays with example. [5M]

UNIT - IV

  1. a) Explain how to declare and initialize a structure with example. [5M]

    b) Write a C program to store student information using structure. [5M]

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

    OR

  2. a) Explain the concept of pointers to structures with example. [5M]

    b) Write a C program to demonstrate the use of unions. [5M]

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

UNIT - V

  1. a) Explain the different file opening modes in C. [5M]

    b) Write a C program to count the number of characters, words and lines in a file. [5M]

    OR

  2. a) Explain the concept of dynamic memory allocation with example. [5M]

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

    b) Write a C program to copy the contents of one file to another. [5M]

---oo0oo---

www.firstranker.com


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


This download link is referred from the post: AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University