BICIC Assistant Programmer Exam 2022 — Question Solution | বিআইসিআইসি সহকারী প্রোগ্রামার নিয়োগ পরীক্ষা ২০২২ — প্রশ্ন সমাধান
- BICIC
- Assistant Programmer
- 2022
- 9 questions · 0 MCQ, 9 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The BICIC Assistant Programmer exam was held in 2022, conducted by BUET. The paper had 9 written questions. The subjects asked most were Networking (2), Operating Systems (2) and Cyber Security (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
- BICIC
- Post
- Assistant Programmer
- Exam date
- 2022
- Conducted by
- BUET
- Questions
- 9 (0 MCQ, 9 written)
- Exam guide
- Government IT officer posts · সরকারি প্রতিষ্ঠানের আইটি পদ
Write Javascript function to validate a customer number where the customer number in 3 uppercase letter and district code followed by 8 digits.
Show a 3-way handshake protocol in TCP connection established using a diagram.
Write two differences between SQL Injection and cross site scripting (XSS).
Write a C++ function that will invert (mirror) a binary tree.
Sign up free to see the model answers to written questions 1–4 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
How does agile methodology used in software development differ from that of waterfall methodology? Explain in brief.
Model answer
Waterfall is a linear, plan-driven model: requirements → design → implementation → testing → deployment → maintenance, each phase completed and signed off before the next begins. Agile is an iterative and incremental approach: the product is built in short time-boxed iterations (in Scrum, Sprints of one month or less, usually 2–4 weeks), each producing a working, tested increment, and plans are adjusted from customer feedback. Its values come from the Agile Manifesto (2001), for example "working software over comprehensive documentation" and "responding to change over following a plan".
graph LR
subgraph W["Waterfall: one pass"]
R["Requirements"] --> D["Design"] --> I["Implementation"] --> T["Testing"] --> DP["Deployment"]
end
subgraph A["Agile: repeated Sprints"]
PB["Product Backlog"] --> S["Sprint: plan, build, test"] --> INC["Working Increment"]
INC -- "feedback in Sprint Review" --> PB
end
| Basis | Waterfall | Agile |
|---|---|---|
| Process flow | Sequential, one pass through the phases | Iterative; all activities repeat in every iteration |
| Requirements | Frozen at the start; changes are costly | Expected to change; backlog re-ordered every iteration |
| Delivery | One complete product at the end | Usable increment every iteration |
| Customer role | Mainly at the start (requirements) and the end (acceptance) | Continuous; reviews each increment |
| Testing | A separate phase after coding | Inside every iteration, often automated |
| Risk and defects | Found late, so expensive to fix | Found early, in small batches |
| Documentation | Heavy, formal (SRS, design documents) | Just enough; working software is the main measure |
| Team | Role-based groups, manager-led | Small, cross-functional, self-managing |
| Planning | Detailed up-front plan | Rolling plan, refined each iteration |
| Best suited to | Stable, well-understood, contract- or safety-driven projects | Uncertain or fast-changing requirements |
Example: a payroll system with fixed government pay-scale rules suits Waterfall, because requirements are known and must be documented for audit. A new food-delivery app suits Agile: the first increment (order and pay) can be released after a few Sprints, and features such as live tracking are added according to user feedback.
Exam tip: state the core contrast in one line, sequential and plan-driven versus iterative and feedback-driven, then support it with a comparison table and one example of each.
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 a page fault in computing systems? When does it occur?
Model answer
A page fault is a trap (exception) raised by the MMU when a process references a page whose page-table entry is marked invalid (not present), usually because the page is not in main memory, or when the access breaks the page's protection (for example a write to a read-only page). Control passes to the operating system's page-fault handler. The handler brings the page in from the backing store, or stops the process if the address is illegal.
When and why does it occur?
- First reference under demand paging. Pages are loaded only when needed, so the first touch of a code or data page faults.
- The page was evicted earlier. Page replacement moved it to swap space to free a frame for another page.
- Copy-on-write or lazy allocation. Examples are a write to a page shared read-only after
fork(), or the first touch of newly allocated heap or stack memory. - Illegal reference. This can be an address outside the process's address space, or a write to a read-only page. The handler finds the reference invalid and loads nothing. On Linux the kernel sends the process the SIGSEGV signal (segmentation fault), which terminates it by default; on Windows an access violation is raised.
A minor (soft) fault needs no disk I/O, because the page is already in memory and only the mapping is fixed. A major (hard) fault needs a disk read.
How the OS handles it
flowchart TD
A["CPU references a virtual address"] --> B{"Valid bit set in page table?"}
B -- "Yes" --> C["Access memory normally"]
B -- "No" --> D["Trap to OS: page fault"]
D --> E{"Legal address for this process?"}
E -- "No" --> F["Terminate process (segmentation fault)"]
E -- "Yes" --> G{"Free frame available?"}
G -- "No" --> H["Choose a victim page; write it back if dirty"]
G -- "Yes" --> I["Read the page from disk into the frame"]
H --> I
I --> J["Update page table: frame number, valid = 1"]
J --> K["Restart the faulting instruction"]
- Save the process's registers and program counter, and enter the kernel.
- Check the reference against the process's memory map.
- Get a free frame. If none is free, run a page-replacement algorithm such as FIFO or LRU, and write the victim to disk only if its dirty (modified) bit is set.
- Schedule the disk read. The CPU runs another process meanwhile.
- When the I/O completes, update the page table (frame number, valid bit = 1).
- Restart the instruction that faulted. The program never notices.
Cost of page faults. Effective access time = (1 − p) × memory access time + p × page-fault service time, where p is the fault rate.
For example, with memory access = 100 ns, service time = 5 ms and p = 0.0005 (one fault in 2,000 references):
EAT = 0.9995 × 100 + 0.0005 × 5,000,000 = 99.95 + 2,500 = 2,599.95 ns ≈ 2.6 µs. That is 26 times slower than with no faults, so the fault rate must stay very small. If a process faults so often that it spends more time paging than executing, the result is thrashing.
Exam tip: a page fault is a normal event in demand paging, not an error. Only an illegal address turns it into a fatal fault.
Find the possible path to know how data on the internet travels from your machine to the site www.bicic.gov.bd. Write down the necessary command to accomplish this.
You want to run some specific commands at some scheduled time. Which command will have to be used for this?
Sign up free to see the model answers to written questions 8–9 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
7 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; OSI & TCP/IP Models, Attacks & Threats and Functions & Recursion lead, with 1 each. OSI & TCP/IP Models is asked in 112 other papers too (2012–2026).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- OSI & TCP/IP Models Networking · 112 other papers, 2012–20261
- Attacks & Threats Cyber Security · 81 other papers, 2012–20261
- Functions & Recursion Programming · 60 other papers, 2016–20261
- Routing & Switching Networking · 54 other papers, 2011–20261
- Trees Data Structures · 47 other papers, 2015–20261
- SDLC & Process Models Software Engineering · 44 other papers, 2016–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 BICIC Assistant Programmer exam (2022)?
- 9 written questions.
- Which subjects were asked most in the BICIC Assistant Programmer exam (2022)?
- Networking (2), Operating Systems (2) and Cyber Security (1), out of 9 questions.
- When was the BICIC Assistant Programmer exam held?
- In 2022, conducted by BUET. The exact day isn't in our records.
- Where can I find the BICIC Assistant Programmer exam (2022) question solution?
- On this page: 2 of the 9 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