Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Test  >  BEL Trainee Engineer CS Mock Test Series 2026  >  BEL Trainee Engineer CS Mock Test- 5 - Computer Science Engineering (CSE) MCQ

BEL Trainee Engineer CS Mock Test- 5 Free Online Test 2026


Full Mock Test & Solutions: BEL Trainee Engineer CS Mock Test- 5 (100 Questions)

You can boost your Computer Science Engineering (CSE) 2026 exam preparation with this BEL Trainee Engineer CS Mock Test- 5 (available with detailed solutions).. This mock test has been designed with the analysis of important topics, recent trends of the exam, and previous year questions of the last 3-years. All the questions have been designed to mirror the official pattern of Computer Science Engineering (CSE) 2026 exam, helping you build speed, accuracy as per the actual exam.

Mock Test Highlights:

  • - Format: Multiple Choice Questions (MCQ)
  • - Duration: 120 minutes
  • - Total Questions: 100
  • - Analysis: Detailed Solutions & Performance Insights
  • - Sections covered: Computer Science, English, Computer Knowledge, Reasoning

Sign up on EduRev for free and get access to these mock tests, get your All India Rank, and identify your weak areas to improve your marks & rank in the actual exam.

BEL Trainee Engineer CS Mock Test- 5 - Question 1

The purpose(s) of regression testing is/are

Detailed Solution: Question 1

Regression testing is testing of the software which is focused to find the bugs and issues in the software. Its purposes are to maintain the quality of the software, remove bugs from the software, etc. Previously executed test cases are re-executed in order to verify the impact of change.
Hence, option 4 is correct.

BEL Trainee Engineer CS Mock Test- 5 - Question 2

Let P and Q be two propositions, ¬(P↔Q) is equivalent to:

  1. P ↔ ¬ Q
  2. ¬ P↔  Q
  3. ¬ P ↔ ¬ Q
  4. Q ↔ P

Detailed Solution: Question 2

We know that 


Both statements (1) and (2) are correct.
So, option (1) is correct.

BEL Trainee Engineer CS Mock Test- 5 - Question 3

for (i = 0; i < n; i ++) fork ( )

The code given above is executed in a process. The total number of child processes created in that particular process is

Detailed Solution: Question 3

A fork () call creates the child processes for the following loop:
It creates 2n - 1 child processes, excluding the parent process.

BEL Trainee Engineer CS Mock Test- 5 - Question 4

Which of the following statements is false about trees?

Detailed Solution: Question 4

A binary tree T has n nodes of degree two, then the number of leaf nodes is n + 1. Conversely, a binary tree, T, has n leaf nodes, then the number of nodes of degree two in T is n - 1.

BEL Trainee Engineer CS Mock Test- 5 - Question 5

Consider the following justifications for commonly using the two-level CPU scheduling:

  1. It is used when memory is too small to hold all the ready processes.
  2. It is used because its performance is same as that of the FIFO.
  3. It is used because it facilitates putting some set of processes into memory and a choice is made from that.
  4. It is used because it does not allow to adjust the set of in-core processes.

Which of the following is true?

Detailed Solution: Question 5

The two-level CPU scheduling is used when memory is too small to hold all the ready processes because it facilitates putting some set of processes into memory and a choice is made from that.
So, option 4 is the correct answer.

BEL Trainee Engineer CS Mock Test- 5 - Question 6

Which of the following are not the examples of dynamic programming?

Detailed Solution: Question 6

Cost of a binary search tree and matrix chain product are examples of dynamic programming.
Binary search tree and matrix multiplication are examples of divide and conquer.

BEL Trainee Engineer CS Mock Test- 5 - Question 7

Consider a relation R = ABCDEFGH. Primary key AB and additional functional dependencies are

AB → CEFGH, A → D, F → G, FB → H, HBC → ADEFG, FBC → ADC.

What would be the relation after decomposing?
(given FD into 2NF)

Detailed Solution: Question 7

A table is said to be in 2NF if it is already in 1NF and should be free from partial functional dependencies.
Primary key: AB
Closure of A and B
A+ = AD
B+ = B
R1 = AD, R2 = ABCEFGH

BEL Trainee Engineer CS Mock Test- 5 - Question 8

Which of the following sequence of array elements forms a heap?

Detailed Solution: Question 8

Heap for {23,17,14,7,13,10,1,5,6,12}:

BEL Trainee Engineer CS Mock Test- 5 - Question 9

What will be the output of following program segment?

