Loading...
Sonali Bank PLC

Post: Officer (IT),
Exam Date: 11-12-2021 Exam Taker: CTI
1.What is web caching, why we use caching?

Web caching is the process of storing copies of web data (such as webpages, images, or files) temporarily so that the data can be reused later without requesting it again from the original server.

Why We Use Web Caching

  • Lower Network Costs: Cached data can be stored closer to users, reducing repeated data transfer from the server and lowering network costs.
  • Faster Response Times: Cached content can be delivered faster because it does not need to be retrieved from the original server every time.
  • Better Server Performance: Web caching reduces the load on the server, allowing the server to handle more user requests efficiently.
  • Access During Outages: Cached data may still be available even if the original server becomes temporarily unavailable.

Web caching হলো web data (যেমন webpage, image বা file)-এর একটি copy অস্থায়ীভাবে সংরক্ষণ করার প্রক্রিয়া, যাতে একই data বারবার server থেকে আনতে না হয় এবং পরে দ্রুত ব্যবহার করা যায়।

কেন Web Caching ব্যবহার করা হয়

  • Lower Network Costs: Cached data ব্যবহারকারীর কাছাকাছি সংরক্ষণ করা যায়, ফলে server থেকে বারবার data transfer করার প্রয়োজন কমে এবং network খরচ কমে।
  • Faster Response Times: Cached content সরাসরি দ্রুত deliver করা যায়, কারণ প্রতিবার original server থেকে data fetch করতে হয় না।
  • Better Server Performance: Web caching server-এর উপর load কমায়, ফলে server আরও বেশি request সহজে handle করতে পারে।
  • Access During Outages: যদি original server সাময়িকভাবে বন্ধ থাকে, তবুও cached content থেকে data access করা সম্ভব হতে পারে।
2.What is VPN? Write some advantages of using VPN.

VPN (Virtual Private Network) is a technology that creates a secure and private connection over the internet. It protects users’ online activities and data by encrypting the connection between the user and the internet.

Advantages of Using VPN

  • Security: VPN encrypts data, making it difficult for hackers or unauthorized users to read or steal the information.
  • Privacy: VPN hides the user’s IP address and location, helping to keep the user’s online identity anonymous.
  • Protection on Public Networks: VPN protects personal data when users connect to public Wi-Fi networks such as those in cafes or airports.
  • Bypassing Restrictions: VPN allows users to access websites or online content that may be restricted in certain regions.
  • Secure Public Wi-Fi Use: VPN ensures safer browsing even when using unsecured or open public networks.

VPN (Virtual Private Network) হলো একটি technology যা internet-এর মাধ্যমে একটি secure এবং private connection তৈরি করে। এটি user-এর online activity এবং data সুরক্ষিত রাখে এবং connection-কে encrypt করে।

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

  • Security: VPN data encrypt করে, ফলে hacker বা unauthorized user সহজে data পড়তে বা চুরি করতে পারে না।
  • Privacy: VPN user-এর IP address এবং location লুকিয়ে রাখে, যার ফলে user-এর online identity গোপন থাকে।
  • Protection on Public Networks: Public Wi-Fi network (যেমন café বা airport)-এ ব্যবহার করার সময় VPN personal data সুরক্ষিত রাখে।
  • Bypassing Restrictions: VPN ব্যবহার করে এমন website বা content access করা যায় যা কিছু region-এ restricted থাকে।
  • Secure Public Wi-Fi Use: Unsecured public network ব্যবহার করার সময়ও VPN browsing আরও নিরাপদ করে তোলে।

distance_vector_vs_link_state

4.Write down firewalls role and browser cookies role.

Firewallঃ A firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predefined security rules.
  • Traffic Control: It decides which network traffic is allowed or blocked.
  • Packet Inspection: It examines data packets and determines whether they should be allowed or denied based on security rules.
  • Network Protection: It protects the network from unauthorized access and malicious activities.

Browser Cookiesঃ Cookies are small text files stored in a web browser that help websites remember user information and activities.

  • Session Management: Cookies help keep users logged in and remember login sessions and preferences.
  • Personalization: Websites can customize content such as advertisements or recommendations based on user behavior.
  • Tracking: Cookies track browsing activity to suggest similar products or remember items in a shopping cart.

