DPDC — Assistant Engineer (CSE) — Exam: 17.10.2025প্রশ্ন ও সমাধান
- Set by
- DPDC
- Post
- Assistant Engineer
- Exam date
- 17 Oct 2025
- Questions
- 12 (0 MCQ, 12 written)
- Exam guide
- Government IT officer posts · সরকারি প্রতিষ্ঠানের আইটি পদ
- Networking · নেটওয়ার্কিং 4
- Database · ডেটাবেজ 2
- Programming · প্রোগ্রামিং 2
- Data Structures · ডেটা স্ট্রাকচার 1
- Digital Logic · ডিজিটাল লজিক 1
- Software Engineering · সফটওয়্যার ইঞ্জিনিয়ারিং 1
- Web Technology · ওয়েব টেকনোলজি 1
Which transmission medium is used in LAN? Write their maximum length and capacity (bps).
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
In the TCP/IP model, how is data known in the different layers?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Why DFS better than BFS, Explain?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Why agile model is better than waterfall model?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Subnet mask & Total host calculation.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
A PCM system have step resolution of 2V. Sinusoidal signal amplitude 10V. SNR=? And total number of bits=?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explain Database Trigger with example.
Model answer
A database trigger is a stored procedure that executes automatically in response to a specific event (INSERT, UPDATE, or DELETE) on a table — without being explicitly called by the application.
- Triggers can fire BEFORE the event (e.g. to validate/modify data before it is written) or AFTER it (e.g. to log the change or update a related table).
- Common uses: enforcing complex business rules that a simple CHECK constraint cannot express, auditing/logging changes, automatically keeping a derived/summary column in sync.
sequenceDiagram
participant App as Application
participant T as Table (Employee)
participant Trg as Trigger
participant Log as AuditLog Table
App->>T: UPDATE Employee SET salary = ...
T->>Trg: AFTER UPDATE trigger fires
Trg->>Log: INSERT audit row (old_salary, new_salary, changed_by, date)
CREATE TABLE AuditLog (
log_id INT AUTO_INCREMENT PRIMARY KEY,
emp_id INT, old_salary DECIMAL(10,2), new_salary DECIMAL(10,2),
changed_at DATETIME
);
CREATE TRIGGER trg_salary_audit
AFTER UPDATE ON Employee
FOR EACH ROW
BEGIN
IF OLD.salary <> NEW.salary THEN
INSERT INTO AuditLog(emp_id, old_salary, new_salary, changed_at)
VALUES (OLD.id, OLD.salary, NEW.salary, NOW());
END IF;
END;
Exam takeaway: a trigger = event-driven stored code (BEFORE/AFTER INSERT/UPDATE/DELETE) that runs automatically — most commonly used for auditing and enforcing business rules the schema alone cannot.
C output problem.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Jquery for email validation
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explain OOP Feature.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Database Query related problem.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Simplification using K-map?
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