Skip to content
Past paper

DESCO, Sub-Assistant Engineer, Exam: 20.06.2025 (BUET)প্রশ্ন ও সমাধান

Set by
DESCO
Post
Sub-Assistant Engineer
Exam date
20 Jun 2025
Conducted by
BUET
Questions
9 (0 MCQ, 9 written)
Exam guide
Government IT officer posts · সরকারি প্রতিষ্ঠানের আইটি পদ
  • Networking · নেটওয়ার্কিং 3
  • Operating Systems · অপারেটিং সিস্টেম 2
  • Cyber Security · সাইবার নিরাপত্তা 1
  • Data Structures · ডেটা স্ট্রাকচার 1
  • Database · ডেটাবেজ 1
  • Programming · প্রোগ্রামিং 1
Written question 1Data Structures

Explain with proper example of singly linked list.

Model answer

A singly linked list is a linear data structure made of nodes, where each node stores data plus a single pointer to the next node; the last node's pointer is NULL. Unlike an array, its elements are not stored in contiguous memory, so insertion/deletion don't require shifting elements — only pointer updates.

graph LR
  H[head] --> A["10 | •"] --> B["20 | •"] --> C["30 | •"] --> D["40 | NULL"]

Node structure (C):

struct Node {
    int data;
    struct Node *next;
};

Example — building 10 → 20 → 30:

struct Node *head = malloc(sizeof(struct Node));
head->data = 10;
head->next = malloc(sizeof(struct Node));
head->next->data = 20;
head->next->next = malloc(sizeof(struct Node));
head->next->next->data = 30;
head->next->next->next = NULL;

// Traversal
for (struct Node *p = head; p != NULL; p = p->next)
    printf("%d -> ", p->data);   // Output: 10 -> 20 -> 30 ->

Key operations & cost:

Operation Time
Insert/Delete at head O(1)
Insert/Delete at tail (no tail pointer) O(n)
Search / access by index O(n)

Why use it: dynamic size (grows/shrinks at runtime, unlike a fixed array) and cheap head insertion — used to implement stacks, queues, and adjacency lists. Trade-off: no random access, and each node needs extra memory for the pointer.

Exam takeaway: Singly linked list — O(1) insertion at the front, O(n) search, one-directional traversal only (contrast with doubly linked list, which allows backward traversal).

Written question 2Operating Systems

What is CLI?

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Written question 3Networking

What is OSPF? Briefly Explain.

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Written question 4Networking

State the network protocol of VRRP?

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Written question 5Programming

Write Javascript code to check NID validity?

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Written question 6Networking

Find out the network address and Broadcast address of the address: 192.168.0.0/28

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Written question 7Cyber Security

What is CSRF and XSS?

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Written question 8Database

Write down the Query for the following table?

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Written question 9Operating Systems

Linux command:

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