Skip to content
Past paper

Janata Bank Assistant System Administrator Exam: 2021প্রশ্ন ও সমাধান

Set by
Janata Bank
Exam date
2021
Questions
14 (0 MCQ, 14 written)
Exam guide
Bank IT jobs · ব্যাংকের আইটি চাকরি
  • Operating Systems · অপারেটিং সিস্টেম 4
  • English · ইংরেজি 3
  • Algorithms · অ্যালগরিদম 2
  • Programming · প্রোগ্রামিং 2
  • Bangla · বাংলা 1
  • Computer Architecture · কম্পিউটার আর্কিটেকচার 1
  • Database · ডেটাবেজ 1
Written question 1Operating Systems

What is Deadlock? Explain two situations where deadlock condition occurs.

Model answer

Deadlock is a state in which two or more processes are each waiting indefinitely for a resource held by another process in the same set, so none of them can ever proceed.

Four necessary conditions (Coffman conditions) — all must hold simultaneously:

  1. Mutual Exclusion — a resource can be held by only one process at a time.
  2. Hold and Wait — a process holding at least one resource is waiting to acquire additional resources held by others.
  3. No Preemption — a resource cannot be forcibly taken away; it must be released voluntarily.
  4. Circular Wait — a closed chain of processes exists, each waiting for a resource held by the next.
graph LR
    P1((Process P1)) -- holds --> R1[Resource R1]
    R1 -- requested by --> P2((Process P2))
    P2 -- holds --> R2[Resource R2]
    R2 -- requested by --> P1

Two classic situations where deadlock occurs:

  • Resource-allocation deadlock: Process P1 holds a printer and requests a scanner; Process P2 holds the scanner and requests the printer — each waits forever for the other's resource (diagram above).
  • Database transaction deadlock: Transaction T1 locks row A then requests row B; simultaneously Transaction T2 has already locked row B and requests row A — both transactions block on each other's locked row.

Handling strategies (brief): deadlock prevention (deny one of the 4 conditions), avoidance (Banker's Algorithm), detection & recovery, or the ostrich algorithm (ignore it, used by most general-purpose OSes).

Exam takeaway: deadlock requires all 4 Coffman conditions together; breaking even one — most commonly circular wait, via resource ordering — prevents it.

Written question 2Algorithms

State diagram of DFA using binary strings having 0 with multiple of 3 on input {0,1}. Also showing regular expression

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

Written question 3Operating Systems

Write Shell command which copy folder 'A' all information into folder 'P'. Folder 'A' and folder 'P's parent folder is same.

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

Written question 4Database

Draw ER diagram: Given a scenario about football Game (Game_no, game_time, game_name), Team (team-id, coach_id, team-name), Coach (Coach-id, Coach-name) Player (player-id, palyer-name, player-position), Stadium information (stadium-id, stadium-name, stadium-loc) Match (match_id, match_date, match_result).

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

Written question 5Operating Systems

In the given example, let us assume the jobs and the memory requirements as the following: Job1=90k, Job2=20k, Job3=50k, Job4=200k. Let the free pace memory allocation blocks are: Block1=50k, Block2=100k, Block3=90k, Block4=200k, Block5 =50k.

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

Written question 6Computer Architecture

Consider a disk pack with the following specifications- 16 surfaces, 128 tracks per surface, 256 sectors per track and 512 bytes per sector. What is the capacity of disk pack?

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

Written question 7Operating Systems

Calculate The Average Waiting Time of SJF scheduling algorithm.

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

Written question 8Programming

An Abstract class Player with two sub classes Bowler and Batsman, Abstract class has one abstract method average, also have constructor and a string function that display name bowler or batsman. Batsman class implement abstract function average and display result, Batsman class have run and number match data. Now write a Java Program and show Batsman average run.

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

Written question 9Algorithms

Shortest Path Algorithm.

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

Written question 10Bangla

Bangla রচনা: সামাজিক মূল্যবোধ বৃদ্ধিতে দেশীয় সংস্কৃতি গুরুত্ব ব্যাখ্যা কর।

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

Written question 11English

Write an Essay: Climate change Impact in Bangladesh.

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

Written question 12English

Bangla to English Translation:

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

Written question 13English

English to Bangla: Global Economic debt pandemic.

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

Written question 14Programming

Short Question:

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

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