Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  BEL Trainee Engineer CS Mock Test- 4 - Computer Science Engineering (CSE) MCQ

BEL Trainee Engineer CS Mock Test- 4 - Computer Science Engineering (CSE) MCQ


Test Description

30 Questions MCQ Test - BEL Trainee Engineer CS Mock Test- 4

BEL Trainee Engineer CS Mock Test- 4 for Computer Science Engineering (CSE) 2025 is part of Computer Science Engineering (CSE) preparation. The BEL Trainee Engineer CS Mock Test- 4 questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The BEL Trainee Engineer CS Mock Test- 4 MCQs are made for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for BEL Trainee Engineer CS Mock Test- 4 below.
Solutions of BEL Trainee Engineer CS Mock Test- 4 questions in English are available as part of our course for Computer Science Engineering (CSE) & BEL Trainee Engineer CS Mock Test- 4 solutions in Hindi for Computer Science Engineering (CSE) course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt BEL Trainee Engineer CS Mock Test- 4 | 100 questions in 120 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
BEL Trainee Engineer CS Mock Test- 4 - Question 1

Which of the following statements is/are correct with respect to the service of network layer?

  1. The services are dependent on router technology.
  2. The network addresses made available to the transport layer must be in uniform numbering plan.

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 1

Routers are used to connect two or more segments of the network. They operate under the network layer of OSI model. They are capable of finding the best path to transfer the data. Thus, the services of the network layer are dependent on router technology.
The services of network layer to the transport layer are designed such that the network address which are made available to the transport layer should use a uniform numbering plan across local-area network as well as wide-area network.

BEL Trainee Engineer CS Mock Test- 4 - Question 2

Which of the following statements are true?

  1. Shortest remaining time first scheduling may cause starvation
  2. Preemptive scheduling may cause starvation
  3. Round robin is better than FCFS in terms of response time

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 2
  • SRTF( Shortest Remaining Timing First)scheduling may cause starvation since the processes which require large CPU burst periods would have to wait.
  • Generally preemptive scheduling doesn't cause starvation but in some cases, it may cause starvation when one process doesn't block due to I/O so others have to wait.
  • In case of response time, it is quite obvious due to involvement of preemption, round robin is better than FCFS, .

Hence, all the statements are true.

BEL Trainee Engineer CS Mock Test- 4 - Question 3

Which statement defines an Algorithm?

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 3

According to the definition of the Algorithm,

  • An algorithm is a sequence combination of finite steps to solve a particular problem. 
  • It is a finite step-by-step procedure to achieve a required result.
  • An algorithm always produces at least one output.
  • It always terminates an infinite amount of time.
  • An algorithm is independent of the programming language.

Hence, the correct option is (B).

BEL Trainee Engineer CS Mock Test- 4 - Question 4

What is the output of the first step of selection sort performed on the following input?

64 25 12 22 11

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 4

Selection sort algorithm is used to sort the elements of an arrays by finding the maximum or minimum element of the array and then putting that element into its correct position to sort the array in ascending or descending order.
In the array given above, to sort it into an ascending array, the first step is to find the minimum element which is 11 and replace it with 64.
After the first step array becomes: 11 25 12 22 64
Hence, option 1 is correct.

BEL Trainee Engineer CS Mock Test- 4 - Question 5

Consider three decision problems P1, P2 and P3. It is known that P1 is decidable and P2 is undecidable. Which of the following statements is true?

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 5

P1 decidable
P2 undecidable
A decision problem is said to be decidable if there exists an effective algorithm that returns a correct yes or no answer to that problem.
A decision problem is said to be undecidable if there does not exist a single algorithm that always leads to a correct yes or no solution.
In terms of reducibility, P2 ≤p P3 denotes that P2 is a decision problem that is reducible to P3 in polynomial time p. This simply means that the instance of P2 can be transformed into P3 instance; and following the solution of P3, we can get a solution for the problem P2. Hence, if P1 or P2 is reducible to P3, then P3 also has the same properties as P1 and P2. So, if P2 is reducible to P3, then P3 is undecidable.

