The BPSC Teacher Recruitment Exam (TRE) Paper Solution by Suraku Academy offers detailed, accurate, and fully verified answers for every question of the BPSC TRE exam. Each solution is prepared with great care to provide clear explanations and deeper concept understanding. This resource helps candidates strengthen their preparation with trusted solutions before starting their focused study journey. Improve your exam readiness with concept-wise clarity and solved answers. A must-have guide for every BPSC TRE aspirant.
Q: 1 What is the value of ‘p’ in the following C++ code snippet?
#include<iostream>
using namespace std;
int main()
{
int p;
bool a=true;
bool b=false;
int x=10;
int y=5;
p=((x|y)+(a+b));
cout<<p;
return 0;
}
Option B
In this code, the expression (x | y) performs a bitwise OR on 10 and 5.
10 in binary : 1010
5 in binary : 0101
Bitwise OR : 1111 which is 15.
Next, (a + b) adds the Boolean values:
true : 1
false : 0
So, a + b = 1.
Finally, p = 15 + 1 = 16.
Q: 2 The Boolean expression x(x+y) is equal to
Option A
Given Boolean Expression:
=x(x+y)
=xx+xy
=x+xy
=x(1+y)
=x.1
=x
Q: 3 After performing following set of operations, what does the final list look contain?
InsertFront(10);
InsertFront(20);
InsertRear(30);
DeleteFront();
InsertRear(40);
InsertRear(10);
DeleteRear();
InsertRear(15);
Display();
Option C
These operations are performed on a double-ended queue (deque) or a list that allows insertion and deletion at both front and rear.
Now apply the operations one by one and show the list after each step:
So, the final list is 10 30 40 15.
Q: 4 A computer program that converts an assembly language program into equivalent machine language program is called
Option B
A computer program that converts an assembly language program into its equivalent machine language is called an assembler.
Assembly language uses symbolic instructions like MOV, ADD, SUB etc. called mnemonics, which are easier for humans to understand but must be translated into binary machine code for the computer to execute.
Q: 5 How many edges does a spanning tree of a graph with N vertices have?
Option B
A spanning tree is a subgraph of a connected graph that includes all the vertices but only enough edges to keep the graph connected without forming any cycles.
Q: 6 If circular queue is implemented using array having size MAX_SIZE in which array index start with 0, front points to the first element in the queue, and rear points to the last element in the queue. Which one of the following conditions is used to specify that the circular queue is empty?
Option A
In a circular queue implemented using an array, the queue is considered empty when there are no elements stored in it. The most common and standard way to represent an empty circular queue is if front=rear=-1.
When the circular queue is first created, it contains no elements. To show this, both front and rear are initialized to -1. As soon as we insert the first element both front and rear becomes 0. When all elements are deleted again, we reset them to -1 to show the queue is empty.
Q: 7 The logic gate that provides high output for same input is
Option B
The X-NOR gate, produces a high (1) output when both inputs are the same, either both 0 or both 1.
Truth—Table:
| Input | Output | |
| A | B | Y=A⊙B |
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Q: 8 Which of the following is NOT a step in the Divide and Conquer algorithm?
Option D
A Divide and Conquer algorithm are a problem-solving technique where a big problem is broken into smaller ones, solved individually, and then combined to produce the final answer. This method is used in algorithms like Merge Sort, Quick Sort, and Binary Search. The Divide and Conquer approach follow three main steps:
Q: 9 Which of the following statements is not true about the doubly linked list?
Option C
A doubly linked list is a linked list where each node contains three parts:
We can traverse in both the directions. This is true. Because each node has a prev pointer, we can move forward and backward.
It requires extra space. This is true. Every node stores an additional pointer (prev), so space required is more than a singly linked list.
Implementation of doubly linked list is easier than the singly linked list. This statement is not true. A doubly linked list is more difficult to implement because you must maintain both next and prev pointers during insertion and deletion. Singly linked list is simpler.
Q: 10 Which of the following is an example of a digital electronic?
Option D
Digital electronics are devices that operate using binary signals. They process information in discrete steps rather than continuous signals.
Examples of digital electronic devices include computers, which use digital circuits for all processing tasks, mobile phones, which contain digital processors and memory and digital cameras, which convert images into digital data.
Thank you so much for taking the time to read my Computer Science MCQs section carefully. Your support and interest mean a lot, and I truly appreciate you being part of this journey. Stay connected for more insights and updates! If you'd like to explore more tutorials and insights, check out my YouTube channel.
Don’t forget to subscribe and stay connected for future updates.