Bangladesh Telecommunication Company Limited
Post: Junior Assistant Manager(IT); Date: 05 April, 2024
Exam taker: BUET; Total: MCQ:20; Written: 5*8=40
1. (a) 2×4 Decoder ও একটি OR Gate ব্যবহার করে Half Adder Design করুন।
| Inputs | Outputs | |||||
|---|---|---|---|---|---|---|
| E | A | B | D3 | D2 | D1 | D0 |
| 0 | X | X | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 | 0 |

1. (b) Computer Speed Depends on which of the Following Criteria?
Computer speed depends on several important factors:
- CPU Speed: Higher processor speed (GHz) increases execution speed.
- RAM Size: More RAM allows faster data access and multitasking.
- Cache Memory: Larger cache improves performance by reducing access time.
- Storage Type: SSD is faster than HDD.
- Number of Cores: More CPU cores improve parallel processing.
- Bus Speed: Faster data transfer between components improves speed.
Computer-এর গতি বিভিন্ন বিষয়ের উপর নির্ভর করে:
- CPU Speed: Processor-এর গতি (GHz) বেশি হলে execution দ্রুত হয়।
- RAM Size: বেশি RAM থাকলে দ্রুত data access এবং multitasking করা যায়।
- Cache Memory: Cache বেশি হলে performance উন্নত হয়।
- Storage Type: SSD, HDD-এর তুলনায় দ্রুত।
- Number of Cores: বেশি core থাকলে parallel কাজ দ্রুত হয়।
- Bus Speed: Component-এর মধ্যে data transfer দ্রুত হলে system দ্রুত কাজ করে।
2.(a) MySql এ Data Backup and Restore করার কমান্ড লিখুন।
Backup (Database export):
mysqldump -u username -p database_name > backup.sql
Restore (Database import):
mysql -u username -p database_name < backup.sql
2.(b) Loopback Address কি? Network Hop count করার কমান্ড লিখুন।
Loopback Address হলো একটি বিশেষ IP address যা নিজের কম্পিউটারকে নির্দেশ করে। এটি মূলত network testing ও troubleshooting এর জন্য ব্যবহৃত হয়।
সবচেয়ে পরিচিত loopback address হলো 127.0.0.1।
Network Hop Count করার কমান্ড:
tracert google.com (Windows) traceroute google.com (Linux) এই কমান্ড ব্যবহার করে source থেকে destination পর্যন্ত কয়টি hop (router) পার হয়েছে তা জানা যায়।
3.(a) Operating System এ Deadlock সংঘটিত হওয়ার শর্তসমূহ লিখুন।
Deadlock occurs when multiple processes are unable to proceed because they are waiting for each other. The following four conditions must occur simultaneously
- Mutual Exclusion: At least one resource is non-shareable (only one process can use it at a time).
- Hold and Wait: A process is holding at least one resource and waiting for additional resources.
- No Preemption: Resources cannot be forcibly taken from a process; they must be released voluntarily.
- Circular Wait: A circular chain of processes exists where each process is waiting for a resource held by the next process.
Deadlock তখন ঘটে যখন একাধিক process একে অপরের জন্য অপেক্ষা করে এবং কেউই এগোতে পারে না। Deadlock হওয়ার জন্য নিচের চারটি শর্ত একসাথে পূরণ হতে হবে:
- Mutual Exclusion: কোনো resource এক সময়ে শুধুমাত্র একটি process ব্যবহার করতে পারে।
- Hold and Wait: একটি process কিছু resource ধরে রেখে অন্য resource-এর জন্য অপেক্ষা করে।
- No Preemption: Resource জোর করে নেওয়া যায় না; process নিজে থেকে release করতে হবে।
- Circular Wait: একাধিক process এমনভাবে অপেক্ষা করে যে একটি circular chain তৈরি হয় (একজন অন্যজনের resource-এর জন্য অপেক্ষা করে)।
3.(b) 1 থেকে 100 পর্যন্ত বিজোড় সংখ্যা বের করার flowchart অঙ্কন করুন।

