Previous Year Questions
Admission syllabusComputer Science and Engineering
430 questions(b) What are the function of "kernel" ["kernel" এর কাজ কি কি?] (07)
Answer & 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।
(6) (a) What is MAC address? Write the major disadvantage of star topology? [MAC address কি? Star topology এর প্রধান সমস্যা কি?] (04)
Answer & solution / উত্তর ও সমাধান
MAC address network interface-এর link-layer identifier; Ethernet-এ সাধারণত 48-bit। এটি locally administered/spoofed হতে পারে, তাই সব পরিস্থিতিতে স্থায়ী global unique পরিচয় নয়।
Star topology-এর প্রধান দুর্বলতা: central switch/hub নষ্ট হলে তার সঙ্গে যুক্ত node-গুলোর communication বন্ধ হয়।
(b) Write the elaborative forms of the following network terms: SMTP, POP, HTTP, DUP, ICMP, DNA, TCP, ARP, RFID and FTP. [নিম্নোক্ত networking terms গুলোর সম্প্রসারিত রূপ লিখঃ SMTP, POP, HTTP, UDP, ICMP, DNS, TCP, ARP, RFID এবং FTP ।] (10)
Answer & solution / উত্তর ও সমাধান
| Term | Full form |
|---|---|
| SMTP | Simple Mail Transfer Protocol |
| POP | Post Office Protocol |
| HTTP | Hypertext Transfer Protocol |
| UDP | User Datagram Protocol |
| ICMP | Internet Control Message Protocol |
| DNS | Domain Name System |
| TCP | Transmission Control Protocol |
| ARP | Address Resolution Protocol |
| RFID | Radio-Frequency Identification |
| FTP | File Transfer Protocol |
প্রশ্নের ইংরেজি অংশের DUP ও DNA বানানকে বাংলা অংশ অনুযায়ী UDP ও DNS হিসেবে সংশোধন করা হয়েছে।
7. (a) What is SQL? A database table is defined as Student (Student ID, Name, Date of Birth, CGPA, Department). Now, write SQL queries to get:
Answer & solution / উত্তর ও সমাধান
SQL হলো Structured Query Language।
SELECT * FROM Student WHERE Department = 'CSE';
SELECT * FROM Student WHERE CGPA > 3.0;
(b) Describe the differences between the terms relation and relation schema [এর মধ্যে পার্থক্য ব্যাখ্যা কর:] (06)
Answer & solution / উত্তর ও সমাধান
| Relation | Relation schema |
|---|---|
| একটি নির্দিষ্ট সময়ে relation-এর tuples/data | Relation-এর নাম, attributes ও তাদের domains/structure |
| Insert/update/delete-এ বদলায় | Design বদলালে schema বদলায় |
| Student table-এর বর্তমান rows | Student(Student_ID, Name, Date_of_Birth, CGPA, Department) |
8. Draw a logic circuit that has three input and one output. If at last two inputs are 1 then the output is 1. [একটি লজিক সার্কিট অংকন কর যার তিনটি ইনপুট ও একটি আউটপুট আছে। যদি কমপক্ষে দুইটি ইনপুট এর মান 1 হয় তবে আউটপুট হয় 1।]
Answer & solution / উত্তর ও সমাধান
\[Y=AB+AC+BC\]
| A | B | C | Y |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 |
AB, AC, BC-এর জন্য তিনটি AND gate এবং তাদের output যোগ করতে একটি OR gate ব্যবহার করো।
9.(a) What is short-circuit? How to make a short-circuit using the following electrical components? [Short-circuit কি? নিম্নোক্ত ইলেকট্রিক্যাল Component এ Short-circuit কিভাবে করা যাবে? (04)

Incomplete source data
Answer & solution / উত্তর ও সমাধান
Short circuit হলো দুই ভিন্ন potential point-এর মধ্যে খুব কম impedance-এর অনিচ্ছাকৃত path, যার ফলে বড় current হতে পারে। Ideal wire দিয়ে দুই terminal সরাসরি যুক্ত করলে ideal short হয়। প্রশ্নে component arrangement নির্দিষ্ট নয়; battery বাস্তবে short করা বিপজ্জনক।
9. (b) A battery of unknown e.m.f is connected to a circuit as shown below. The voltage drop across the $8\ \Omega$ resistor is 20 V. What will be the current reading in the ammeter? [একটি অজানা e.m.f ব্যাটারি নিচের চিত্রানুযায়ী সংযুক্ত। $8\ \Omega$ রোধকের voltage drop হলো 20 V। Ammeter এর তড়িৎ প্রবাহ নির্ণয় কর।]

Answer & solution / উত্তর ও সমাধান
\[I=20/8=2.5\,\mathrm A\]
Ideal voltmeter ও ammeter ধরে, current 11 Ω এবং (15 + 13) Ω branch-এ ভাগ হয়।
\[I_A=2.5\frac{11}{11+15+13}=\boxed{0.70513\,\mathrm A}\]
(i) What will be the output of the following? [নিম্নের প্রোগ্রামটির আউটপুট কি?]
main () {
int i = 1;
char c = 'a';
printf ("%d", i*c) ;
printf ("%d", i*(c+2)) ;
}- A,C
- 65,67
- 1,3
- C,A
Source ambiguity
Answer & solution / উত্তর ও সমাধান
ASCII-তে 'a' = 97 এবং 'c' = 99। দুই printf-এর মধ্যে separator নেই, তাই output 9799; কোনো option সঠিক নয়।
(ii) Find the error in the following C++ block of code. [নিম্নোক্ত C++ কোড ব্লকের ভুল নির্ণয় কর।]
if (x = 100)
cout << "x is 100";Answer & solution / উত্তর ও সমাধান
Correct answer: c. Equals to operator mistake
Comparison-এর জন্য == দরকার; x = 100 একটি valid assignment, কিন্তু intended condition নয়।
(iii) What will be the output of the following C program? [নিম্নোক্ত C প্রোগ্রামটির আউটপুট কি?]
main () { int i = 5; printf ("%d", i=++i==6); }- 0
- 7
- 6
- 1
Source ambiguity
Answer & solution / উত্তর ও সমাধান
প্রদত্ত C expression i=++i==6 একই full expression-এ i দুইবার modify করে; C-তে undefined behavior, তাই 1 নিশ্চিত উত্তর নয়।
(iv) Which class of IP address provides a maximum of only 254 host addresses per network ID? [IP address এর কোন class 254 টি host address প্রতিটি network এ জোগান দেয়?]
Answer & solution / উত্তর ও সমাধান
Correct answer: c. Class C
Classful Class C-তে /24 এবং 254 usable host address।
(v) Which one is the feature for simplex transmission? [Simplex transmission এর বৈশিষ্ট্য কোনটি?]
Answer & solution / উত্তর ও সমাধান
Correct answer: b. Data transmission is one way
Simplex-এ data একদিকে যায়।
vi) A key represent relation between tables is called ----- [টেবিল সমূহের মধ্যে রিলেশন তৈরীর জন্য যে key ব্যবহার করা হয় তাকে বলে ----- ]
Answer & solution / উত্তর ও সমাধান
Correct answer: d. Foreign key
Foreign key referential relationship প্রতিষ্ঠা করে।
(vii) If which scheduling is time quantum defined? [কোন Scheduling এ সময় কোয়ান্টাম ব্যবহৃত হয়?]
Answer & solution / উত্তর ও সমাধান
Correct answer: b. Round robin scheduling
Round-robin scheduling-এ time quantum থাকে।