Programming for Problem Solving PYQ 2018-19 AKTU (KCS201)

AKTU · BTECH · Semester 1, 2 · Programming for Problem Solving · Session 2018-19 · PYQ

AKTU Programming for Problem Solving (KCS201) previous year question paper 2018-19 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 2018-19

  1. Q1a. What is the difference between .obj and .exe files in C? (2 marks, 2018-19)
  2. Q1b. List the components of C language. (2 marks, 2018-19)
  3. Q1c. Differentiate assignment and equality operators in C. (2 marks, 2018-19)
  4. Q1d. Correlate else if ladder and switch case statement. (2 marks, 2018-19)
  5. Q1e. Differentiate while and do while loop. (2 marks, 2018-19)
  6. Q1f. Differentiate recursion and iteration. (2 marks, 2018-19)
  7. Q1g. Explain the significance of null character in string. (2 marks, 2018-19)
  8. Q1h. Differentiate linear and binary search. (2 marks, 2018-19)
  9. Q1i. Differentiate static and dynamic memory allocation. (2 marks, 2018-19)
  10. Q1j. Define the structure of a node in linked list. (2 marks, 2018-19)
  11. Q2a. Draw the block diagram of a computer system. Explain its different components with suitable example. (10 marks, 2018-19)
  12. Q2b. Differentiate operator precedence and associativity. Write a program in C to elaborate the use of logical AND and logical OR operators in C. (10 marks, 2018-19)
  13. Q2c. 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 marks, 2018-19)
  14. Q2d. 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 marks, 2018-19)
  15. Q2e. 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 marks, 2018-19)
  16. Q3a. Write an algorithm and draw a flowchart to find the sum of digits of an integer number entered by the user. (10 marks, 2018-19)
  17. Q3b. Write an algorithm and draw a flowchart to reverse an integer number entered by the user. (10 marks, 2018-19)
  18. Q4a. 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 marks, 2018-19)
  19. Q4b. 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 marks, 2018-19)
  20. Q5a. Write a program in C to print following pattern with appropriate comments: 10 9 8 7 6 5 4 3 2 1 (10 marks, 2018-19)
  21. Q5b. Discuss the concept of assembler. Explain compiler, interpreter, loader and linker with example. (10 marks, 2018-19)
  22. Q6a. 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 marks, 2018-19)
  23. Q6b. 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. Following fields may be included in the record: book_title, book_price and number_of_pages. (10 marks, 2018-19)
  24. Q7a. Define various file operations in C. Write a program in C to count and print the number of characters in a file. (10 marks, 2018-19)
  25. Q7b. Explain the following: (i) Macros. (ii) Union (iii) Enumerated data types (iv) Type conversion (10 marks, 2018-19)

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