BTCL Junior Assistant Manager Exam 2022 — Question Solution | বিটিসিএল জুনিয়র সহকারী ব্যবস্থাপক নিয়োগ পরীক্ষা ২০২২ — প্রশ্ন সমাধান
- BTCL
- Junior Assistant Manager
- 2022
- 8 questions · 0 MCQ, 8 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The BTCL Junior Assistant Manager exam was held in 2022, conducted by BUET. The paper had 8 written questions. The subjects asked most were Algorithms (1), Cyber Security (1) and Data Structures (1). This page lists every question, with 1 answered and explained; the rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
বিটিসিএল জুনিয়র সহকারী ব্যবস্থাপক নিয়োগ পরীক্ষার (২০২২) এই প্রশ্নপত্রে ৮টি প্রশ্ন ছিল, বেশিরভাগ অ্যালগরিদম ও সাইবার নিরাপত্তা থেকে। এখানে ১টি প্রশ্নের ব্যাখ্যাসহ উত্তর দেওয়া আছে; বাকিগুলো ফ্রি অ্যাকাউন্টে খোলে।
- Organisation
- BTCL
- Post
- Junior Assistant Manager
- Exam date
- 2022
- Conducted by
- BUET
- Questions
- 8 (0 MCQ, 8 written)
- Exam guide
- Government IT officer posts · সরকারি প্রতিষ্ঠানের আইটি পদ
Explain: Infix, Prefix, Postfix notation.
SMTP, DNS, DHCP, NAT এর কাজ কি লিখ?
Software engineering এ ফিজিবিলিটি স্ট্যাডির 7টি ধাপ বর্ণনা কর।
Linux Command লিখ:
a) একটি ফোল্ডারের সকল ফাইল দেখানোর কমান্ড।
b) নতুন ডিরেক্টরি তৈরির কমান্ড।
c) ফাইল অ্যাকসেস পারমিশন দেখানোর কমান্ড।
Bubble sort, Quick sort and Merge sort algorithm এর Worst case complexity নির্ণয় কর।
Sign up free to see the model answers to written questions 1–5 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is Polymorphism? Java language এর আলোকে ব্যাখ্যা কর।
Model answer
Polymorphism (বহুরূপতা) শব্দটি এসেছে গ্রিক poly (অনেক) ও morph (রূপ) থেকে। OOP-তে polymorphism মানে — একই নাম বা একই interface ব্যবহার করে ভিন্ন ভিন্ন object-এ ভিন্ন ভিন্ন আচরণ পাওয়া ("one interface, many forms")। Java-তে এটি দুই প্রকার।
১. Compile-time (static) polymorphism — Method Overloading
একই class-এ একই নামের একাধিক method থাকে, কিন্তু parameter-এর সংখ্যা, টাইপ বা ক্রম ভিন্ন। কোন method চলবে, compiler argument দেখে তা compile-time-এই ঠিক করে (static binding)। শুধু return type আলাদা হলে overloading হয় না — compile error হয়।
২. Runtime (dynamic) polymorphism — Method Overriding
Subclass তার superclass-এর method-কে হুবহু একই signature দিয়ে নতুনভাবে লেখে। Superclass-টাইপের reference যখন subclass-এর object ধরে রাখে (upcasting, যেমন Shape s = new Circle(2);), তখন কোন version চলবে তা JVM runtime-এ object-এর আসল টাইপ দেখে ঠিক করে — একে dynamic method dispatch বলে।
উদাহরণ প্রোগ্রাম (Java)
class Shape {
double area() { return 0; }
String name() { return "Shape"; }
}
class Circle extends Shape {
double r;
Circle(double r) { this.r = r; }
@Override double area() { return 3.1416 * r * r; }
@Override String name() { return "Circle"; }
}
class Rect extends Shape {
double w, h;
Rect(double w, double h) { this.w = w; this.h = h; }
@Override double area() { return w * h; }
@Override String name() { return "Rect"; }
}
class Printer {
void print(int x) { System.out.println("int: " + x); }
void print(double x) { System.out.println("double: " + x); }
void print(String s, int n) { System.out.println("text: " + s.repeat(n)); }
}
public class PolyDemo {
public static void main(String[] args) {
Printer p = new Printer();
p.print(7);
p.print(2.5);
p.print("ab", 3);
Shape[] list = { new Circle(2), new Rect(3, 4), new Shape() };
for (Shape s : list)
System.out.printf("%s area = %.2f%n", s.name(), s.area());
}
}
Output:
int: 7
double: 2.5
text: ababab
Circle area = 12.57
Rect area = 12.00
Shape area = 0.00
ব্যাখ্যা: p.print(7) ও p.print(2.5) — compiler argument-এর টাইপ (int, double) দেখে আলাদা method বেছে নিয়েছে (overloading)। লুপে s-এর টাইপ Shape হলেও list[0] আসলে একটি Circle, তাই Circle-এর area() চলেছে: 3.1416 × 2 × 2 = 12.5664 ≈ 12.57; Rect-এর ক্ষেত্রে 3 × 4 = 12.00 (overriding)।
classDiagram
class Shape {
~area() double
~name() String
}
class Circle {
~double r
~area() double
~name() String
}
class Rect {
~double w
~double h
~area() double
~name() String
}
class Printer {
~print(int x)
~print(double x)
~print(String s, int n)
}
Shape <|-- Circle
Shape <|-- Rect
Overloading বনাম Overriding
| বিষয় | Overloading | Overriding |
|---|---|---|
| Polymorphism-এর ধরন | Compile-time (static) | Runtime (dynamic) |
| কোথায় | সাধারণত একই class-এ | Superclass ও subclass-এ |
| Signature | নাম এক, parameter list ভিন্ন | নাম ও parameter list হুবহু এক; return type এক বা covariant |
| Inheritance লাগে? | না | হ্যাঁ |
| উদাহরণ | print(int), print(double) |
Circle-এর area() |
গুরুত্বপূর্ণ নিয়ম
static,privateওfinalmethod override করা যায় না; subclass-এ একই নামের static method লিখলে তা method hiding, overriding নয়।- Override করা method-এর access, superclass-এর method-এর চেয়ে কঠোর হতে পারে না (যেমন public থেকে private করা যায় না)।
- Field বা variable polymorphic নয় — field পড়া হয় reference-এর টাইপ অনুযায়ী।
- Java-তে user-defined operator overloading নেই; String জোড়ার
+ভাষার নিজস্ব ব্যবস্থা।
পরীক্ষার টিপ: Overloading = একই class, ভিন্ন parameter, compile-time; Overriding = parent-child, একই signature, runtime। Superclass reference দিয়ে subclass object-এর method ডাকার উদাহরণ অবশ্যই দেখাবে।
একটি Virus ও Ransomware এর নাম লিখ?
Employee table হতে Employee_id, Employee কে খোঁজে বের করার SQL Command লিখ যাদের গড় salary 2000 উপরে।
Sign up free to see the model answers to written questions 7–8 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
7 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ৭টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 8 syllabus chapters; OSI & TCP/IP Models, SQL & Queries and Object-Oriented Programming lead, with 1 each. OSI & TCP/IP Models is asked in 112 other papers too (2012–2026).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- OSI & TCP/IP Models Networking · 112 other papers, 2012–20261
- SQL & Queries Database · 93 other papers, 2015–20261
- Object-Oriented Programming Programming · 88 other papers, 2015–20261
- Attacks & Threats Cyber Security · 81 other papers, 2012–20261
- Sorting Algorithms · 59 other papers, 2013–20261
- Requirements & Design Software Engineering · 50 other papers, 2016–20261
From our own past papers: each question filed under one syllabus chapter. Practice and held questions are not counted.
Questions about this paper · সাধারণ প্রশ্ন
- How many questions were in the BTCL Junior Assistant Manager exam (2022)?
- 8 written questions.
- Which subjects were asked most in the BTCL Junior Assistant Manager exam (2022)?
- Algorithms (1), Cyber Security (1) and Data Structures (1), out of 8 questions.
- When was the BTCL Junior Assistant Manager exam held?
- In 2022, conducted by BUET. The exact day isn't in our records.
- Where can I find the BTCL Junior Assistant Manager exam (2022) question solution?
- On this page: 1 of the 8 questions are shown with worked answers. The rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
Question text is from the public recruitment exam; answers and explanations are written by ARBS Academy. All past papers