BEL Trainee Engineer CS Mock Test- 4 - Question 6

A bolt is manufactured by 3 machines A, B and C. Machine A turns out twice as many items as B and machines B and C produce an equal number of items. 2% of bolts produced by A and B are defective and 4% of bolts produced by C are defective. All bolts put into 1 stockpile and 1 is chosen from this pile. What is the probability that it is defective?

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 6

Let A be the event in which an item has been produced by machine A and so on.

D = The event of the item being defective.

P(A) = 1/2

P(B) = 1/4

P(D/A) = P = 2/100 (An item is defective, given that A has produced it)

P(D/B) = 2/100

P(D/C) = 4/100

P(C) = 1/4

By theorem of total productivity,

Required probability = Chosen a defective bolt from Machine A+ Chosen a defective bolt from Machine B+ Chosen a defective bolt from Machine C.

P(D) = P(A) × P(D/A) + P(B) × P(D/B) + P(C) × P(D/C)

=0.025

Hence, the correct option is (B).

BEL Trainee Engineer CS Mock Test- 4 - Question 7

The simplified SOP (Sum of Product) form of the Boolean expression 

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 7

The simplified SOP (Sum of Product) form of the boolean expression by the two methods:

Method ( 1 ): By Minimization

Method ( 2 ): By Truth Table

Hence, the correct option is (B).

BEL Trainee Engineer CS Mock Test- 4 - Question 8

A binary search tree is generated by inserting the following integers in order:

50, 15, 62, 5, 20, 58, 91, 3, 8, 37, 60, 24

How many nodes are there in the left sub-tree and the right sub-tree of the root, respectively?

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 8

Binary Tree - Tree in which each node has at most two child nodes.
Binary search tree - A binary tree in which the left child contains only nodes with values less than the parent node, and the right child contains only nodes with values greater than or equal to the parent. Binary search tree is used for efficient searching. The binary search tree for the above problem is given below.

BEL Trainee Engineer CS Mock Test- 4 - Question 9

What is the value of following recurrence?

T(n) = 1 if n = 1

T(n) = T(n/2) + n else

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 9

Given,

T(n) = 1 if n = 1
T(n) = T(n/2) + n

Now,

= n/2k

= 1

As we know,

⇒ log n = k

= n(2) + 1

= 2n

∴T(n) = O(n)

Hence, the correct option is (C).

BEL Trainee Engineer CS Mock Test- 4 - Question 10

Consider a network having 6 routers P to U connected with links having weights as shown below:

All routers are using distance vector routing algorithm to update their routing table. Then what will be the shortest distance between router P and router U?

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 10

There are various routes possible from P to U.

First route from P to U is:

1. P → S → U: COST = 4 + 2 = 6

2. P → R → U:  COST = 1 + 2 = 3

3. P → R → S → U: COST = 1 + 1 + 2 =  4

4. P → R → T → U: COST = 1+ 8 + 3 = 12

5. P → Q → T → U: COST = 3 + 6 + 3 = 12

6. P → Q → R → U: COST = 3 + 7 + 2 = 12

7. P → Q → R → T → U: COST = 3 + 7 + 8 + 3 = 21

So, minimum cost is 3. Shortest route from P to U is 3.

Hence, the correct option is (A).

BEL Trainee Engineer CS Mock Test- 4 - Question 11

The least number of computers required to connect 10 computers to 5 routers to guarantee 5 computers can directly access 5 routers is _________.

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 11

It is given that, each 5 computer needs directly connected with each router. 

Let c1 to c5 be the 5 computer needs directly connected with each router r1 to r5. Now,

c1 → r1, r2, r3, r4, r5

c2 → r1, r2, r3, r4, r5

c3 → r1, r2, r3, r4, r5

c4 → r1, r2, r3, r4, r5

c5 → 1, r2, r3,r 4, r5

c6 → 1

c7 → r2

c8 → r3

c9 → r4

c10 → r5

