Loading...
Bakhrabad Gas Distribution Company Limited

Post: Assistant Engineer (CSE)
Exam Date: 19-11-2021, Exam Taker: BUET
1. Simplify the Boolean Expression F = ABC'D' + ABC'D+ ABCD+ ABCD'+ AB'C'D + AB'CD + AB'CD'

2. DFS & BFS Tree make from below Graph. When traversal graph note considers alphabetic order.

BFS Traversal order: A B C D E F

DFS Traversal order: A B C D E F

3. Find the step-by-step output of the program-
#include <stdio.h>
int main() {
int i, sum = 0, p;
for (i = -1, p = 0; i <= 10; i = i + 2) {
p = i * i;
if (i > 5)
break;
sum = sum + (i + p);
printf("i = %d p = %d sum = %d\n", i, p, sum);
}
printf("The Outer Loop i = %d p = %d sum = %d", i, p, sum);
return 0;
}
i = -1 p = 1 sum = 0
i = 1 p = 1 sum = 2
i = 3 p = 9 sum = 14
i = 5 p = 25 sum = 44
The Outer Loop i = 7 p = 49 sum = 44

4. What is a 3-way handshake in TCP uses it.

3-Way Handshake Protocol in TCP Connection Establishment

The 3-way handshake is a mechanism used by TCP to establish a reliable connection between a client and a server before data transmission begins.

Step 1: SYN (Synchronization)

The client initiates the connection by sending a SYN packet to the server containing an initial sequence number.

Step 2: SYN-ACK (Synchronization and Acknowledgment)

After receiving the SYN packet, the server replies with a SYN-ACK packet, acknowledging the client’s request and sending its own sequence number along with window size and maximum segment size.

Step 3: ACK (Acknowledgment)

The client sends an ACK packet to the server to confirm receipt of the SYN-ACK, after which the TCP connection is successfully established and data transfer can begin.

TCP Connection Establishment-এ 3-Way Handshake Protocol

3-way handshake হলো TCP protocol-এর একটি প্রক্রিয়া, যার মাধ্যমে client ও server-এর মধ্যে একটি reliable connection স্থাপন করা হয় data transmission শুরু করার আগে।

Step 1: SYN (Synchronization)

Client প্রথমে server-এর কাছে একটি SYN packet পাঠায়, যেখানে একটি initial sequence number থাকে।

Step 2: SYN-ACK (Synchronization and Acknowledgment)

Server SYN packet পাওয়ার পর SYN-ACK packet পাঠায়, যা client-এর request acknowledge করে এবং server-এর sequence number, window size ও maximum segment size জানায়।

Step 3: ACK (Acknowledgment)

Client SYN-ACK পাওয়ার পর ACK packet পাঠায় এবং এর মাধ্যমে TCP connection সম্পূর্ণভাবে স্থাপিত হয় ও data transmission শুরু হয়।

You must subscribe & Login to view more.

Don’t have an account? Register

Or your subscription is under review by admin. Please message on WhatsApp / Telegram.

Leave a Comment

Latest Post
Field Based Job Question & Solution
Bank IT Job Solution

MCQ + Written from Bangladesh Bank, Sonali, Combined Bank IT recruitment.

BPSC IT Job Solution

BPSC Computer/IT cadre & non-cadre post Question papers with full solutions.

Gas Field IT Job Solution

Gas field like TGTDCL, BGDCL, JGTDSL, KGDCL, SGCL, RPGCL, GTCL etc. question solution

Power Sector IT Job Solution

Power sector such as NESCO, DESCO, DPDC, WZPDCL, BPDB, PGCB, BREB etc

Other IT Job Solution

Other Govt. Semi govt. organization like BCC, BTCL, CAAB, NSI etc.

NTRCA IT Job Solution (upcoming)

NTRCA ICT-related posts such as Assistant Teacher, Demonstrator, Lecturer.

IT MCQ Job Solution

Collected MCQ Job solution of BANK, BPSC, POWER SECTOR, GAS Field and Others.

Topic Based Q&S
WhatsApp Telegram Messenger