200 Computer Science questions asked in BEL PE previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.
In an FCFS-scheduled system, five processes arrive at time 0:
P1 (CPU-bound, 20 ms) and P2–P5 (I/O-bound, 2–5 ms).
Which outcome is most likely under FCFS?
ACPU utilization improves because short processes preempt the long one.
BAverage waiting time becomes minimal for all processes.
CContext switching increases as I/O-bound processes repeatedly interrupt P1.
DI/O-bound processes face starvation due to the convoy effect caused by P1.
Show answerHide answer
Correct answer: (D) I/O-bound processes face starvation due to the convoy effect caused by P1.
Consider the following binary tree:
A is the root. A has left child B and right child C. B has left child D and right child E. C has a right child F.
If an in-order traversal is performed on this tree, what will be the correct order of visiting nodes?
A Mealy Machine outputs '1' when the current input bit is different from the previous input bit, otherwise it outputs '0'. Assume the previous input is 0 before the first symbol. What is the output sequence for the input string 'x = 10011'?
A computer system has a 16-bit address bus and uses byte-addressable memory. The main memory consists of two memory chips, each of size 32 KB. If the address space begins at 0000H, which of the following represents the correct address range for the second memory chip?
In a banking system, a transaction T1 transfers ₹300 from Account A to Account B. Balances are stored in a table Accounts(AccNo, Balance) with the constraint:
CHECK (Balance >= 0)
Suppose the following sequence occurs:
1. T1 deducts ₹300 from Account A.
2. System crashes before adding ₹300 to Account B.
3. The system restarts without recovery.
Which component of ACID has been compromised to the greatest extent in this case?
A data scientist is developing a predictive model for loan default detection using a dataset that contains labelled examples of previous loan applications marked as 'defaulted' or 'not defaulted'. However, during model training, the algorithm shows very high accuracy on training data but performs poorly on new unseen test data. Despite adding more labelled data, the issue persists. Which of the following best explains the underlying problem in the supervised learning process?
AThe model suffers from overfitting due to poor generalisation.
BThe dataset lacks sufficient labelling for supervised learning.
CThe model applies an unsupervised clustering technique instead of classification.
DThe algorithm fails due to lack of a defined loss function.
Show answerHide answer
Correct answer: (A) The model suffers from overfitting due to poor generalisation.
Consider the following Java code:
class Parent {
int x = 10;
void show() { System.out.println("Parent: " + x); }
}
class Child extends Parent {
int x = 20;
void show() { System.out.println("Child: " + x); }
}
public class Test {
public static void main(String[] args) {
Parent obj = new Child();
System.out.println(obj.x);
obj.show();
}
}
What will be the output of this program?
Which of the following algorithms correctly traverses all elements of a one-dimensional array A from index lower_bound to upper_bound?
AStep 1: SET I = upper_bound Step 2: Repeat Steps 3 to 4 while I >= lower_bound Step 3: Apply process to A[I+1] Step 4: SET I = I - 1 Step 5: EXIT
BStep 1: SET I = lower_bound Step 2: Repeat Steps 3 to 4 while I <= upper_bound Step 3: Apply process to A[I] Step 4: SET I = I + 1 Step 5: EXIT
CStep 1: SET I = lower_bound Step 2: Repeat Steps 3 to 4 while I < upper_bound Step 3: Apply process to A[I] Step 4: SET I = I + 1 Step 5: EXIT
DStep 1: SET I = lower_bound + 1 Step 2: Repeat Steps 3 to 4 while I <= upper_bound Step 3: Apply process to A[I] Step 4: SET I = I + 1 Step 5: EXIT
Show answerHide answer
Correct answer: (B) Step 1: SET I = lower_bound Step 2: Repeat Steps 3 to 4 while I <= upper_bound Step 3: Apply process to A[I] Step 4: SET I = I + 1 Step 5: EXIT
Analyse the following C program and predict its output.
#include <stdio.h>
int main() {
FILE *fp;
if ((fp = fopen("temp.txt", "r")) == NULL)
printf("Error");
else
fclose(fp);
fclose(fp);
return 0;
}
During an SMTP session, a client communicates with a mail server to send an email.
Consider the following sequence of SMTP commands and responses observed in a network trace:
S: 220 mail.example.com ESMTP Postfix
C: HELO client.host.com
S: 250 mail.example.com Hello client.host.com
C: MAIL FROM:<alice@example.com>
S: 250 OK
C: RCPT TO:<bob@example.net>
S: 550 No such user here
C: RCPT TO:<carol@example.net>
S: 250 OK
C: DATA
S: 354 End data with <CR><LF>.<CR><LF>
C: [message body]
C: .
S: 250 Message accepted for delivery
C: QUIT
S: 221 Bye
Based on the SMTP protocol rules, which of the following statements is most accurate about this interaction?
AThe client successfully delivered the message to all recipients, including Bob and Carol.
BThe server rejected the entire message because one recipient was invalid.
CThe SMTP session was invalid because the client did not issue the EHLO command.
DThe client successfully sent the message, but it will only be delivered to Carol, since Bob's address was rejected.
Show answerHide answer
Correct answer: (D) The client successfully sent the message, but it will only be delivered to Carol, since Bob's address was rejected.
In a multimedia operating system, which of the following functionalities is most critical to ensure continuous playback of audio and video streams without jitter or frame drops?
AFile system encryption and access control
BSupport for multiple user logins with access control
CReal-time process scheduling with deadline constraints
DBatch processing for background tasks
Show answerHide answer
Correct answer: (C) Real-time process scheduling with deadline constraints
Consider the following Java program:
class Demo {
int x = 5;
static int y = 10;
void display() {
int x = 20;
System.out.println(x + " " + this.x + " " + y);
}
}
class Test {
static int y = 50;
public static void main(String[] args) {
Demo d = new Demo();
d.display();
System.out.println(d.y + " " + y);
}
}
What will be the output of the program?
A multimedia production team is developing an educational documentary that integrates narration, ambient sound, synchronised animations and live-action footage. The final output must maintain lip synchronisation, balanced audio mixing and seamless video transitions for both web streaming and broadcast-quality formats.
Which of the following production workflows ensures maximum synchronisation accuracy, audiovisual consistency and cross-platform compatibility?
AUse only compressed streaming formats (like FLV or WMV) during editing to ensure real-time playback, and later convert to broadcast formats through transcoding.
BRecord video and audio separately, use a clapperboard or timecode for synchronisation, perform multi-track audio mixing and colour grading, then export using broadcast-safe codecs (e.g., MXF or ProRes) and adaptive web formats (e.g., MP4/H.264).
CFocus on editing audio first, then align video clips visually using waveform approximation; export all content in uncompressed AVI format for highest fidelity.
DCapture all audio and video simultaneously using a single camera microphone, then edit directly on the timeline to minimise post-production steps.
Show answerHide answer
Correct answer: (B) Record video and audio separately, use a clapperboard or timecode for synchronisation, perform multi-track audio mixing and colour grading, then export using broadcast-safe codecs (e.g., MXF or ProRes) and adaptive web formats (e.g., MP4/H.264).
Consider a DFS on a graph with vertices {A, B, C, D, E}.
If the traversal starts at A and discovers vertices in order A → B → C → D → E, what is the DFS finishing order?
In the context of multimedia compositing, which of the following best describes the primary function of chroma keying used in live-action and post-production integration?
AIt isolates and removes a specific colour background to merge live-action footage with another visual element.
BIt synchronises the motion paths of animated and static elements within a composition.
CIt adjusts the brightness and contrast levels of multiple image layers.
DIt enhances the texture mapping of 3D models to blend them with background scenes.
Show answerHide answer
Correct answer: (A) It isolates and removes a specific colour background to merge live-action footage with another visual element.
Which of the following statements about domain constraints in a relational database is most accurate?
ADomain constraints automatically enforce referential integrity between primary and foreign keys.
BDomain constraints ensure that each attribute's value belongs to a predefined set or type, and may restrict NULL values if specified.
CDomain constraints apply only to numeric attributes and are ignored for character or date types.
DDomain constraints define relationships between multiple attributes across different tables.
Show answerHide answer
Correct answer: (B) Domain constraints ensure that each attribute's value belongs to a predefined set or type, and may restrict NULL values if specified.
A table Account is defined as:
CREATE TABLE Account (
AccNo INT PRIMARY KEY,
Balance DECIMAL(10,2) CHECK (Balance >= 500)
);
Which sequence of operations violates data integrity without violating entity integrity?
Which of the following statements about Software Engineering is most accurate according to its core principles?
ASoftware Engineering emphasises systematic, disciplined and quantifiable approaches to software development, operation and maintenance.
BSoftware Engineering is concerned only with hardware-software integration during system design.
CSoftware Engineering principles apply only to large-scale industrial projects, not small software systems.
DSoftware Engineering focuses mainly on programming efficiency rather than maintenance and scalability.
Show answerHide answer
Correct answer: (A) Software Engineering emphasises systematic, disciplined and quantifiable approaches to software development, operation and maintenance.
Q100BEL PE Computer Science, 20 Dec 2025 (5:00 PM)
Which of the following elements of graphic design primarily helps in creating depth, contrast and emphasis by controlling how light or dark an area appears?
AValue
BSpace
CTexture
DColour
Show answerHide answer
Correct answer: (A) Value
How to use these BEL PE Computer Science questions
Every question here was asked in a real BEL PE paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full BEL PE papers as timed tests to check your speed under exam conditions.