কম্পিউটার সায়েন্স এন্ড ইঞ্জিনিয়ারিং
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) 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 এর তড়িৎ প্রবাহ নির্ণয় কর।]

CQ / Written 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}\]
Source ambiguity: see solution note.
(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
CQ / Written 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";Correct answer: c
Comparison-এর জন্য == দরকার; x = 100 একটি valid assignment, কিন্তু intended condition নয়।
Source ambiguity: see solution note.
(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
CQ / Written 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 এ জোগান দেয়?]
Correct answer: c
Classful Class C-তে /24 এবং 254 usable host address।
(v) Which one is the feature for simplex transmission? [Simplex transmission এর বৈশিষ্ট্য কোনটি?]
Correct answer: b
Simplex-এ data একদিকে যায়।
vi) A key represent relation between tables is called ----- [টেবিল সমূহের মধ্যে রিলেশন তৈরীর জন্য যে key ব্যবহার করা হয় তাকে বলে ----- ]
Correct answer: d
Foreign key referential relationship প্রতিষ্ঠা করে।
(vii) If which scheduling is time quantum defined? [কোন Scheduling এ সময় কোয়ান্টাম ব্যবহৃত হয়?]
Correct answer: b
Round-robin scheduling-এ time quantum থাকে।
(viii) If every $u$ in G is adjacent to every other node $v$ in G, the graph is said to be : [যদি কোন graph G এর প্রতিটি নোড $u$ অন্য সব নোড $v$ এর সাথে সংযুক্ত থাকে তবে তাকে বলেঃ]
Correct answer: b
সব পৃথক vertex pair adjacent হলে complete graph।
(ix) The microprocessor 8086 has -----. [8086 microprocessor এ আছে -----.]
Correct answer: d
8086: 16-bit data bus ও 20-bit address bus।