কম্পিউটার সায়েন্স এন্ড ইঞ্জিনিয়ারিং
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 examsIncomplete source data: see solution note.
11. (a) Perform the following operation in the 2’s complement system: (Use eight bit including the sign bit) [২ এর সম্পূরক সিস্টেমের সাহায্যে নিম্নলিখিত অপারেশনগুলি কর: (সাইন বিট সহ আট বিট ব্যবহার কর।)]
CQ / Written solution
প্রশ্নে operands অনুপস্থিত; source solution থেকে দুটি operation বোঝা যায়। এগুলোকে reconstructed example হিসেবে দেখানো হলো:
\[(11010000)_2+(10110000)_2=(1\,10000000)_2\]
8-bit signed হিসেবে −48 + (−80) = −128; carry বাদ দিলে 10000000, signed overflow নেই।
\[14-17=00001110_2+11101111_2=11111101_2=\boxed{-3}\]
Original operands ভিন্ন হলে এই ফল প্রযোজ্য নয়।
(b) Differentiate between Synchronous & Asynchronous counters. [Synchronous Asynchronous কাউন্টারের পার্থক্য উল্লেখ কর]
CQ / Written solution
| বিষয় | Synchronous | Asynchronous/ripple |
|---|---|---|
| Clock | সব flip-flop একই clock পায় | প্রথমটি external clock; পরেরটি আগের output |
| Delay | Combinational next-state ও flip-flop delay | Stage ধরে ripple delay জমে |
| Transition | একই clock edge-এ state update | Intermediate transient state দেখা যায় |
| Design | অতিরিক্ত next-state logic লাগে | সাধারণ ripple circuit সহজ |
12. Compute the $\text{V}_{\text{CE}}$ and $\text{I}_{\text{C}}$ for the following circuit. [নিম্নের সার্কিট $\text{V}_{\text{CE}}$ ও $\text{I}_{\text{C}}$ এর মান বের কর]
NPN fixed bias: VCC = 12 V, RB = 240 kΩ from VCC to base, RC = 2.2 kΩ from VCC to collector; emitter grounded; β = 50. Input/output coupling capacitors = 10 μF.
CQ / Written solution
Source-এর fixed-bias circuit অনুযায়ী emitter grounded, RB = 240 kΩ, RC = 2.2 kΩ, VCC = 12 V, β = 50। Silicon transistor-এ VBE ≈ 0.7 V ধরে:
\[I_B=\frac{12-0.7}{240000}=47.0833\,\mu\mathrm A\]
\[I_C=50I_B=\boxed{2.35417\,\mathrm{mA}}\]
\[V_{CE}=12-I_C(2200)=\boxed{6.82083\,\mathrm V}\]
VCE saturation voltage-এর চেয়ে অনেক বেশি, তাই active-region assumption consistent।
Source ambiguity: see solution note.
13. Calculate the power consumed by $\text{R}_1$ and $\text{R}_4$ resisters in the following circuit: [নিম্নের সার্কিট $\text{R}_1$ and $\text{R}_4$ রেজিস্টারের গৃহীত পাওয়ারের মান নির্ণয় কর:]
Plaintext
R3 150 Ω
+-------/\/\/\/\-------+
| |
| 500 Ω |
[ ] R1 \/\/\/ R2 [ ] R4
1 kΩ| | |450 Ω
| | |
+----------| |---------+
11 V
CQ / Written solution
ASCII diagram অস্পষ্ট। Source-এর reduction অনুযায়ী 500 Ω series with [1000 Ω parallel (150 + 450) Ω] ধরে:
\[R_T=500+(1000\parallel600)=875\,\Omega\]
\[V_{parallel}=11\frac{375}{875}=\frac{33}7\,\mathrm V\]
\[P_{R1}=\frac{(33/7)^2}{1000}=\boxed{22.2245\,\mathrm{mW}}\]
\[P_{R4}=\left(\frac{33/7}{600}\right)^2(450)=\boxed{27.7806\,\mathrm{mW}}\]
এটি উপরোক্ত topology-এর conditional answer; original circuit image প্রয়োজন।
(i) What is the output of the following code? [নিম্নের কোডের আউটপুট কি?]
# include <stdio.h>
void main()
{
int s = 0;
while (s++ < 10)
{
If (s < 4 && s < 9) // ((s<4) && (s<9))
continue;
printf ("\n%d\t", s);
}
}Correct answer: c
If-কে lowercase if ধরলে body-তে s = 1 থেকে 10; 1,2,3 skip হয়, output 4 5 6 7 8 9 10।
(ii) Which of the following typically occurs when a procedure call is executed on a processor? [প্রসেসরে যখন একটি প্রসিডিউর এক্সিকিউট হয় তখন সাধারণত নিম্নের কোনগুলো ঘটে?] Program counter is updatedStack pointer is updatedData cache is flushed to avoid aliasing
Correct answer: c
প্রচলিত stack-based CALL-এ program counter এবং stack pointer দুটোই বদলায়; সব architecture-এ বাধ্যতামূলক নয়।
(iii) Which of the following is not a level of data abstraction? [নিম্নের কোনটি ডাটা অ্যাবস্ট্রাকশন লেভেল নয়?]
Correct answer: b
Abstraction levels: physical, logical, view; critical level নয়।
(iv) Suppose a fair six-sided die is rolled once. If the value on the die is 1, 2, or 3, the die is rolled a second time. What is the probability that the sum total of values that turn up is at least 6? [ধরি একটি মসৃণ ছক্কা একবার চালা হল। প্রথম চালনাতে ছক্কার মান 1, 2 অথবা 3 হয়, ছক্কাটি দ্বিতীয়বার চালালে প্রাপ্ত সমষ্টি কমপক্ষে 6 পাওয়ার সম্ভাবনা কত?]
Correct answer: b
প্রথম roll 6 হলে probability 1/6। প্রথম 1,2,3 হলে দ্বিতীয় roll-এ যথাক্রমে 2,3,4টি অনুকূল ফল। মোট 1/6 + (2+3+4)/36 = 5/12।
(v) What is a ‘tuple’? [‘tuple’ কি?] (Top left options are continuing from the previous page's question "What is a 'tuple'?")
Correct answer: d
Tuple হলো table-এর একটি row/record।
(vi) The file system “NTFS” stands for [ফাইল সিস্টেম “NTFS” কি?]
Correct answer: c
NTFS = New Technology File System।