So, 25 connections + now remaining 5 computer, each connected to 5 different routers, so 5 connections =30 connections.

Now, any pick of 5 computers will have a direct connection to all the 5 routers.

Hence, the correct option is (C).

BEL Trainee Engineer CS Mock Test- 4 - Question 12

Consider a system in which bus cycles takes 750 ns. Transfer of bus control in either direction, from the processor to I/O device or vice versa, takes 300 ns. One of the I/O devices has a data transfer rate of 32 KB/s and employs DMA. Data are transferred one byte at a time. For how long would the device tie up the bus (in ms) when transferring a block of 160 bytes in DMA burst mode?

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 12

A Byte of data is read into the DMA Controller's buffer (During this time, the CPU has control of the bus, so we don't take this time into consideration).

Take the bus from CPU = 300 ns

Transfer the Byte = 750 ns

Give the control back to the processor = 300 ns

The block size = 160 bytes

Data transfer rate = 32 KB/s

Now,

So the total time = Time to start DMA + time to end DMA.

The time required for initiate,

= 300 + 300

= 600 ns

Since the device is slow the DMA speed is governed by DMA speed.

Time taken by the device is,

= 5 ms

Total time required:

= 750 ns + 5 ms

Total time required:

= 750 × 10−6 + 5

= 5 ms

Hence, the correct option is (A).

BEL Trainee Engineer CS Mock Test- 4 - Question 13

A priority queue is used to implement a stack S that stores characters. PUSH (C) is implemented as INSERT (Q, C, K), where K is an appropriate integer key closed by the implementation. POP is implemented as DELETEMIN (Q). For a sequence of operation, the keys chosen are in

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 13

We are implementing a stack using a priority queue. Stack implementation is always Last In First Out (LIFO) order.
As given, POP is implemented as DELETEMIN (Q), that means the stack returns minimum element always.
So, we need to implement PUSH (C) using INSERT (Q, C, K), where K is the key chosen from a strictly-decreasing order (only this order will ensure that the stack will return minimum element when we POP an element). It will satisfy the Last In First Out (LIFO) property of stack. That is, answer option (1) is true.
Option (4) (non-increasing order) cannot be true because two same (identical) numbers cannot have same priority as priority should be distinguishable for each number.

BEL Trainee Engineer CS Mock Test- 4 - Question 14

The lexical analysis for a modern computer language such as Java needs the power of which one of the following machine models in a necessary and sufficient sense?

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 14

Finite Automata(FA):

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 tokens as output for the parser and tokens are expressed in regular expressions.

So, a simple finite automaton is sufficient for it.

Phases in a compiler:

Hence, the correct option is (A).

BEL Trainee Engineer CS Mock Test- 4 - Question 15

Refer to the following data to answer the question that follows:

F(x) = modulus of x
G(x) = the largest integer less than or equal to x
H(x) = the smallest integer greater than or equal to x
I(x) = x, the real number

Find the value of

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 15

BEL Trainee Engineer CS Mock Test- 4 - Question 16

The condition which satisfies the recurrence relation  is

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 16

Let n = 2k

BEL Trainee Engineer CS Mock Test- 4 - Question 17

Direction: In the following questions choose the word opposite in meaning to the given word.

Appreciation

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 17

The meaning of word Appreciation (Noun) is: Thankfulness. It’s antonym should be: Aspersions, e.g, to criticize harshly.

BEL Trainee Engineer CS Mock Test- 4 - Question 18

In questions given below out of four alternatives, choose the one which can be substituted for the given word/sentence.

Q. A person pretending to be somebody he is not

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 18

One word substitute is Imposter.

Imposter: a person who pretends to be someone else in order to deceive others, especially for fraudulent gain.
Liar: a person who tells lies.
Rogue: a dishonest or unprincipled man.
Magician: a person with magical powers.

BEL Trainee Engineer CS Mock Test- 4 - Question 19

India's Founding Fathers strongly believed in women's suffrage. In other countries, only men could vote until mid 20th century. What is “suffrage”?

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 19

Suffrage means "the right to vote in political elections"

