কম্পিউটার সায়েন্স এন্ড ইঞ্জিনিয়ারিং
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 exams9. (b) What is the important of File Management of the Operating system. [অপারেটিং সিস্টেমের ফাইল ব্যবস্থাপনার গুরুত্ব কি ।] (06)
CQ / Written solution
- File/directory creation, reading, writing ও deletion।
- Storage allocation ও free-space tracking।
- Naming, metadata ও directory organisation।
- Permission এবং access control।
- Concurrent access, consistency ও recovery support।
10. Explain ‘write’ operation of Programmable Interval Timer (PIT) or 8253. [Programmable Interval Time (PTT) or 8253 এর “Write” operation ব্যাখ্যা কর ।] (10)
CQ / Written solution
- CS low, RD high এবং A1A0 = 11 দিয়ে control-word register নির্বাচন করো।
- WR pulse-এর মাধ্যমে counter number, byte order, mode এবং binary/BCD format লেখো।
- A1A0 = 00/01/10 দিয়ে counter 0/1/2 নির্বাচন করো।
- নির্বাচিত format অনুযায়ী count লেখো: LSB only, MSB only, অথবা প্রথমে LSB তারপর MSB।
- Clock ও GATE এবং নির্বাচিত mode অনুযায়ী counting/output চলে।
উদাহরণ: counter 0, binary, mode 3, LSB-then-MSB-এর control word = 36H। Count 1000 = 03E8H হলে E8H তারপর 03H লেখো।
11. Identify the several layers of OSI reference model and write the main task of data link layer. [OSI reference মডেলের বিভিন্ন লেয়ারগুলি চিহ্নিত কর এবং ডাটা লিংক লেয়ারের প্রধান কার্যাবলী লিখ। ] (10)
CQ / Written solution
| OSI (উপর থেকে নিচে) | মূল কাজ |
|---|---|
| Application | Application-level network service |
| Presentation | Data representation, encoding, encryption |
| Session | Session/dialog coordination |
| Transport | End-to-end process delivery, ports |
| Network | Logical addressing ও routing |
| Data link | Framing, MAC addressing, media access, error detection |
| Physical | Medium-এ bits/signals পাঠানো |
12. Explain simplex, Half-Duplex and Full Duplex data transmission. [সিমপ্লেক্স, হাফ-ডুপ্লেক্স এবং ফুল-ডুপ্লেক্স ডাটা ট্রান্সমিশন ব্যাখ্যা কর] (10)
CQ / Written solution
| Mode | দিক | উদাহরণ |
|---|---|---|
| Simplex | শুধু এক দিকে | Broadcast television |
| Half-duplex | দুই দিকে, তবে একই সময়ে নয় | Walkie-talkie |
| Full-duplex | দুই দিকে একই সময়ে | Telephone conversation |
13. Design full adder circuit using only NAND gate. [শুধুমাত্র ন্যান্ড গেট এর সাহায্যে ফুল এডার সার্কিট ডিজাইন কর।] (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) |
14. For the emitter bias network of the following figure determine. [নিম্নের Emitter bias নেটওয়ার্ক থেকে বের কর]
(i) $I_B$, (ii) $I_C$, (iii) $V_{CE}$, (iv) $V_C$, (v) $V_{BC}$
(Circuit diagram showing an NPN transistor emitter-bias configuration with $+20\text{ V}$ Vcc, $2\text{ k}\Omega$ collector resistor, $430\text{ k}\Omega$ base resistor, $1\text{ k}\Omega$ emitter resistor, $\beta = 50$, and coupling capacitors $10\ \mu\text{F}$ and $40\ \mu\text{F}$)
CQ / Written solution
Source-এর described emitter-bias circuit: VCC = 20 V, RB = 430 kΩ, RC = 2 kΩ, RE = 1 kΩ, β = 50; VBE = 0.7 V ধরে।
\[I_B=\frac{20-0.7}{430000+(50+1)1000}=\boxed{40.1247\,\mu\mathrm A}\]
\[I_C=50I_B=\boxed{2.00624\,\mathrm{mA}},\quad I_E=51I_B=2.04636\,\mathrm{mA}\]
\[V_C=20-I_C(2000)=\boxed{15.9875\,\mathrm V}\]
\[V_E=2.04636\,\mathrm V,\quad V_{CE}=V_C-V_E=\boxed{13.9412\,\mathrm V}\]
\[V_{BC}=V_E+0.7-V_C=\boxed{-13.2412\,\mathrm V}\]
15. (a) Write the formula for total capacitance connected in a parallel and series circuit? [প্যারালাল এবং সিরিজ সার্কিট এর Total capacitance এর সূত্র লিখ]
CQ / Written solution
\[C_{parallel}=C_1+C_2+\cdots+C_n\]
\[\frac1{C_{series}}=\frac1{C_1}+\frac1{C_2}+\cdots+\frac1{C_n}\]
Parallel-এ voltage একই; series-এ প্রতিটি capacitor-এর charge-এর magnitude একই।
15. (b) If A parallel combination of $4\ \Omega$ and another unknown resistor are connected across a $12\text{ V}$ supply, where the total current is $5\text{ A}$. Determine the value of unknown resistor. [$4\ \Omega$ এর একটি এবং অজানা মানের আরেকটি রেজিস্ট্রী প্যারালাল সংযুক্ত করে $12\text{ V}$ সরবরাহের সাথে সংযোগ করা হলো সার্কিটে মোট $5\text{ A}$ কারেন্ট প্রবাহিত হয়। অজানা রেজিস্টারের মান নির্ণয় কর।] (05)
(Circuit diagram showing a $12\text{ V}$ DC source supplying $5\text{ A}$ total current to two parallel resistors, $R$ and $4\ \Omega$)
CQ / Written solution
\[I_4=12/4=3\,\mathrm A,\quad I_R=5-3=2\,\mathrm A\]
\[R=12/2=\boxed{6\,\Omega}\]
1. (a) Write a program in $\text{C/C}^{++}$ to calculate the summation of the following series. [নিম্নলিখিত ধারাটির যোগফল নির্ণয়ের জন্য একটি $\text{C/C}^{++}$ প্রোগ্রাম লিখ। $1^2+2^2+3^2+\dots\dots\dots\dots\dots+n^2$]
CQ / Written solution
\[\sum_{k=1}^n k^2=\frac{n(n+1)(2n+1)}6\]
#include <stdio.h>
int main(void) {
long long n, sum = 0;
if (scanf("%lld", &n) != 1 || n < 0 || n > 1000000) return 1;
for (long long i = 1; i <= n; ++i) sum += i * i;
printf("%lld\n", sum);
return 0;
}
1. (b) What is inheritance? Give its real world example. [ইনহেরিটেন্স কি? ইহার একটি বাস্তব উদাহরণ দাও ।] (05)
CQ / Written solution
Inheritance-এ derived class base class-এর accessible data ও behaviour পুনর্ব্যবহার করে এবং নতুন behaviour যোগ করতে পারে। উদাহরণ: Vehicle থেকে Car ও Bus।
#include <iostream>
class Vehicle {
public:
void start() const { std::cout << "Started\n"; }
};
class Car : public Vehicle {
public:
void drive() const { std::cout << "Driving\n"; }
};
int main() { Car c; c.start(); c.drive(); }