BPSC Assistant Database Administrator Exam 2022 — Question Solution | বিপিএসসি (সরকারি কর্ম কমিশন) সহকারী ডাটাবেজ অ্যাডমিনিস্ট্রেটর নিয়োগ পরীক্ষা ২০২২ — প্রশ্ন সমাধান
- BPSC
- Assistant Database Administrator
- 2022
- 33 questions · 0 MCQ, 33 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The BPSC Assistant Database Administrator exam was held in 2022. The paper had 33 written questions. The subjects asked most were Networking (21), Programming (3) and Algorithms (2). 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
- Assistant Database Administrator
- Exam date
- 2022
- Questions
- 33 (0 MCQ, 33 written)
- Exam guide
- BPSC non-cadre IT posts · পিএসসি নন-ক্যাডার আইটি পদ
Distinguish between Call by value and Call by reference in C/C++.
What is DHCP Server and why it is needed in a computer network.
What are the components of a Micro computer system?
How is alpha testing performed in software development?
Write the port address of the following applications of data communications.
(i) HTTP; (ii) HTTPS; (iii) FTP; (iv) SMTP; (v) POP
Simplify Y=AB̄ + (Ā + B)C in digital logic design.
Write short notes on: (i) RAM (ii) ROM (iii) Primary key (iv) Foreign key (v) Data
Explain the necessary steps to communicate through a programmable peripheral interfacing device (8255 PPI).
Sign up free to see the model answers to written questions 1–8 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
How many swaps are needed to sort the number sequence 5, 8, 3, 6, 2 in ascending order using bubble sort?
Model answer
Answer: 7 swaps (with 10 comparisons in 4 passes).
Bubble sort (ascending) compares each pair of neighbours and swaps them when the left one is larger; after pass k the k-th largest element is in its final place. With n = 5 elements there are n − 1 = 4 passes.
Comparison-by-comparison trace
| Pass | Pair compared | Swap? | Array after the step |
|---|---|---|---|
| 1 | 5, 8 | No | 5, 8, 3, 6, 2 |
| 1 | 8, 3 | Yes (1) | 5, 3, 8, 6, 2 |
| 1 | 8, 6 | Yes (2) | 5, 3, 6, 8, 2 |
| 1 | 8, 2 | Yes (3) | 5, 3, 6, 2, 8 |
| 2 | 5, 3 | Yes (4) | 3, 5, 6, 2, 8 |
| 2 | 5, 6 | No | 3, 5, 6, 2, 8 |
| 2 | 6, 2 | Yes (5) | 3, 5, 2, 6, 8 |
| 3 | 3, 5 | No | 3, 5, 2, 6, 8 |
| 3 | 5, 2 | Yes (6) | 3, 2, 5, 6, 8 |
| 4 | 3, 2 | Yes (7) | 2, 3, 5, 6, 8 |
Swaps per pass: 3 + 2 + 1 + 1 = 7. Comparisons: 4 + 3 + 2 + 1 = 10.
graph LR
S["5, 8, 3, 6, 2"] -- "pass 1: 3 swaps" --> P1["5, 3, 6, 2, 8"]
P1 -- "pass 2: 2 swaps" --> P2["3, 5, 2, 6, 8"]
P2 -- "pass 3: 1 swap" --> P3["3, 2, 5, 6, 8"]
P3 -- "pass 4: 1 swap" --> P4["2, 3, 5, 6, 8"]
Cross-check with inversions
Each adjacent swap removes exactly one inversion (a pair i < j with a[i] > a[j]), so the number of bubble-sort swaps equals the number of inversions. In 5, 8, 3, 6, 2 the inversions are:
(5, 3), (5, 2), (8, 3), (8, 6), (8, 2), (3, 2), (6, 2) → 7, matching the trace.
C program that counts the swaps
#include <stdio.h>
int main(void) {
int a[] = {5, 8, 3, 6, 2};
int n = 5, swaps = 0, comps = 0;
for (int i = 0; i < n - 1; i++) { /* n - 1 passes */
for (int j = 0; j < n - 1 - i; j++) { /* compare neighbours */
comps++;
if (a[j] > a[j + 1]) {
int t = a[j]; a[j] = a[j + 1]; a[j + 1] = t;
swaps++;
}
}
}
printf("comparisons = %d, swaps = %d\n", comps, swaps);
return 0;
}
Output: comparisons = 10, swaps = 7
Exam tip: show the array after every swap and then confirm the total with the inversion count; the maximum for 5 elements would be 5 × 4 / 2 = 10 swaps (reverse order).
Distinguish between Compiler and Interpreter with example.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Define networking and Internetworking. What are the different types of network? Explain in details.
Model answer
Networking
Networking (a computer network) is the interconnection of two or more independent computers and devices, through cable or wireless media, using hardware (NICs, switches, routers) and software (protocols), so that they can communicate, share data and share resources such as printers, storage and an Internet connection.
Internetworking
Internetworking is the connection of two or more separate networks, often of different technologies and owned by different organisations, through intermediate devices such as routers and gateways, so that hosts on any of them can communicate as if on one large network. It works only when all the connected networks use a common protocol stack, which today is TCP/IP; the router reads the IP address and forwards each packet towards its destination network. The Internet is the largest internetwork in the world.
graph LR
L1["LAN A - Dhaka office"] --> R1["Router"]
R1 --> W(("Internet or WAN"))
W --> R2["Router"]
R2 --> L2["LAN B - Chattogram office"]
Types of network (by geographic size)
1. PAN (Personal Area Network): connects one person's devices within a few metres, e.g. a phone linked to earbuds and a smartwatch over Bluetooth (IEEE 802.15), or a phone tethered to a laptop by USB.
2. LAN (Local Area Network): covers a single room, building or campus (up to about 1 km) and is privately owned by one organisation. It uses Ethernet (IEEE 802.3) through switches and Wi-Fi (IEEE 802.11). It is fast (100 Mbps to 10 Gbps), has low delay and a very low error rate, and is cheap to build. Example: the computer lab of a university, or a bank branch's office network.
3. MAN (Metropolitan Area Network): covers a city or town (roughly 5–50 km) and links many LANs, usually over a fibre-optic backbone. It is typically owned by an ISP, a cable-TV operator or a city authority. Technologies: metro Ethernet over fibre, cable networks, WiMAX (IEEE 802.16). Example: an ISP's fibre ring linking offices and campuses across a city.
4. WAN (Wide Area Network): spans a country, a continent or the world. It joins LANs and MANs through routers over leased lines, MPLS, optical fibre, satellite (VSAT) and 4G/5G links, often rented from telecom carriers. It has higher delay, a higher error rate and a higher cost than a LAN. Examples: a bank's network linking all its branches across Bangladesh to its head-office data centre; the Internet.
| Basis | PAN | LAN | MAN | WAN |
|---|---|---|---|---|
| Area | a few metres | building / campus | city | country / world |
| Ownership | individual | one organisation | ISP / operator / city | many carriers and organisations |
| Typical technology | Bluetooth, USB | Ethernet, Wi-Fi | metro fibre, WiMAX | leased lines, MPLS, satellite |
| Speed | low to moderate | very high | high | usually lower than a LAN per connection |
| Delay and errors | low | lowest | moderate | highest |
| Set-up cost | very low | low | high | very high |
graph TD
N["Computer networks by size"] --> PAN["PAN: a few metres"]
N --> LAN["LAN: building or campus"]
N --> MAN["MAN: a city"]
N --> WAN["WAN: country or world"]
Other ways to classify networks: by design (client-server vs peer-to-peer), by medium (wired vs wireless), and by access (Internet = public, intranet = private to one organisation, extranet = intranet opened to partners). Special types include the CAN (campus network), SAN (storage network) and VPN (private network carried securely over the Internet).
Exam tip: networking connects devices; internetworking connects networks through routers using TCP/IP. In size, PAN < LAN < MAN < WAN, and the Internet is the largest internetwork.
What is network topology? Write the names of all the different topologies used in computer networking with example, diagram and their activities.
What are the various access specifiers in C++? Explain their purpose with an example.
Write a recursive algorithm to find the factorial of a positive integer N.
How does Butterworth High pass Filter works?
What are the basic objectives of canny edge detection method?
Define: (i) Erosion and Dilation; (ii) Opening and Closing.
Briefly mention the main impairmeents in telecommunication channel. Considering these impairments explain which communication is better between analog and digital communication systems?
Consider that a signal is transmitted over a channel of bandwidth 200kHz and the total path loss in the channel is found to be 60dB. The noise power per hertz at the receiver is-100 dBm. Determine the required transmit power to achieve data rate of 40kb/s.
Compare between (i) AM and ASK and (ii) FM and FSK considering modulation scheme, bandwidth requirement, noise tolerance and circuit complexity.
What are the advantages of PSK and explain why coherent detection is necessary for demodulating the PSK signal?
Sign up free to see the model answers to written questions 12–21 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
With appropriate figures, distinguish between homodyne and heterodyne detection processes. Draw the block diagram of a super heterodyne AM receiver.
Define the attenuation and dispersion in an optical fiber. Draw the block diagram of a long-haul optical fiber communication system.
A singla-tone message signal of bandwidth 4KHZ and amplitude 10V is transmitted by Δ- modulation with step size 2V. Determine the data rate so that slope overloading noise is the minimum.
Draw the constellation diagram of QPSK, 8-PSK and 32-QAM. Why are these multilevel signals preferred and what are the challenges for multilevel modulation?
What are the limitaions of CDMA?
Show that the data rate of T-1 carrier is 1.544 Mbps.
Suppose you are appointed as an Assistant Engineer in a Government organization. The number of telephone connections required for the organization is 1000. The per year increment of telephone connection is 100. Considering the life time of telephone equipment is to be 15 years, design a T-carrier based TDM system for the organization.
Mention the basic differences between frequency-hopped spread spectrum (FHSS) and direct sequence spread spectrum (DSSS) techniques.
White short notes on:
(i) SONET/SDH; (ii) IP telephony; (iii) WDM technology; (iv) ATM network
A single-tone message signal of bandwidth 4 kHz is sampled by using a pulse train of frequency 200% higher than the Nyquist rate of the message signal to obtain PAM signal. The duty cycle of the pulse train is 20%. By drawing the amplitude spectrum of the PAM signal, determine its bandwidth.
Sign up free to see the model answers to written questions 22–31 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Compare between TDM and TDMA techniques.
Briefly describe the basis structure at a mobile cellular system with a proper figure.
Sign up free to see the model answers to written questions 32–33 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
31 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ৩১টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 14 syllabus chapters; the biggest is Transmission & Media, in Networking, with 10 questions. Transmission & Media is asked in 79 other papers too (2012–2026).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- Transmission & Media Networking · 79 other papers, 2012–202610
- Wireless & Topologies Networking · 53 other papers, 2011–20264
- Data Communication Networking · 22 other papers, 2019–20254
- AI & Machine Learning Cloud & Emerging Tech · 49 other papers, 2017–20262
- 8085/8086 Architecture Microprocessor · 36 other papers, 2011–20252
- OSI & TCP/IP Models Networking · 112 other papers, 2012–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 Assistant Database Administrator exam (2022)?
- 33 written questions.
- Which subjects were asked most in the BPSC Assistant Database Administrator exam (2022)?
- Networking (21), Programming (3) and Algorithms (2), out of 33 questions.
- When was the BPSC Assistant Database Administrator exam held?
- In 2022. The exact day isn't in our records.
- Where can I find the BPSC Assistant Database Administrator exam (2022) question solution?
- On this page: 2 of the 33 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