BICIC Assistant Programmer Exam: 2022 (BUET)প্রশ্ন ও সমাধান
- Set by
- BICIC
- Post
- Assistant Programmer
- Exam date
- 2022
- Conducted by
- BUET
- Questions
- 8 (0 MCQ, 8 written)
- Exam guide
- Government IT officer posts · সরকারি প্রতিষ্ঠানের আইটি পদ
- Networking · নেটওয়ার্কিং 2
- Operating Systems · অপারেটিং সিস্টেম 2
- Cyber Security · সাইবার নিরাপত্তা 1
- Data Structures · ডেটা স্ট্রাকচার 1
- Digital Logic · ডিজিটাল লজিক 1
- Software Engineering · সফটওয়্যার ইঞ্জিনিয়ারিং 1
Show a 3-way handshake protocol in TCP connection established using a diagram.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Write two differences between SQL Injection and cross site scripting (XSS).
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Write C++ function that will invert mirror a binary tree.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
How does agile methodology used in software development differ from that of waterfall methodology? Explain in brief.
Model answer
Waterfall is a linear, sequential SDLC model — requirements → design → implementation → testing → deployment → maintenance — where each phase must finish before the next begins. Agile is an iterative, incremental model that delivers working software in short cycles (sprints, typically 1–4 weeks), continuously re-planning based on feedback.
| Aspect | Waterfall | Agile |
|---|---|---|
| Process | Sequential, one-pass phases | Iterative sprints, repeated cycles |
| Requirements | Fixed upfront, hard to change later | Expected to evolve; re-prioritized every sprint |
| Customer involvement | Mainly at the start and the end | Continuous, every sprint review |
| Delivery | One final product at the end | A working increment after every sprint |
| Risk detection | Late (during the testing phase) | Early (each sprint is tested) |
| Best fit | Well-understood, stable requirements (e.g. regulatory systems) | Evolving requirements, fast-changing markets |
| Documentation | Heavy, formal | Lightweight — "working software over documentation" |
graph LR
subgraph Waterfall
R1[Requirements] --> D1[Design] --> I1[Implement] --> T1[Test] --> M1[Deploy]
end
subgraph Agile
S1[Sprint 1] --> S2[Sprint 2] --> S3[Sprint 3] --> S4[Sprint N]
end
Exam takeaway: Waterfall is predictable but rigid; Agile is flexible and fast-feedback but needs disciplined, continuous customer collaboration.
Show minimal function using K-Map. F (A, B, C, D) = Σ(2, 8, 9, 11, 13, 15).
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is page fault in computing systems? What does it occur?
Model answer
A page fault is a hardware trap raised by the MMU when a running program references a virtual-memory page that is not currently loaded into a physical memory frame (it exists only on disk/backing store, or has not been allocated yet).
Why it occurs:
- The page was never loaded before (first reference — "demand paging").
- The page was swapped out earlier to make room for other pages.
- The access itself is invalid (e.g. writing to a read-only page, or an out-of-bounds address, which is technically a segmentation fault rather than an ordinary page fault).
Handling steps:
flowchart TD
A([CPU references a page]) --> B{Page in memory?}
B -- Yes --> C[Continue execution normally]
B -- No --> D[Trap to OS: Page Fault]
D --> E{Valid reference?}
E -- No --> F[Terminate process / segfault]
E -- Yes --> G[Find a free frame or evict a page]
G --> H[Load the page from disk into the frame]
H --> I[Update the page table]
I --> J[Restart the faulting instruction]
The CPU saves its state (program counter, registers) before handing control to the OS, and once the page is fetched from the backing store, the faulting instruction is simply re-executed — the program is unaware a fault ever happened.
Exam takeaway: a page fault means "the wanted page isn't in RAM"; it's a normal, expected part of demand-paged virtual memory, not necessarily an error — an excessive fault rate that hurts performance is specifically called thrashing.
Find the possible path to know how data on the internet treavels from your mechine to the site www.bicic.gov.bd. Write down the necessary command to accomplish this.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
You want to run some specific commands at some price schedules time. Which command will have to be used for this.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Question text is from the public recruitment exam; answers and explanations are written by ARBS Academy. All past papers · Government IT officer posts guide