BCC Assistant Programmer Exam 2019 — Question Solution | বাংলাদেশ কম্পিউটার কাউন্সিল (বিসিসি) সহকারী প্রোগ্রামার নিয়োগ পরীক্ষা ২০১৯ — প্রশ্ন সমাধান
- BCC
- Assistant Programmer
- 2019
- 5 questions · 0 MCQ, 5 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The BCC Assistant Programmer exam was held in 2019, conducted by BCC. The paper had 5 written questions. The subjects asked most were Programming (3), Networking (1) and Operating Systems (1). This page lists every question, with 1 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
- BCC
- Post
- Assistant Programmer
- Exam date
- 2019
- Conducted by
- BCC
- Questions
- 5 (0 MCQ, 5 written)
- Exam guide
- Government IT officer posts · সরকারি প্রতিষ্ঠানের আইটি পদ
Write a program to find the prime numbers from 1 to 100. (Using any language)
Write a program to find the maximum of 20 item prices. (Using any language)
Write program for following pattern:
12345
1234
123
12
1
Why are page sizes always powers of 2?
Sign up free to see the model answers to written questions 1–4 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is piggybacking in Networking? Difference among Hub, Switch and Router.
Model answer
Piggybacking: in two-way (full-duplex) data-link communication, when a station receives a data frame it does not send a separate acknowledgement (ACK) frame at once. It waits until it has its own data frame to send and puts the ACK into the acknowledgement field of that outgoing data frame. This technique of temporarily delaying the ACK so that it can be "hooked" onto the next outgoing data frame is called piggybacking.
sequenceDiagram
participant A as Station A
participant B as Station B
A->>B: Data frame 0
Note over B: holds the ACK until its own data is ready
B->>A: Data frame 0 + ACK 1 piggybacked
A->>B: Data frame 1 + ACK 1 piggybacked
- Rule: if no outgoing data appears before a short ACK timer expires, the receiver sends a separate ACK frame, so the sender does not time out.
- Advantages: fewer frames on the link, better bandwidth utilisation, less processing overhead.
- Disadvantages: ACKs are delayed; if the wait is too long the sender may time out and retransmit; protocol logic is more complex.
- Used in: sliding-window protocols (Go-Back-N, Selective Repeat) and TCP, where data segments carry the ACK flag and acknowledgement number.
Difference among Hub, Switch and Router:
| Point | Hub | Switch | Router |
|---|---|---|---|
| OSI layer | Physical (Layer 1) | Data Link (Layer 2) | Network (Layer 3) |
| Data unit | Bits | Frames | Packets |
| Address used | None | MAC address | IP address |
| Forwarding | Repeats every signal to all other ports | Sends a frame only to the port of the destination MAC (MAC address table) | Chooses the best path using a routing table |
| Transmission | Half-duplex | Full-duplex | Full-duplex |
| Collision domain | One for all ports | One per port | One per interface |
| Broadcast domain | One | One (per VLAN) | Each interface is a separate broadcast domain; broadcasts are not forwarded |
| Connects | Devices in one LAN segment | Devices in one LAN | Different networks (LAN to LAN/WAN/Internet) |
| Intelligence | None | Learns MAC addresses | Routing, NAT, ACL filtering |
Exam tip: piggybacking = ACK carried inside the next outgoing data frame to save bandwidth; intelligence rises from Hub (L1, broadcasts) → Switch (L2, MAC) → Router (L3, IP, separates networks).
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
4 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ৪টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 3 syllabus chapters; the biggest is Control Flow & Loops, in Programming, with 3 questions. Control Flow & Loops is asked in 76 other papers too (2015–2026).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- Control Flow & Loops Programming · 76 other papers, 2015–20263
- OSI & TCP/IP Models Networking · 112 other papers, 2012–20261
- Memory Management Operating Systems · 40 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 BCC Assistant Programmer exam (2019)?
- 5 written questions.
- Which subjects were asked most in the BCC Assistant Programmer exam (2019)?
- Programming (3), Networking (1) and Operating Systems (1), out of 5 questions.
- When was the BCC Assistant Programmer exam held?
- In 2019, conducted by BCC. The exact day isn't in our records.
- Where can I find the BCC Assistant Programmer exam (2019) question solution?
- On this page: 1 of the 5 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