She also was involved in the national temperance and women's suffrage movements
The system of universal suffrage did not exist in the United Kingdom until 1928

BEL Trainee Engineer CS Mock Test- 4 - Question 20

Direction: Read the following passages carefully and answer the question that follows.
The quality of our urban life is abysmal and falling. Painfully long power cuts are a quotidian reality in most cities, barring their privileged enclaves. So it is a crippling scarcity of potable water, which forces the lower middle class household to spend 5 per cent or more of its income on buying bottled water or purifying the poor-quality water it gets from the municipal tap or, increasingly, bore wells, most of which are illegal and savagely depleting and contaminating groundwater. Most Indian cities are unsafe, especially for women , but also for pedestrians and users of non-mechanized transport like bicycles. Old people, whose number are growing rapidly, cannot possibly feel secure in negotiating our urban spaces. No Indian city is disabled-friendly. And the vast majority of our cities and towns have no pavements or footpaths worth the name. Worse, our cities are turning uglier by the day as parks and greenery are devoured.

Q. What problem the urban people are facing?

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 20

The problem of contamination of water is being faced by the people. The author says that there is poor quality of water.

BEL Trainee Engineer CS Mock Test- 4 - Question 21

Direction: In the following questions, Out of four alternatives choose the one which can be substituted for the given words/sentence.

Give and receive mutually

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 21

Reciprocate: To behave or feel towards somebody in the same way as we behave or feel towards you ; give in return

BEL Trainee Engineer CS Mock Test- 4 - Question 22

When your plan brings us great wealth, you will be rewarded for your sagacity. What does "sagacity" means?

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 22

Sagacity means acuteness of mental discernment and soundness of judgment

The King, however, had the sagacity to secure a preemption-right as early as 1620
Abdur Rahman's attitude at this critical juncture is a good example of his political sagacity

BEL Trainee Engineer CS Mock Test- 4 - Question 23

______ are very effective because a mode switch is not required to switch from one thread to another.

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 23
User-level threads

User-level threads are very effective because a mode switch is not required to switch from one thread to another. Here is a detailed explanation:



  • Definition: User-level threads are managed by the application without the intervention of the operating system. They are created and scheduled by the application itself.

  • Advantages: User-level threads offer several advantages, including:


    • No mode switch: User-level threads do not require a mode switch from user mode to kernel mode when switching between threads. This makes the context switch faster and more efficient.

    • Thread management control: The application has full control over thread management, including scheduling, synchronization, and resource allocation.

    • Portability: User-level threads can be easily ported across different operating systems, as they are independent of the underlying kernel.


  • Disadvantages: User-level threads also have some limitations:


    • Blocking system calls: If a user-level thread performs a blocking system call, it will block the entire process, as the kernel is unaware of the individual threads.

    • Limited parallelism: User-level threads may not fully utilize the available hardware resources, as the operating system schedules threads at the process level rather than at the thread level.



In conclusion, user-level threads are very effective because they eliminate the need for a mode switch and provide greater control over thread management. However, they also have some limitations that need to be considered in certain scenarios.

BEL Trainee Engineer CS Mock Test- 4 - Question 24

What is a function of Shift + F9 MS Excel?

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 24

The correct answer is c​alculate active/selected worksheets in the active workbook.

Key Points

  • Shift+F9 calculates the active worksheet.
  • Ctrl+Alt+F9 calculates all worksheets in all open workbooks, regardless of whether they have changed since the last calculation.

Additional Information

BEL Trainee Engineer CS Mock Test- 4 - Question 25

