Loading...
Bangladesh Computer Council

Post: Assistant Programmer
Exam Date: 11/11/2023
1. What is the minimum number of nodes in a binary tree?

Minimum Number of Nodes in a Binary Tree

The minimum number of nodes in a binary tree is 1. This happens when the tree consists of only a single root node with no left or right child.

Example

A binary tree having only one root node and no children represents the minimum-node binary tree.

Binary Tree-এ সর্বনিম্ন Node সংখ্যা

একটি binary tree-এ সর্বনিম্ন node-এর সংখ্যা হলো 1। এই ক্ষেত্রে tree-টিতে শুধুমাত্র একটি root node থাকে এবং কোনো left বা right child থাকে না।

উদাহরণ

শুধুমাত্র একটি root node থাকা এবং কোনো child না থাকা tree-ই হলো সর্বনিম্ন node বিশিষ্ট binary tree।

2. What is a distributed ledger in a peer-to-peer network called?

Distributed Ledger in a Peer-to-Peer Network

A distributed ledger in a peer-to-peer network is called a Blockchain. It is a decentralized digital ledger where transaction records are stored across multiple nodes in the network without a central authority.

Peer-to-Peer Network-এ Distributed Ledger

Peer-to-peer network-এ ব্যবহৃত distributed ledger-কে Blockchain বলা হয়। এটি একটি decentralized digital ledger যেখানে transaction record গুলো network-এর বিভিন্ন node-এ সংরক্ষিত থাকে এবং কোনো central authority থাকে না।

3. Which type of variable violates encapsulation rules?

Variable that Violates Encapsulation

Public variables violate encapsulation rules because they allow direct access to class data from outside the class, breaking the principle of data hiding.

Example

class Student {
    public int marks;
}
public class Test {
    public static void main(String[] args) {
        Student s = new Student();
        s.marks = 90;   // Direct access
        System.out.println(s.marks);
    }
}

Explanation

Here, the variable marks is declared as public, so it can be accessed and modified directly from outside the class. This exposes internal data and violates encapsulation.

Encapsulation ভঙ্গ করে এমন Variable

Public variable encapsulation নিয়ম ভঙ্গ করে, কারণ এটি class-এর ভেতরের data বাইরে থেকে সরাসরি access করতে দেয় এবং data hiding নষ্ট করে।

উদাহরণ

class Student {
    public int marks;
}
public class Test {
    public static void main(String[] args) {
        Student s = new Student();
        s.marks = 90;   // সরাসরি access
        System.out.println(s.marks);
    }
}

ব্যাখ্যা

এখানে marks variable-টি public হওয়ায় class-এর বাইরে থেকে সরাসরি modify করা যাচ্ছে, যা encapsulation নীতির বিরোধী।

4. What is the function of a firewall?

Function of a Firewall

A firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predefined security rules. Its main function is to act as a barrier between a trusted internal network and an untrusted external network such as the Internet.

The firewall allows authorized traffic to pass through while blocking unauthorized access, thereby protecting systems from hackers, malware, and other cyber threats.

Firewall-এর কাজ

Firewall হলো একটি network security system যা নির্ধারিত security rule অনুযায়ী incoming ও outgoing network traffic পর্যবেক্ষণ ও নিয়ন্ত্রণ করে। এর প্রধান কাজ হলো trusted internal network ও untrusted external network (যেমন Internet)-এর মধ্যে একটি নিরাপত্তা প্রাচীর তৈরি করা।

Firewall অনুমোদিত traffic চলাচল করতে দেয় এবং অননুমোদিত access বন্ধ করে দিয়ে system-কে hacker, malware ও অন্যান্য cyber threat থেকে রক্ষা করে।

5. Prefix Conversion A+ B* C+D expression?
Expression TypeExpression
InfixA + B * C + D
Prefix+ + A * B C D
PostfixA B C * + D +

Statement: Intelligence cannot be measured only by intelligence tests because it is related to other subjects.

Answer: True

Explanation: Intelligence cannot be measured only by intelligence tests because these tests mainly evaluate logical thinking, problem-solving ability, and pattern recognition. Intelligence is a complex trait that also includes emotional intelligence, creativity, social skills, and practical abilities, which are not fully assessed by intelligence tests. Therefore, intelligence tests provide only a partial measure of a person’s overall intelligence.

Statement: Intelligence শুধুমাত্র intelligence test দ্বারা পরিমাপ করা যায় না, কারণ এটি অন্যান্য বিষয়ের সাথে সম্পর্কিত।

Answer: True

ব্যাখ্যা: Intelligence শুধুমাত্র intelligence test দিয়ে সম্পূর্ণভাবে পরিমাপ করা যায় না, কারণ এসব test মূলত logical thinking, problem-solving এবং pattern recognition যাচাই করে। কিন্তু intelligence-এর মধ্যে emotional intelligence, creativity, social skill এবং practical ability-এর মতো বিষয়ও অন্তর্ভুক্ত থাকে, যা intelligence test দ্বারা সম্পূর্ণভাবে নির্ধারণ করা যায় না। তাই intelligence test একজন মানুষের মোট intelligence-এর আংশিক ধারণা দেয়।

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