Skip to content
Past paper

BPSC — Sub-Assistant Engineer (Ministry of Agriculture) — Exam: 2021প্রশ্ন ও সমাধান

Set by
BPSC
Post
Sub-Assistant Engineer
Exam date
2021
Questions
10 (0 MCQ, 10 written)
Exam guide
BPSC non-cadre IT posts · পিএসসি নন-ক্যাডার আইটি পদ
  • Networking · নেটওয়ার্কিং 3
  • Database · ডেটাবেজ 2
  • Digital Logic · ডিজিটাল লজিক 2
  • Cyber Security · সাইবার নিরাপত্তা 1
  • Mathematics · গণিত 1
  • Software Engineering · সফটওয়্যার ইঞ্জিনিয়ারিং 1
Written question 1Cyber Security

(a) What is meant by Encryption and Decryption?

Model answer

সংজ্ঞা: Encryption হলো plaintext (সাধারণ, পাঠযোগ্য তথ্য)-কে একটি algorithm ও key ব্যবহার করে অপাঠযোগ্য ciphertext-এ রূপান্তর করার প্রক্রিয়া, যাতে অননুমোদিত ব্যক্তি তা পড়তে না পারে। Decryption হলো তার বিপরীত প্রক্রিয়া — সঠিক key ব্যবহার করে ciphertext-কে আবার মূল plaintext-এ ফিরিয়ে আনা।

sequenceDiagram
    participant Sn as Sender
    participant Rc as Recipient
    Sn->>Sn: Plaintext + Encryption Key -> Encrypt
    Sn->>Rc: Ciphertext পাঠানো (insecure channel দিয়ে হলেও নিরাপদ)
    Rc->>Rc: Ciphertext + Decryption Key -> Decrypt
    Rc-->>Rc: মূল Plaintext উদ্ধার

দুই ধরনের Encryption:

  • Symmetric Key Encryption: Encryption ও Decryption উভয়ের জন্য একই secret key ব্যবহৃত হয় (যেমন AES, DES) — দ্রুততর, কিন্তু key নিরাপদে বিনিময় করা কঠিন।
  • Asymmetric Key Encryption: একটি public key (encryption-এর জন্য, সবাই জানে) ও একটি private key (decryption-এর জন্য, শুধু প্রাপক জানে) জোড়ায় ব্যবহৃত হয় (যেমন RSA) — ধীরগতির কিন্তু key-বিনিময় সমস্যার সমাধান দেয়।

উদাহরণ: HTTPS-এ ব্রাউজার ও সার্ভার প্রথমে asymmetric encryption দিয়ে (TLS handshake) একটি সাধারণ session key বিনিময় করে, তারপর প্রকৃত ডেটা আদান-প্রদানে দ্রুততর symmetric encryption ব্যবহার করে (hybrid approach)।

পরীক্ষার জন্য মূল কথা: Encryption = plaintext -> ciphertext (secure করা); Decryption = ciphertext -> plaintext (পুনরুদ্ধার); Symmetric = একই key, দ্রুত; Asymmetric = public/private key জোড়া, নিরাপদ key-বিনিময়।

Written question 2Digital Logic

(a) Draw the logic diagram of Half-Adder the truth table of Full-Adder and use half Adder (S) and basic gates to build a Full-Adder.

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

Written question 3Digital Logic

(a) A comparator has two inputs A= A₁A₀ and B= B₁B₀ and one output F. Output becomes one whenever the value of A>B

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

Written question 4Networking

(a) Why do we need NAT? What are its advantages? Draw a topology diagram to explain NAT.

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

Written question 5Networking

(a) How can VPN provide secure communication platform? Explain site-to-site VPN and remote-access VPN using necessary figures.

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

Written question 6Networking

(a) What is the usable number of host IP addresses available on a network that has a /26 mask? Write down the subset mask of this network. Write down the first and the last IP address that can be assigned to host PCs if the network address is

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

Written question 7Database

(a) Distinguish between table and view in database management system.

Model answer

সংজ্ঞা: Table হলো একটি ভৌত (physical) ডেটাবেজ অবজেক্ট যেখানে প্রকৃত ডেটা row-column আকারে ডিস্কে সংরক্ষিত থাকে। View হলো একটি virtual/logical table — এটি একটি সংরক্ষিত SQL query, যা এক বা একাধিক প্রকৃত টেবিল থেকে ডেটা টেনে এনে প্রদর্শন করে, নিজে আলাদাভাবে ডেটা সংরক্ষণ করে না।

বিষয় Table View
Storage প্রকৃত ডেটা ডিস্কে সংরক্ষিত (physical) কোনো ডেটা সংরক্ষণ করে না (virtual, প্রতিবার query চালিয়ে ফলাফল বের করে)
স্বাধীনতা স্বাধীন অবজেক্ট নির্ভরশীল — মূল টেবিলের ওপর ভিত্তি করে তৈরি
গতি তুলনামূলক দ্রুত (সরাসরি ডেটা পড়া) তুলনামূলক ধীর (প্রতিবার underlying query re-execute হয়)
ব্যবহার ডেটা সংরক্ষণের জন্য ডেটা প্রদর্শন/ফিল্টার/সরলীকরণের জন্য (যেমন sensitive কলাম লুকানো)
DML (Insert/Update/Delete) সরাসরি সমর্থিত সীমিত/শর্তসাপেক্ষ সমর্থিত (simple, single-table view-তে সম্ভব; জটিল join/aggregate view-তে সাধারণত সম্ভব নয়)
তৈরি CREATE TABLE CREATE VIEW ... AS SELECT ...
CREATE VIEW cse_students AS
SELECT name, roll_no FROM student_info WHERE department = 'CSE';

উদাহরণ: উপরের View-টি চালালে প্রতিবার student_info টেবিল থেকে তাৎক্ষণিকভাবে CSE বিভাগের ছাত্রছাত্রীদের তালিকা তৈরি হয় — মূল টেবিলে নতুন ছাত্র যোগ হলে View নিজে থেকেই আপডেটেড ফলাফল দেখাবে, কোনো manual sync লাগবে না।

পরীক্ষার জন্য মূল কথা: Table = প্রকৃত ডেটা সংরক্ষণকারী স্বাধীন অবজেক্ট; View = টেবিলের ওপর নির্ভরশীল, সেভ করা query-ভিত্তিক ভার্চুয়াল প্রদর্শনী — নিরাপত্তা (নির্দিষ্ট কলাম/সারি লুকানো) ও সরলীকরণের জন্য ব্যবহৃত হয়।

Written question 8Database

(a) While converting E-R diagram into Tables, how is a Many-to-many relationship set between entities A and B is converted into database tables?

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

Written question 9Software Engineering

(a) Distinguish between black box and white box testing. Give examples of both type of testing

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

Written question 10Mathematics

(a) Out of ten families, six families have dogs, four have cats and two have neither cats nor dogs. Find the number of families that have both cats and dogs?

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 · BPSC non-cadre IT posts guide