কম্পিউটার সায়েন্স এন্ড ইঞ্জিনিয়ারিং
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 exams05. (a) What are the main functions of database administrator? [ডাটাবেজ অ্যাডমিনিস্ট্রেটরের প্রধান কাজ কি কি?] (04)
CQ / Written solution
- Schema ও physical storage design
- User/role permission ও security
- Integrity constraints
- Backup, restore ও disaster recovery
- Performance tuning ও monitoring
- Availability, capacity ও upgrade management
05. (b) What does SQL mean? Classify mapping cardinalities for a binary relationship set with examples. [SQL এর অর্থ কি? উদাহরণসহ একটি বাইনারি রিলেশনশিপ সেটের ম্যাপিং কার্ডিনালিটির শ্রেণিবিন্যাস কর । ] (06)
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 নেয় |
06. (a) Define system. State the key elements of system. [সিস্টেমের সংজ্ঞা দাও। সিস্টেমের মূল উপাদানগুলো লিখ ।] (05)
CQ / Written solution
System হলো নির্দিষ্ট লক্ষ্য অর্জনে পরস্পর-সম্পর্কযুক্ত উপাদানের সমষ্টি।
- Input
- Processing
- Output
- Control ও feedback
- Boundary, environment ও interface
06. (b) Mention the steps of system development life cycle (SDLC). [SDLC এর ধাপগুলো লিখ ।] (05)
CQ / Written solution
SDLC = System Development Life Cycle।
- Planning ও feasibility
- Requirements analysis
- Design
- Implementation
- Testing
- Deployment
- Maintenance
07. (a) What is the purpose of system calls? [সিস্টেম কল এর প্রয়োজনীয়তা কি?] (02)
CQ / Written solution
System call user program-কে kernel-এর controlled interface দেয়। File/I/O, process, memory ও communication service চাইতে application system call করে; এতে privileged operations protection বজায় রেখে সম্পন্ন হয়।
07. (b) What is deadlock? Write the necessary conditions for deadlock. (08) [Deadlock কি? Deadlock এর প্রয়োজনীয় শর্তগুলো লিখ ।]
CQ / Written solution
Deadlock-এ process-গুলোর একটি set একে অন্যের resource/event-এর জন্য অনির্দিষ্টকাল অপেক্ষা করে। প্রয়োজনীয় চার শর্ত:
- Mutual exclusion
- Hold and wait
- No preemption
- Circular wait
08. (a) How many instructions does \(\mathbf{8086\,}\mathbf{\mu}\text{P}\) have? Mention five data transfer instructions with their meaning. \(\mathbf{8086\,}\mathbf{\mu}\text{P}\) এ কতগুলো ইন্সট্রাকশন আছে? অর্থ সহকারে পাঁচটি ডাটা ট্রান্সফার ইন্সট্রাকশন উল্লেখ কর ।] (06)
CQ / Written solution
সাধারণ textbook classification-এ 8086-এর 117টি basic instruction বলা হয়; aliases ও encodings গণনার পদ্ধতিতে সংখ্যা বদলাতে পারে।
| 8086 instruction | কাজ |
|---|---|
| MOV | Source থেকে destination-এ byte/word copy |
| PUSH | Word stack-এ রাখা |
| POP | Stack থেকে word নেওয়া |
| XCHG | দুই operand-এর value exchange |
| LEA | Memory operand-এর effective offset address নেওয়া |
MVI, LDA, STA ও LXI হলো 8085 mnemonics; 8086-এর তালিকায় এগুলো দেওয়া ভুল।
08. (b)Describe the flag register of \(\mathbf{8086\,}\mathbf{\mu}\text{P}\). ( \(\mathbf{8086\,}\mathbf{\mu}\text{P}\) এর ফ্ল্যাগ রেজিস্টার বর্ণনা কর ।) (04)
CQ / Written solution
8086-এ একটি 16-bit FLAGS register আছে; এর 9টি flag সক্রিয়।
| Flag | কাজ |
|---|---|
| CF | Unsigned carry/borrow |
| PF | ফলাফলের নিচের 8 বিটে even parity |
| AF | Bit 3 থেকে bit 4-এ carry/borrow |
| ZF | ফলাফল শূন্য |
| SF | ফলাফলের sign bit |
| OF | Signed arithmetic overflow |
| TF | Single-step execution |
| IF | Maskable interrupt enable |
| DF | String operation-এর দিক: 0 হলে বৃদ্ধি, 1 হলে হ্রাস |
09. Identify the several layers of TCP/IP model and explain the protocols in transport layer. [TCP/IP মডেলের বিভিন্ন লেয়ারগুলো দেখাও এবং ট্রান্সপোর্ট লেয়ারের প্রোটোকলগুলো বর্ণনা কর ।] (10)
CQ / Written solution
TCP/IP স্তর: Application → Transport → Internet → Link।
| TCP | UDP |
|---|---|
| Connection-oriented byte stream | Connectionless datagrams |
| Reliable, ordered delivery | Delivery/order guarantee নেই |
| Retransmission, flow ও congestion control | কম protocol overhead; application প্রয়োজনমতো reliability যোগ করে |
| File transfer, reliable application traffic | DNS queries, real-time media, games |
10.Design full adder circuit using NAND gates only. [শুধুমাত্র NAND gate ব্যবহার করে full adder সার্কিট ডিজাইন কর।] (10)
CQ / Written solution
\[S=A\oplus B\oplus C_{in},\qquad C_{out}=AB+C_{in}(A\oplus B)\]
| A | B | Cin | S | Cout |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 0 | 1 |
| 1 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 |
নিচের 9টি two-input NAND connection পূর্ণ circuit নির্ধারণ করে:
| Gate | Connection |
|---|---|
| n1 | NAND(A,B) |
| n2 | NAND(A,n1) |
| n3 | NAND(B,n1) |
| P | NAND(n2,n3) |
| n4 | NAND(P,Cin) |
| n5 | NAND(P,n4) |
| n6 | NAND(Cin,n4) |
| S | NAND(n5,n6) |
| Cout | NAND(n1,n4) |