Programming for Problem Solving PYQ 2023-24 AKTU (BCS201)

AKTU · BTECH · Semester 1, 2 · Programming for Problem Solving · Session 2023-24 · PYQ

AKTU Programming for Problem Solving (BCS201) previous year question paper 2023-24 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 2023-24

  1. Q1a. 1 Nibble =………..Bytes. (2 marks, 2023-24)
  2. Q1b. Find the value of variable max in the following code: - int a=10, b=20; int max= (a>b)? a: b; (2 marks, 2023-24)
  3. Q1c. Define Explicit type conversion with suitable example. (2 marks, 2023-24)
  4. Q1d. Write a C program to print all natural numbers from 10 to 100. (2 marks, 2023-24)
  5. Q1e. Define Pointer to Pointer. (2 marks, 2023-24)
  6. Q1f. Find the output of following code: - #include<stdio.h> #defien a 2*2+2 void main () { int b,c; b=2/a; c=b+4; printf("Value of variable b and c are %d%d respectively ", b,c); } (2 marks, 2023-24)
  7. Q1g. Draw block diagram to represent doubly linked list. (2 marks, 2023-24)
  8. Q2a. What is Flowchart what are the properties of Flowchart? Draw a flowchart to check number is a buzz number or not. (A number is said to be Buzz if it ends with 7 or divisible by 7). (7 marks, 2023-24)
  9. Q2b. What is the importance of Precedence order and associativity? Explain Bitwise and Ternary operators in detail. (7 marks, 2023-24)
  10. Q2c. Write a program in C language to multiply 2 matrices of order n*n each and print the resultant matrix along with the transpose of the resultant matrix. (7 marks, 2023-24)
  11. Q2d. Write a program in C language to implement Selection sort method. (7 marks, 2023-24)
  12. Q2e. Write a program to delete the end of the file using function feof(). Display the file pointer position for detecting end of file. (7 marks, 2023-24)
  13. Q3a. What is the different user defined data types in C language? Write range, Format specifier, memory size of primitive data types. (7 marks, 2023-24)
  14. Q3b. How algorithm is different from flowchart. Write an algorithm to check number is a Prime number or not. (7 marks, 2023-24)
  15. Q4a. Why break statement is required? Write a C program in C language to check character is a vowel or consonant. (7 marks, 2023-24)
  16. Q4b. Write a program in C language to calculate energy bill. Read the starting and ending meter readings. The charges are as follows: - No. of Units Consumed rates in Rs. 0<units<=200 Rs 5.50 per Unit 200<units<=400 Rs 700 + Rs 6.0 per unit excess of 200 400<units<= 600 Rs 1400 + Rs 7.50 per unit… (7 marks, 2023-24)
  17. Q5a. (i) Write a program in C language to print the following pattern: - 1 4 9 16 25 36 49 64 81 100 (ii) Write a program in C language to print the sum of following series: S=1!/n! + 2!/n! + 3!/n!..........x!/n!. (7 marks, 2023-24)
  18. Q5b. Write a program in C language using union to store name, mobile number, year of birth, fees deposited, total marks in class 12th and print only name and marks of class 12th of those students who have deposited fees less that 5000 and how born after year 2005. (7 marks, 2023-24)
  19. Q6a. Write a C program to find the presence of any particular element in an array of n number of elements using Binary search method. (7 marks, 2023-24)
  20. Q6b. What are the different types of functions in C programming? Write a C program to print the multiplication of all the digits of a number using recursion. (7 marks, 2023-24)
  21. Q7a. What are the advantages of Dynamic memory allocation over static memory allocation? Write a program to display two numbers with malloc() and reallocate memory for displaying three numbers. (7 marks, 2023-24)
  22. Q7b. Define any 3 functions which are used for file handling in C language. Write a program in C language to count total number vowels in a text file. (7 marks, 2023-24)

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

Programming for Problem Solving previous year papers

More Programming for Problem Solving resources

More versions of this resource

Browse all notes · Semester 1 notes