Skip to content
Past paper

Combined 4 Bank Assistant Programmer (AP) Exam: 2020 (DU)প্রশ্ন ও সমাধান

Set by
Combined Bank
Post
Assistant Programmer
Exam date
2020
Conducted by
DU
Questions
39 (39 MCQ, 0 written)
Exam guide
Bank IT jobs · ব্যাংকের আইটি চাকরি
  • Programming · প্রোগ্রামিং 8
  • Cyber Security · সাইবার নিরাপত্তা 5
  • Web Technology · ওয়েব টেকনোলজি 5
  • Algorithms · অ্যালগরিদম 4
  • Database · ডেটাবেজ 4
  • Software Engineering · সফটওয়্যার ইঞ্জিনিয়ারিং 4
  • Networking · নেটওয়ার্কিং 3
  • Computer Architecture · কম্পিউটার আর্কিটেকচার 1
  • Data Structures · ডেটা স্ট্রাকচার 1
  • Digital Logic · ডিজিটাল লজিক 1
  • General ICT · সাধারণ আইসিটি 1
  • Mathematics · গণিত 1
  • Operating Systems · অপারেটিং সিস্টেম 1
Question 1Software Engineering

_______ is a qualitative measure that refers to the number of connections between a 'calling' and a 'called' module and the complexity of these connections.

  • a)Coupling
  • b)Cohesion
  • c)Both A and B
  • d)None of them

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 2Software Engineering

Modified software goes through a phase where it is tested in the user's site or live environment. This is referred to as-

  • a)Alpha testing
  • b)Beta testing (correct answer)
  • c)Gamma testing
  • d)Delta testing
Answer and explanation

Correct answer: (b) Beta testing

When a new or modified version of the software is handed to potential or existing customers who run it at their own sites, in their live operating environment, the phase is called beta testing. It exposes defects tied to real configurations and real usage that in-house testing could not reproduce, and the findings are fixed before the general release.

Why the other options are wrong

  • (a) Alpha testing: performed at the developer's own site in a controlled setting, not at the user's site.
  • (c) Gamma testing: not one of the test levels or forms of acceptance testing defined in testing standards; at most an informal label.
  • (d) Delta testing: likewise not a recognised testing phase.

Tip: Alpha = at the developer's site; Beta = at the user's site.

Source: ISTQB Certified Tester Foundation Level Syllabus, Version 2018 V3.1; ISTQB Certified Tester Specialist Syllabus, Foundation Level, Acceptance Testing (Version 2019)

Question 3Networking

When an ongoing call or data session can communicate with two base stations at the same time, the phenomenon is known as-

  • a)Soft Roaming
  • b)Hard Roaming
  • c)Soft Handoff
  • d)Hard Handoff

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 4Database

A relationship is given below in an ER diagram. How many tables can be created (preferred) from below diagram?

Diagram not available online: ER diagram: instructor–advisor–student relationship

  • a)Two
  • b)Three
  • c)Two or Three
  • d)No definite numbers

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 5Cyber Security

In a Vigenere cipher, plaintext is mypassword and key is stream. What is the cipher text?

  • a)dqedrdnfgf
  • b)ergeseohih
  • c)pmgpkpizoz
  • d)fshftfpiji

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 6Database

What is the advantage of using 'case' while doing the update operation?

  • a)No proper sequence is required to maintain.
  • b)It is much easier to write code with 'case' keyword.
  • c)Update with 'case' provides significant time improvement.
  • d)None of the above.

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 7Operating Systems

What is the name of the RAID shown below?

Diagram not available online: RAID 0+1/1+0 nested array diagram with Disk 0-3

  • a)RAID 0+1
  • b)RAID 1+0
  • c)RAID 01
  • d)RAID 10

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 8Database

The table below violates the Normal Form(s). Which normal form does it violate?

Tournament Winners

