Assuming P1, P2, P3 have burst time (in ms) 6, 8, 3, respectively, which statement is true about SJF?
A
Waiting time of P1 is 3 ms
B
Turn-around time of P3 is 9 ms
C
Waiting time for P2 is 6 ms
D
Turn-around time of P1 is 8 ms
উত্তরের বিবরণ
Answer: ক) Waiting time of P1 is 3 ms

0
Updated: 2 days ago
OS System Calls performs the following basic operations on files:
Created: 2 days ago
A
Read, Write, Delete
B
Write, Print, Reposition
C
Delete, Truncate, Sort data
D
Modify, update, sort data
System calls হলো এমন একধরনের প্রোগ্রামিং ইন্টারফেস যা user programs ও operating system-এর মধ্যে যোগাযোগ স্থাপন করে। ফাইল ব্যবস্থাপনায় (file management) এই system call গুলো ব্যবহার করে প্রোগ্রামগুলো ফাইলের ওপর মৌলিক কাজ সম্পন্ন করতে পারে।
বিস্তারিতভাবে:
-
Read: ফাইল থেকে ডেটা পড়ার জন্য ব্যবহৃত হয়।
-
Write: ফাইলে ডেটা লেখার কাজ করে।
-
Delete: ফাইলকে স্থায়ীভাবে স্টোরেজ থেকে মুছে ফেলে।
-
এ ছাড়াও open, close, rename ইত্যাদি system call বিদ্যমান, কিন্তু Read, Write, Delete হলো মূল এবং সবচেয়ে মৌলিক ফাইল অপারেশন।
ভুল বিকল্পগুলো:
-
(খ) Write, Print, Reposition → Printing কোনো মূল file operation নয়, এবং reposition (seek) কেবল সহায়ক।
-
(গ) Delete, Truncate, Sort data → Sorting system call-এর মাধ্যমে করা হয় না।
-
(ঘ) Modify, Update, Sort → OS কখনও sorting পরিচালনা করে না; এটি অ্যাপ্লিকেশন স্তরে সম্পন্ন হয়।

0
Updated: 2 days ago
Which protocol is used to send an email over the Internet?
Created: 2 days ago
A
FTP
B
SMTP
C
HTTP
D
SNMP
Answer: খ)
SMTP

0
Updated: 2 days ago
In an array-based implementation of a complete binary tree, what is the index of the left child of a node at index i (assuming zero-based indexing)?
Created: 2 days ago
A
2i
B
2i + 1
C
i + 1
D
i - 1
Answer: খ)
2*i + 1
The usual mapping (zero-based arrays)
When a binary tree is stored in an array arr[] with root at index 0, the index
formulas are:
Left child of node at index i → left = 2*i + 1
Right child of node at index i → right = 2*i + 2
Parent of node at index i (i > 0) → parent = floor((i - 1) / 2)
Example: arr = [A, B, C, D, E, F, G] (indices 0..6)
index: 0 1 2 3 4 5 6
value: A B C D E F G
Tree:
Check: left child of i=1 is 2*1+1=3 → D
(correct).
Right = 2*1+2=4 → E.
One-based indexing alternative
If the array is one-based (root at index 1), the formulas shift:
Left = 2*i++ 1
Right = 2*i + 2
Parent = floor(i / 2)

0
Updated: 2 days ago