Loading...
ন্যাশনাল টেলিকমিউনিকেশন মনিটরিং সেন্টার, স্বরাষ্ট্র মন্ত্রনালয়

Post: Assistant Maintenance Engineer (AME)
Subject: ICT, Exam Date: 06/06/2022, Exam Taker: BPSC
1. (a) Assume that a voice channel occupies a bandwidth of 4KHz. We need to multiplex 10 voice channels with guard bands of 500 Hz using FDM. Calculate the required bandwidth. (5 marks)

Given Data:
– Bandwidth per voice channel = 4 kHz
– Number of voice channels = 10
– Guard band between adjacent channels = 500 Hz
Each voice channel requires 4 kHz, so for 10 channels:
Total bandwidth for voice channels = 10 × 4 = 40 kHz
There are 9 guard bands (since guard bands exist between adjacent channels):
Total guard band = 9 × 500 = 4500 Hz = 4.5 kHz
Total Bandwidth = Bandwidth for channels + Total guard band
= 40 kHz + 4.5 kHz = 44.5 kHz

1. (b) How is a three-way handshake performed by TCP to establish a reliable connection? (5 marks)
3-Way Handshake Protocol in TCP Connection EstablishmentThe 3-way handshake is a mechanism used by TCP to establish a reliable connection between a client and a server.
  1. Step 1: SYN (Synchronization)
    • Client → Server: The client initiates the connection by sending a SYN packet to the server.
    • The SYN packet contains a randomly generated sequence number.
  2. Step 2: SYN-ACK (Synchronization and Acknowledgment)
    • Server → Client: The server responds with a SYN-ACK packet.
    • The packet contains:
      • ACK flag to acknowledge the client’s SYN.
      • SYN flag with the server’s own sequence number.
    • The server also advertises its window size and maximum segment size.
  3. Step 3: ACK (Acknowledgment)
    • Client → Server: The client sends an ACK packet confirming receipt of the SYN-ACK.
    • After this step, the TCP connection is established and data transmission begins.
TCP Connection Establishment-এ 3-Way Handshake Protocol3-way handshake হলো TCP-তে ব্যবহৃত একটি process যা client এবং server-এর মধ্যে একটি reliable connection স্থাপন করে।
  1. Step 1: SYN (Synchronization)
    • Client → Server: Client server-এর কাছে একটি SYN packet পাঠিয়ে connection শুরু করে।
    • এই SYN packet-এ একটি randomly generated sequence number থাকে।
  2. Step 2: SYN-ACK (Synchronization and Acknowledgment)
    • Server → Client: Server, client-এর SYN পাওয়ার পর একটি SYN-ACK packet পাঠায়।
    • এই packet-এ থাকে:
      • ACK flag, যা client-এর SYN acknowledge করে।
      • SYN flag, যা server-এর sequence number নির্দেশ করে।
    • Server তার window size এবং maximum segment size-ও পাঠায়।
  3. Step 3: ACK (Acknowledgment)
    • Client → Server: Client, server-এর SYN-ACK পাওয়ার পর একটি ACK packet পাঠায়।
    • এই ধাপের পর TCP connection সম্পূর্ণভাবে establish হয় এবং data transmission শুরু হয়।
2. (a) What are the advantages of using a VPN? (4 marks)

VPN (Virtual Private Network)
A VPN (Virtual Private Network) is a secure network technology that creates an encrypted connection over the internet. It uses Encryption and Tunneling Protocols to protect data during transmission. VPN ensures secure communication between users and private networks by hiding the real IP Address and maintaining confidentiality.

Advantages of Using a VPN

  • Enhanced Security: VPN encrypts internet traffic, protecting data from hackers and cyber threats.
  • Privacy Protection: It hides the user’s IP Address and ensures online anonymity.
  • Secure Remote Access: VPN allows secure access to organizational networks using proper Authentication.
  • Safe Public Wi-Fi Usage: It protects sensitive information while using public Wi-Fi networks.

VPN (Virtual Private Network)
VPN (Virtual Private Network) একটি নিরাপদ network technology যা internet-এর মাধ্যমে একটি encrypted connection তৈরি করে। এটি Encryption এবং Tunneling Protocols ব্যবহার করে data transmission সুরক্ষিত রাখে। VPN user-এর আসল IP Address গোপন রাখে এবং secure communication নিশ্চিত করে।

VPN ব্যবহারের সুবিধাসমূহ

  • Enhanced Security: VPN internet traffic encrypt করে, ফলে hacker ও cyber threat থেকে data সুরক্ষিত থাকে।
  • Privacy Protection: এটি user-এর IP Address গোপন রাখে এবং online anonymity নিশ্চিত করে।
  • Secure Remote Access: VPN সঠিক Authentication ব্যবস্থার মাধ্যমে organizational network-এ নিরাপদ প্রবেশের সুবিধা দেয়।
  • Safe Public Wi-Fi Usage: Public Wi-Fi ব্যবহার করার সময় VPN sensitive information সুরক্ষা দেয়।