Tournament Year Winner Winner Date of Birth
Indiana Invitational 1998 Al Fredrickson 21 July 1975
Cleveland Open 1999 Bob Albertson 28 September 1968
Des Moines Masters 1999 Al Fredrickson 21 July 1975
Indiana Invitational 1999 Chip Masterson 14 March 1977
  • a)All of normal forms listed here
  • b)3NF
  • c)2NF
  • d)1NF

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 9Web Technology

English scientist _______ invented the World Wide Web in 1989.

  • a)Vint Cerf
  • b)Robert Elliot Kahn
  • c)Alan Turing
  • d)Tim Berners-Lee

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 10Cyber Security

Cyber security Triad means-

  • a)Confidentiality, Reliability and Availability
  • b)Confidentiality, Reliability and Accessibility
  • c)Confidentiality, Integrity and Availability (correct answer)
  • d)Privacy, Integrity and Approachability
Answer and explanation

Correct answer: (c) Confidentiality, Integrity and Availability

The security triad (the "CIA triad") names the three goals every security control protects:

  • Confidentiality: only authorised people may read or disclose the information.
  • Integrity: information is protected against improper modification or destruction.
  • Availability: authorised users get timely and reliable access to the information and systems.

Why the other options are wrong

  • (a) Confidentiality, Reliability and Availability: reliability (a system working without failure) is a quality attribute, not the "I" of the triad; integrity is missing.
  • (b) Confidentiality, Reliability and Accessibility: both reliability and accessibility replace the correct terms, and integrity is missing.
  • (d) Privacy, Integrity and Approachability: privacy is covered within confidentiality, and "approachability" is not a security term at all.

Tip: CIA = Confidentiality, Integrity, Availability; the opposite failures are Disclosure, Alteration, Denial (DAD).

Source: confidentiality - Glossary | CSRC; integrity - Glossary | CSRC; availability - Glossary | CSRC

Question 11Networking

A line coding scheme of digital to digital conversion in given below. What is the name of this line coding technique?

Diagram not available online: Amplitude vs time line-coding waveform for bit pattern 0 1 0 0 1 1 1 0

  • a)NRZ
  • b)RZ
  • c)Manchester
  • d)AMI

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 12Cyber Security

_______ is a means of regaining access to a compromised system by installing software or configuring existing software to enable remote access under attacker-defined conditions.

  • a)Spyware
  • b)Ransomware
  • c)Cross-site scripting
  • d)Backdoor

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 13Software Engineering

_______ is an integration testing that is commonly used when software products are being developed. It is designed as a pacing mechanism for time-critical projects, allowing the software team to assess its project on a frequent basis.

  • a)Unit testing
  • b)Function testing
  • c)Regression testing
  • d)Smoke testing

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 14Software Engineering

ISO 9126 quality factors consist of –

  • a)process-ability, consistency, usefulness, adaptability, rationality and transportability
  • b)functionality, reliability, efficiency, usability, maintainability and portability
  • c)functionality, consistency, effectiveness, adaptability, maintainability and transportability
  • d)None of them.

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 15Cyber Security

Digital signature is a cryptographic method that ensures-

  • a)Data confidentiality, integrity, availability
  • b)Data integrity, authentication, non-repudiation
  • c)Data privacy, integrity, accessibility
  • d)Data privacy, integrity, approachability

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 16Programming

What will happen if this C program is compiled and executed?

#include<stdio.h>
int main(){
    return 0;
}
  • a)The program will show some garbage output
  • b)There will be a compile error and the program will not execute
  • c)No output (Output screen will be empty)
  • d)There will be a run-time error

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 17General ICT

Who is known as the first computer programmer?

  • a)Alan Turing
  • b)Ada Lovelace
  • c)Charles Babbage
  • d)None of the above

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 18Digital Logic

Which one is the binary representation of (1234567)₁₀?

  • a)100101101011010000000
  • b)110101101111010001010
  • c)100101101011010000111
  • d)111111111011010000110

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 19Mathematics