The time taken by internet packets

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 25
Answer:
The time taken by internet packets can vary depending on various factors. Let's explore these factors in detail:
1. Network Congestion:
- Internet traffic and congestion can affect the time taken by packets to reach their destination.
- During peak hours or in heavily congested networks, packets may experience delays.
2. Packet Size:
- The size of the packet can also impact the time taken.
- Larger packets may take longer to transmit compared to smaller packets.
3. Routing:
- The route the packets take from the source to the destination can also affect the time taken.
- Different routing paths may have varying latencies, causing differences in packet delivery time.
4. Network Quality:
- The quality and stability of the network infrastructure can impact packet delivery time.
- Unstable or unreliable networks may result in packet loss or increased latency.
5. Packet Priority:
- Certain packets, such as real-time audio or video packets, may be given higher priority and transmitted faster.
- However, this does not mean that the time taken by packets is irrelevant for audio packets.
In conclusion, the time taken by internet packets can vary based on network congestion, packet size, routing, network quality, and packet priority. Therefore, option B is the correct answer, while option C is incorrect as the time taken is relevant for all types of packets, including audio packets.
BEL Trainee Engineer CS Mock Test- 4 - Question 26

In order to play and hear sound on a computer, one needs:

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 26
Answer:
To play and hear sound on a computer, one needs:
A sound card:
- A sound card is a hardware component that allows the computer to produce and process audio.
- It is responsible for converting digital audio signals into analog signals that can be played through speakers or headphones.
- The sound card also provides various audio input and output ports for connecting external devices.
Speakers:
- Speakers are output devices that convert electrical signals into sound waves.
- They are connected to the sound card and produce audio output based on the signals received.
- Speakers come in different types and configurations, such as stereo speakers, surround sound speakers, and portable speakers.
Microphone (not required for playing sound):
- A microphone is an input device that converts sound waves into electrical signals.
- While a microphone is not necessary for playing sound on a computer, it is required for recording audio or for voice communication in applications such as video conferencing or gaming.
In summary, to play and hear sound on a computer, a sound card and speakers are required. A microphone is not necessary unless audio recording or voice communication is needed.
BEL Trainee Engineer CS Mock Test- 4 - Question 27
______ contains data that is stored for a short amount of time, typically in the computer's memory.
Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 27

The correct option is (2)

Buffer

Key Points

  • A memory area known as a buffer is used to store data momentarily while it is being transferred from one location to another.
  • When transferring data between computer processes, a buffer is employed. The vast majority of buffers are used in the software.
  • The main memory (RAM buffer)'s memory serves as a short-term storage space for data being sent between two or more devices or between an application and a device.

Additional Information

  •  Its acronym is ALU or arithmetic-logic unit. It is a component of a computer processor (CPU) that performs mathematical and logical processes.
  • A computer's CPU contains hardware called a control unit, or CU, which controls operations. It provides instructions on how to process commands from the program for the computer's memory, logic module, and input and output devices.
BEL Trainee Engineer CS Mock Test- 4 - Question 28

Directions: Each of the following consists of a question and two statements numbered I and II given below it. You have to decide whether the data provided in the statements are sufficient to answer the question.

In which month of the year is Kirti’s birthday?
Statement I:
Kirti correctly remembers that her birthday is in the second half of the year.
Statement II: Kirti’s father correctly remembers that her birthday is after 31st October but before 1st December.

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 28

Checking Statement I:

Here, as Kirti correctly remembers that her birthday is in the second half of the year, so her birthday is in July or August or September or October or November or December.

Hence data in statement I is not sufficient to answer the question.

Checking Statement II:

Here, as Kirti’s father correctly remembers that her birthday is after 31st October but before 1st December, so we can say that Kirti’s birthday is in November.

Hence data in statement II is sufficient to answer the question.

Hence, Option B is correct.

BEL Trainee Engineer CS Mock Test- 4 - Question 29

In a certain code language, 518 means 'Evening is good', 714 means 'Star is beautiful', 834 means 'Evening was beautiful'. Find the code for 'was'.

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 29

The above information can be summarized below diagram,

Therefore, the code for “was” will be “3”. 

Hence, option 4 is the correct answer.

BEL Trainee Engineer CS Mock Test- 4 - Question 30

In the following question number of triangle are

Detailed Solution for BEL Trainee Engineer CS Mock Test- 4 - Question 30

 

The main triangle shown is in the given figure and this the total no. of triangle is 15. remaing triangle we can find out in the drawing the triangle in the image.

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