Your next chapter starts hereExplore admission guide

Previous Year Questions

Admission syllabus
Reset

Computer Science and Engineering

430 questions
2013-2014 · Question 13.5 MCQ Full paper
Digital Electronics / Number systems and complements

(v) The binary code of \(\left( \mathbf{21.125} \right)_{\mathbf{10}}\) is ----- [ \(\left( \mathbf{21.125} \right)_{\mathbf{10}}\) এর বাইনারি -----]

a.
10101.001
b.
10101.010
c.
10100.001
d.
10100.111
Answer & solution / উত্তর ও সমাধান

Correct answer: a. 10101.001

21 = 10101 এবং 0.125 = 0.001 binary।

2013-2014 · Question 13.6 MCQ Full paper
Basic Electricity / Resistance and series-parallel circuits Basic Electricity / AC circuits, phasors and resonance

(vi) In a R-L-C series circuit, resonant frequency is ----- [R-L-C সিরিজ সার্কিটে রেজোন্যান্ট ফ্রিকোয়েন্সি -----]

a.
\(f_{r} = 2\pi\sqrt{\text{LC}}\)
b.
\(f_{r} = \frac{1}{2\pi\sqrt{\text{LC}}}\)
c.
\(f_{r} = 2\pi f\)
d.
none of the above
Answer & solution / উত্তর ও সমাধান

Correct answer: b. \(f_{r} = \frac{1}{2\pi\sqrt{\text{LC}}}\)

\(f_r=1/(2\pi\sqrt{LC})\)।

2013-2014 · Question 13.7 MCQ Full paper
Database Management / Keys and integrity constraints

(vii) A table column that contains values that are primary key values in another table is ----- [একটি টেবিলের কলাম যা অন্য টেবিলের প্রাইমারী কি ধারণ করে তা -----]

a.
primary key
b.
candidate key
c.
foreign key
d.
unique key
Answer & solution / উত্তর ও সমাধান

Correct answer: c. foreign key

অন্য relation-এর referenced key-কে নির্দেশ করে foreign key।

2013-2014 · Question 13.8 MCQ Full paper
Database Management / Data models and ER diagrams Database Management / Relations and data abstraction

(viii) In the relational mode, cardinality is termed as ----- [রিলেশনাল মোডে কার্ডিনালিটি দ্বারা বোঝায় -----]

a.
number of attributes
b.
number of tuples
c.
number of tables
d.
number of constraints
Answer & solution / উত্তর ও সমাধান

Correct answer: b. number of tuples

Cardinality = tuple/row count; degree = attribute count।

2013-2014 · Question 13.9 MCQ Full paper
Data Communication & Computer Network / OSI and TCP/IP models

(ix) Router operates in which layer of OSI reference model ----- [OSI রেফারেন্স মডেলের কোন লেয়ারে রাউটার কাজ করে -----]

a.
layer 4 (Transport layer)
b.
Layer 3 (Network layer)
c.
layer 1 (Physical layer)
d.
layer 7 (Application layer)
Answer & solution / উত্তর ও সমাধান

Correct answer: b. Layer 3 (Network layer)

Router network layer (layer 3)-এ IP routing করে।

2013-2014 · Question 13.10 MCQ Full paper
Historical: Software Development / Software testing

(x) Black box testing sometimes called ----- [কখনও কখনও ব্ল্যাক বক্স টেস্টিংকে ----- বলা হয়]

a.
data flow testing
b.
behavioral testing
c.
loop testing
d.
graph based testing
Answer & solution / উত্তর ও সমাধান

Correct answer: b. behavioral testing

Black-box testing externally visible behavior পরীক্ষা করে।

2013-2014 · Question 13.11 MCQ Full paper
Operating System / Processes and scheduling

(xi) Which module gives control of the CPU to the process selected by the short-term scheduler? [শর্ট-টার্ম সিডিউলার দ্বারা নির্ধারিত কোন মডিউলটি CPU এর নিয়ন্ত্রণ প্রসেসকে প্রদান করে?]

a.
dispatcher
b.
interrupt
c.
scheduler
d.
none of the above
Answer & solution / উত্তর ও সমাধান

Correct answer: a. dispatcher

Dispatcher CPU control হস্তান্তর করে।

2013-2014 · Question 13.12 MCQ Full paper
Data Communication & Computer Network / Transmission media and communication modes

(xii) Method of transmission in which transmission takes place in both directions, but only one direction at a time, is called ----- [যে ট্রান্সমিশন পদ্ধতিতে উভয় দিকে ট্রান্সমিশন হয়, কিন্তু একই সময়ে শুধু একদিকেই হয় তাকে বলে -----]

