Programming for Problem Solving PYQ 2019-20 AKTU (KCS101)

AKTU · BTECH · Semester 1, 2 · Programming for Problem Solving · Session 2019-20 · PYQ

AKTU Programming for Problem Solving (KCS101) previous year question paper 2019-20 for B.Tech Semester 1/2. Covers Introduction to Computer System and C…

Open the interactive reader to study this resource on AcademicArk.

Programming for Problem Solving AKTU syllabus

  1. Unit 1: Introduction to Computer System and C Basics
  2. Unit 2: Operators Expressions and Conditional Branching
  3. Unit 3: Loops Arrays Strings and Structures
  4. Unit 4: Functions and Searching Sorting Algorithms
  5. Unit 5: Pointers File Handling and Preprocessors

Questions in Programming for Problem Solving AKTU PYQ 2019-20

  1. Q1a. Name different storage class with one example of each. (2 marks, 2019-20)
  2. Q1b. Describe the functionalities of operating system. (2 marks, 2019-20)
  3. Q1c. Differentiate between implicit & Explicit type conversion. (2 marks, 2019-20)
  4. Q1d. What do you understand by mixed operands? Explain with example. (2 marks, 2019-20)
  5. Q1e. What is the meaning of prototype of a function? (2 marks, 2019-20)
  6. Q1f. Differentiate between while and do-while loop. (2 marks, 2019-20)
  7. Q1g. Write an algorithm to find second largest element in an array. (2 marks, 2019-20)
  8. Q1h. Differentiate between structure with union. (2 marks, 2019-20)
  9. Q1i. Explain the role of C preprocessor. (2 marks, 2019-20)
  10. Q1j. What do you mean by pointer arithmetic? (2 marks, 2019-20)
  11. Q2a. Discuss the major components of a digital computer with suitable block diagram. Also discuss the function of each component. (10 marks, 2019-20)
  12. Q2b. What are operators? Mention different types of operators in C. Explain the difference between operator precedence and associativity with suitable example. (10 marks, 2019-20)
  13. Q2c. Take the three digit number from the user then write a program to check entered number is palindrome or not. (10 marks, 2019-20)
  14. Q2d. Write a program that prints the real roots of a quadratic equation. Also draw flowchart for the same. (10 marks, 2019-20)
  15. Q2e. Write macro definition with arguments for calculation of simple interest and amount. Store these macro definitions in a file called 'interest.h'. Include this file in your program and use the macro definitions for calculating simple interest and amount. (10 marks, 2019-20)
  16. Q3a. Differentiate between: (i) Compiler and Interpreter (ii) Linker and Loader (iii) break and continue (10 marks, 2019-20)
  17. Q3b. (i) Define data types in C. Discuss primitive data types in terms of memory size, format specifier and range. (ii) Explain structure of a C program. (10 marks, 2019-20)
  18. Q4a. What are different conditional statements in C programming? Explain with proper example of each. (10 marks, 2019-20)
  19. Q4b. If three sides of triangle are input through keyboard, draw a flowchart to check whether a triangle is isosceles, equilateral, scalene or right-angled triangle. Also write a program in C for the same. (10 marks, 2019-20)
  20. Q5a. (i) Write a program in C to generate the Fibonacci series up to the last Fibonacci number less than 100. Also finds the sum of all Fibonacci numbers and total count of all Fibonacci numbers. (ii) Write a program in C to print the following pattern: 2 3 4 5 6 7 3 4 5 6 7 4 5 6 7 5 6 7 6 7 7 (10 marks, 2019-20)
  21. Q5b. Differentiate between call by value and call by reference. Write a program in C that computes the area and circumference of a circle with radius taken as input using call by reference in functions. (10 marks, 2019-20)
  22. Q6a. What do you mean by sorting? Write a program in C to sort 'n' positive integers using bubble sort. Also draw the flow chart for the same. (10 marks, 2019-20)
  23. Q6b. Create a suitable structure in C language for keeping the records of the employees of an organization about their code, Name, Designation, Salary, Department, City of posting. Also write a program in C to enter the records of 100 employees and displays the name of those who earn more than 20,000. (10 marks, 2019-20)
  24. Q7a. What are different file opening modes? Write a program in C that reads a series of integer numbers from a file named INPUT and write all odd numbers to a file to be called ODD and all even numbers to a file to be called EVEN. (10 marks, 2019-20)
  25. Q7b. State the features of a pointer. Explain dynamic memory allocation with the help of an example. (10 marks, 2019-20)

AKTU paper codes: BCS101, BCS201, KCS101, KCS101T, KCS201, KCS201T

Programming for Problem Solving previous year papers

More Programming for Problem Solving resources

Browse all notes · Semester 1 notes · Semester 2 notes · Programming for Problem Solving notes