কম্পিউটার সায়েন্স এন্ড ইঞ্জিনিয়ারিং
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 exams(vii) A table column that contains values that are primary key values in another table is ----- [একটি টেবিলের কলাম যা অন্য টেবিলের প্রাইমারী কি ধারণ করে তা -----]
Correct answer: c
অন্য relation-এর referenced key-কে নির্দেশ করে foreign key।
(viii) In the relational mode, cardinality is termed as ----- [রিলেশনাল মোডে কার্ডিনালিটি দ্বারা বোঝায় -----]
Correct answer: b
Cardinality = tuple/row count; degree = attribute count।
(ix) Router operates in which layer of OSI reference model ----- [OSI রেফারেন্স মডেলের কোন লেয়ারে রাউটার কাজ করে -----]
Correct answer: b
Router network layer (layer 3)-এ IP routing করে।
(x) Black box testing sometimes called ----- [কখনও কখনও ব্ল্যাক বক্স টেস্টিংকে ----- বলা হয়]
Correct answer: b
Black-box testing externally visible behavior পরীক্ষা করে।
(xi) Which module gives control of the CPU to the process selected by the short-term scheduler? [শর্ট-টার্ম সিডিউলার দ্বারা নির্ধারিত কোন মডিউলটি CPU এর নিয়ন্ত্রণ প্রসেসকে প্রদান করে?]
Correct answer: a
Dispatcher CPU control হস্তান্তর করে।
(xii) Method of transmission in which transmission takes place in both directions, but only one direction at a time, is called ----- [যে ট্রান্সমিশন পদ্ধতিতে উভয় দিকে ট্রান্সমিশন হয়, কিন্তু একই সময়ে শুধু একদিকেই হয় তাকে বলে -----]
Correct answer: d
দুইদিকে যায়, একসঙ্গে নয়: half duplex।
(xiii) ‘Siemens’ or Mho ($\mho$) is the unit of ----- [‘Siemens’ অথবা Mho ($\mho$) কার ইউনিট -----]
Correct answer: c
Conductance এবং admittance উভয়ের SI unit siemens।
(xiv) Two bulbs marked 200 watts-250 V and 100 watts-250 V are connected in series to 250 V supply. The consumed power by the circuit is ----- [200 watts-250 V ও 100 watts-250 V চিহ্নিত দুইটি বাল্ব 250 V সাপ্লাইয়ের সাথে সিরিজে সংযুক্ত করা হয়েছে। সার্কিটটি মোট পাওয়ার গ্রহণ করবে -----]
Correct answer: d
\(R_1=250^2/200=312.5\,\Omega, R_2=625\,\Omega; P=250^2/937.5\approx66.67\,\mathrm W\)।
(xv) Physical memory is broken into fixed-sized blocks are called ----- [Physical মেমোরির নির্দিষ্ট আকারের বিভক্ত block কে বলে -----]
Correct answer: a
Physical memory blocks = frames।
Question 1
The line joining the two points (2, 2) and (5, 6), which lie on the circumference of a circle is the diameter of the circle. Write a program in C/C++ to compute the area of the circle. Use a symbolic constant to define the value of \(\mathbf{\pi}\) .[বৃত্তের পরিধিতে অবস্থিত দুইটি বিন্দু (2, 2) ও (5, 6)দ্বারা গঠিত রেখাই হল বৃত্তের ব্যাস। C/C++ প্রোগ্রামিং ল্যাঙ্গুয়েজ ব্যবহার করে একটি প্রোগ্রাম লিখ যা ঐ বৃত্তের ক্ষেত্রফল বের করবে। \(\mathbf{\pi}\) এর মানকে একটি সিম্বলিক ধ্রুবক হিসেবে ব্যবহার করতে হবে।]
CQ / Written solution
\[d=\sqrt{(5-2)^2+(6-2)^2}=5,\quad r=2.5,\quad A=\pi r^2=6.25\pi\approx19.635\]
#include <stdio.h>
#define PI 3.14159265358979323846
int main(void) {
double dx = 5.0 - 2.0, dy = 6.0 - 2.0;
double area = PI * (dx * dx + dy * dy) / 4.0;
printf("Area = %.6f\n", area);
return 0;
}