2. (b) Consider the IPv4 address 172.16.68.230, the original subnet mask 255.255.0.0, and new subnet mask 255.255.240.0. Using those parameters, determine the following:
(i) Number of subnets that will be created
(ii) Number of hosts per subnet
(iii)Broadcast address in the network of the current IP address.(6 marks)

Given Data:
– IP Address: 172.16.68.230
– Original Subnet Mask: 255.255.0.0 (/16)
– New Subnet Mask: 255.255.240.0 (/20)
1. Number of Subnets: The original subnet mask is /16, and the new mask is /20. The difference of 4 bits (20 – 16) allows us to create 2⁴ = 16 subnets.

2. Number of Hosts per Subnet: With a /20 mask, there are 12 bits for host addresses. The number of usable hosts per subnet is 2¹² – 2 = 4094. The subtraction of 2 accounts for the network and broadcast addresses.

3. Broadcast Address: The subnet containing 172.16.68.230 starts at 172.16.64.0 (as /20 subnets increase in steps of 16). The last address in this range is 172.16.79.255, which is the broadcast address.

Final Results:

ParameterValue
Number of Subnets16
Number of Hosts per Subnet4094
Broadcast Address172.16.79.255
3. (a) Stepwise show the transformation of the following infix expression into postfix expression by applying stack: ((5+6)*2)/(9-3). (5 marks)

Stepwise Transformation of Infix to Postfix Expression

Given Infix Expression: ((5+6) * 2) / (9 – 3)

StepSymbol ReadStackPostfix Expression
1((
2(((
35((5
4+((+5
56((+5 6
6)(5 6 +
7*(*5 6 +
82(*5 6 + 2
9)5 6 + 2 *
10//5 6 + 2 *
11(/ (5 6 + 2 *
129/ (5 6 + 2 * 9
13/ (-5 6 + 2 * 9
143/ (-5 6 + 2 * 9 3
15)/5 6 + 2 * 9 3 –
16End5 6 + 2 * 9 3 – /

Final Postfix Expression: 5 6 + 2 * 9 3 – /

3. (b) Sort the following list of elements using radix sort strategy: 321, 150, 235, 65, 573, 789, 928, 542. (5 marks)
StepSorted List
Convert to all same digits[321, 150, 235, 065, 573, 789, 928, 542]
Sorting by 1’s place[150, 321, 542, 573, 235, 065, 928, 789]
Sorting by 10’s place[321, 928, 235, 542, 150, 065, 573, 789]
Sorting by 100’s place[065, 150, 235, 321, 542, 573, 789, 928]

Final Sorted List: [65, 150, 235, 321, 542, 573, 789, 928]

4. (a) Why are pointers dangerous in some programming instances? (4 marks)

Why Are Pointers Dangerous in Some Programming Instances?

Pointers are variables that store memory addresses. While they provide powerful capabilities like dynamic memory management and efficient data handling, they can also be dangerous if not used carefully.

  • Memory Access Errors: Incorrect pointer usage can lead to accessing invalid memory locations, causing crashes or undefined behavior.
  • Dangling Pointers: A pointer that refers to memory that has already been freed can cause serious runtime errors.
  • Memory Leaks: Failure to properly deallocate memory pointed to by pointers can result in memory leaks.
  • Buffer Overflow: Pointers can write outside allocated memory bounds, leading to security vulnerabilities.
  • Hard to Debug: Pointer-related bugs are difficult to detect and debug.
  • Security Risks: Improper pointer usage can be exploited for attacks such as code injection.

কেন কিছু Programming ক্ষেত্রে Pointer বিপজ্জনক?

Pointer হলো এমন variable যা memory address সংরক্ষণ করে। এগুলো powerful হলেও ভুলভাবে ব্যবহার করলে বিভিন্ন সমস্যা তৈরি করতে পারে।

  • Memory Access Error: ভুল pointer ব্যবহার করলে invalid memory access হতে পারে, যা program crash ঘটায়।
  • Dangling Pointer: Free করা memory-কে pointer reference করলে runtime error হয়।
  • Memory Leak: Pointer দ্বারা allocated memory ঠিকভাবে free না করলে memory leak তৈরি হয়।
  • Buffer Overflow: Pointer memory boundary অতিক্রম করে write করতে পারে, যা security vulnerability সৃষ্টি করে।
  • Debug করা কঠিন: Pointer-related bug শনাক্ত ও ঠিক করা কঠিন।
  • Security Risk: Improper pointer ব্যবহার করে attacker system exploit করতে পারে।

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