BEL PE · Topic-wise previous year questions

Computer Science Previous Year Questions (page 4)

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.

  • 200 questions
  • 7 topics
  • Official answer key
  • Free

Practise by topic

Q151BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
A ______ defines an action the database should take when some database-related event occurs that causes a change in the content of a table in a database.
  1. AField
  2. BHit
  3. CTrigger
  4. DRelation
Show answerHide answer

Correct answer: (C) Trigger

Q152BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
What is the cyclomatic complexity of the given flow graph? The flow graph has 9 nodes: 1, (2,3), (4,5), 6, 7, 8, 9, 10, 11, and 11 edges: 1 → (2,3); (2,3) → 6; (2,3) → (4,5); 6 → 7; 6 → 8; 7 → 9; 8 → 9; 9 → 10; (4,5) → 10; 10 → 1; 1 → 11.
  1. A5
  2. B3
  3. C6
  4. D4
Show answerHide answer

Correct answer: (D) 4

Q153BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following is the external sorting?
  1. ASelection sort
  2. BQuick sort
  3. CInsertion sort
  4. DMerge sort
Show answerHide answer

Correct answer: (D) Merge sort

Q154BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
As per ISO 25010 quality model which of the following is not the characteristics which describe quality in use model?
  1. AEffectiveness
  2. BSatisfaction
  3. CCompatibility
  4. DEfficiency
Show answerHide answer

Correct answer: (C) Compatibility

Q155BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following statement is CORRECT regarding Entropy, which is a measurement of the uncertainty in data? I. Low entropy indicates that the data labels are quite uniform. II. High entropy means the labels are in chaos.
  1. AOnly I
  2. BNeither I nor II
  3. COnly II
  4. DBoth I and II
Show answerHide answer

Correct answer: (D) Both I and II

Q156BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
What is the output of the following postfix expression? 5, 6, 2, +, *, 8, 4, /, –
  1. A38
  2. B37
  3. C36
  4. D39
Show answerHide answer

Correct answer: (A) 38

Q157BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Match the following algorithms with the data structure it uses. Algorithm: I. Breadth first search; II. Heap sort; III. Depth first search Data structure: 1. Stacks; 2. Queue; 3. Arrays
  1. AI – 3; II – 2; III – 1
  2. BI – 3; II – 1; III – 2
  3. CI – 2; II – 3; III – 1
  4. DI – 1; II – 2; III – 3
Show answerHide answer

Correct answer: (C) I – 2; II – 3; III – 1

Q158BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following statement is CORRECT regarding Referential Integrity Constraints in Relational Database Management System? I. Referential Integrity Constraint is a rule that maintains consistency among the rows of two tables (relations). II. Referential Integrity rule states that if there is a foreign key in one relation, either each foreign key value must match a primary key value in the other table or else the foreign key value must be null.
  1. ANeither I nor II
  2. BOnly II
  3. COnly I
  4. DBoth I and II
Show answerHide answer

Correct answer: (D) Both I and II

Q159BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Match the following algorithm with its average complexity. Algorithm: I. Binary search; II. Quick sort; III. Linear search; IV. Selection sort Average Complexity: 1. O(n²); 2. O(log n); 3. O(n log n); 4. O(n)
  1. AI – 2; II – 3; III – 4; IV – 1
  2. BI – 4; II – 3; III – 2; IV – 1
  3. CI – 1; II – 4; III – 2; IV – 3
  4. DI – 3; II – 1; III – 2; IV – 4
Show answerHide answer

Correct answer: (A) I – 2; II – 3; III – 4; IV – 1

Q160BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
In context of OSI model of computer networks ________ layer provides services that directly support end users of networks and is a collection of miscellaneous protocols for various commonly used applications such as electronic mail, file transfer etc.
  1. ASession
  2. BTransport
  3. CApplication
  4. DPresentation
Show answerHide answer

Correct answer: (C) Application

Q161BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
What is the least number which when divided by 12, 16, 18 and 30 leaves a remainder of 4 in each case but is completely divisible by 7?
  1. A4242
  2. B2324
  3. C2884
  4. D4245
Show answerHide answer

Correct answer: (C) 2884

Q162BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Consider the following confusion matrix. Actual Positive, Predicted Positive: 100 Actual Positive, Predicted Negative: 50 Actual Negative, Predicted Positive: 150 Actual Negative, Predicted Negative: 9700 What is the value of False Negative in this confusion matrix?
  1. A50
  2. B100
  3. C150
  4. D9700
Show answerHide answer

