SGFL Engineer Exam 2021 — Question Solution | সিলেট গ্যাস ফিল্ডস (এসজিএফএল) প্রকৌশলী নিয়োগ পরীক্ষা ২০২১ — প্রশ্ন সমাধান
- SGFL
- Engineer
- 2021
- 14 questions · 0 MCQ, 14 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The SGFL Engineer exam was held in 2021, conducted by BUET. The paper had 14 written questions. The subjects asked most were Algorithms (2), Operating Systems (2) and Programming (2). 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
- SGFL
- Post
- Engineer
- Exam date
- 2021
- Conducted by
- BUET
- Questions
- 14 (0 MCQ, 14 written)
- Exam guide
- Government IT officer posts · সরকারি প্রতিষ্ঠানের আইটি পদ
- Algorithms · অ্যালগরিদম 2
- Operating Systems · অপারেটিং সিস্টেম 2
- Programming · প্রোগ্রামিং 2
- Cloud & Emerging Tech · ক্লাউড ও উদীয়মান প্রযুক্তি 1
- Computer Architecture · কম্পিউটার আর্কিটেকচার 1
- Cyber Security · সাইবার নিরাপত্তা 1
- Database · ডেটাবেজ 1
- Digital Logic · ডিজিটাল লজিক 1
- Microprocessor · মাইক্রোপ্রসেসর 1
- Networking · নেটওয়ার্কিং 1
- Software Engineering · সফটওয়্যার ইঞ্জিনিয়ারিং 1
ABC̄D + ĀBD + ABCD: convert it into minimum literals.
Find out the output of the following program.
#include<stdlib.h>
#include<string.h>
int main(){
int i=0, length;
char string[] = "Hello\0 World!!";
length = strlen(string);
char*s = string;
for(i=0; i<length; ++i)
printf("%c",*++s);
return 0;
}
Explain Semantic Error in a context of Compiler.
Several substations of SGFL Company exist in different places of the city. You have to travel from one substation to another. Write an algorithm to travel using the shortest path between two substations for SGFL Company.
Consider the following relational database schema consisting of the four relation schemas:
passenger (pid, ppname, pgender, pcity)
agency (aid, aname, acity)
flight (fid, fdate, time, src, dest)
booking (pid, aid, fid, fdate)
a) Get the complete details of all flights to New Delhi
b) Get the details about all flights from Chennai to New Delhi.
Key difference between BLACK BOX and WHITE BOX testing.
Key difference between supervised Learning and Unsupervised learning.
Using the IP address 192.168.10.0/23 find out-
(i) Subnet/First address
(ii) Last Address
(iii) Subnet mask
Sign up free to see the model answers to written questions 1–8 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explain ARP Spoofing attack with diagram. Why is ARP spoofing used by attackers to launch a Man-in-the-Middle attack?
Model answer
ARP spoofing exploits the fact that the Address Resolution Protocol has no authentication: any host on a LAN can send a forged ARP reply, and other devices simply trust and cache it, binding the attacker's MAC address to another host's IP address.
sequenceDiagram
participant V as Victim
participant A as Attacker
participant G as "Gateway / router"
Note over V,G: Normally the victim talks directly to the gateway
A->>V: Forged ARP reply (gateway IP is at attacker MAC)
A->>G: Forged ARP reply (victim IP is at attacker MAC)
V->>A: Victim traffic, believing it goes to the gateway
A->>G: Attacker forwards (and can read/modify) the traffic
G->>A: Reply traffic returns to the attacker
A->>V: Attacker forwards the reply (hidden in the middle)
How the attack works:
- The attacker sends the victim a forged ARP reply claiming the gateway's IP is at the attacker's MAC.
- The attacker sends the gateway a forged ARP reply claiming the victim's IP is at the attacker's MAC.
- Both caches are now poisoned, so each sends to the gateway/victim what actually reaches the attacker.
Why it enables a Man-in-the-Middle attack: once both ARP caches point to the attacker's MAC, every packet between the victim and the gateway physically passes through the attacker first. Sitting in that path, the attacker can silently read, log, or alter the traffic before forwarding it - neither party sees anything wrong. That interception position is exactly what a MITM attack requires, enabling session hijacking, credential sniffing, and content/DNS injection (or denial of service if the attacker simply drops the traffic).
Defences: static ARP entries for critical hosts, Dynamic ARP Inspection (DAI) on managed switches with DHCP snooping, and end-to-end encryption (HTTPS/VPN) so an intercepted stream stays unreadable.
Exam tip: ARP spoofing poisons the ARP caches of the victim and the gateway with the attacker's MAC, routing their traffic through the attacker - the classic setup for a LAN Man-in-the-Middle attack.
A system uses 8 page frames to store process pages in main memory. It uses the minimum page replacement policy. Assume that all page frames are initially blank. 64 separate pages were inserted and then the pages were inserted in reverse order. How many pages will be missed?
When does the parity bit occur in the microprocessors? What does it do?
A directory called SGFL exists in your home directory. Write a Linux command to create a link to it called "SGFL-Link" in the home directory.
Design a finite automaton for an elevator. The elevator can be at one of two floors: Ground or First. There is one button that controls the elevator, and it has two values: Up or Down. Also, there are two lights in the elevator that indicate the current floor: Red for Ground and Green for First.
There are different types of clocks available in the market. What type of clock will you use to reduce the cost of SGFL Company?
Sign up free to see the model answers to written questions 10–14 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
13 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ১৩টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 14 syllabus chapters; IP Addressing & Subnetting, Language Basics & Syntax and ER Model & Design lead, with 1 each. IP Addressing & Subnetting is asked in 133 other papers too (2012–2026).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- IP Addressing & Subnetting Networking · 133 other papers, 2012–20261
- Language Basics & Syntax Programming · 122 other papers, 2015–20261
- ER Model & Design Database · 101 other papers, 2015–20261
- Attacks & Threats Cyber Security · 81 other papers, 2012–20261
- CPU Organization Computer Architecture · 77 other papers, 2011–20261
- Number Systems & Codes Digital Logic · 55 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 SGFL Engineer exam (2021)?
- 14 written questions.
- Which subjects were asked most in the SGFL Engineer exam (2021)?
- Algorithms (2), Operating Systems (2) and Programming (2), out of 14 questions.
- When was the SGFL Engineer exam held?
- In 2021, conducted by BUET. The exact day isn't in our records.
- Where can I find the SGFL Engineer exam (2021) question solution?
- On this page: 1 of the 14 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