Janata Bank Assistant System Administrator Exam 2021 — Question Solution | জনতা ব্যাংক নিয়োগ পরীক্ষা ২০২১ — প্রশ্ন সমাধান
- Janata Bank
- 2021
- 12 questions · 0 MCQ, 12 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The Janata Bank Assistant System Administrator exam was held in 2021. The paper had 12 written questions. The subjects asked most were Operating Systems (3), Algorithms (2) and Bangla Writing (1). This page lists every question, with 1 answered and explained; the rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
জনতা ব্যাংক নিয়োগ পরীক্ষার (২০২১) এই প্রশ্নপত্রে ১২টি প্রশ্ন ছিল, বেশিরভাগ অপারেটিং সিস্টেম ও অ্যালগরিদম থেকে। এখানে ১টি প্রশ্নের ব্যাখ্যাসহ উত্তর দেওয়া আছে; বাকিগুলো ফ্রি অ্যাকাউন্টে খোলে।
- Organisation
- Janata Bank
- Exam date
- 2021
- Questions
- 12 (0 MCQ, 12 written)
- Exam guide
- Bank IT jobs · ব্যাংকের আইটি চাকরি
- Operating Systems · অপারেটিং সিস্টেম 3
- Algorithms · অ্যালগরিদম 2
- Bangla Writing · বাংলা লিখন 1
- Computer Architecture · কম্পিউটার আর্কিটেকচার 1
- Database · ডেটাবেজ 1
- English Writing · ইংরেজি লিখন 1
- General Knowledge · সাধারণ জ্ঞান 1
- Networking · নেটওয়ার্কিং 1
- Programming · প্রোগ্রামিং 1
What is Deadlock? Explain two situations where deadlock condition occurs.
Model answer
Deadlock is a state in which a set of processes is blocked forever because each process holds at least one resource and is waiting for a resource held by another process of the same set. The only processes that could release those resources are themselves waiting, so none of them can ever continue.
Conditions for deadlock (Coffman conditions), all four must hold at the same time:
| Condition | Meaning |
|---|---|
| Mutual exclusion | A resource can be used by only one process at a time |
| Hold and wait | A process keeps the resources it has while waiting for more |
| No preemption | A held resource cannot be taken away; only its holder can release it |
| Circular wait | P1 waits for P2, P2 waits for P3, …, Pn waits for P1 |
Situation 1: two processes competing for two non-sharable devices
A backup process P1 has been given the tape drive (R1) and now asks for the DVD writer (R2). At the same moment an archiving process P2 already has the DVD writer and asks for the tape drive. P1 waits for P2 to release R2, P2 waits for P1 to release R1, and neither gives up what it holds.
graph LR
R1["R1: Tape drive"] -->|"assigned to"| P1(("P1"))
P1 -->|"requests"| R2["R2: DVD writer"]
R2 -->|"assigned to"| P2(("P2"))
P2 -->|"requests"| R1
In a resource-allocation graph an assignment edge points from resource to process (R → P) and a request edge from process to resource (P → R). With one unit of each resource, the cycle P1 → R2 → P2 → R1 → P1 means deadlock.
Situation 2: two threads (or database transactions) locking in opposite order
A banking program moves money between accounts, and each account has its own lock.
| Time | Thread A (transfer X → Y) | Thread B (transfer Y → X) |
|---|---|---|
| t1 | locks account X | locks account Y |
| t2 | waits for the lock on Y | waits for the lock on X |
| t3 | blocked forever | blocked forever |
Each thread holds one lock and needs the other's, so a circular wait forms. Two database transactions that lock the same two records in opposite order deadlock in exactly the same way.
Other common cases: two processes each waiting to receive a message from the other first; a thread locking again a PTHREAD_MUTEX_NORMAL mutex that it already holds (self-deadlock).
How deadlocks are handled: prevention (break one condition, for example always acquire locks in one fixed global order), avoidance (the Banker's algorithm grants a request only if the system stays in a safe state), detection and recovery (find the cycle, then abort a process or preempt a resource), or ignoring the problem (ostrich approach).
Exam tip: a deadlock needs all four conditions together; a fixed lock or resource ordering removes circular wait and cures both situations above.
State diagram of DFA using binary strings having 0 with multiple of 3 on input {0,1}. Also showing regular expression
Consider the IP address 10.20.30.0/25 now answer the below question:
(i) What is the subnet mask of the above IP address?
(ii) How many host per subnet have?
(iii) What is the Broadcast address of this 10.20.30.0/3 IP address?
Write Shell command which make a folder name 'A' with read permission access only.
Write a shell command which copies all the contents of folder 'A' into folder 'P'. Folders 'A' and 'P' have the same parent folder.
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, player-name, player-position), Stadium information (stadium-id, stadium-name, stadium-loc) Match (match_id, match_date, match_result).
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?
An abstract class Player has two subclasses, Bowler and Batsman. The abstract class has one abstract method, average, and also has a constructor and a string function that displays the name Bowler or Batsman. The Batsman class implements the abstract function average and displays the result; the Batsman class has runs and number-of-matches data. Now write a Java program and show the Batsman's average run.
Explain shortest path algorithms.
Bangla রচনা: সামাজিক মূল্যবোধ বৃদ্ধিতে দেশীয় সংস্কৃতির গুরুত্ব ব্যাখ্যা কর।
Write an Essay: Climate change Impact in Bangladesh.
Sign up free to see the model answers to written questions 2–11 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Short Question:
a. SWIFT full form.
b. Which international organization helps Rohingya?
c. Where is "Golden Gate" situated?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
11 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ১১টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 11 syllabus chapters; IP Addressing & Subnetting, ER Model & Design and Object-Oriented Programming lead, with 1 each. IP Addressing & Subnetting is asked in 133 other papers too (2012–2026).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- IP Addressing & Subnetting Networking · 133 other papers, 2012–20261
- ER Model & Design Database · 101 other papers, 2015–20261
- Object-Oriented Programming Programming · 88 other papers, 2015–20261
- Functions & Recursion Programming · 60 other papers, 2016–20261
- Processes & Threads Operating Systems · 55 other papers, 2011–20261
- OS Basics & Types Operating Systems · 45 other papers, 2016–20261
From our own past papers: each question filed under one syllabus chapter. Practice and held questions are not counted.
Questions about this paper · সাধারণ প্রশ্ন
- How many questions were in the Janata Bank Assistant System Administrator exam (2021)?
- 12 written questions.
- Which subjects were asked most in the Janata Bank Assistant System Administrator exam (2021)?
- Operating Systems (3), Algorithms (2) and Bangla Writing (1), out of 12 questions.
- When was the Janata Bank Assistant System Administrator exam held?
- In 2021. The exact day isn't in our records.
- Where can I find the Janata Bank Assistant System Administrator exam (2021) question solution?
- On this page: 1 of the 12 questions are shown with worked answers. The rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
Question text is from the public recruitment exam; answers and explanations are written by ARBS Academy. All past papers