main()
{
struct s
{
char *z; int i; struct s *p;
};
static struct s a[]={ {"Nagpur",1,a+1}, {"Raipur",2,a+2},
{"Kanpur",3,a}};
struct s *ptr=a;
printf(" %s",++(ptr → z);
printf(" %s",a[(++ptr) → i].z);
printf(" %s",a[--(ptr → p → i].z);
}

Detailed Solution: Question 9

(i) ++(ptr → z)
++1080
1081
Nagpur
(ii) a[(++ptr) → i].z
2006 → i
a[2].z
3000 → Kanpur
(iii) a[--(ptr → p → i.].z
a[--2012-i].z
a[--3].z
a[2].z
3000 → Kanpur

BEL Trainee Engineer CS Mock Test- 5 - Question 10

Which of the following is false about XML?

Detailed Solution: Question 10

XML tags are case sensitive, i.e <Name> and <name> are two different tags.
Attribute values must always be quoted in single or double quotes and attributes must have values.
In XML, a tag which is started with an opening tag must have a closing tag.
Hence, option 2 is the correct answer.

BEL Trainee Engineer CS Mock Test- 5 - Question 11

Verify whether the given grammar is LL(1) or LR(0)?

S → 1AB|€
A  → 1AC|0C
B → 0S
C → 1

Detailed Solution: Question 11

First(1AB)∩Follow(S) = 1∩$ = φ
First(1AC)∩First(0C) = 1∩0 = φ
The given grammar is LL(1).
Following is transition diagram for given grammar.
In diagram, we see that in I2 there is Shift-Reduce conflict.
The given grammar is not LR(0).

BEL Trainee Engineer CS Mock Test- 5 - Question 12

Consider statement in C programming language:

a+ = b >> 24! = 4;

The number of tokens identified by the lexical phase while scanning the above statements is _________.

Detailed Solution: Question 12

The first phase of the compiler is called lexical analysis or scanning. The lexical analyzer reads the stream of characters making up the source program and groups the characters into a meaningful sequence called lexemes.

For each lexeme, the lexical analyzer produces as output a token of the form that it passes on to the subsequent phase, syntax analysis.

Tokens in given statement:

Therefore, there are 8 tokens.
Hence, the correct option is (A).

BEL Trainee Engineer CS Mock Test- 5 - Question 13

How many 8 x 1 MUX are required to construct 512 x 1 MUX?

Detailed Solution: Question 13

Number of levels, K = logNM
M = target MUX, N = Basic MUX
log8512 = log883 = 3
number of MUX in ith level = M/Ni
512/8 = 64
64 MUX in 1st level only. We have to consider all the levels.
512/64 = 8
512/512 = 1
k
Total MUX = ∑ M/Ni
I = 1
64 + 8 + 1 = 73

BEL Trainee Engineer CS Mock Test- 5 - Question 14

For the matrix A = , answer the following:

The eigen values of A3 are _________________.

Detailed Solution: Question 14

Matrix A is an upper triangular matrix, and we know that the eigen values of an upper triangular matrix are the diagonal entries. So, the eigenvalues of matrix A are 3, 5 and -4.
We also know that if λ is the eigen value of matrix A, then the eigen value of matrix Ak will be λk.
Hence, eigen values of A3 = 33, 53, (-4)3 = 27, 125, -64

BEL Trainee Engineer CS Mock Test- 5 - Question 15

Consider the following segment table in segmentation scheme:

What happens if the logical address requested is segment Id 2 and offset 1000?

Detailed Solution: Question 15

Segmentation is a process of dividing each process into variable size segments, where each segment performs related functions. Segment table stores details about segments. Base register of a segment contains the base address value i.e. smallest physical address from where each segment starts. Limit register contains the last range value of a segment.

Now,

For a segment address to be in the range of the segment, it must be:

Base address ← segment address ← (Base address + limit register value)

Since the offset value is exceeding the value of the limit of segment Id 2, the trap will be generated.

Hence, the correct option is (B).

BEL Trainee Engineer CS Mock Test- 5 - Question 16

Consider the following grammar.

S → ABa | BA, A → Aa | Abc | d | e, B → Bab | e

What will be the grammar after converting left recursion to right recursion?

Detailed Solution: Question 16

Left recursion:
A → Aa | Abc , B → Bab

Right recursion:
A → dA' | eA'
A' → aA' | bcA' | €
B → eB'
B' → abB'|€

BEL Trainee Engineer CS Mock Test- 5 - Question 17

A message consisting of 2400 bits is to be passed over the Internet. The message is passed to the transport layer which appends a 150-bits header, followed by the network layer which uses a 120-bits header. Network layer packets are transmitted via two networks, each of which uses a 26-bits header. The destination network only accepts up to 900-bits long. The number of bits, including headers delivered to the destination network, is:

Detailed Solution: Question 17

Given,

Message size = 2400 bits

The header of the transport layer = 150 bits

Segment size at transport layer = (Header + Message size)

= 150 + 2400

= 2550 bits

Maximum, transmission unit at destination network = 900 bits

So, at a time, data supported by the destination network = 900 − 26

= 876 bits

Therefore, 2550 bits are divided into packets having a maximum of 876 bits. 

So,

Length of packet 1 = 874 bits

Length of packet 2 = 874 bits

Length of packet 3 = 802 bits

Total = 2550 bits.

Network layer packets are transmitted via two networks, each of which uses a 26-bits header.

So, the number of bits, including headers delivered to the destination network is:

Packet 1 (Data + Header) size = 26 + 26 + 874

= 926 bits

Packet 2 (Data + Header) size = 26 + 26 + 874

= 926 bits

Packet 3 (Data + Header) size = 26 + 26 + 802

= 854 bits

Total = 2706 bits.

Hence, the correct option is (A).

BEL Trainee Engineer CS Mock Test- 5 - Question 18

An algebraic system (A, *) is said to be a _____, if the following conditions are satisfied:

  1. * is closed operation.
  2. * is associative operator.
  3. There is an identity in A.
  4. Every element in A has an inverse.

Detailed Solution: Question 18

An algebraic system (A, *) is said to be a group, if the following conditions are satisfied:

  • * is closed operation.
  • * is associative operator.
  • There is an identity in A.
  • Every element in A has an inverse.

An algebraic system (A, *) is said to be a semi-group if

  • * is closed operation on A
  • * is associative operation, for all a, b, c in A.

A group(G, *) is said to be an abelian if a * b = b * a for all a, b € G

BEL Trainee Engineer CS Mock Test- 5 - Question 19

In a binary tree with n nodes, every node has an odd number of descendants. Every node is considered to be its own descendant. What is the number of nodes in the tree that has exactly one child?

Detailed Solution: Question 19

It is mentioned that each node has odd number of descendants, including node itself, so all nodes must have even number of descendants - 0, 2, 4 and so on, which means each node should have either 0 or 2 children. So, there will be no node with 1 child. Hence, 0 is answer.
Following are a few examples.

Such a binary tree is full binary tree (a binary tree where every node has 0 or 2 children).

BEL Trainee Engineer CS Mock Test- 5 - Question 20

An instruction is read from the memory having the value stored in the program counter as 716. The number contained in the address part of the instruction is 36. What will be the effective address in relative address mode given the value pointed by index register is 12:

Detailed Solution: Question 20

In the relative addressing mode, we can obtain the effective address by:

Adding the displacement i.e. address part of the instruction to the PC.

The instruction is read from the memory (location 716 and “PC” is incremented by one.

Effective address or Offset: An offset is determined by adding any combination of three address elements: displacement, base and index.

Displacement: It is an 8 bit or 16 bit immediate value given in the instruction.

Base: Contents of base register, BX or BP.

Index: Content of index register SI or DI.

According to different ways of specifying an operand by 8086 microprocessor, different addressing modes are used by 8086.

PC relative addressing mode: PC relative addressing mode is used to implement intra segment transfer of control, In this mode effective address is obtained by adding displacement to PC.

EA = PC + Address field value

PC = PC + Relative value.

So, the Effective address will be calculated as:

E.A. = 717 + 36

E.A = 753

Hence, the correct option is (D).

BEL Trainee Engineer CS Mock Test- 5 - Question 21

Directions: Select the most appropriate idiom (in the context) to fill in the sentence.

While they may be able to save some money remaining at home, it's not as if they were _______________ beforehand.

Detailed Solution: Question 21

Rolling in dough (Idiom): exceptionally wealthy; having large amounts of money to spend.
Bestow on (Idiom): to give something to someone; to present something to someone.
Eke out (Idiom): to make up for the deficiencies of.
To be closefisted (Idiom): someone who doesn’t want to spend money. Similar to being stingy.
It is obvious that ‘rolling in dough’ makes perfect sense in the given blank.
Hence, the correct answer is option C. 

BEL Trainee Engineer CS Mock Test- 5 - Question 22

Directions: In each of the following questions, a sentence has been given in Active (or Passive) Voice. Out of the four alternatives suggested, select the one that best expresses the same sentence in Passive/ Active Voice.

India won freedom with the blood and sweat of hundreds and thousands of Indians.

Detailed Solution: Question 22

The given sentence is in active form of simple past tense. The structures for active/passive voices are:

Active: Subject + verb (IInd form) + object...

Passive: Object + was/were + verb (IIIrd form) + by + subject...

The question statement is in simple past tense, so the converted statement too should be in the same.

This eliminates options (b) & (c).

Out of options (a) and (d), the latter has ambiguities in the meaning.

So, the correct response is option (a).

BEL Trainee Engineer CS Mock Test- 5 - Question 23

Direction: Read the following passage carefully and answer the questions. Your answer to these questions should be based on passage only.
The news that the Indian Railways are going to incur a shortfall of Rs 1000 crore in their resources generation - and will, therefore, have to seek budgetary support to that extend - will not surprise many. That's a scenario that has been played out for years now, and the outcome, too, has been predictable - with railways budget doing is duty by doling out public money. But it's time to look at the problem differently, in view of the current concerns of the government in economizing its charity and the feeling that the railways have to stand on their own legs.
The Railways have, over the last few months, continued to experience a shortfall of Rs 85 crore per month, a feature that could add to their woes if it continue. Fall in expected goods traffic, in the rate per tonne and also a dip in passenger traffic have contributed to the shortfall. All these may not be new concerns for the Railways; the relevant point, however, is how the system and the government hope to tackle it.
Clearly, budgetary support should be considered only in the last instance, after various measures to both reduce expenditure and raise resources have been tried out. Consider subsidies on passenger traffic --- the expenditure which really digs into the government's coffers. In fact, passenger traffic subsidy accounted for nearly 90 per cent of the railways' losses in 1992/93, with freight traffic subsidies taking up the rest.
Freight traffic subsidy cuts should prove more easy if this year's budget exercise is any indication. Till now, sixteen commodities were subsidized. In 1993/94, budget subsidy on four commodities were removed. Prices did not rise, there was little protest and now the Railways ought to be emboldened to do more Reduction in passenger subsidies is more tricky given the dependence of such a large population, mostly poor, on the system and most governments have been reluctant to do much. In fact, passenger rates have been hiked very few times and that, too, only in recent years.
One area where the Railways could do a lot more pruning is in shutting uneconomic branch lines. For instance, in 1992/93 it was found that 114 branch lines contributed a loss of Rs 121 crore.
To its credit, however, the railways have been looking around for sources of funds other than the budget.

Q. Which of the following is true regarding the passenger fare charged by the Railways?

Detailed Solution: Question 23

The answer is (d). You can reach the answer through elimination.

BEL Trainee Engineer CS Mock Test- 5 - Question 24

Directions: Given below is a sentence with a blank. From the options below, choose the correct idiom(s) that can fit in the blank to make the sentence grammatically and meaningfully correct.

Making the step-up to inter-county football after an absence of two years is ______________

I. a tall order
II. a viper in bosom
III. an uphill battle

Detailed Solution: Question 24

‘A tall order’ refers to ‘a challenging task or difficult requirement’ and ‘an uphill battle’ means ‘a very difficult struggle’. Both these idioms fit contextually in the blank.
‘A viper in bosom’ - a person who deceives you after receiving help from you. This idiom has no correlation to the context of the sentence. Thus, it does not fit in the blank.
Hence, option A is the correct answer. 

BEL Trainee Engineer CS Mock Test- 5 - Question 25

Directions: In the following question, a sentence is given with some part of it marked in underline. You have to identify the option that would replace the underline part and make the sentence contextually and grammatically correct. 

Unlike cereals, edible oils, and vegetables, where inflation is regularly reported, falling prices of Rabi crops like Chana seldom make it to a nation media.

Detailed Solution: Question 25

The highlighted part is erroneous. The use of ‘nation media’ is incorrect and should be replaced with ‘national media’. Also, the use of indefinite article ‘a’ is incorrect and should be replaced with definite article ‘the’.
Only D contains all these improvements.
Correct Sentence:
Unlike cereals, edible oils, and vegetables, where inflation is regularly reported, falling prices of Rabi crops like Chana seldom make it to the national media.
Hence, the correct answer is option D.
 

BEL Trainee Engineer CS Mock Test- 5 - Question 26

Directions: In the following question, a sentence is given with a phrase highlighted in underline. This phrase may or may not be correct. Following the sentence are four phrases, from which one phrase will replace the given phrase. 

An aeroplane flew a laser altimeter over the Arctic and Antarctic to gather some limited data-sets that could eventually be used to tie the two IceSat missions together.

Detailed Solution: Question 26

The phrase given in underlined is erroneous.
Reasons:
With the names of oceans, definite article ‘the’ is used. Thus. ‘the Artic’ and ‘the Antarctic’ will be used.
Also, preposition ‘to’ should be followed by first form of verb ‘gather’ in order to frame an infinitive (to + v1).
Correct Sentence:
An aeroplane flew a laser altimeter over the Arctic and the Antarctic to gather some limited data-sets that could eventually be used to tie the two IceSat missions together.
Hence, option A is the correct answer. 

BEL Trainee Engineer CS Mock Test- 5 - Question 27

You need the insert function dialog box. How do you get it?

Detailed Solution: Question 27

How to get the insert function dialog box:
1. Click the insert menu:
- Move your cursor to the top of the Excel window where you can see different menu options.
- Locate and click on the "Insert" menu tab.
2. Click function:
- After clicking the "Insert" menu, a dropdown list will appear.
- Scroll down and click on the "Function" option.
3. Insert function dialog box:
- Once you click on the "Function" option, the insert function dialog box will appear.
- This dialog box allows you to search for and select a specific function that you want to use in your Excel spreadsheet.
Remember, the correct answer to the question is option B: Click the insert menu and then click function. This is the specific sequence of steps you need to follow to access the insert function dialog box in Excel.

BEL Trainee Engineer CS Mock Test- 5 - Question 28

Which of the following syntax is correct regarding to SUM function in Excel?

Detailed Solution: Question 28

Explanation:
The correct syntax for the SUM function in Excel is:
A: =SUM(A1, B1)
This syntax adds the values of cell A1 and B1.
B: =SUM(A1:B9)
This syntax adds the values in the range from cell A1 to B9.
C: =SUM(A1:A9, B1:B9)
This syntax adds the values in the ranges from cell A1 to A9 and B1 to B9.
D: All of these
This means that all of the above options are correct and can be used to calculate the sum of values in Excel.
In summary, all of the given options (A, B, and C) have the correct syntax for the SUM function in Excel. These options demonstrate different ways to specify the cells or ranges to be summed.

BEL Trainee Engineer CS Mock Test- 5 - Question 29

An audio output unit

Detailed Solution: Question 29

An audio output unit
An audio output unit refers to a device that produces sound or audio output. Here are some key points to understand about audio output units:
1. Can speak out small range of digits and specified words:
- Audio output units are capable of producing sound in the form of spoken words and digits.
- They can be programmed to speak out specific words or digits, such as phone numbers, addresses, or other predetermined information.
2. Is not used in information system:
- This statement is incorrect. Audio output units are commonly used in information systems to provide auditory feedback or instructions to users.
- For example, automated phone systems often use audio output units to provide instructions or read out options to callers.
3. Is very expensive and is thus not used:
- This statement is also incorrect. Audio output units come in a wide range of prices, depending on their complexity and capabilities.
- While some high-end audio output units may be expensive, there are also many affordable options available in the market.
4. Is normally used to give only background music:
- This statement is incorrect. While audio output units can be used to play background music, their functionality extends far beyond that.
- They are commonly used in various applications such as multimedia systems, gaming consoles, public announcement systems, and more.
In conclusion, an audio output unit is a versatile device used for producing sound or audio output. It can speak out a small range of digits and specified words, is commonly used in information systems, comes in a wide range of prices, and can be used for various purposes beyond playing background music.

BEL Trainee Engineer CS Mock Test- 5 - Question 30

In the following question, assuming the given statements to be true, find which of the conclusion among given conclusions is/are definitely true and then give your answer accordingly.

Statement: P < Q < R < S = T

Conclusion:

I. Q < T

II. P > S

III. R = T

Detailed Solution: Question 30

Given Statement: P < Q < R < S = T

Conclusion:

I. Q < T → True (As, Q < R < S = T → Thus, it is clear that Q < T. So, the conclusion is true)

II. P > S → False (As, P < Q < R < S → Thus, it is clear that P < S. So, the conclusion is false)

III. R = T → False (As, R < S = T → Thus, it is clear that R < T. So, the conclusion is false)

Hence, the correct answer is "Only conclusion I follows".

View more questions
5 tests
Information about BEL Trainee Engineer CS Mock Test- 5 Page
In this test you can find the Exam questions for BEL Trainee Engineer CS Mock Test- 5 solved & explained in the simplest way possible. Besides giving Questions and answers for BEL Trainee Engineer CS Mock Test- 5, EduRev gives you an ample number of Online tests for practice
Download as PDF