Combined Bank Senior Officer (IT) Exam: 2018 (DU)প্রশ্ন ও সমাধান
- Set by
- Combined Bank
- Post
- Senior Officer (IT)
- Exam date
- 2018
- Conducted by
- DU
- Questions
- 38 (38 MCQ, 0 written)
- Exam guide
- Bank IT jobs · ব্যাংকের আইটি চাকরি
- Programming · প্রোগ্রামিং 15
- Digital Logic · ডিজিটাল লজিক 4
- General ICT · সাধারণ আইসিটি 4
- Database · ডেটাবেজ 3
- Networking · নেটওয়ার্কিং 3
- Mathematics · গণিত 2
- Algorithms · অ্যালগরিদম 1
- Cloud & Emerging Tech · ক্লাউড ও উদীয়মান প্রযুক্তি 1
- Computer Architecture · কম্পিউটার আর্কিটেকচার 1
- Cyber Security · সাইবার নিরাপত্তা 1
- Data Structures · ডেটা স্ট্রাকচার 1
- Operating Systems · অপারেটিং সিস্টেম 1
- Web Technology · ওয়েব টেকনোলজি 1
Which alternative can replace the throw statement in C++?
- a)for
- b)break
- c)return
- d)exit
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which operator is used to declare the destructor in C++?
- a)#
- b)~
- c)@
- d)$
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What type of reference should be used in vector arithmetic in C++?
- a)Dynamic
- b)const
- c)a and b
- d)none of the mentioned
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of these data types is used by the operating system to manage the Recursion in Java?
- a)Array
- b)Stack
- c)Queue
- d)Tree
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of the following is an incorrect statement about packages?
- a)Package defines a namespace in which classes are stored
- b)A package can contain other packages within
- c)A package can be renamed without renaming the directory in which the classes are stored
- d)Java uses file system directories to store packages
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
A derived class inherits attributes from a-
- a)Super Class
- b)Sub Class
- c)Inner Class
- d)Upper Class
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Multiple inheritance in Java can be implemented using which of the following?
- a)Interfaces
- b)Multithreading
- c)Protected methods
- d)Private methods
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which component is used to compile, debug and execute a Java program?
- a)JVM
- b)JDK
- c)JIT
- d)JRE
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of the following statements is the negation of the statements "4 is odd or -9 is positive"?
- a)4 is even or -9 is not negative
- b)4 is odd or -9 is not negative
- c)4 is even and -9 is negative
- d)4 is odd and -9 is not negative
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of the following options is suitable, if A is "10110110", B is "11100000" and C is "10100000"?
- a)C=A or B
- b)C=Ā
- c)C=B̄
- d)C=A and B
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
The complexity of Binary search algorithm is-
- a)O(n)
- b)O(log n)
- c)O(n²)
- d)O(n log n)
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
A nonstandard HTML extension that causes scrolling text to appear as part of a Web page is-
- a)DHCP
- b)mask off
- c)Dhrystone
- d)marquee
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
The object being passed to a copy constructor:
- a)Must be passed by reference
- b)Must not be mentioned in parameter list
- c)Must be passed with integer type
- d)Must be passed by value
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
If A= {1,2,3} and B= {1,2,5} then A-B=?
- a){1}
- b){5}
- c){3}
- d){2}
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Why do you need to handle exceptions?
- a)To prevent abnormal termination of program (correct answer)
- b)To encourage exception prone program
- c)To avoid syntax errors
- d)To save memory
Answer and explanation
Correct answer: (a) To prevent abnormal termination of program
An exception is a run-time event (division by zero, a missing file, an array index out of range) that disrupts the normal flow of a program. When it is thrown, the runtime searches back through the call stack for a handler. If none is found, the runtime system, and with it the program, terminates. Handling the exception (try/catch in Java and C++, try/except in Python) lets the program recover instead: show a message, retry, use a default value, release resources, and carry on or stop cleanly.
Why the other options are wrong
- (b) To encourage exception prone program: The opposite of the goal; handling makes programs more robust, it does not encourage errors.
- (c) To avoid syntax errors: Syntax errors are found by the compiler before the program runs, so there is no running program for a handler to protect.
- (d) To save memory: Exception handling is about controlling errors, not memory; it actually adds a little code.
Tip: Unhandled exception = crash; handled exception = graceful recovery.
If the same message is passed to objects of several different classes and all of those can respond in a different way, what is this feature called?
- a)Inheritance
- b)Overloading
- c)Polymorphism
- d)Overriding
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Does constructor overloading include different return types for constructors to be overloaded?
- a)Yes, if return types are different, signature becomes different
- b)Yes, because return types can differentiate two functions
- c)No, return type can't differentiate two functions
- d)No, constructors don't have any return type
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
(2019)₁₀ in Binary is________.
- a)0000011111100010
- b)0000001111110011
- c)0000001111110010
- d)0000011111100011 (correct answer)
Answer and explanation
Correct answer: (d) 0000011111100011
Divide by 2 repeatedly and read the remainders from bottom to top:
- 2019 ÷ 2 = 1009 r 1; 1009 ÷ 2 = 504 r 1; 504 ÷ 2 = 252 r 0; 252 ÷ 2 = 126 r 0
- 126 ÷ 2 = 63 r 0; 63 ÷ 2 = 31 r 1; 31 ÷ 2 = 15 r 1; 15 ÷ 2 = 7 r 1
- 7 ÷ 2 = 3 r 1; 3 ÷ 2 = 1 r 1; 1 ÷ 2 = 0 r 1
Bottom to top: 11111100011 (11 bits). Padded to 16 bits: 0000 0111 1110 0011.
Check: 1024 + 512 + 256 + 128 + 64 + 32 + 2 + 1 = 2019 ✓ (in hex, 07E3).
Why the other options are wrong
- (a) 0000011111100010: = 2018; it ends in 0, but 2019 is odd, so its last bit must be 1.
- (b) 0000001111110011: = 1011; compared with 2019 = 11111100011₂ it has one 0 missing in the middle (1111110011₂).
- (c) 0000001111110010: = 1010, and it is even, so it cannot be 2019.
Tip: An odd number always ends in 1 in binary, which rules out (a) and (c) at once.
An array contains the following letters, Color = {E, L, E, C, T, I, O, N}. The value of the variable E = 3. Color[E] points to which value?
- a)E
- b)C
- c)T
- d)I
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
How to access the overridden method of base class from the derived class?
- a)Using arrow operator
- b)Using dot operator
- c)Using scope resolution operator
- d)Can't be accessed once overridden
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
When two variables are logically compared, the logic gate that tests the equivalence is-
- a)XNOR
- b)XOR
- c)AND
- d)NOR
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of the following is not a malware?
- a)Virus
- b)Worm
- c)Bug
- d)Trojan horse
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
(11100010)₂ has a decimal value of________.
- a)252
- b)225
- c)226
- d)220
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Dark data represents________
- a)Unused data
- b)Harmful data
- c)Highlighted data
- d)Important data
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Source code is a(an)________
- a)Program
- b)List of commands
- c)Source of variables
- d)Algorithm
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of the following defines the addressing capabilities of networking?
- a)OSI
- b)NAT
- c)TCP
- d)UDP
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
How many layers are there in the software part of networking framework?
- a)Three
- b)Seven
- c)Four
- d)Five
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
AR refers to which of the following environment—
- a)Artificial Reality
- b)Augmented Report
- c)Artificial Report
- d)Augmented Reality
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of the following is the smallest size in the list?
- a)Zettabyte
- b)Gigabyte
- c)Petabyte
- d)Terabyte
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
A primary key must also be-
- a)Foreign key
- b)Unique (correct answer)
- c)Identical
- d)Case sensitive
Answer and explanation
Correct answer: (b) Unique
A primary key identifies each row of a table, so its value must be unique (no two rows share it) and NOT NULL (never missing). If two rows could share a key value, the key would no longer tell them apart. A table has at most one primary key.
CREATE TABLE pk (a TEXT NOT NULL PRIMARY KEY, b TEXT);
INSERT INTO pk VALUES ('R1', 'x'); -- OK
INSERT INTO pk VALUES ('R1', 'x'); -- UNIQUE constraint failed
Why the other options are wrong
- (a) Foreign key: A primary key does not have to refer to another table. It can also be a foreign key in some designs (for example a one-to-one extension table), but that is not required.
- (c) Identical: The opposite of the requirement; identical key values would make rows indistinguishable.
- (d) Case sensitive: Case sensitivity depends on the data type and collation (numeric keys have no case at all); it is not a property every key must have.
Tip: Primary key = UNIQUE + NOT NULL, one per table.
Sources: PostgreSQL Documentation: 5.5. Constraints; Oracle Database Concepts 19c: Data Integrity
Memory management scheme by which a computer stores and retrieves data from secondary storage for use in main memory is-
- a)Paging
- b)Scheduling
- c)Batch processing
- d)Virtual storage
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
A single communication system that transfers and connects the data between major components inside a computer is-
- a)Address Bus
- b)Data Bus
- c)System Bus
- d)Control Bus
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
USB stands for-
- a)Universal Serial Bus (correct answer)
- b)Universal Series Bus
- c)Universal Serial Bits
- d)Universal Series Bits
Answer and explanation
Correct answer: (a) Universal Serial Bus
USB stands for Universal Serial Bus. It is a standard plug-and-play serial interface that gives a low-cost, uniform way to connect peripherals such as keyboards, mice, printers, scanners, cameras and storage devices to a computer, and it can also supply power. "Serial" means data travels one bit after another over the data lines, and "bus" means a shared connection path that many devices can use. The specification is maintained by the USB Implementers Forum (USB-IF).
Why the other options are wrong
- (b) Universal Series Bus: "Series" is wrong; the name refers to serial (bit-by-bit) transfer.
- (c) Universal Serial Bits: "Bits" is wrong; the B stands for Bus, the shared connection path.
- (d) Universal Series Bits: wrong on both words.
Tip: USB = Universal Serial Bus.
Source: Universal Serial Bus (USB) - Windows drivers | Microsoft Learn
int C=10; System.out.println(C--); gives an output of-
- a)10
- b)11
- c)9
- d)8
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
All of the following are considered game engines except-
- a)Hex Editor
- b)Unity
- c)HTML 5
- d)Adobe Flash
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of the following logical connectives is not included in SQL?
- a)AND
- b)OR
- c)NOR
- d)NOT
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
The full form of "Wi-Fi" is-
- a)Wireless Internet
- b)Wireless Fidelity (correct answer)
- c)Wireless Field
- d)Wireless Fiction
Answer and explanation
Correct answer: (b) Wireless Fidelity
In exams, "Wi-Fi" is expanded as Wireless Fidelity, and that is the expected answer here. Strictly speaking, Wi-Fi is a brand name rather than a true acronym: the branding firm Interbrand coined it for the group now called the Wi-Fi Alliance, which adopted "Wi-Fi" as the name for its work in 2000. The name was meant to echo "Hi-Fi", and a short-lived Alliance slogan, "The Standard for Wireless Fidelity", is where the popular expansion comes from. The technology behind the name is wireless LAN based on the IEEE 802.11 family of standards.
Why the other options are wrong
- (a) Wireless Internet: Wi-Fi is a local-area technology that can carry Internet traffic, but "Wireless Internet" has never been given as the meaning of the name.
- (c) Wireless Field: This expansion is not used by any standards body, vendor or the Wi-Fi Alliance.
- (d) Wireless Fiction: A made-up distractor with no connection to the term.
Tip: For exams, Wi-Fi = Wireless Fidelity; technically it is the Wi-Fi Alliance's brand name for IEEE 802.11 WLAN products.
Source: What Is a Wireless Router? - Cisco; Wi-Fi Alliance: History; Wi-Fi - Wikipedia
What represents a row in a relational database?
- a)variable
- b)tuple
- c)entity
- d)field
Sign up free to see the answer and explanation · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Question text is from the public recruitment exam; answers and explanations are written by ARBS Academy. All past papers · Bank IT jobs guide