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 2nd Sem 2018-2019 KCS201 Programming Problem Solving Question Paper

Download AKTU (Dr. A.P.J. Abdul Kalam Technical University (AKTU), formerly Uttar Pradesh Technical University (UPTU)) B-Tech 2nd Semester (Second Semester) 2018-2019 KCS201 Programming Problem Solving Question Paper

This post was last modified on 29 January 2020

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


FirstRanker's choice

FirstRanker.com


Printed Pages: 02

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

Paper Id: 110265

Sub Code: KCS 201

Roll No.

Time: 3 Hours

B. TECH

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

(SEM II) THEORY EXAMINATION 2018-19

PROGRAMMING FOR PROBLEM SOLVING

Total Marks: 100

Note: 1. Attempt all Sections. If require any missing data; then choose suitably.

SECTION A

  1. Attempt all questions in brief.
    Marks CO
    a. What is the difference between .obj and .exe files in C? 2 2
    b. List the components of C language. 2 1
    c. Differentiate assignment and equality operators in C. 2 1
    d. Correlate else if ladder and switch case statement. 2 3
    e. Differentiate while and do while loop. 2 3
    f. Differentiate recursion and iteration. 2 3
    g. Explain the significance of null character in string. 2 5
    h. Differentiate linear and binary search. 2 4
    i. Differentiate static and dynamic memory allocation. 2 2
    j. Define the structure of a node in linked list. 2 2
  2. --- Content provided by FirstRanker.com ---

SECTION B

  1. Attempt any three of the following:
    Marks CO
    a. Draw the block diagram of a computer system. Explain its different components with suitable example. 10 1
    b. Differentiate operator precedence and associativity. Write a program in C to elaborate the use of logical AND and logical OR operators in C. 10 1
    c. What is the use of break statement in loops? Write a program in C using while loop to elaborate the use of break statement. 10 3
    d. Write a program in C to input two 3x3 matrix from the user and print multiplication as the result in matrix form. (Write comments also at appropriate places in the program) 10 3
    e. Explain the importance of pointers in C. Write a program in C to swap the values of two numbers entered by user using function call by reference method. 10 4

SECTION C

  1. Attempt any one part of the following:
    Marks CO
    a. Write an algorithm and draw a flowchart to find the sum of digits of an integer number entered by the user. 10 2
    b. Write an algorithm and draw a flowchart to reverse an integer number entered by the user. 10 2
  2. Attempt any one part of the following:
    Marks CO
    a. Define the term mixed operands in an arithmetic expression with few examples. Write a program in C to elaborate the use of type casting. 10 1
    b. Explain the use of default in switch statement. Write a program that takes two operands and one operator from the user and perform the operation and prints the result by using switch statement. 10 3
  3. Attempt any one part of the following:
    Marks CO
    a. Write a program in C to print following pattern with appropriate comments:

    1

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

    10
    98
    765
    4321
    10 3
    b. Discuss the concept of assembler. Explain complier, interpreter, loader and linker with example. 10 3
  4. Attempt any one part of the following:
    Marks CO
    a. Write the importance of sorting in problem solving. Write a program in C using bubble sort technique to sort 10 numbers entered by the user. 10 4
    b. Explain the importance of structure in C programming. Write a program in C using structure to enter and print the record of 10 books available in your library. book title, book price and number of pages. 10 5
  5. --- Content provided by FirstRanker.com ---

  6. Attempt any one part of the following:
    Marks CO
    a. Define various file operations in C. Write a program in C to count and print the number of characters in a file. 10 5
    b. Explain the following:
    1. Macros
    2. Union
    3. Enumerated data types
    4. Type conversion
    10 5
  7. --- Content provided by FirstRanker.com ---


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

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