a.
simplex
b.
four wire circuit
c.
full duplex
d.
half duplex
Answer & solution / উত্তর ও সমাধান

Correct answer: d. half duplex

দুইদিকে যায়, একসঙ্গে নয়: half duplex।

2013-2014 · Question 13.13 MCQ Full paper
Basic Electricity / Electrical quantities and units

(xiii) ‘Siemens’ or Mho ($\mho$) is the unit of ----- [‘Siemens’ অথবা Mho ($\mho$) কার ইউনিট -----]

a.
conductance
b.
admittance
c.
both (a) and (b)
d.
None of the above
Answer & solution / উত্তর ও সমাধান

Correct answer: c. both (a) and (b)

Conductance এবং admittance উভয়ের SI unit siemens।

2013-2014 · Question 13.14 MCQ Full paper
Basic Electricity / Power, energy and efficiency Basic Electricity / Resistance and series-parallel circuits

(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 সাপ্লাইয়ের সাথে সিরিজে সংযুক্ত করা হয়েছে। সার্কিটটি মোট পাওয়ার গ্রহণ করবে -----]

a.
33 watts
b.
200 watts
c.
300 watts
d.
67 watts
Answer & solution / উত্তর ও সমাধান

Correct answer: d. 67 watts

\(R_1=250^2/200=312.5\,\Omega, R_2=625\,\Omega; P=250^2/937.5\approx66.67\,\mathrm W\)।

2013-2014 · Question 13.15 MCQ Full paper
Operating System / Memory management and paging

(xv) Physical memory is broken into fixed-sized blocks are called ----- [Physical মেমোরির নির্দিষ্ট আকারের বিভক্ত block কে বলে -----]

a.
frames
b.
pages
c.
backing store
d.
None of the above
Answer & solution / উত্তর ও সমাধান

Correct answer: a. frames

Physical memory blocks = frames।

2012-2013 · Question 1 Written Full paper
Programming / Basic program structure Programming / Data types, variables and operators

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}\) এর মানকে একটি সিম্বলিক ধ্রুবক হিসেবে ব্যবহার করতে হবে।]

Answer & 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;
}
2012-2013 · Question 2 Written Full paper
Programming / OOP: class and object Programming / OOP: inheritance

Question 2

What is inheritance? Write a program to show the inheritance used in a class. [ইনহেরিটেন্স কি? ক্লাসে ইনহেরিটেন্স দেখানোর জন্য একটি প্রোগ্রাম লিখ।]

Answer & solution / উত্তর ও সমাধান

Inheritance-এ derived class base class-এর accessible data ও behaviour পুনর্ব্যবহার করে এবং নতুন behaviour যোগ করতে পারে। উদাহরণ: Vehicle থেকে Car ও Bus।

#include <iostream>
class Vehicle {
public:
    void start() const { std::cout << "Started\n"; }
};
class Car : public Vehicle {
public:
    void drive() const { std::cout << "Driving\n"; }
};
int main() { Car c; c.start(); c.drive(); }
2012-2013 · Question 3 Written Full paper
Historical: Discrete Mathematics / Counting and probability

Question 3

(a) The blood groups of people are distributed as follows: 50 have type A blood, 65 have type B blood, 70 have type O blood and 15 have type AB blood. If a person from this group is selected at random, what is the probability that this person has type O blood? [২০০ জন লোকের রক্তের গ্রুপ নিম্নরূপ: ৫০ জন A গ্রুপের, ৬৫ জন B গ্রুপের, ৭০ জন O গ্রুপের এবং ১৫ জন AB গ্রুপের। এদের মধ্যে দৈবভাব একজনকেও নির্বাচন করলে তার রক্তের গ্রুপ O হওয়ার সম্ভাবনা কত?]

Answer & solution / উত্তর ও সমাধান

\[P(O)=\frac{70}{200}=\frac7{20}=\boxed{0.35}\]

2012-2013 · Question 3b Written Full paper
Historical: Discrete Mathematics / Propositional and predicate logic

(b) Show that, $(p \oplus q)$ and $\sim(p \leftrightarrow q)$ are logically equivalent. [দেখাও যে- $(p \oplus q)$ ও $\sim(p \leftrightarrow q)$ যৌক্তিকভাবে সমতুল্য]

Answer & solution / উত্তর ও সমাধান
pqp XOR qNOT (p ↔ q)
0000
0111
1011
1100

শেষ দুই column একই, তাই proposition দুটি logically equivalent।