Probashi Kallyan Bank Assistant Programmer Exam 2018 — Question Solution | প্রবাসী কল্যাণ ব্যাংক সহকারী প্রোগ্রামার নিয়োগ পরীক্ষা ২০১৮ — প্রশ্ন সমাধান
- Probashi Kallyan Bank
- Assistant Programmer
- 2018
- 39 questions
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The Probashi Kallyan Bank Assistant Programmer exam was held in 2018. The paper had 39 multiple-choice questions. The subjects asked most were Programming (15), Data Structures (6) and Database (4). This page lists every question, with 5 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
- Probashi Kallyan Bank
- Post
- Assistant Programmer
- Exam date
- 2018
- Questions
- 39 (39 MCQ, 0 written)
- Exam guide
- Bank IT jobs · ব্যাংকের আইটি চাকরি
- Programming · প্রোগ্রামিং 15
- Data Structures · ডেটা স্ট্রাকচার 6
- Database · ডেটাবেজ 4
- Networking · নেটওয়ার্কিং 4
- Algorithms · অ্যালগরিদম 3
- General ICT · সাধারণ আইসিটি 2
- Cloud & Emerging Tech · ক্লাউড ও উদীয়মান প্রযুক্তি 1
- Computer Architecture · কম্পিউটার আর্কিটেকচার 1
- Digital Logic · ডিজিটাল লজিক 1
- Mathematics · গণিত 1
- Software Engineering · সফটওয়্যার ইঞ্জিনিয়ারিং 1
Which protocol can cause overload on a CPU of a managed device?
- a)NetFlow
- b)WCCP
- c)IP SLA
- d)SNMP
Which type of cable is used to connect the COM port of a host to the COM port of a router or switch?
- a)Crossover
- b)Straight-through
- c)Rolled
- d)Shielded twisted pair
Which of the following is a group of one or more attributes that uniquely identifies a row?
- a)Key
- b)Determinant
- c)Tuple
- d)Relation
Sign up free to see the answers and explanations to questions 1–3 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
The SQL statement that retrieves or reads data from the table is-
- a)Select (correct answer)
- b)Read
- c)Query
- d)None of the above
Answer and explanation
Correct answer: (a) Select
SELECT is the SQL statement that retrieves rows from one or more tables or views:
SELECT * FROM staff;
In SQLite, SELECT returned the table's rows, while READ staff and QUERY staff were rejected as syntax errors.
Why the other options are wrong
- (b) Read: SQL has no READ statement; reading is done with SELECT.
- (c) Query: "query" is the general name for any request for data (a SELECT is a query), but QUERY is not an SQL statement.
- (d) None of the above: SELECT does exactly what is asked, so this does not apply.
Tip: Reading data = SELECT; changing data = INSERT, UPDATE, DELETE.
Source: PostgreSQL Documentation: SELECT
Which of the following protocols uses TCP and UDP ports?
- a)FTP
- b)SMTP
- c)Telnet
- d)DNS (correct answer)
Answer and explanation
Correct answer: (d) DNS
DNS uses port 53 over both transports. Ordinary queries and answers are short, so they normally travel as single UDP datagrams, which avoids TCP's connection setup. TCP is used for zone transfers (AXFR) between primary and secondary servers, which need reliable delivery of a large amount of data, and when an answer does not fit in a UDP message (classically 512 bytes): the server sets the TC (truncated) bit and the client repeats the query over TCP.
Why the other options are wrong
- (a) FTP: Both the control connection (port 21) and the data connections (port 20 by default) are TCP.
- (b) SMTP: Mail transfer runs over TCP connections to port 25 only.
- (c) Telnet: A Telnet session is a TCP connection to server port 23.
(IANA also lists UDP numbers for these well-known ports, but the protocols themselves are defined and used only over TCP.)
Tip: DNS is the classic "both" protocol: UDP 53 for normal lookups, TCP 53 for zone transfers and large replies.
Source: RFC 1035: Domain Names - Implementation and Specification; RFC 854: Telnet Protocol Specification; RFC 959: File Transfer Protocol (FTP)
Two dimensional arrays are also called?
- a)table array
- b)matrix array
- c)both A and B (correct answer)
- d)none of the above
Answer and explanation
Correct answer: (c) both A and B
A two-dimensional array stores its elements in rows and columns: A[i][j] is the element in row i, column j. That layout is exactly a mathematical matrix, and it is also a table of rows and columns (for example, a marks sheet with students as rows and subjects as columns). So a 2-D array is commonly called both a matrix array and a table array. Microsoft's C++ documentation describes int i2[5][7] as conceptually a two-dimensional matrix of 5 rows and 7 columns, and Visual Basic documentation also calls it a rectangular array.
Why the other options are wrong
- (a) table array: a correct name, but only one of the two; option (c) covers it.
- (b) matrix array: also correct, but again only half the answer.
- (d) none of the above: wrong, because both names are used for 2-D arrays.
Tip: 1-D array ↔ list/vector; 2-D array ↔ matrix/table (rows × columns).
Source: Arrays (C++) | Microsoft Learn; Array Dimensions — Visual Basic | Microsoft Learn
Which of the following is an SQL trigger type supported by Oracle?
- a)Before
- b)Instead of
- c)After
- d)All of the above
K iteration by Newton-Raphson of a following square root of a number increases accuracy in number of digits?
- a)k
- b)2k
- c)3k
- d)4k
An algorithm that calls itself directly or indirectly is known as?
- a)Sub Algorithm
- b)Recursion
- c)Polish Notation
- d)Traversal algorithm
Bubble sort algorithm sorts n data items using?
- a)O (n²) Comparisons
- b)O (n) Comparisons
- c)O (n log n) Comparisons
- d)O (log n) Comparisons
For every relationship, how many possible sets of minimum cardinalities are there?
- a)Two
- b)Three
- c)Four
- d)Six
Which control statement can be executed at least once?
- a)while
- b)for
- c)do-while
- d)None of the above
Two main measures for the efficiency of an algorithm are?
- a)Processor and memory
- b)Complexity and capacity
- c)Time and space
- d)Data and space
Sign up free to see the answers and explanations to questions 7–13 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
The complexity of binary search is-
- a)O(n)
- b)O (log n) (correct answer)
- c)O(n²)
- d)O (n log n)
Answer and explanation
Correct answer: (b) O(log n)
Binary search runs on a sorted array and halves the remaining range with each comparison. After k comparisons n/2ᵏ elements remain; this reaches 1 when k = log₂ n. So the search needs at most ⌊log₂ n⌋ + 1 comparisons, which is O(log n).
Why the other options are wrong
- (a) O(n): that is linear search, which may inspect every element.
- (c) O(n²): quadratic time belongs to simple sorts (bubble, selection, insertion), not to searching.
- (d) O(n log n): that is the cost of efficient comparison sorting (merge sort, heapsort), not of one search.
Tip: Binary search = O(log n) on sorted data; linear search = O(n).
Source: binary search (NIST Dictionary of Algorithms and Data Structures)
The smallest element of array index is called its
- a)Lower Bound
- b)Upper Bound
- c)Range
- d)Extraction
Which one of the following is not a valid identifier?
- a)_compact
- b)compact
- c)com-pact
- d)com_pact
Consider the following code
#include<stdio.h>
int main (int argc, char *argv[]){
return 0;
}
What is the maximum length of character array argv in the above code?
- a)0
- b)1
- c)Undefined
- d)-1
Which is the value of "d" after this line of code has been executed?
double d=Math.round(2.5+Math.random());
- a)2
- b)2.5
- c)3
- d)4
Which of the following correctly shows the hierarchy of arithmetic operations in C?
- a)/+*-
- b)*-/+
- c)+-/*
- d)/*+-
Which of the following TCP/IP addresses constitute the loopback address?
- a)1.1.1.1
- b)255.255.255.255
- c)127.0.0.0
- d)127.0.0.1
Which of the following produces an answer that is closest in value to a double, d, while not being greater than d?
- a)(int)Math.min(d)
- b)(int)Math.max(d)
- c)(int)Math.abs(d)
- d)(int)Math.floor(d)
Which keyword must be used to inherit a class in Java?
- a)extends
- b)super
- c)this
- d)extend
Which of the following is the destructor for class "vehicle"?
- a)*vehicle()
- b)*vehicle (int value)
- c)~vehicle()
- d)~vehicle (int value)
A class that is inherited in Java is called a______.
- a)sub class
- b)super class
- c)state class
- d)implement class
Sign up free to see the answers and explanations to questions 15–24 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which one of these interfaces is implemented by the Thread class?
- a)Set
- b)Connections
- c)Runnable
- d)None of the above
Which one is less costly for insertion at a particular position?
- a)Array
- b)Queue
- c)Linked list
- d)Stack
Register circuit is not used in-
- a)Digital clocks
- b)Components
- c)RAM
- d)Amplifier
Which one is a universal logic gate?
- a)NAND
- b)AND
- c)OR
- d)NOT
Which data structure is required for evaluating a postfix expression?
- a)Queue
- b)Stack
- c)Linked List
- d)Array
Which of the declarations is correct?
- a)int length
- b)char int
- c)int long
- d)float double
In Java, which operator is used to create an object?
- a)class
- b)scanf
- c)print
- d)None of the above
Sign up free to see the answers and explanations to questions 25–31 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which operator can be overloaded?
- a)++ (correct answer)
- b)::
- c). (dot)
- d)0
Answer and explanation
Correct answer: (a) ++
The increment operator can be overloaded for a class in both forms: prefix as T& operator++() and postfix as T operator++(int) (the dummy int parameter marks the postfix form). In a test, a struct holding v = 3 defined N& operator++() { ++v; return *this; }; after ++n, n.v was 4.
Why the other options are wrong
- (b)
::: The scope resolution operator is one of the operators C++ never allows to be overloaded. - (c)
.(dot): Member access is also on the cannot-be-overloaded list (with.*and?:). - (d) 0: This is an integer literal, not an operator, so it cannot be overloaded. (If this option was meant to be the function-call operator
(), note that()can be overloaded too, asoperator().)
Tip: Cannot overload: :: . .* ?: sizeof; almost everything else, including ++, --, [], () and <<, can be.
How many instances of an abstract class can be created?
- a)0
- b)1
- c)2
- d)13
Which of the following cannot be checked in a switch-case statement?
- a)Character
- b)Integer
- c)Float
- d)None of the above
Which of the following is a design pattern?
- a)List
- b)Queue
- c)Factory
- d)All of the above
The main threat of cloud-based provisioning is-?
- a)Cost
- b)Security
- c)Virtualization
- d)All of the above
Linked list can be implemented by using?
- a)Array
- b)Pointer
- c)Both A and B
- d)None of above
Which of the following data structures is linear type?
- a)Strings
- b)Lists
- c)Queue
- d)All of the above
In Java, which one will be used for comparing whether the two String objects str1 and str2 are the same?
- a)str1=str2
- b)str1.equalsIgnoreCase(str2)
- c)str1==str2
- d)All of the above
Sign up free to see the answers and explanations to questions 33–39 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
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 20 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). 12 of its MCQs appear word for word in other papers in our bank (2016–2025). At least 7 of them had been asked in an earlier exam.
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
- Control Flow & Loops Programming · 76 other papers, 2015–20265
- ER Model & Design Database · 101 other papers, 2015–20263
- Object-Oriented Programming Programming · 88 other papers, 2015–20263
- Arrays & Linked Lists Data Structures · 38 other papers, 2017–20253
- Protocols (TCP/UDP/HTTP/DNS) Networking · 90 other papers, 2012–20262
Its MCQs in other exams · অন্য পরীক্ষায়
Papers that asked the same MCQ, word for word, and how many they share
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 Probashi Kallyan Bank Assistant Programmer exam (2018)?
- 39 multiple-choice questions.
- Which subjects were asked most in the Probashi Kallyan Bank Assistant Programmer exam (2018)?
- Programming (15), Data Structures (6) and Database (4), out of 39 questions.
- When was the Probashi Kallyan Bank Assistant Programmer exam held?
- In 2018. The exact day isn't in our records.
- Where can I find the Probashi Kallyan Bank Assistant Programmer exam (2018) question solution?
- On this page: 5 of the 39 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