Correct answer: (A) 50

Q163BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Match the machine learning technique with its way of working. Machine learning type: I. Supervised learning; II. Unsupervised learning; III. Reinforcement Methods: 1. Utilizes data that is not labelled and attempts to find patterns by clustering similar objects together; 2. Work on the principle of reward and punishment; 3. Utilizes a labelled dataset
  1. AI – 3; II – 2; III – 1
  2. BI – 1; II – 2; III – 3
  3. CI – 3; II – 1; III – 2
  4. DI – 1; II – 3; III – 2
Show answerHide answer

Correct answer: (C) I – 3; II – 1; III – 2

Q164BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
A merchant allows a discount of 10 percent on marked price. If he wants to earn a profit of 10 percent, then marked price will be how much percentage more than the cost price?
  1. A22.22 percent
  2. B30 percent
  3. C33.33 percent
  4. D50.66 percent
Show answerHide answer

Correct answer: (A) 22.22 percent

Q165BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following is NOT the problems of synchronization?
  1. AThe Dining-Philosophers problem
  2. BThe Knapsack problem
  3. CThe Bounded-Buffer problem
  4. DThe Readers-Writer problem
Show answerHide answer

Correct answer: (B) The Knapsack problem

Q166BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
If w : x : y = 3 : 5 : 2 and y : z = 2 : 5, then what is the value of w : x : y : z?
  1. A3 : 5 : 2 : 4
  2. B2 : 5 : 2 : 5
  3. C4 : 5 : 3 : 5
  4. D3 : 5 : 2 : 5
Show answerHide answer

Correct answer: (D) 3 : 5 : 2 : 5

Q167BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Match the following type of software maintenance to the situation where it is carried out. Maintenance: I. Corrective; II. Perfective; III. Adaptive Situation: 1. Carried out to improve the performance of the system or to enhance the functionalities of the system; 2. Usually required for porting the software to work in new environment; 3. Carried out to correct errors that were not discovered during the product development phase
  1. AI – 1; II – 2; III – 3
  2. BI – 3; II – 2; III – 1
  3. CI – 3; II – 1; III – 2
  4. DI – 1; II – 3; III – 2
Show answerHide answer

Correct answer: (C) I – 3; II – 1; III – 2

Q168BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
The time dispatcher takes for the dispatcher to stop one process and start another running is known as ______.
  1. Adispatch turnaround time
  2. Bdispatch latency
  3. Cdispatch response time
  4. Ddispatch wasting time
Show answerHide answer

Correct answer: (B) dispatch latency

Q169BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
What is the total number of swaps performed to sort the following list of elements 18, 32, 17, 19, 41, 15, 23 in an ascending order, using bubble sort?
  1. A10
  2. B13
  3. C12
  4. D11
Show answerHide answer

Correct answer: (A) 10

Q170BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following is the CORRECT definition of O-notation?
  1. AO(g(n)) = {f(n): there exist positive constants c and n₀ such that 0 ≤ f(n) ≤ c·g(n) for all n ≥ n₀}
  2. BO(g(n)) = {f(n): there exist positive constants c and n₀ such that 0 ≥ f(n) ≥ c·g(n) for all n ≥ n₀}
  3. CO(g(n)) = {f(n): there exist positive constants c₁, c₂ and n₀ such that 0 ≤ c₁·g(n) ≤ f(n) ≤ c₂·g(n) for all n ≥ n₀}
  4. DO(g(n)) = {f(n): there exist positive constants c and n₀ such that 0 ≤ c·g(n) ≤ f(n) for all n ≥ n₀}
Show answerHide answer

Correct answer: (A) O(g(n)) = {f(n): there exist positive constants c and n₀ such that 0 ≤ f(n) ≤ c·g(n) for all n ≥ n₀}

Q171BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
In the context of Relational Algebra of Database Management System, which of the following is the symbol of the JOIN operation?
  1. A⋈ (bow-tie)
  2. B▶ (right-pointing triangle)
  3. C✛ (four-headed arrow)
  4. D↔ (two-headed horizontal arrow)
Show answerHide answer

Correct answer: (A) ⋈ (bow-tie)

Q172BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Any address generated by the CPU is commonly referred to as a ______ where an address seen by the memory unit i.e. the one loaded into the memory address register is known as ______.
  1. Alogical address; absolute address
  2. Blogical address; physical address
  3. Cabsolute address; physical address
  4. Dphysical address; relocatable address
Show answerHide answer

Correct answer: (B) logical address; physical address

