কম্পিউটার সায়েন্স এন্ড ইঞ্জিনিয়ারিং
Subjects / বিষয়
Non-Technical · Shared by all departments
পদার্থ বিজ্ঞান
8 chapters
Non-Technical · Shared by all departments
রসায়ন
15 chapters
Non-Technical · Shared by all departments
গণিত
4 chapters
Non-Technical · Shared by all departments
ইংরেজি
11 chapters
Technical
Computer Science and Engineering
12 chapters
Questions
0 read · 0 practiced · 0 answered in exams3.(b) If $A = \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix}$ and $B = \begin{bmatrix} 2 & 0 & -4 \\ 3 & 2 & 6 \end{bmatrix}$ derive the Matrix multiplication of A and B. [যদি $A = \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix}$ and $B = \begin{bmatrix} 2 & 0 & -4 \\ 3 & 2 & 6 \end{bmatrix}$ হয়, তাহলে A এবং B ম্যাট্রিক্সের গুণফল বের কর।] (06)
CQ / Written solution
\[AB=\begin{bmatrix}1(2)+3(3)&1(0)+3(2)&1(-4)+3(6)\\2(2)+4(3)&2(0)+4(2)&2(-4)+4(6)\end{bmatrix}=\boxed{\begin{bmatrix}11&6&14\\16&8&16\end{bmatrix}}\]
4. (a) What is data abstraction? Mention the levels of data abstraction. [ডাটা অবস্ট্রাকশন বলতে কি বুঝায়? ডাটা অবস্ট্রাকশনের বিভিন্ন স্তর গুলোর নাম লিখ।] (06)
CQ / Written solution
Data abstraction ব্যবহারকারীকে অপ্রয়োজনীয় storage details থেকে আলাদা রাখে।
| Level | অর্থ |
|---|---|
| Physical | ডেটা কীভাবে disk-এ সংরক্ষিত |
| Logical | কোন data, structure ও relationship আছে |
| View/external | নির্দিষ্ট ব্যবহারকারীর দেখা অংশ |
4. (b) What mapping cardinality? What are the types of it? [ম্যাপিং কার্ডিনালিটি বলতে কি বুঝায়? ইহা কত ধরনের?]
CQ / Written solution
SQL = Structured Query Language। Mapping cardinality বোঝায় একটি entity-এর সঙ্গে অপর set-এর কত entity সম্পর্কিত হতে পারে।
| Type | উদাহরণ |
|---|---|
| One-to-one | এক country-এর একটি capital, model-এর assumptions সাপেক্ষে |
| One-to-many | এক department-এ বহু employee |
| Many-to-one | বহু employee-এর একটি department |
| Many-to-many | বহু student বহু course নেয় |
5. (a) What is encryption of data? Write the name of recovery techniques. [ডাটা এনক্রিপশন বলতে কি বুঝায়? রিকভারী কৌশলগুলোর নাম লিখ] (05)
CQ / Written solution
Encryption key ও algorithm ব্যবহার করে plaintext-কে ciphertext-এ রূপান্তর করে যাতে অননুমোদিত ব্যক্তি data পড়তে না পারে। এটি backup/recovery-এর বিকল্প নয়।
- Log-based recovery: undo/redo।
- Checkpointing।
- Shadow paging।
- Backup restore এবং transaction-log replay।
5. (b) Compare and contrast between unique key and foreign key in a database system [ডাটাবেস সিস্টেমের ইউনিক কি এবং ফরেন কি এর মধ্যে তুলনামূলক পার্থক্য ও বৈসাদৃশ্য বর্ণনা কর।] (05)
CQ / Written solution
| Unique key | Foreign key |
|---|---|
| Column set-এর uniqueness enforce করে | Referenced primary/unique key-এর সঙ্গে referential integrity enforce করে |
| এক table-এ একাধিক unique constraint সম্ভব | এক table-এ একাধিক foreign key সম্ভব |
| NULL handling DBMS অনুযায়ী ভিন্ন | Nullable হলে NULL reference অনুমোদিত হতে পারে |
| নিজ table-এর duplicate value নিয়ন্ত্রণ | Parent-child relation বজায় রাখে; নিজে uniqueness বোঝায় না |
6. (a) What is the disadvantage of SDLC (System Development Life Cycle)? How can it be removed [SDLC এর অসুবিধাগুলো কি কি এগুলো কিভাবে দূর করা যায়?] (05)
CQ / Written solution
SDLC নিজে একটি lifecycle ধারণা; সব SDLC model-এর একই সীমাবদ্ধতা নয়। Strict waterfall-এ requirements বদলানো ব্যয়বহুল, user feedback ও working software দেরিতে আসে এবং বড় risk দেরিতে ধরা পড়ে।
Iterative/incremental delivery, prototyping, early testing এবং নিয়মিত stakeholder feedback দিয়ে এই সমস্যাগুলো কমানো যায়।
6. (b) How is beta testing performed in software development. [সফটওয়্যার ডেভেলপমেন্টে বেটা টেস্টিং কিভাবে করা হয়।] (05)
CQ / Written solution
- Internal/alpha testing শেষে নির্বাচিত external users-কে release candidate দেওয়া হয়।
- Users নিজেদের বাস্তব environment-এ স্বাভাবিক কাজ করেন।
- Bug, usability ও compatibility feedback সংগ্রহ করা হয়।
- Issue triage, fix ও regression test শেষে final release প্রস্তুত হয়।
7. What types of tests are performed during unit testing of software development [সফটওয়্যার ডেভেলপমেন্টের ক্ষেত্রে ইউনিট টেস্টিং এ কি কি টেস্ট করা হয়।] (10)
CQ / Written solution
- Module interface ও parameter validation।
- Normal, boundary ও invalid input cases।
- Independent control-flow path/branch।
- Local data structures ও state transitions।
- Error/exception handling ও resource cleanup।
Dependencies প্রয়োজনে stub/mock করা হয়; unit testing পুরো system integration test নয়।
8. Define Through put, Turnaround time, Waiting time and Response time in respect of operating system. [অপারেটিং সিস্টেমের ক্ষেত্রে Throughput, Turnaround time, Waiting time এবং Response time এর সংজ্ঞা লিখ ।] (10)
CQ / Written solution
| Metric | সংজ্ঞা |
|---|---|
| Throughput | প্রতি unit time-এ completed process সংখ্যা |
| Turnaround time | Completion time − arrival time |
| Waiting time | Ready queue-এ মোট অপেক্ষা |
| Response time | প্রথম CPU service/response time − arrival time |
9. (a) What are the functions of ‘Kernel’ in the operating system. [অপারেটিং সিস্টেমের কার্নেলের কাজ কি?] (04)
CQ / Written solution
Operating system হলো system software যা hardware resource পরিচালনা করে এবং application-এর জন্য service দেয়।
- Process/CPU scheduling ও process coordination।
- Memory allocation, protection ও virtual memory।
- File, storage ও I/O device management।
- User authentication, access control ও system-call interface।