0% found this document useful (0 votes)
5 views3 pages

Updated ? Programming For Problem Solving Pyq

The document outlines important and repeated questions for the Programming for Problem Solving course (BSC-104-G) from 2021 to 2024, categorized by units covering C programming basics, control structures, arrays and functions, and structures, pointers, and file handling. Each unit includes questions of varying marks, detailing topics such as data types, control structures, arrays, and file handling functions, along with specific programming tasks. The document serves as a study guide for students preparing for exams in this subject.

Uploaded by

Gaming King
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

Updated ? Programming For Problem Solving Pyq

The document outlines important and repeated questions for the Programming for Problem Solving course (BSC-104-G) from 2021 to 2024, categorized by units covering C programming basics, control structures, arrays and functions, and structures, pointers, and file handling. Each unit includes questions of varying marks, detailing topics such as data types, control structures, arrays, and file handling functions, along with specific programming tasks. The document serves as a study guide for students preparing for exams in this subject.

Uploaded by

Gaming King
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

📘 Programming for Problem Solving (BSC-104-G) –

Repeated & Important Questions


(2021–2024)

📊 Marks Covered: 2.5 / 5 / 7 / 8 / 10 / 15 marks

📅 UNIT I – Basics of C Programming

• (15 marks) Explain the Data Types in C. Write a program that prints all data types.
Years: May 2024, May 2023, Dec 2024

• (8 marks) Define header files in C.


Years: May 2024, Dec 2024, Feb 2022

• (7 marks) What are storage classes in C? Explain.


Years: May 2024, Feb 2022

• (5 marks) Differentiate between Local and Global variables.


Years: Nov 2023, Dec 2024

• (10 marks) What are the types of operators used in C?


Years: Dec 2022, Feb 2022

• (5 marks) Explain constants and variables in C.


Years: Dec 2022

• (2.5 marks) What is a character set in C language?


Year: Dec 2024

• (10 marks) Write a flowchart and algorithm to find the largest of three numbers.
Years: Dec 2024, May 2023

• (5 marks) Write a pseudocode to check whether a number is even or odd.


Year: Nov 2023

• (15 marks) Explain the structure of a C program with an example.


Year: 2021

• (10 marks) Write an algorithm and flowchart to calculate the area of a rectangle.
Year: 2021

• (5 marks) Define variables and keywords with examples.


Year: 2021
📅 UNIT II – Control Structures and Functions

• (15 marks) Explain conditional branching in C. Write a program to find the greatest of four
numbers using if-else.
Years: May 2024, May 2023, Dec 2024

• (15 marks) What are iterations in C? Write a program for matrix multiplication.
Years: May 2024, Feb 2022, Nov 2023

• (15 marks) Switch case statement in C with suitable example.


Years: Dec 2024, May 2023

• (5 marks) Differentiate between while and do-while loops.


Year: Dec 2024

• (5 marks) What is the use of 'break' and 'continue' in loops?


Year: Feb 2022

• (15 marks) Explain various control structures used in C.


Year: 2021

• (10 marks) Write a program to print a multiplication table using for loop.
Year: 2021

• (5 marks) Differentiate between if-else and switch-case with example.


Year: 2021

📅 UNIT III – Arrays and Functions

• (15 marks) What are arrays? Write a program to multiply two matrices using arrays.
Years: May 2024, Dec 2022, May 2023

• (5 marks) Call by value vs Call by reference.


Years: May 2024, Feb 2022, Dec 2022

• (10 marks) Write a program to print Fibonacci series up to 10 numbers using recursion.
Years: May 2024, Dec 2022, Nov 2023

• (8 marks) What are different types of functions in C? Explain with example.


Years: Feb 2022, Dec 2022

• (10 marks) Write a program to find the factorial of a number using recursion.
Year: Nov 2023

• (15 marks) Explain the use of arrays in C with a program to find the sum of an array.
Year: 2021
• (10 marks) Write a program to generate the Fibonacci series using iteration.
Year: 2021

• (5 marks) Explain function prototype and its use in C.


Year: 2021

📅 UNIT IV – Structures, Pointers, and File Handling

• (15 marks) Describe array of structures with suitable example.


Years: May 2024, Dec 2024, Nov 2023

• (15 marks) What are pointers? How are they useful in DMA (Dynamic Memory Allocation)?
Years: May 2024, Nov 2023, May 2023

• (5 marks) Differentiate between structure and union.


Years: Nov 2023, Dec 2022

• (10 marks) What are file handling functions in C?


Years: Feb 2022, Dec 2024

• (10 marks) Write a program to read and write from a file in C.


Year: Dec 2024

• (2.5 marks) What is the use of 'sizeof' operator?


Year: Dec 2022

• (15 marks) What is a pointer? Explain pointer arithmetic with examples.


Year: 2021

• (10 marks) Write a program to store and display data using structures.
Year: 2021

• (5 marks) What is the difference between fscanf() and fgets()?


Year: 2021

You might also like