Programming for Problem Solving PYQ 2024-25 AKTU (BCS201)
AKTU · BTECH · Semester 1, 2 · Programming for Problem Solving · Session 2024-25 · PYQ
AKTU Programming for Problem Solving (BCS201) previous year question paper 2024-25 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
- Unit 1: Introduction to Computer System and C Basics
- Unit 2: Operators Expressions and Conditional Branching
- Unit 3: Loops Arrays Strings and Structures
- Unit 4: Functions and Searching Sorting Algorithms
- Unit 5: Pointers File Handling and Preprocessors
Questions in Programming for Problem Solving AKTU PYQ 2024-25
- Q1a. What is the difference between compiler and interpreter? (2 marks, 2024-25)
- Q1b. Write a short note on flowchart and its use. (2 marks, 2024-25)
- Q1c. Explain the purpose of the scanf() and printf() functions in C. (2 marks, 2024-25)
- Q1d. What is operator precedence? Give an example. (2 marks, 2024-25)
- Q1e. Mention the use of break and continue in loops. (2 marks, 2024-25)
- Q1f. Define recursion with an example. (2 marks, 2024-25)
- Q1g. Differentiate between malloc() and calloc(). (2 marks, 2024-25)
- Q2a. Explain various components of a computer system with a neat diagram. (7 marks, 2024-25)
- Q2b. Write and explain the structure of a basic C program. (7 marks, 2024-25)
- Q2c. Discuss different types of operators in C with examples. (7 marks, 2024-25)
- Q2d. Write a C program to input 10 integers in an array and find the average. (7 marks, 2024-25)
- Q2e. Describe the difference between call by value and call by reference with examples. (7 marks, 2024-25)
- Q3a. Explain the differences among assembler, loader, and linker with suitable diagrams. (7 marks, 2024-25)
- Q3b. Draw a flowchart and write pseudo code to find the factorial of a number. (7 marks, 2024-25)
- Q4a. Explain the use of logical and bitwise operators with examples. (7 marks, 2024-25)
- Q4b. Write a C program to check whether a number is even or odd using switch case. (7 marks, 2024-25)
- Q5a. Write a C program to reverse a string entered by the user. (7 marks, 2024-25)
- Q5b. What is a structure in C? Give an example of an array of structures. (7 marks, 2024-25)
- Q6a. Write a recursive C program to find the nth Fibonacci number. (7 marks, 2024-25)
- Q6b. Explain bubble sort with example and write its C implementation. (7 marks, 2024-25)
- Q7a. Write a C program to read and display contents of a file. (7 marks, 2024-25)
- Q7b. Explain self-referential structures and their use in linked list. (7 marks, 2024-25)
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