Skip to content
Past paper

Sonali Bank Limited Assistant Programmer Preliminary Exam: 2016প্রশ্ন ও সমাধান

Set by
Sonali Bank
Post
Assistant Programmer
Exam date
2016
Questions
10 (10 MCQ, 0 written)
Exam guide
Bank IT jobs · ব্যাংকের আইটি চাকরি
  • Networking · নেটওয়ার্কিং 5
  • Programming · প্রোগ্রামিং 2
  • Algorithms · অ্যালগরিদম 1
  • Database · ডেটাবেজ 1
  • Digital Logic · ডিজিটাল লজিক 1
Question 1Networking

The transformation of a message into an encoded form is known as_____

  • a)Memories
  • b)Encoding
  • c)Decoding
  • d)None of them

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

Question 2Database

An acronym for Conference/Committee on Data Systems Languages is?

  • a)DASD
  • b)CCD
  • c)CODASYL
  • d)None of them

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

Question 3Networking

Which protocol can cause overload on a CPU of a managed device?

  • a)NetFlow
  • b)WCCP
  • c)IP SLA
  • d)SNMP

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

Question 4Networking

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

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

Question 5Algorithms

An algorithm that calls itself directly or indirectly is known as—

  • a)Sub Algorithm
  • b)Recursion
  • c)Polish notation
  • d)Traversal algorithm

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

Question 6Networking

Which of the following protocols uses both TCP and UDP ports?

  • a)SMTP
  • b)Telnet
  • c)FTP
  • 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) SMTP: Mail transfer runs over TCP connections to port 25 only.
  • (b) Telnet: A Telnet session is a TCP connection to server port 23.
  • (c) FTP: Both the control connection (port 21) and the data connections (port 20 by default) are TCP.

(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)

Question 7Programming

In Java, which operator is used to create an object?

  • a)Class
  • b)scanf
  • c)Print
  • d)none of them

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

Question 8Programming

A class that is inherited in Java is called a_______.

  • a)Subclass
  • b)Super class
  • c)Static class
  • d)Implement class

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

Question 9Networking

Which of the following TCP/IP addresses constitute the loopback address?

  • a)1.1.1.1
  • b)255.255.255.0
  • c)127.0.0.0
  • d)127.0.0.1

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

Question 10Digital Logic

Which one is a universal logic gate?

  • a)NAND
  • b)AND
  • c)OR
  • d)NOT

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