IT Bank Questions
IT Bank Questions
COMPACT IT
Written
Including
BUET, BPSC, MIST, BIBM, BCS & NTRCA
Pattern
eBwUi ˆewkó¨
‘COMPACT IT Written’ eBwU g~jZ ‡h‡Kvb IT Related Re Ges M.Sc. Admission CSE/ICT/IT
Gi Rb¨ Kvh©Kix|
welq wfwËK UwcK Abyhvqx we¯ÍvwiZ Av‡jvPbv mn weMZ eQ‡ii Written cÖ‡kœi c~Y©v½ wbf©~j mgvavb|
B.Sc. ‡Z Aa¨qbiZ GKv‡WwgK Text eB †_‡K me©vwaK Z_¨ msewjZ| †hgb: Programming (Balagurusamy,
Herbert Schildt), Computer Network (Tanenbaum & Wetherall), Data Communication
(Forouzan), Data Structure & Algorithm (Seymour Lipschutz), Operating System
(Silberschatz) and DLD (Morris Mano) mn Ab¨vb¨ eB|
GQvovI wewfbœ mev©waK KgbcÖvß ¸iæZ¡c~Y© Website †_‡K (javatpoint, beginnersbook, guru99,
studynight, tutorialspoint, geeksforgeeks (GATE)) Important topic ms‡hvRb Kiv n‡q‡Q|
Cisco Network Academy, BUET-Gi CCNA course †_‡K Networking Gi ¸iæZ¡c~Y© topic mn
IP Addressing -Gi MvwYwZK mgm¨v mgvav‡bi mnR †KŠkj ms‡hvRb n‡q‡Q|
Database-Gi 150 wUi AwaK Query Gi mgvavb ms‡hvRb|
Programming -Gi mgm¨v¸‡jv (250+) C, C++ Ges Java language Gi gva¨‡g mgvavb cÖ`vb|
GKv‡WwgK cvV¨ eB ¸‡jvi ¸iæZ¡c~Y© Kb‡U›U, RbwcÖq Internet wfwËK website-Gi Kb‡U›U mn Ab¨vb¨
Resource †_‡K ¸iæZ¡c~Y© †UKwbK¨vj cvU©, Avgiv GK gjv‡U wb‡q Avmvi †Póv K‡iwQ, hv Avcbv‡`i `ªæZZg
mg‡q fvj cÖ¯ÍzwZi mnvqK wnmv‡e f‚wgKv ivL‡e|
cvVK‡`i Pvwn`v I gZvgZ cÖ`vb Ges eBwU‡K AviI Z_¨mg„× I wbf©yj Kivi Rb¨ i‡q‡Q "COMPACT IT Job
Solution" bv‡g †dmeyK MÖæc| eBwUi †Kv‡bv wel‡q †h †Kv‡bv gZvgZ ev wRÁvmv _vK‡j hy³ n‡Z cv‡ib
COMPACT IT Job Solution d¨vb †cB‡Ri mv‡_| †mB mv‡_ †Kv‡bv mgvav‡b fzj cwijwÿZ n‡j Zv
wbf©i‡hvM¨ m~Îmn cvwV‡q w`‡Z cv‡ib Avgv‡`i †dmeyK ‡cBR, †gvevBj A_ev B-†gBj ‡h †Kvb gva¨‡g|
Page | iii
COMPACT IT Written
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
INDEX
No Subjective Topics Page No
01 Computer Fundamentals 01-34
1.1 Computer Generation & Types 02
1.2 Central Processing Unit 08
1.3 Computer Memory 10
1.4 Computer Hardware Component 19
1.5 Computer Software 23
1.6 Computer Virus 27
1.7 File System 28
1.8 Computer Bus 29
1.9 Computer Keyboard Shortcut Keys 30
1.10 Microsoft Excel 32
1.11 Quick Test 34
02 Computer Architecture 35-47
2.1 Computer Architecture 35
2.2 Registers in Computer Architecture 38
2.3 Pipelining 40
2.4 Data Hazards 41
2.5 Interrupts 43
2.6 Quick Test 47
03 Programming in C 48-143
3.1 Introduction 48
3.2 Keywords 50
3.3 Variable 51
3.4 Data types 53
3.5 Operators 57
3.6 Programming Errors 59
3.7 Conditional Operator in C 62
3.8 Parameter passing 72
3.9 Recursion 73
3.10 C Array 75
3.11 C Output Problems 79
3.12 Determine Error 90
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
P a ge | v
COMPACT IT Written
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
Page | vi
COMPACT IT Written
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
Page | vii
COMPACT IT Written
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
Page | viii
COMPACT IT Written
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
Page | ix
COMPACT IT Written
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
P a ge | x
COMPACT IT Written
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
Page | xi
COMPACT IT Written
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
Page | xii
Computer Fundamentals
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
Computer Fundamentals
Computer Generation & Types
What is Computer Generation? Describe the characteristics of different generations of
computers. [18th NTRCA School 2024]
What is OCR? Write down the difference between OCR and OMR. [NPCNL, JAM 2022]
Name and define the components of a computer system. Mention two optical input devices.
[BPSC, ADA 2022]
What do understand by the resolution of computer screen? [BPSC, AP 2022]
What are the components of a Micro-computer system? [BPSC, ADA 2022]
Explain Impact Printer Non-impact printer. [Bank SO(AME) 2021]
Distinguish between OMR and MICR. [BB AME 2016]
Suppose you are entering data into computer but facing some problem with your monitor. You
need to buy a new monitor. What factor should you consider in case of monitor? [BB AME 2016]
Computer
A computer is a general purpose electronic device that is used to perform arithmetic and
logical operations automatically. A computer consists of a central processing unit and some
form of memory. A computer is a programmable electronic device that accepts raw data as
input and processes it with a set of instructions (a program) to produce the result as output.
COMPUTER stands for “Common Operating Machine Purposely Used for Technological
and Educational Research”.
The development of computers has gone through different generations, each generation
marked by significant advancements in terms of technology and architecture. These
generations are classified as follows:
First generation
Second generation
Third generation
Fourth generation
Fifth generation
First Generation Computers (1946-1959)
The first generation computers were slow, huge and expensive. In these computers, vacuum
tubes were used as the basic components of CPU and memory. These computers were mainly
depended on batch operating system and punch cards. Magnetic tape and paper tape were
used as output and input devices in this generation. Some of the popular first generation
computers are:
ENIAC (Electronic Numerical Integrator and Computer)
EDVAC (Electronic Discrete Variable Automatic Computer)
UNIVACI (Universal Automatic Computer)
Second Generation (1959-1965)
Transistor based, AC required, Supported machine and assembly languages.
IBM-1620
IBM-7094
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
COMPACT IT Written P a ge | 2
Programming in C
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT I
Programming in C
What is the difference of the following: getc (), getchar (), getch () and getche ()? [45th
BCS, ICT 2024]
What is the difference between Null and Void? [BCC AP 2023]
What is the difference between sizeof c+1 and sizeof (c+1)? [BPSC AP 2023]
Local variable এবং Global variable এর মধ্যে পার্ থক্য লিখুন। [17th NTRCA(CSE) 2023]
Write about the syntax of function. [BARC Programmer 2023]
Distinguish between Compiler and Interpreter with example. [BPSC ADA, AP 2022; 40th
BCS, PGCB SAE (CSE) 2021; 40th BCS 2020; BCC Programmer 2019]
Formatted Input/output Statement Kv‡K e‡j? Key-Board ‡_‡K wKfv‡e input ‡bqv hvq? %d Gi A_©
Kx? [BPSC ANE 2020]
What are the main objectives of structured programming? Write two advantages of
structured programming. [SPARRSO 2020]
Difference between getch() and getche(). [BBL AM (ICT) 2019]
Write down the role of a linker. [BUET M.Sc. May-2016]
Introduction
C is a general-purpose programming language that is extremely popular, simple and flexible. It is
machine-independent, structured programming language which is used extensively in various
applications. In 1972, a great computer scientist Dennis Ritchie created a programming language
called 'C' at the Bell Laboratories. It was created from 'ALGOL', 'BCPL' and 'B' programming
languages. 'C' programming language contains all the features of these languages and many more
additional concepts that make it unique from other languages.
Features of C language
It is a robust language with rich set of built-in functions and operators that can be
used to write any complex program.
The C compiler combines the capabilities of an assembly language with features of a
high-level language.
Programs written in C are efficient and fast. This is due to its variety of data type and
powerful operators.
C is highly portable which means that programs written once can be run on another
machine with little or no modification.
A C program is basically a collection of functions that are supported by C library. We
can also create our own function and add it to C library.
C language is the most widely used language in operating systems and embedded
system development today.
C Program Structure
#include <stdio.h>
int main(){
printf("Hello,World"); //single line comment
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT I
COMPACT IT Written P a ge | 4 8
Object-Oriented Programming
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT I
Object-Oriented Programming
OOP Features
What is Polymorphism? Discuss about different types of Polymorphism with example?
[Combined Bank, AP 2024]
Write the differences between structured programming and object-oriented programming.
[45th BCS CSE 2024; Bank SO(AME) 2021]
Write down the advantages of OOP over traditional structured programming language.
[Combined Bank Officer(IT) 2023]
What is the diamond problem of multiple Inheritance in C++? [BPSC AP 2023]
কী কী ধারণার উপর ভিভি করর OOP প্রভিভিি? ধারণাগুর া ব্যাখ্যা করুন। [17th NTRCA(CSE) 2023]
উদাহরণসহ Class এবং Object এর মরে পার্ থকয ব্যাখ্যা করুন । [17th NTRCA(CSE), (ICT) 2023]
Inheritance কী? উদাহরণসহ ব্যাখ্যা করুন। [17th NTRCA(CSE) 2023]
Write down the Principle of OOP. What is Polymorphism? Write the name of 3 OOP
language. [DESCO SAE 2023; 40th BCS 2021]
How many classes can be used in Hybrid Inheritance? [BCC AP 2023]
What is virtual function with example? [BITAC AP 2023]
Define Method Overloading and Method Overriding with examples. [BPSC AP, 17th
NTRCA(ICT) 2023; Bank SO(AME), RAKUB Programmer, BPSC AME 2021; NU AP 2020]
What is Polymorphism? Java language Gi Av‡jv‡K e¨vL¨v Ki| [BTCL, JAM 2022]
What are the various Access Specification in C++? Explain their purpose with are example.
[BPSC, ADA 2022]
Object Oriented Programming Gi ‡h‡Kvb `ywU ˆewkó¨ D`vniYmn e¨vL¨v Kiæb| [BPSC AP 2021]
Object Oriented Programming G Static binding and Dynamic binding wK? e¨vL¨v Kiæb|
[BPSC AP 2021
Write the definition of Inheritance, Polymorphism with coding example. [Combined Bank, AP 2021]
Procedural Oriented I Object Oriented Programming Languages g‡a¨ cv_©K¨ wK? Dfq
Language Gi 2wU K‡i D`vniY w`b| [BPSC AP 2021]
Inheritance is one of important issues for any object oriented programming language.
The main advantage of Inheritance is the ability to reuse the code. Explain in brief
different types of Inheritance. [Combined Bank, Officer(IT) 2020]
Briefly Describe Abstraction, Encapsulation. [BCC Programmer 2019]
What do you mean by Polymorphism and Inheritance in object oriented programming
(OOP)? Give appropriate example. [PBL SO 2018]
COMPACT IT Written P a ge | 1 4 4
Data Communication & Computer Networking
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT I
Example 01: Find the class of the address: 11000001 10000011 00011011 11111111
Solution:
The first 2 bits are 1; the third bit is 0. This is a class C address.
Example 02: In IP address 192.168.0.128/26 what is the subnet mask, network IP, broadcast
IP, first usable IP and last usable IP address?
Solution:
Network bit: 26
Host bit: 32-6 =6 = (111111)2 = (63)10 = (00000000.0000000.0000000.00111111)
Number of Total IP: 2^6 = 64
Number of host/devices: 2^6-2 =64-2= 62
Network IP Address: 192.168.0.128
+ 63
Broadcast IP Address: 192.168.0.191
Network bit=26 Host bit=6
Subnet mask: 255.255.255.192 = (11111111|11111111|11111111|11000000)
COMPACT IT Written P a ge | 4 2 4
Operating System
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
COMPACT IT Written P a ge | 5 2 2
Circuit Analysis
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT I
Circuit Analysis
Which Transformer is used in computer? [BRiCM AME 2024]
What is the name of AC current to DC current? [BRiCM AME 2024]
Justify" Invention of Transistor changed the world." [SB PCL, ADBA 2024]
Mention the differences between electric field and magnetic field. [45th BCS, ICT 2024]
Describe the important characteristics of digital IC’s. [Combined Bank AME/AHE 2023]
Circuit analysis is the process of determining the voltages across, and the currents through,
all the components in an electrical circuit. It is essential for designing and understanding how
electrical circuits function. Circuit analysis uses various techniques and principles based on
electrical laws, such as Ohm's Law and Kirchhoff’s Laws, to find unknown quantities like
voltage, current, and resistance.
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT I
COMPACT IT Written P a ge | 7 6 7
ICT in Banking Sector
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT I
Make a list of banking software used in Bangladesh. List the essential features for
successful Banking Software and Apps. [Combined Bank, Officer (IT) 2020]
How would you test an ATM in a banking system? [BB, Combined 5 Bank AME 2019]
Write down the use case diagram for ATM. [CB AP 2018]
In Banks, many software is used for various purposes. The software used for opening bank
account by deposit and loan customers and recording their transactions is called Core
Banking Software. For managing ATM and POS network, a Switching Software is needed.
For credit card issuance and transaction authorization, Credit Card Software is used. Payment
Gateway Software is used for settlement of e-commerce transactions. A Mobile Banking
Software may be used for opening mobile account and recording such transactions.
BACH
BACH (Bangladesh Automated Clearing House) is an electronic clearing system used in
Bangladesh's banking sector to process transactions such as the clearing of checks and
electronic fund transfers. It was introduced to improve the efficiency, accuracy, and speed of
inter-bank transactions, replacing the traditional manual clearing process. BACH consists of
two main components:
BACPS (Bangladesh Automated Cheque Processing System):
o Cheque Clearing: BACPS processes checks electronically using imaging
technology, where checks are scanned, and the images are shared among banks for
clearing, significantly reducing the time required for check settlement.
o Reduced Clearing Time: The system operates with multiple clearing cycles
throughout the day, speeding up the settlement process.
o Efficiency & Accuracy: The digital approach minimizes the risk of human errors,
fraud, and delays.
BEFTN (Bangladesh Electronic Funds Transfer Network):
o Electronic Transfers: BEFTN facilitates the transfer of funds between banks
electronically, enabling seamless transactions like salary disbursements, utility
payments, and supplier payments.
o Real-Time Transactions: It supports faster, reliable, and secure transactions,
promoting the digitalization of the financial ecosystem.
o Wider Reach: It has expanded the reach of electronic fund transfers to consumers
and businesses alike, contributing to financial inclusion.
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT I
COMPACT IT Written P a ge | 7 8 6
Previous Year Exam Questions
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
Bangladesh Bank
Assistant Programmer
Exam: 03.02.2023 (BIBM)
1. 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.
Answer: To insert entries with keys 10, 3, 6, 16, 17, 19 into a hash table of size 13 using
linear probing to resolve collisions, we follow these steps:
Initialize an array of size 13 with all entries set to NULL.
For each entry to be inserted, compute its hash value using the hash function h(k) = k mod 13.
If the computed hash value is empty (i.e., the corresponding entry in the array is NULL),
insert the entry at that position.
If the computed hash value is not empty, use linear probing to find the next available
position. Starting from the computed hash value, probe successive positions in the array
until an empty position is found.
Insert the entry at the first empty position found.
The table below shows the steps to insert the given entries:
Entry Hash value Position Status Final position
10 10 mod 13 = 10 10 NULL 10
3 3 mod 13 = 3 3 NULL 3
6 6 mod 13 = 6 6 NULL 6
16 16 mod 13 = 3 3 3 4
17 17 mod 13 = 4 4 NULL 4
19 19 mod 13 = 6 6 6 7
Note that the hash values for entries 3, 6, and 19 are all different, so they are inserted at their
corresponding hash positions. However, the hash values for entries 16 and 17 collide with the
hash value of entry 3, so they are inserted at the next available positions, which are 4 and
4+1=5, respectively. The final positions of all entries are shown in the "Final position"
column of the table.
2. 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.
Answer: [See Chapter Cyber Sceurity, Section Types of Cyber Attacks]
3. Given two integers A and B as input write a program to compute the least common
multiple of A and B.
Answer: [See Chapter Programming in C, Section C Programming Problem & Solve, No: 08]
4. Given an adjacency list representation for a complete binary tree on 7 vertices.
Given an equivalent adjacency matrix representation. Assume that vertices are
numbered from 1 to 7 as in a binary heap.
Answer: [See Chapter Data Structure and Algorithm, Section Graph, Example: 18]
5. Consider the following code:
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
COMPACT IT Written P a ge | 8 0 2
Previous Year Exam Questions
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
Combined Bank
Assistant Programmer
Exam: 09.02.2024 (BIBM)
COMPACT IT Written P a ge | 8 1 4
Previous Year Exam Questions
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
COMPACT IT Written P a ge | 9 0 5
Previous Year Exam Questions
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
COMPACT IT Written P a ge | 9 4 5
Previous Year Exam Questions
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
Combined Bank-
Combined Bank-
Combined Bank-
RAKUB-ANSE
Rupali Bank-
Officer (IT)
AME, AHE
(CSE+ICT)
BPSC- AP
BB- AME
SO (IT)
BITAC
BB-AP
BPDB
ANE
AP
No Subject
1 Programming 2 3 7 1 1 3 1 2
Data Structure &
2 2 1 5 3 1
Algorithm
3 Database 1 1 1 1 1 1 1 1
Data Communication &
4 1 4 1 9 2 4 6 10 1 2 5
Networking
5 Software Engineering 1 1 1 2 1 1
Computer Organization
6 1 2 2 2 2 1
& Architecture
7 Operating System 2 4 1 1
8 Linux 2
9 Digital Electronics 2
Security, IoT, AI,
10 2 2 2 1 2 2 2 1 1
Cloud Computing
11 Others 1 3 3 2 1 1 1 1 1
COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTION COMPACT IT JOB SOLUTIONCOMPACT IT
COMPACT IT Written P a ge | 9 8 3