BPSC Senior Computer Operator Exam 13 September 2022 — Question Solution | বিপিএসসি (সরকারি কর্ম কমিশন) সিনিয়র কম্পিউটার অপারেটর নিয়োগ পরীক্ষা ২০২২ — প্রশ্ন সমাধান
- BPSC
- Senior Computer Operator
- 13 September 2022
- 8 questions · 0 MCQ, 8 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The BPSC Senior Computer Operator exam was held on 13 September 2022. The paper had 8 written questions. The subjects asked most were Algorithms (1), Cloud & Emerging Tech (1) and Computer Architecture (1). This page lists every question, with 2 answered and explained; the rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
বিপিএসসি (সরকারি কর্ম কমিশন) সিনিয়র কম্পিউটার অপারেটর নিয়োগ পরীক্ষার (২০২২) এই প্রশ্নপত্রে ৮টি প্রশ্ন ছিল, বেশিরভাগ অ্যালগরিদম ও ক্লাউড ও উদীয়মান প্রযুক্তি থেকে। এখানে ২টি প্রশ্নের ব্যাখ্যাসহ উত্তর দেওয়া আছে; বাকিগুলো ফ্রি অ্যাকাউন্টে খোলে।
- Organisation
- BPSC
- Post
- Senior Computer Operator
- Exam date
- 13 September 2022
- Questions
- 8 (0 MCQ, 8 written)
- Exam guide
- BPSC non-cadre IT posts · পিএসসি নন-ক্যাডার আইটি পদ
Write down the properties of Max heap. Also write down the heapsort algorithm.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What are the main limitations of Depth First Search (DFS)? Is there any way to solve these issues?
Model answer
Depth First Search (DFS) always expands the deepest unexplored vertex first, using a stack (LIFO) or recursion. It needs little memory, but this "go deep first" behaviour causes the following limitations.
Main limitations of DFS
- Not optimal (no shortest-path guarantee): the first path DFS finds to the goal may be much longer than the shortest one.
- Not complete on infinite or very deep search spaces: if DFS enters an infinite (or extremely deep) branch that has no goal, it never comes back to try the other branches, even if a goal lies just one level below the start.
- Loops on cycles: without remembering visited vertices, DFS on a graph with a cycle can revisit the same vertices forever.
- Deep recursion / stack overflow: a recursive DFS on a long path (up to V levels) can exhaust the call stack.
- Wasted work: it may explore a large deep subtree before checking a goal that is very close to the start.
Example
graph LR
S((S)) --- A((A))
A --- B((B))
B --- G((G))
S --- C((C))
C --- G
Neighbours are visited in the order listed (S: A, C; A: S, B; B: A, G; C: S, G; G: B, C), start S, goal G.
| Method | Path found | Edges |
|---|---|---|
| DFS with visited set | S → A → B → G | 3 |
| BFS | S → C → G | 2 (shortest) |
| DFS without visited set | S → A → S → A → … | never ends |
Ways to solve these issues
| Limitation | Remedy |
|---|---|
| Revisiting / infinite loops on cycles | Keep a visited set (graph search); on a finite graph DFS then takes O(V + E) time and always terminates |
| Infinite or very deep branches | Depth-Limited Search (DLS): do not expand below a fixed depth L (fails if the goal is deeper than L) |
| Choosing L, completeness, shortest path | Iterative Deepening DFS (IDDFS): run DLS with L = 0, 1, 2, … until the goal is found. In the example, L = 0 and 1 fail and L = 2 returns S → C → G. It is complete, finds the shallowest goal (shortest path when every edge costs 1), and keeps DFS-like memory: O(b^d) time, O(b·d) space (b = branching factor, d = goal depth) |
| Need shortest path | BFS for unweighted graphs (but it stores a whole level, O(b^d) memory); Uniform-cost search / Dijkstra when edge costs are non-negative |
| Stack overflow | Use an explicit stack (iterative DFS) instead of recursion |
flowchart TD
S0(["Start, L = 0"]) --> D["DFS from start with depth limit L"]
D --> Q{"Goal found ?"}
Q -- "Yes" --> R(["Return path"])
Q -- "No" --> INC["L = L + 1"]
INC --> D
Exam tip: name the three classic weaknesses — not optimal, not complete on infinite/deep spaces, loops without a visited set — and give IDDFS as the main fix, since it combines BFS's completeness with DFS's small memory.
(a) Implement the following expression using NAND gates only:
F = ABC̄ + ABC + AB̄C
(b) Design a 4-bit ring counter using flip-flops. Write down its working principle.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
(a) Distinguish the purpose of SMTP and IMAP in email communication.
(b) What are the conditions for deadlock situations? Explain briefly.
Model answer
(a) Purpose of SMTP vs IMAP
- SMTP (Simple Mail Transfer Protocol) is a push protocol used to send email — from the sender's client to its outgoing mail server, and from server to server until the message reaches the recipient's mail server. It cannot read or retrieve mail from a mailbox.
- IMAP (Internet Message Access Protocol) is a pull protocol used to access and manage mail stored on the recipient's server — the client reads, searches, flags and organises messages into folders while the master copy stays on the server, so every device sees the same mailbox.
| Aspect | SMTP | IMAP |
|---|---|---|
| Purpose | Sending / relaying mail | Retrieving / managing mail |
| Type | Push | Pull |
| Used between | Client → server, server → server | Client ↔ recipient's server |
| Default port | 25 (587 for client submission) | 143 (993 over TLS) |
| Mail storage | Only delivers; no mailbox access | Mail stays on server, synced across devices |
sequenceDiagram
participant U as Sender Client
participant S1 as Sender Mail Server
participant S2 as Recipient Mail Server
participant R as Recipient Client
U->>S1: SMTP - submit message
S1->>S2: SMTP - relay message
R->>S2: IMAP - fetch and sync mailbox
S2-->>R: Message list and contents
The two protocols are complementary: SMTP delivers the mail to the mailbox; IMAP lets the user read it from the mailbox (POP3 is the older alternative that downloads and usually deletes mail from the server).
(b) Conditions for deadlock
A deadlock is a state in which a set of processes is blocked forever because each process holds a resource and waits for a resource held by another process in the set. It can occur only if all four conditions (Coffman conditions) hold at the same time:
- Mutual exclusion — at least one resource is non-sharable; only one process can use it at a time (e.g. a printer).
- Hold and wait — a process holds at least one resource while waiting to acquire additional resources held by others.
- No preemption — a resource cannot be forcibly taken away; it is released only voluntarily by the process holding it.
- Circular wait — a closed chain P1 → P2 → … → Pn → P1 exists in which each process waits for a resource held by the next.
graph LR
P1["Process P1"] -->|"waits for"| R2["Resource R2"]
R2 -->|"held by"| P2["Process P2"]
P2 -->|"waits for"| R1["Resource R1"]
R1 -->|"held by"| P1
Example: P1 holds the printer and requests the scanner; P2 holds the scanner and requests the printer — neither can proceed.
Since all four are necessary conditions, deadlock is prevented by making sure at least one of them can never hold (e.g. request all resources at once to break hold-and-wait, or number resources and request them in increasing order to break circular wait).
Exam tip: SMTP = send (push, port 25), IMAP = read and manage on server (pull, port 143); deadlock needs all four — mutual exclusion, hold and wait, no preemption, circular wait.
(a) Draw and explain the operation of NMOS transistor.
(b) What is SDLC? Define the activities of the design phase in SDLC.
(a) Write down a recursive function to find out number of digits is an integer number (n). Draw the recursion tree when n= 5396.
(b) Define Eulerian path. What are the necessary and sufficient conditions for the Eulerian path? Explain.
(a) Compare RAID 1 and RAID 5 levels. Which one you prefer? Why?
(b) Explain the operations of the following instructions: (i) ADC (ii) CMP (iii) JBE
(a) Write short note on (i) Blockchain technology (ii) Cloud Computing
(b) Explain black box testing and white box testing.
Sign up free to see the model answers to written questions 5–8 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
6 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ৬টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 8 syllabus chapters; Protocols (TCP/UDP/HTTP/DNS), CPU Organization and Functions & Recursion lead, with 1 each. Protocols (TCP/UDP/HTTP/DNS) is asked in 90 other papers too (2012–2026).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- Protocols (TCP/UDP/HTTP/DNS) Networking · 90 other papers, 2012–20261
- CPU Organization Computer Architecture · 77 other papers, 2011–20261
- Functions & Recursion Programming · 60 other papers, 2016–20261
- Logic Gates Digital Logic · 45 other papers, 2011–20261
- Stacks & Queues Data Structures · 43 other papers, 2016–20261
- Cloud Computing Cloud & Emerging Tech · 39 other papers, 2015–20261
From our own past papers: each question filed under one syllabus chapter. Practice and held questions are not counted.
Questions about this paper · সাধারণ প্রশ্ন
- How many questions were in the BPSC Senior Computer Operator exam (2022)?
- 8 written questions.
- Which subjects were asked most in the BPSC Senior Computer Operator exam (2022)?
- Algorithms (1), Cloud & Emerging Tech (1) and Computer Architecture (1), out of 8 questions.
- When was the BPSC Senior Computer Operator exam held?
- On 13 September 2022.
- Where can I find the BPSC Senior Computer Operator exam (2022) question solution?
- On this page: 2 of the 8 questions are shown with worked answers. The rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
Question text is from the public recruitment exam; answers and explanations are written by ARBS Academy. All past papers