কম্পিউটার সায়েন্স এন্ড ইঞ্জিনিয়ারিং
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 exams19. (b) Explain hardware, software and firmware of a computer. [কম্পিউটারের হার্ডওয়্যার সফটওয়্যার এবং ফার্মওয়্যার ব্যাখ্যা সহ লিখ।] (04)
CQ / Written solution
| Term | অর্থ | উদাহরণ |
|---|---|---|
| Hardware | Physical components | CPU, RAM, keyboard |
| Software | Programs ও related instructions/data | OS, browser |
| Firmware | Device control software, nonvolatile memory-তে stored | UEFI, router firmware |
20. (a) Explain in brief the following 8085 assembly language instructions. [নিম্নের ইনস্ট্রাকশন গুলি সংক্ষেপে ব্যাখ্যা কর।] (06)
- MOV A, B
- LXI B, 0000H
- POP B
- SBB C
CQ / Written solution
| Instruction | Result |
|---|---|
| MOV A, B | A ← B; B অপরিবর্তিত |
| LXI B, 0000H | BC ← 0000H, অর্থাৎ B = 00H, C = 00H |
| POP B | C ← [SP], B ← [SP+1], SP ← SP+2 |
| SBB C | A ← A − C − CY; arithmetic flags update |
20. (b) Mention the name of 4 secondary storage devices which are used in computer system.[কম্পিউটার ব্যবহৃত হয় এমন ৪ টি সেকেন্ডারী স্টোরেজ ডিভাইসের নাম উল্লেখ কর।] (02)
CQ / Written solution
Hard disk drive (HDD), solid-state drive (SSD), optical disc drive (CD/DVD), magnetic tape drive।
21. (a) Define the following (সংজ্ঞা দাও)ঃ (04)
- Micro-instruction
- Stack pointer
CQ / Written solution
Microinstruction: microprogrammed control unit-এর control-store word, যা এক বা একাধিক datapath micro-operation চালানোর control signals নির্ধারণ করে। এটি assembly instruction-এর সমার্থক নয়।
Stack pointer: stack-এর current top নির্দেশ করা register; 8085-এ 16-bit SP এবং stack lower address-এর দিকে বৃদ্ধি পায়।
21. (b) Explain (i) Multiprogramming and (ii) Memory Management.[ব্যাখ্যা করঃ (১) মাল্টি প্রোগ্রামিং (২) মেমোরী ম্যানেজমেন্ট।] (04)
CQ / Written solution
Multiprogramming: একাধিক program memory-তে থাকে; একটি I/O-র জন্য অপেক্ষা করলে CPU অন্যটি চালায়, ফলে utilization বাড়ে।
Memory management: process-কে memory দেওয়া/ফেরত নেওয়া, address translation, protection, sharing এবং virtual memory পরিচালনা।
22. What is an operating system? Briefly explain at lest three purposes of using operating system in the computer.[অপারেটিং সিস্টেম বলিতে কি বুঝ? কম্পিউটারের অপারেটিং সিস্টেম ব্যবহারের কমপক্ষে তিনটি উদ্দেশ্য সংক্ষেপে ব্যাখ্যা কর।] (08)
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।
23. Write a program to fund y [use 'C' or FORTRAN] $y = 1 + 2^2 + 3^2 + \dots + 100^2$. [y এর মান নির্ণয়ের নিমিত্তে 'C' অথবা FORTRAN ভাষা ব্যবহার করিয়া কম্পিউটার প্রোগ্রাম লিখ।] (08)
CQ / Written solution
#include <stdio.h>
int main(void) {
long sum = 0;
for (long i = 1; i <= 100; ++i) sum += i * i;
printf("%ld\n", sum);
return 0;
}\[y=100(101)(201)/6=\boxed{338350}\]
Source ambiguity: see solution note.
24. Show what the output function $f_1$ of the logic circuit is same as that of $f_2$. (Fig.6)[প্রমান কর যে, $f_1$ এবং $f_2$ এর logic function সমান (Fig.6)] (08)
(Logic circuit diagram Fig. 6 features inputs A and B connected to two NAND gates whose outputs feed into a third NAND gate to produce output $f_1$.)
(Top left features a continuation of Question 24 showing the logic circuit diagram for $f_2$: inputs A and B connected to a NOR gate, whose output goes through an inverter configuration to produce $f_2$.)
CQ / Written solution
যদি প্রথম circuit-এ NAND দুটির input যথাক্রমে (A,A) ও (B,B) হয়:
\[f_1=\operatorname{NAND}(\bar A,\bar B)=A+B\]
দ্বিতীয় circuit NOR-এর output invert করলে:
\[f_2=\overline{\overline{A+B}}=A+B=f_1\]
Original diagram অনুপস্থিত; প্রথম দুটি NAND-এর input connections এই interpretation-এ নিশ্চিত করতে হবে।
25. Simplify the expression using Karnaugh map and express in sum of the product form $F(x,y,z) = \pi (1,3,7)$ [Karnough ম্যাপের সাহায্যে সংক্ষেপ করিয়া Sum of product আকারে প্রকাশ কর। $(F(x,y,z) = \pi (1,3,7))$]
CQ / Written solution
Π notation maxterm indices নির্দেশ করে: 1, 3, 7-এ zero; অন্য ঘরে one।
| x \ yz | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 0 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 0 | 1 |
Group {0,2,4,6} → NOT z; group {4,5} → x NOT y।
\[F=\boxed{\bar z+x\bar y}\]
Source ambiguity: see solution note.
1. Find the voltage drop across RS (Fig. 1) [RS এর আড়াআড়িতে ভোল্টেজ ড্রপ বাহির কর। (Fig. 1)] (08)
(Circuit Diagram Fig. 1 shows a 12 V DC source with a series $5\ \Omega$ resistor, leading to a bridge network with nodes P, Q, R, S and resistors valued $50\ \Omega, 100\ \Omega, 150\ \Omega, 50\ \Omega, \text{ and } 100\ \Omega$).
CQ / Written solution
Original drawing অনুপস্থিত। Source-এর reduction এবং RS = 100 Ω series segment ধরে:
\[R_T=5+\left(150\parallel\left[100+(100\parallel(50+50))\right]\right)=80\,\Omega\]
\[I_T=12/80=0.15\,\mathrm A,\quad V_{parallel}=12-0.15(5)=11.25\,\mathrm V\]
\[I_{RS}=11.25/150=0.075\,\mathrm A,\quad V_{RS}=0.075(100)=\boxed{7.5\,\mathrm V}\]
এই ফল উল্লিখিত connectivity-এর জন্য; RS-এর অবস্থান original scan দিয়ে নিশ্চিত করতে হবে।