Bangladesh Ordinance Factory Assistant Programmer Exam 2022 — Question Solution | বাংলাদেশ সমরাস্ত্র কারখানা (বিওএফ) সহকারী প্রোগ্রামার নিয়োগ পরীক্ষা ২০২২ — প্রশ্ন সমাধান
- Bangladesh Ordinance Factory
- Assistant Programmer
- 2022
- 15 questions · 0 MCQ, 15 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The Bangladesh Ordinance Factory Assistant Programmer exam was held in 2022, conducted by MIST. The paper had 15 written questions. The subjects asked most were Networking (5), Programming (3) and Bangla Grammar (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
- Bangladesh Ordinance Factory
- Post
- Assistant Programmer
- Exam date
- 2022
- Conducted by
- MIST
- Questions
- 15 (0 MCQ, 15 written)
- Exam guide
- Defence organisations' IT posts · প্রতিরক্ষা প্রতিষ্ঠানের আইটি পদ
- Networking · নেটওয়ার্কিং 5
- Programming · প্রোগ্রামিং 3
- Bangla Grammar · বাংলা ব্যাকরণ 2
- English Grammar · ইংরেজি ব্যাকরণ 2
- Bangla to English Translation · বাংলা থেকে ইংরেজি অনুবাদ 1
- Computer Architecture · কম্পিউটার আর্কিটেকচার 1
- English Writing · ইংরেজি লিখন 1
What happens when you use cables longer than the prescribed length in a network?
Model answer
Direct answer: Every medium has a maximum segment length fixed by its standard (for example, 100 m for twisted-pair Ethernet). Beyond that length, the signal reaching the receiver is too weak, too distorted and too noisy, and on shared Ethernet it also arrives too late. The link then gives errors, slows down, drops out or does not come up at all.
What goes wrong
- Attenuation: signal power falls steadily with distance (dB per 100 m). Past the limit, the received level drops below the receiver's sensitivity/threshold, so 0s and 1s are misread.
- Distortion: different frequency components travel at slightly different speeds (delay distortion), so pulses spread into each other (inter-symbol interference).
- Noise and crosstalk: the weaker signal has a lower signal-to-noise ratio, so the same noise and crosstalk cause more errors. The achievable rate (Shannon: C = B·log₂(1 + S/N)) also falls.
- Collision-timing failure (half-duplex CSMA/CD Ethernet): the round-trip delay must be shorter than the time taken to send a minimum frame of 64 bytes = 512 bits (51.2 µs at 10 Mbps). An over-long cable lets a station finish sending before the collision signal returns, which gives late or undetected collisions and lost frames.
graph LR
X["Cable longer than the standard limit"] --> A["Attenuation: signal below threshold"]
X --> D["Distortion and lower SNR"]
X --> C["Late collisions on half-duplex links"]
A --> E["Bit errors, CRC failures, dropped frames"]
D --> E
C --> E
E --> Y["Retransmissions, low throughput, intermittent or no link"]
Visible results: CRC errors and discarded frames, retransmissions by higher layers (TCP), lower throughput and higher delay, a link that flaps or negotiates a lower speed, and cabling that fails certification (it no longer complies with the cabling standard and may void the cabling system's warranty).
Typical limits
| Medium | Maximum segment |
|---|---|
| 10BASE5 thick coax | 500 m |
| 10BASE2 thin coax | 185 m |
| UTP Cat5e/Cat6 (10BASE-T to 1000BASE-T) | 100 m (90 m fixed link + 10 m patch cords) |
| 1000BASE-SX multimode fibre | up to 550 m |
| 1000BASE-LX single-mode fibre | 5 km |
Remedy: break the run with a repeater or switch so that each segment stays within the limit, or use fibre (with media converters) for long distances.
Example: a 150 m UTP run between two buildings fails intermittently. Placing a switch near the middle (two runs of about 75 m) or replacing the run with fibre gives a stable full-speed link.
Exam tip: name attenuation as the main cause, then mention distortion/noise and CSMA/CD collision timing, and finish with the fix (repeater/switch or fibre).
What is VPN? How does it work?
Write a C program using an array, where N is the total number of students. Take the marks as input and find the average marks. Find the students who got marks above and below the average.
Given IP address 172.3.16.156/23 and find out the following answer: (i) Network address (ii) Subnet mask (iii) Number of host
Output programs:
#include <stdio.h>
int fun(int n){
if(n==4)
return n;
else return 2*fun(n+1);
}
int main(){
printf("%d",fun(2));
return 0;
}
Sign up free to see the model answers to written questions 2–5 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is Hyper threading? What is the use of it?
Model answer
What is Hyper-Threading?
Hyper-Threading Technology (HTT) is Intel's implementation of simultaneous multithreading (SMT). One physical CPU core keeps two copies of its architectural state, so the operating system sees it as two logical processors and can schedule two threads on it at the same time. The two threads share the core's execution units, caches and pipeline, and in a single clock cycle the core can execute instructions from both threads. Intel introduced it in 2002 (Xeon, then Pentium 4); AMD offers the same idea as SMT in its Zen processors.
| Core resource | With Hyper-Threading |
|---|---|
| Architectural state: general-purpose and control registers, instruction pointer, interrupt controller (APIC) | Duplicated: one copy per logical processor |
| Execution units (integer ALUs, floating-point units, load/store units) | Shared |
| L1 and L2 caches, most of the pipeline | Shared |
| Some internal buffers (e.g. reorder buffer, load/store queues) | Divided between the two threads |
flowchart TD
TA["Thread A"] --> L0["Logical processor 0 (own registers and instruction pointer)"]
TB["Thread B"] --> L1["Logical processor 1 (own registers and instruction pointer)"]
L0 --> CORE["One physical core: shared execution units, caches and pipeline"]
L1 --> CORE
How it helps: a single thread rarely keeps every execution unit busy, because it waits for cache misses, data dependencies and mispredicted branches. With Hyper-Threading, independent instructions from the second thread fill these empty slots, so more work is finished per clock cycle.
Uses of Hyper-Threading
- Higher throughput for multithreaded work such as compiling, video encoding, 3D rendering, virtual machines and servers handling many requests.
- Better use of the core's hardware, since idle execution units are put to work during the other thread's stalls.
- Smoother multitasking: background tasks (antivirus checks, downloads) disturb the foreground program less.
- Low hardware cost: it adds far less chip area than an extra physical core.
Example: a 6-core processor with Hyper-Threading appears to the OS as 12 logical processors (Windows Task Manager shows "Cores: 6" and "Logical processors: 12").
Limitations: two logical processors are not two real cores. The gain depends on the workload, is usually modest, and can be zero or even negative when both threads compete for the same units or cache. Single-thread speed does not improve. Because the threads share hardware, side-channel security concerns have led some systems to disable it. It needs support from the CPU, the firmware (BIOS/UEFI setting) and the operating system.
Exam tip: Hyper-Threading = one physical core shown as two logical processors by duplicating the architectural state, not the execution units; it raises throughput but does not double performance.
How can you fix the signal attenuation problems?
A sinusoidal modulating waveform of amplitude 5V and frequency of 2 kHz is applied to FM generator, which has a frequency sensitivity of 40Hz/volt. Calculate the frequency deviation, modulation index and bandwidth.
Write a java program to counting the vowel and consonant into a given strings.
অর্থসহ বাক্য লিখুন।
(ক) ঊনপাজুরে
(খ) আমড়াগাছি
(গ) হাতির পাঁচ পা দেখা
(ঘ) ঊনপঞ্চাশ বায়ু
3টি করে সমার্থক শব্দ লিখুন।
(ক) কুল
(খ) জল
Make sentence:
(a) A dark horse
(b) Ever and anon
Translate into English:
(a) আমি যদি পরীক্ষায় প্রথম হতাম
(b) পাপের ধন প্রায়শ্চিত্তে যায়।
(c) আয় বুঝে ব্যয় কর।
(d) যেমন বাপ, তেমন ব্যাটা।
Bill in the gap with appropriate proposition:
A Citizen enjoys a lot of rights in times of peace. But sometimes he has to give (a) ____ some of his rights and privileges voluntarily in order (b) ____ keep the independence of his country secure. When his country is (c) ____ war his only duty is to switch (d) ____ all his efforts to the defense of his country.
Write a brief paragraph on "Patience is the mother of success."
Sign up free to see the model answers to written questions 7–15 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
13 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ১৩টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 10 syllabus chapters; the biggest is Transmission & Media, in Networking, with 3 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–20263
- Language Basics & Syntax Programming · 122 other papers, 2015–20262
- Grammar English · 52 other papers, 2020–20262
- Comprehension & Writing English · 33 other papers, 2021–20262
- IP Addressing & Subnetting Networking · 133 other papers, 2012–20261
- CPU Organization Computer Architecture · 77 other papers, 2011–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 Bangladesh Ordinance Factory Assistant Programmer exam (2022)?
- 15 written questions.
- Which subjects were asked most in the Bangladesh Ordinance Factory Assistant Programmer exam (2022)?
- Networking (5), Programming (3) and Bangla Grammar (2), out of 15 questions.
- When was the Bangladesh Ordinance Factory Assistant Programmer exam held?
- In 2022, conducted by MIST. The exact day isn't in our records.
- Where can I find the Bangladesh Ordinance Factory Assistant Programmer exam (2022) question solution?
- On this page: 2 of the 15 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