CUET-PG SERIES Bioinformatics
Computer Programming
5 previous year questions.
Volume: 5 Ques
Yield: Medium
High-Yield Trend
5
2025 Chapter Questions 5 MCQs
01
PYQ 2025
medium
bioinformatics ID: cuet-pg-
What are the risks of using pointers without proper care?
1
Memory leaks and dangling pointers can lead to crashes and security vulnerabilities.
2
Pointers can be slow and inefficient compared to direct access methods.
3
Pointers are only useful for advanced programming tasks.
4
Pointers make code difficult to understand and maintain.
02
PYQ 2025
medium
bioinformatics ID: cuet-pg-
What is the difference between one-dimensional and two-dimensional arrays in C++?
1
One-dimensional arrays store data in a single row, while two-dimensional arrays store data in rows and columns.
2
One-dimensional arrays can only hold integers, while two-dimensional arrays can hold any data type.
3
One-dimensional arrays are faster to access, while two-dimensional arrays are more flexible.
4
One-dimensional arrays are always statically allocated, while two-dimensional arrays can be dynamically allocated.
03
PYQ 2025
medium
bioinformatics ID: cuet-pg-
Which of the following is not the benefit of using an inline function in C++?
(A).It can improve code readability and reduce function call overhead.
(B).It can make the code more modular and easier to maintain.
(C).It allows for dynamic function calls at runtime.
(D).It can be used to define recursive functions.
Choose the correct answer from the options given below:
(A).It can improve code readability and reduce function call overhead.
(B).It can make the code more modular and easier to maintain.
(C).It allows for dynamic function calls at runtime.
(D).It can be used to define recursive functions.
Choose the correct answer from the options given below:
1
(A), (B) and (D) only.
2
(A), (B) and (C) only.
3
(A), (B), (C) and (D).
4
(B), (C) and (D) only.
04
PYQ 2025
medium
bioinformatics ID: cuet-pg-
Match List-I with List-II 
Choose the correct answer from the options given below:
1
(A) - (I), (B) - (II), (C) - (III), (D) - (IV)
2
(A) - (I), (B) - (III), (C) - (II), (D) - (IV)
3
(A) - (II), (B) - (I), (C) - (IV), (D) - (III)
4
(A) - (III), (B) - (IV), (C) - (I), (D) - (II)
05
PYQ 2025
medium
bioinformatics ID: cuet-pg-
What is the most significant advantage of using Subroutines or Functions in computer programming?
1
Code reusability and modularity.
2
Improved memory allocation and efficiency.
3
Increased program complexity and reduce memory size.
4
Easier debugging and error handling