Pubali bank Recruitment for Junior officer-MCQ Questions and answer
| Q. No. | Correct Answer | Explanation |
|---|---|---|
| 1 | B. Overlapping subproblems and optimal substructure | Dynamic Programming is applicable when a problem has overlapping subproblems and optimal substructure. |
| 2 | A. Superscalar Execution | A superscalar CPU can issue and execute multiple independent instructions in a single clock cycle. |
| 3 | B. Merge | External merge sort is designed for sorting data larger than available RAM. |
| 4 | A. The total number of withdrawals | The function counts the number of negative transaction amounts (withdrawals). |
| 5 | B. 20 | BST insertion order: 45 (root), 20 (left), 70 (right), 10 (left of 20), 30 (right of 20), 60 (left of 70). Therefore, the left child of the root is 20. |
| 6 | C. Insertion | After one pass of insertion sort, only the first two elements are sorted: [6,3,8,5,2] → [3,6,8,5,2]. |
Final Answer Sequence
1−B,2−A,3−B,4−A,5−B,6−C
| Question | Answer | Explanation |
|---|---|---|
| 7 | B. The caller’s balance variable is modified | The function receives the address of balance and changes its value through the pointer *bal. |
| 8 | B. Stack | Undo follows Last-In, First-Out (LIFO) order, so the latest action is removed first. |
| 9 | A. Logistic Regression | Loan default is a binary classification problem: Yes/No. |
| 10 | D. Accuracy is misleading because recall for class B is zero | Predicting every sample as class A gives 95% accuracy, but none of the class-B samples are detected. |
| 11 | C. Shortest Job First (SJF) | Continuous arrival of short jobs may prevent long jobs from executing, causing starvation. |
| 12 | C. Preemption | The deadlock condition is no preemption, not preemption. |
| 13 | B. Page number and offset | A virtual address in a paging system consists of a page number and an offset within that page. |
| 14 | A. Store recently used page-table entries to speed up address translation | The TLB is a fast cache containing recently used page-table mappings. |
Final answer sequence
7−B, 8−B, 9−A, 10−D, 11−C, 12−C, 13−B, 14−A
| Question | Answer | Explanation |
|---|---|---|
| 15 | B. Read and execute | In rwxr-xr--, the middle three characters r-x are the group permissions. |
| 16 | B. RAID 1 | RAID 1 uses disk mirroring—an exact copy of data on another drive. |
| 17 | B. Increase instruction throughput by overlapping instruction stages | Pipelining allows multiple instructions to be processed at different stages simultaneously. |
| 18 | A. Payment card data | PCI DSS protects payment-card and cardholder information. |
| 19 | B. Integrity | Integrity ensures data has not been modified without authorization. |
| 20 | B. The recipient’s private key | Data encrypted with the recipient’s public key is decrypted using the recipient’s private key. |
| 21 | D. Every candidate key is a super key, but a super key may contain additional, non-essential attributes | A candidate key is a minimal super key. |
| 22 | B. WHERE, then DISTINCT, then ORDER BY | Rows are filtered first, duplicates are removed, and then the result is sorted. |
| 23 | C. WHERE column IS NULL |
SQL uses IS NULL, not = NULL, to test for null values. |
Final answer sequence
15−B, 16−B, 17−B, 18−A, 19−B, 20−B, 21−D, 22−B, 23−C
| Question | Correct answer | Explanation |
|---|---|---|
| 24 | B. 192.168.10.63 | The mask (255.255.255.192) is /26, giving ranges of 64 addresses. For 192.168.10.20, the subnet is 192.168.10.0–63, so the broadcast address is 192.168.10.63. |
| 25 | C. Counting Semaphore | A counting semaphore can represent the five available printers and limit simultaneous access to five processes. |
| 26 | A. Hashing | Hashing is generally best for an exact equality search such as WHERE Ai = c. |
| 27 | B. It automatically blocks or drops malicious traffic when detected. | An IPS detects and actively prevents malicious traffic. |
| 28 | A. Host A broadcasts an ARP Request and Host B replies with an ARP Reply. | ARP is used to obtain the MAC address associated with an IP address on the same LAN. |
| 29 | D. Collision domains become smaller. | A switch creates a separate collision domain for each port, unlike a hub. |
| 30 | B. Default gateway | Communication outside the local subnet requires a correctly configured default gateway. |
Final answer sequence
24−B,25−C,26−A,27−B,28−A,29−D,30−B