Q173BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
What is the decimal conversion of (1010.011)₂?
  1. A14
  2. B10.375
  3. C11.375
  4. D12
Show answerHide answer

Correct answer: (B) 10.375

Q174BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
In context of data normalization in database management system, relation is in Boyce-Codd Normal Form if and only if every determinant is a ______.
  1. AAlternate key
  2. BForeign key
  3. CNon-primary key
  4. DCandidate key
Show answerHide answer

Correct answer: (D) Candidate key

Q175BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following pair is CORRECT? I. Associative law : (x*y)*z = x*(y*z) II. Distributive law : x*(y+z) = (x*y)+(x*z)
  1. AOnly I
  2. BBoth I and II
  3. CNeither I nor II
  4. DOnly II
Show answerHide answer

Correct answer: (B) Both I and II

Q176BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following is part of the hierarchical storage system? I. Cache memory II. Near-line mass storage devices
  1. AOnly II
  2. BBoth I and II
  3. COnly I
  4. DNeither I nor II
Show answerHide answer

Correct answer: (B) Both I and II

Q177BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following statement is CORRECT with reference to syntax-directed Translation Schemes? I. Synthesized translation defines the value of the translation of the nonterminal on the left side of the production as a function of the translations of the nonterminal on the right side. II. Translation of a non-terminal on the right side of the production is defined in terms of a translation of the non-terminal on left. Such translation is called inherited translation.
  1. ANeither I nor II
  2. BOnly I
  3. COnly II
  4. DBoth I and II
Show answerHide answer

Correct answer: (D) Both I and II

Q178BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following pair is CORRECT? I. Half adder - A combinational circuit that performs the addition of two bits II. Full adder - A combinational circuit that performs the addition of three bits
  1. AOnly II
  2. BBoth I and II
  3. CNeither I nor II
  4. DOnly I
Show answerHide answer

Correct answer: (B) Both I and II

Q179BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following is NOT part of the mechanical diagram of the Turing machine?
  1. AQueue
  2. BInput tape
  3. CRead-write head
  4. DFinite control
Show answerHide answer

Correct answer: (A) Queue

Q180BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following is the CORRECT sequence of the phases of a compiler?
  1. ALexical analysis, intermediate code generation, syntax analysis, code generation, code optimization
  2. BLexical analysis, syntax analysis, intermediate code generation, code generation, code optimization
  3. CLexical analysis, intermediate code generation, syntax analysis, code optimization, code generation
  4. DLexical analysis, syntax analysis, intermediate code generation, code optimization, code generation
Show answerHide answer

Correct answer: (D) Lexical analysis, syntax analysis, intermediate code generation, code optimization, code generation

Q181BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following is NOT the necessary condition for the deadlock?
  1. ACircular wait
  2. BPreemption
  3. CHold and wait
  4. DMutual exclusion
Show answerHide answer

Correct answer: (B) Preemption

Q182BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
A ______ is a combinational circuit that selects binary information from one of many input lines and directs it to a single output line.
  1. Afull adder
  2. Bhalf adder
  3. Chalf subtractor
  4. Ddigital multiplexer
Show answerHide answer

Correct answer: (D) digital multiplexer

Q183BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following algorithms is an example of the divide and conquer approach?
  1. APrim's algorithm
  2. BMatrix-chain multiplication
  3. CQuick sort
  4. DLongest common subsequence
Show answerHide answer

Correct answer: (C) Quick sort

Q184BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Context free grammar is ______ grammar according to the Chomsky hierarchy.
  1. AType 2
  2. BType 1
  3. CType 0
  4. DType 3
Show answerHide answer

Correct answer: (A) Type 2

Q185BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
In context of OSI model of computer networks, which of the following is a Transport Layer Protocol? I. Transport Control Protocol II. User Datagram Protocol
  1. ANeither I nor II
  2. BOnly I
  3. CBoth I and II
  4. DOnly II
Show answerHide answer

Correct answer: (C) Both I and II

Q186BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following statement is correct regarding complements? I. Complements are used in digital computers for simplifying the subtraction operation and for logical manipulations. II. There are two types of complements for each base-r system: the r's complement and (r-1)'s complement.
  1. ABoth I and II
  2. BNeither I nor II
  3. COnly I
  4. DOnly II
Show answerHide answer

Correct answer: (A) Both I and II

Q187BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Name the phase of compiler, which separates characters of the source language into groups that logically belong together, these groups are called tokens.
  1. ALexical analysis
  2. BCode optimization
  3. CError handling
  4. DSyntax analysis