A prime number is a number that is divisible only by itself and 1. Which of the following is not a prime number?

  • a)2
  • b)7
  • c)99
  • d)181

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 20Programming

What will be the output of this C program?

#include<stdio.h>
int main(){
    float p=10.5;
    int a=5*p+5.0;
    printf("%d\n",a);
    return 0;
}
  • a)57.500000
  • b)57
  • c)57.000000
  • d)The program has errors and will not run.

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 21Web Technology

Which of the following is a Web Framework built with PHP?

  • a)Laravel
  • b)Django
  • c)MVC
  • d)Spring

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 22Cyber Security

Which of the following is not a data encryption algorithm?

  • a)MD5
  • b)SHA1
  • c)RSA
  • d)AES

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 23Networking

Suppose a Class C network address is 192.168.10.0 and subnet mask is 255.255.255.192. How many valid hosts per subnet can be obtainable?

  • a)62
  • b)30
  • c)14
  • d)6

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 24Algorithms

Given a sequence, S = {1, 2, 3, 8, 15, 10}; which of the following algorithms will be the fastest to sort this sequence in ascending order?

  • a)Bubble sort
  • b)Merge sort
  • c)Quick sort
  • d)Heap sort

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 25Database

It is a necessary requirement that the transaction is guaranteed to complete or the transaction is never started, so that an inconsistent state would not be visible except during the execution of the transaction. Such a property of transaction is known as-

  • a)Atomicity
  • b)Consistency
  • c)Isolation
  • d)Durability

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 26Programming

What is the output of this Java program?

class Test{
    int i=1;
}
public class main{
    public static void main(String args[]){
        Test t;
        System.out.println(t.i);
    }
}
  • a)The program will cause a runtime exception because the variable 'i' was not initialized
  • b)The program will cause a compile error because the object 't' was not initialized
  • c)0
  • d)A garbage value

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 27Programming

Interfaces in Java are meant to be-

  • a)Extended
  • b)Implemented (correct answer)
  • c)Overridden
  • d)Used by creating object
Answer and explanation

Correct answer: (b) Implemented

An interface declares a contract (method signatures, constants, and since Java 8 default and static methods). It does nothing on its own until a class writes class C implements I and supplies a body for each abstract method. That is why interfaces are described as meant to be implemented. Oracle's tutorial notes that an interface cannot be instantiated: it can only be implemented by classes or extended by other interfaces.

Why the other options are wrong

  • (a) Extended: Only another interface can extend an interface, and that just builds a larger contract which still needs a class to implement it. Extension is possible but is not the purpose.
  • (c) Overridden: Methods are overridden; an interface as a whole is not. A class implements the interface's abstract methods.
  • (d) Used by creating object: new I() is a compile error, because an interface cannot be instantiated. You create an object of a class that implements it.

Tip: class extends class; class implements interface; interface extends interface.

Source: Defining an Interface / Interfaces - The Java Tutorials (Oracle)

Question 28Programming

Which of the following statements is/are true about Inheritance in Java?

i) Private methods are final
ii) Protected methods are final
iii) Private methods cannot be overridden
iv) Protected members of a class are accessible by inherited classes of another package

  • a)i, iii and iv
  • b)i and iii only
  • c)ii, iii and iv
  • d)ii and iv only

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 29Programming

Which of the following is not a standard compiler of the C programming language?

  • a)Microsoft Visual C/C++ Compiler
  • b)GNU GCC Compiler
  • c)CodeBlocks C Compiler
  • d)Borland C Compiler

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 30Computer Architecture

What is the maximum value that can be stored in a 32-bit signed integer in the C language?

  • a)10³²
  • b)2³²
  • c)2³² − 1
  • d)2³¹-1

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 31Web Technology

Which of the following can be used in a Java Server Page (JSP) page?

  • a)HTML
  • b)AJAX
  • c)JSTL
  • d)All of the above

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 32Data Structures