Firewall হলো একটি network security system যা নির্ধারিত security rules অনুযায়ী incoming এবং outgoing network traffic পর্যবেক্ষণ ও নিয়ন্ত্রণ করে।

  • Traffic Control: এটি নির্ধারণ করে কোন network traffic অনুমোদিত হবে এবং কোনটি block করা হবে।
  • Packet Inspection: Firewall data packet পরীক্ষা করে এবং security rules অনুযায়ী তা allow বা deny করে।
  • Network Protection: এটি network-কে unauthorized access এবং malicious activity থেকে সুরক্ষা দেয়।

Browser Cookiesঃ Cookies হলো ছোট text file যা web browser-এ সংরক্ষিত থাকে এবং website-কে user-এর তথ্য মনে রাখতে সাহায্য করে।

  • Session Management: Cookies user-কে login অবস্থায় রাখতে এবং তার preference মনে রাখতে সাহায্য করে।
  • Personalization: Website user-এর browsing behavior অনুযায়ী content বা advertisement customize করতে পারে।
  • Tracking: Cookies browsing activity track করে এবং shopping cart-এর item মনে রাখতে বা similar item suggest করতে সাহায্য করে।
5.Write a Program to find summation for a number until it's become single digit.
#include <iostream>
using namespace std;

int singleDigit(int n) {
    int sum = n;

    // Repeatedly calculate sum of digits until it becomes a single digit
    while (sum >= 10) {
        int tempSum = 0;

        // Calculate sum of digits of the number
        while (sum > 0) {
            tempSum += sum % 10;
            sum /= 10;
        }

        sum = tempSum;  // Update sum to the sum of digits
    }

    return sum;
}

int main() {
    int n;

    // Taking user input
    cout << "Enter a number: ";
    cin >> n;

    // Calling the function and printing the result
    cout << "The single digit sum is: " << singleDigit(n) << endl;

    return 0;
}
Input: n = 1234 Output: 1 Explanation: Step 1: 1 + 2 + 3 + 4 = 10 Step 2: 1 + 0 = 1Input: n = 5674 Output: 4 Explanation: Step 1: 5 + 6 + 7 + 4 = 22 Step 2: 2 + 2 = 4
6. Comparison and Contrast between Relational and NoSQL Database.

7. Explain Three-Way Handshaking in TCP Protocol.
The Three-Way Handshake in TCP (Transmission Control Protocol) is a process used to establish a reliable connection between a client and a server before data transmission begins.Steps of the Three-Way Handshake
  • SYN (Synchronize): The client (Host P) generates a random sequence number (X) and sends a connection request to the server (Host Q) with the SYN flag, indicating that it wants to establish a connection.
  • SYN-ACK (Synchronize-Acknowledgment): The server (Host Q) receives the request and responds by selecting its own random sequence number (Y). It sends back a packet containing the SYN flag and an ACK flag to acknowledge the client’s sequence number (X + 1).
  • ACK (Acknowledgment): The client receives the server’s response and sends an acknowledgment packet with the ACK flag set, confirming the server’s sequence number (Y + 1). After this step, the connection is successfully established
Three-Way Handshake হলো TCP (Transmission Control Protocol)-এ ব্যবহৃত একটি process যার মাধ্যমে client এবং server-এর মধ্যে data transmission শুরু করার আগে একটি reliable connection স্থাপন করা হয়।Three-Way Handshake-এর ধাপসমূহ
  • SYN (Synchronize): Client (Host P) একটি random sequence number (X) তৈরি করে এবং SYN flag সহ server (Host Q)-এর কাছে connection request পাঠায়, যা connection শুরু করার ইঙ্গিত দেয়।
  • SYN-ACK (Synchronize-Acknowledgment): Server (Host Q) request পাওয়ার পর তার নিজের একটি sequence number (Y) নির্বাচন করে। এরপর এটি SYN flag এবং ACK flag সহ একটি packet পাঠায়, যা client-এর sequence number (X + 1) acknowledge করে।
  • ACK (Acknowledgment): Client server-এর response পাওয়ার পর ACK flag সহ একটি acknowledgment packet পাঠায় এবং server-এর sequence number (Y + 1) confirm করে। এরপর connection সম্পূর্ণভাবে establish হয়।

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