Bangladesh Bank Assistant Programmer Exam 3 February 2023 — Question Solution | বাংলাদেশ ব্যাংক সহকারী প্রোগ্রামার নিয়োগ পরীক্ষা ২০২৩ — প্রশ্ন সমাধান
- Bangladesh Bank
- Assistant Programmer
- 3 February 2023
- 37 questions · 25 MCQ, 12 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The Bangladesh Bank Assistant Programmer exam was held on 3 February 2023, conducted by BIBM. The paper had 37 questions (25 MCQ and 12 written). The subjects asked most were Programming (9), Data Structures (6) and Algorithms (5). This page lists every question, with 3 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
- Bangladesh Bank
- Post
- Assistant Programmer
- Exam date
- 3 February 2023
- Conducted by
- BIBM
- Questions
- 37 (25 MCQ, 12 written)
- Exam guide
- Bank IT jobs · ব্যাংকের আইটি চাকরি
- Programming · প্রোগ্রামিং 9
- Data Structures · ডেটা স্ট্রাকচার 6
- Algorithms · অ্যালগরিদম 5
- Mathematics · গণিত 3
- Networking · নেটওয়ার্কিং 3
- Cyber Security · সাইবার নিরাপত্তা 2
- Database · ডেটাবেজ 2
- General Knowledge · সাধারণ জ্ঞান 2
- Software Engineering · সফটওয়্যার ইঞ্জিনিয়ারিং 2
- Bangla to English Translation · বাংলা থেকে ইংরেজি অনুবাদ 1
- General ICT · সাধারণ আইসিটি 1
- Operating Systems · অপারেটিং সিস্টেম 1
The _____ system may manage a high degree of interaction between processes and is very useful for high speed and real-time processing.
- a)strongly coupled and loosely cohesive
- b)loosely coupled and strongly cohesive
- c)loosely coupled and loosely cohesive
- d)distributed and strongly cohesive
The time taken by NP-class sorting algorithm is-
- a)O (1)
- b)O (log n)
- c)O(n²)
- d)O(n)
What is the complexity of Merge sort?
- a)O(n² log n)
- b)O(n log n)
- c)O(n²)
- d)O(n)
Which of the following is not the required condition for a binary search algorithm?
- a)The list must be sorted
- b)There should be direct access to the middle element in any sub list
- c)There must be a mechanism to delete and/or insert elements in the list.
- d)Number values should only be present
How many addresses are there in 200.10.10.10/20?
- a)4096
- b)1024
- c)2048
- d)1022
Which of the following belongs to the greedy method?
- a)Minimum & Maximum problem
- b)Knapsack problem
- c)Selection problem
- d)Merge sort
Which is a suitable subnet mask for 200 hosts?
- a)255.255.0.200
- b)255.255.255.0
- c)255.0.0.0
- d)255.255.200.0
Sign up free to see the answers and explanations to questions 1–7 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of the following is a non linear data structure?
- a)Array
- b)Graph (correct answer)
- c)Queue
- d)Linked list
Answer and explanation
Correct answer: (b) Graph
In a non-linear data structure an element can be connected to several others, so the elements do not form a single line. A graph is the clearest case: a vertex can have edges to any number of other vertices, and there is no single "next" element. Trees are the other standard non-linear structure.
Why the other options are wrong
- (a) Array: elements sit one after another by index, a single sequence, so it is linear.
- (c) Queue: elements are kept in arrival order (FIFO), one behind another, so it is linear.
- (d) Linked list: each node points to one next node, forming a chain, so it is linear.
Tip: Linear = array, stack, queue, linked list. Non-linear = tree, graph.
Source: Lecture Plan: Data Structures (CSC 13102), IIT (ISM) Dhanbad
Which data structure allows insertion and deletion of elements from both ends?
- a)Deque
- b)Queue
- c)Stack
- d)Linked list
Determine Output:
void main() {
int i=i++, j=j++, k=k++;
printf("%d %d %d", i, j, k);
}
- a)1 1 1
- b)0 0 0
- c)garbage values
- d)Error
Design pattern for hierarchical structure is _____
- a)Structure chart
- b)DFD
- c)ERD
- d)UML
In a complete k-ary, every internal node has exactly k children. The number of leaves in such a tree with n internal nodes is-
- a)(n-1)k+1
- b)nk
- c)n(k-1)
- d)n(k-1)+1
World environment day is celebrated on _____ of every year.
- a)5th June
- b)6th June
- c)2nd June
- d)1st June
Sign up free to see the answers and explanations to questions 9–13 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Encapsulating IPv4 in IPv6 is known as _____.
- a)Tunneling (correct answer)
- b)hashing
- c)NAT
- d)Traversing
Answer and explanation
Correct answer: (a) Tunneling
Tunneling means wrapping a whole packet of one protocol inside a packet of another, so it can cross a network that speaks only the outer protocol. The entry point adds the outer header (encapsulation), and the exit point removes it (decapsulation). It works in both directions: IPv6 packets are tunnelled over IPv4 networks (configured tunnels, RFC 4213), and IPv4 packets are tunnelled over IPv6-only networks, as in Dual-Stack Lite, which combines IPv4-in-IPv6 tunnels with NAT.
Why the other options are wrong
- (b) hashing: Computes a fixed-length digest of data for integrity or lookup; it does not carry packets.
- (c) NAT: Rewrites addresses in the existing header instead of wrapping the packet; even NAT64 translates between IPv6 and IPv4 headers, which is translation, not encapsulation.
- (d) Traversing: A general word (as in "NAT traversal"), not the name of an IPv4/IPv6 transition mechanism.
Tip: The three IPv4–IPv6 transition approaches: dual stack, tunneling (encapsulation) and translation (NAT64).
Sources: RFC 4213: Basic Transition Mechanisms for IPv6 Hosts and Routers; RFC 6333: Dual-Stack Lite Broadband Deployments Following IPv4 Exhaustion
Determine Output:
void main(){
struct xx {
int x=3;
char name[] = "hello";
};
struct xx *s = malloc(sizeof(struct xx));
printf("%d", s->x);
printf("%s", s->name);
}
- a)3 hello
- b)Compiler Error
- c)Linking error
- d)None of these
Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?
- a)arr[6]
- b)arr[7]
- c)arr{6}
- d)arr{7}
What is the result of compiling and running the following code?
public class Test{
public static void main(String[] args){
int[] a = new int[0];
System.out.print(a.length);
}
}
- a)0
- b)Compilation error, arrays cannot be initialized to zero size
- c)None of the above
- d)Compilation error, it is length () not length
Table employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE. The SQL statement:
SELECT COUNT (*) FROM employee
WHERE SALARY > ALL (SELECT SALARY FROM EMPLOYEE);
Prints:
- a)10
- b)9
- c)5
- d)0
If the radius is increased by 100% then by how much will the area of circle be increased?
- a)100
- b)200
- c)300
- d)400
When was International Mother Language Day Declaration by UNESCO?
- a)November, 1999
- b)February, 2000
- c)February, 1999
- d)November, 2000
Access time of the symbol table will be logarithmic if it is implemented by-
- a)Linear list
- b)Search tree
- c)Hash table
- d)Self-organizing list
Which one of the following algorithm design techniques is used in finding all pairs of shortest distances in a graph?
- a)Dynamic programming
- b)Backtracking
- c)Greedy
- d)Divide and Conquer
Assume that the size of an integer is 4 bytes, predict the output of the following program.
#include <stdio.h>
int main() {
int i = 12;
int j = sizeof(i++);
printf("%d %d", i, j);
return 0;
}
- a)12 4
- b)13 4
- c)Compiler Error
- d)0 4
Sign up free to see the answers and explanations to questions 15–23 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of the following operators cannot be overloaded in C/C++?
- a)Bitwise right shift assignment
- b)Address of
- c)Indirection
- d)Structure reference (correct answer)
Answer and explanation
Correct answer: (d) Structure reference
"Structure reference" is the name of the member-access (dot) operator a.b, which selects member b of object a. C++ does not allow . to be overloaded; the other operators that cannot be overloaded are :: (scope resolution), .* (member access through a pointer to member) and ?: (conditional). Note that C has no operator overloading at all, so the question is really about C++.
Do not confuse it with "structure dereference" a->b, which can be overloaded (smart pointers do it).
For example, a smart-pointer class can define Account* operator->() so that acct->balance works, but no class can change what acct.balance means.
Why the other options are wrong
- (a) Bitwise right shift assignment:
>>=, like every compound-assignment operator, can be overloaded, e.g.T& operator>>=(int n);. - (b) Address of: Unary
&can be overloaded, which is whystd::addressofexists to get an object's real address. - (c) Indirection: Unary
*is routinely overloaded by iterators and smart pointers, e.g.T& operator*();.
Tip: The ones you can never overload: :: . .* ?:.
Sources: Operator overloading - cppreference.com; Operators in C and C++ - Wikipedia
What is the output of the following code?
print 9//2
- a)4.5
- b)4.0
- c)4
- d)Error
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Consider a hash table of size 13 strong entries with integer keys. Suppose the hash function is h(k) = k mod 13. Insert in the given order entries with keys 10, 3, 6, 16, 17, 19 in to the hash table using linear probing to resolve collisions. Show all the work.
Describe a man-in the middle attack on the Diffie-Hellman key exchange protocol in which the adversary generates two public key pairs for the attack.
Preserving confidentiality integrity and availability of data is a restatement of the concern over falsification, interception, masquerade and denial of service. Explain how the first three concepts relate to the last four.
Given two integers A and B as input write a program to compute the least common multiple of A and B.
Suppose that we have a relational database with the following table. Underlined one represent primary key
Movies (mid, title, year)
People (pid, name)
Genres (gid, genre)
HasRole (pid, mid, role)
HasGenre (gid, mid)
Write a SQL query to return the number of movies that are romantic comedies.
Consider the following code:
public class ClassA {
public void m1() {}
public void m2(int i) {}
public void m3(int i) {}
public static void m4(int i) {}
}
public class ClassB extends ClassA {
public static void m1(int i) {}
public void m2(int i) {}
public void m3(String s) {}
public static void m4(int i) {}
}
Mention which of the methods overload, override and hide superclass methods. What about the remaining method?
Give an adjacency list representation for a complete binary tree on 7 vertices. Give an equivalent adjacency matrix representation. Assume that vertices are numbered from 1 to 7 as in a binary heap.
Draw A class diagram. A token-ring based local area network (LAN) is a network consisting of nodes in which network packets are sent around. Every node has a unique name within the network, and refers to its next node. Different kinds of nodes exist: Workstations are originators of messages; servers and printers are network nodes that can receive messages. Packets contain an originator a destination and content, and are sent around on a network. A LAN is a circular configuration of nodes.
Growing use of technology in the Financial Service Industry.
Translation Bangla to English.
Sign up free to see the model answers to written questions 1–10 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
If x is an Integer and x + 1/x = 17/4, then value of x − 1/x =?
A basketball team has won 15 games and lost 9. If these games represent 16⅔% of the games to be played, then how many more games must the team win to average 75% for the season?
Sign up free to see the model answers to written questions 11–12 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
34 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ৩৪টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 24 syllabus chapters; the biggest is Language Basics & Syntax, in Programming, with 6 questions. Language Basics & Syntax is asked in 122 other papers too (2015–2026). None of its MCQs appears word for word in another paper in our bank.
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- Language Basics & Syntax Programming · 122 other papers, 2015–20266
- IP Addressing & Subnetting Networking · 133 other papers, 2012–20262
- Sorting Algorithms · 59 other papers, 2013–20262
- Requirements & Design Software Engineering · 50 other papers, 2016–20262
- Pointers, Arrays & Strings Programming · 44 other papers, 2016–20262
- International Affairs General Knowledge · 36 other papers, 2020–20262
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 Bangladesh Bank Assistant Programmer exam (2023)?
- 37 questions (25 MCQ and 12 written).
- Which subjects were asked most in the Bangladesh Bank Assistant Programmer exam (2023)?
- Programming (9), Data Structures (6) and Algorithms (5), out of 37 questions.
- When was the Bangladesh Bank Assistant Programmer exam held?
- On 3 February 2023, conducted by BIBM.
- Where can I find the Bangladesh Bank Assistant Programmer exam (2023) question solution?
- On this page: 3 of the 37 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