Maximum how many nodes can be placed in a binary Tree of N levels?

  • a)2ᴺ-1
  • b)2ᴺ⁻¹
  • c)2ᴺ⁻¹-1
  • d)N²

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 33Programming

Which of the following statements is not true for Java Language?

  • a)The number 1 can be used instead of the keyword 'true'
  • b)Trying to store a fraction value in an 'int' datatype causes compile error
  • c)Static members of a class can be accessed without creating objects of that class
  • d)If not specified otherwise, the initial value of an integer variable is 0

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 34Algorithms

Which of the following techniques is popular for Data Compression?

  • a)Alpha-Beta pruning
  • b)Checksum
  • c)Huffman Coding (correct answer)
  • d)Red Black Tree
Answer and explanation

Correct answer: (c) Huffman Coding

Huffman coding is a lossless data-compression technique. It gives every symbol a variable-length, prefix-free bit code: frequent symbols get short codes and rare symbols get long ones, so the total number of bits shrinks.

Example: "AAAABBC" (A: 4, B: 2, C: 1) → codes A = 0, B = 10, C = 11 → 4 × 1 + 2 × 2 + 1 × 2 = 10 bits, against 7 × 8 = 56 bits in 8-bit ASCII (or 14 bits with fixed 2-bit codes).

Why the other options are wrong

  • (a) Alpha-Beta pruning: cuts off branches in a game-tree (minimax) search; an AI search optimisation, not compression.
  • (b) Checksum: detects transmission errors by adding extra check bits; it adds data rather than compressing it.
  • (d) Red Black Tree: a self-balancing binary search tree giving O(log n) search, insert and delete; a data structure, not a compression method.

Tip: Huffman coding = greedy, prefix-free, lossless compression based on symbol frequencies.

Source: Huffman coding — Dictionary of Algorithms and Data Structures (NIST)

Question 35Algorithms

How many function calls will be performed to execute the following recursive function?

void function(int N){
    if(N==0)
    return;
    function(N+1);
}
  • a)N
  • b)2*N
  • c)Infinite
  • d)The answer can vary depending on the initial value of N

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 36Algorithms

Which algorithm will be the most efficient to find out the shortest path between two given nodes in an undirected weighted graph?

  • a)Breadth First Search
  • b)Depth First Search
  • c)Dijkstra's algorithm
  • d)Floyd-Warshall algorithm

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 37Web Technology

Which HTML attribute is used to hide characters of an input password?

  • a)href
  • b)type
  • c)style
  • d)src

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 38Programming

Which of the following code syntax shows a valid use of curly braces '{}' in Python?

  • a)A={'one':1, 'two':2}
  • b)if(A>5) {print("Hello")}
  • c)A= {range(6)}
  • d)B={A=5}

Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question 39Web Technology

Which of the following is not a built-in HTML tag?

  • a)<script>
  • b)<form>
  • c)<html>
  • d)All of these are valid built-in HTML tags (correct answer)
Answer and explanation

Correct answer: (d) All of these are valid built-in HTML tags

All three tags are standard elements defined in the HTML Living Standard, so none of them can be the "not built-in" one:

  • <html> is the root element that wraps the whole document.
  • <form> groups interactive controls (text boxes, buttons) whose values are submitted to a server.
  • <script> embeds or links executable code, usually JavaScript.

Why the other options are wrong

  • (a) <script>: a standard element for embedding scripts and data blocks.
  • (b) <form>: a standard element for user-input forms.
  • (c) <html>: a standard element; it is the root of every HTML document.

Tip: If every listed tag is a real element, pick "all are valid"; a made-up tag such as <heading> would be the odd one out (real headings are <h1> to <h6>).

Sources: HTML Standard: 4.1 The document element (the html element); HTML elements reference - MDN Web Docs; HTML Standard: 4.12.1 The script element

Question text is from the public recruitment exam; answers and explanations are written by ARBS Academy. All past papers · Bank IT jobs guide