Show answerHide answer

Correct answer: (A) Lexical analysis

Q188BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
________ acts as a high-speed buffer between CPU and main memory and computer systems use it to store temporarily very active data and instructions during processing.
  1. APROM
  2. BFlash memory
  3. CCache memory
  4. DEPROM
Show answerHide answer

Correct answer: (C) Cache memory

Q189BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
In context of computer networks which of the following is a data transmission mode? I. Simplex II. Half Simplex III. Full Duplex
  1. AI, II and III
  2. BOnly II and III
  3. COnly I and III
  4. DOnly I and II
Show answerHide answer

Correct answer: (C) Only I and III

Q190BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
In context of OSI model of computer networks ________ layer provides means of establishing, maintaining and transmitting a dialogue between two end users.
  1. ASession
  2. BApplication
  3. CTransport
  4. DPresentation
Show answerHide answer

Correct answer: (A) Session

Q191BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Database designers use _________ to define the structure of a database (database scheme) which typically includes definition of all data elements of the database and organization of data elements into records, tables etc.
  1. AQuery by example
  2. BData Definition Language
  3. CFind Command Language
  4. DData Manipulation Language
Show answerHide answer

Correct answer: (B) Data Definition Language

Q192BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
According to memory hierarchy as one goes down the hierarchy what will NOT occur?
  1. AIncreasing frequency of access of the memory by the processor
  2. BIncreasing capacity
  3. CIncreasing access time
  4. DDecreasing cost per bit
Show answerHide answer

Correct answer: (A) Increasing frequency of access of the memory by the processor

Q193BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
In context of computer Database, _________ language includes command to enable users to enter and manipulate data in a database.
  1. AData Integrity
  2. BData Definition
  3. CData Security
  4. DData Manipulation
Show answerHide answer

Correct answer: (D) Data Manipulation

Q194BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Match the phases of compiler with its function. Phases: I. Intermediate code generator; II. Code generation; III. Table management Function: 1. Keeps track of the names used by the program; 2. Create a stream of simple instructions; 3. Produces the object code
  1. AI – 2; II – 3; III – 1
  2. BI – 1; II – 2; III – 3
  3. CI – 2; II – 1; III – 3
  4. DI – 1; II – 3; III – 2
Show answerHide answer

Correct answer: (A) I – 2; II – 3; III – 1

Q195BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
The given finite automata is equivalent to which of the following regular expression? States: q0 (start), q1, q4, q5, q2 and qf (final). Transitions: q0 –a→ q1; q1 –b→ qf; q0 –a→ q4; q4 –a→ q2; q0 –b→ q5; q5 –b→ q2; q2 –a,b→ q2 (self loop); q2 –b→ qf.
  1. Aab (aa + b) (a + b)* a
  2. Bab (aa + bb) (a + b)* b
  3. C(a + b)* (aa + bb) (a + b)*
  4. Dab + (aa + bb) (a + b)* b
Show answerHide answer

Correct answer: (D) ab + (aa + bb) (a + b)* b

Q196BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
What is the output function Z of an XOR gate with inputs X and Y?
  1. AZ = (X + Y)'
  2. BZ = X + Y
  3. CZ = XY' + X'Y
  4. DZ = X.Y
Show answerHide answer

Correct answer: (C) Z = XY' + X'Y

Q197BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following is NOT an input device?
  1. AVoice response system
  2. BKeyboard
  3. CPoint and draw devices
  4. DSpeech recognition devices
Show answerHide answer

Correct answer: (A) Voice response system

Q198BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
In context to Database management system which of the following is CORRECT regarding query by example? I. A Query by example form collects all information from a user for composing query language statements for search criterion. II. Query by example relieves users from remembering query language keywords and using them with correct syntax to form queries.
  1. ABoth I and II
  2. BOnly I
  3. CNeither I nor II
  4. DOnly II
Show answerHide answer

Correct answer: (A) Both I and II

Q199BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
What is the minimum cost of the spanning tree of the given graph? Vertices A to H with weighted edges: A–B 3, A–F 2, B–C 2, B–D 1, C–E 5, C–H 3, D–E 4, E–H 6, E–G 3, F–G 2, G–H 1.
  1. A12
  2. B14
  3. C13
  4. D11
Show answerHide answer

Correct answer: (B) 14

Q200BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Dot-matrix printers are character printers that print _________ character at a time.
  1. Atwo
  2. Bone
  3. Cfour
  4. Dthree
Show answerHide answer

Correct answer: (B) one

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.

More BEL PE subjects