Your next chapter starts hereExplore admission guide

Previous Year Questions

Admission syllabus
Reset

Computer Science and Engineering

430 questions
2016-2017 · Question 4a Written Full paper
Database Management / Relations and data abstraction

4. (a) What is relational algebra? [Relational algebra কী?] (05)

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

Relational algebra হলো relation-এর ওপর operations দিয়ে query প্রকাশের formal procedural language; প্রতিটি operation relation ফেরত দেয়।

Operationকাজ
Selection \(\sigma\)শর্ত অনুযায়ী rows
Projection \(\pi\)নির্দিষ্ট columns
Union / differenceSet combination / subtraction
Cartesian productসব tuple pair
Joinশর্ত পূরণকারী tuple pair
RenameRelation/attribute-এর নাম পরিবর্তন
2016-2017 · Question 4b Written Full paper
Database Management / Database concepts and DBMS Database Management / Relations and data abstraction Database Management / SQL and query languages

4. (b) Consider the relational database:

Account (branch, acc_no, balance)

Depositor (cust_name, acc_no)

Customer (cust_name, cust_st, cust_city)

Give an expression in SQL for each of the following queries: [উপরোক্ত রিলেশনাল ডাটাবেজের সাপেক্ষে নিম্নোক্ত query গুলোর জন্য SQL expression লিখ:]

(i) Find the branch name where the average account balance is more than Tk. 1200 [সকল শাখার নাম বের কর যাদের গড় ব্যালেন্স Tk. 1200 এর চেয়ে বেশি]

(ii) Find names of all customers whose street address include the substring 'main'. [সকল গ্রাহকের নাম বের কর যাদের স্ট্রিট অ্যাড্রেস এ 'main' সাবস্ট্রিং আছে।]

(iii) Find the average balance for each customer who has at least 3 Accounts.

lives in 'XYZ' city. [সকল গ্রাহকের গড় ব্যালেন্স বের কর যাদের কমপক্ষে একাউন্ট আছে এবং যারা 'XYZ' সিটিতে বাস করে ।] (09)

Answer & solution / উত্তর ও সমাধান
-- (i)
SELECT branch FROM Account
GROUP BY branch HAVING AVG(balance) > 1200;

-- (ii)
SELECT cust_name FROM Customer
WHERE cust_st LIKE '%main%';

-- (iii)
SELECT c.cust_name, AVG(a.balance) AS average_balance
FROM Customer AS c
JOIN Depositor AS d ON d.cust_name = c.cust_name
JOIN Account AS a ON a.acc_no = d.acc_no
WHERE c.cust_city = 'XYZ'
GROUP BY c.cust_name
HAVING COUNT(DISTINCT a.acc_no) >= 3;
2016-2017 · Question 5a Written Full paper
Historical: Software Development / SDLC and development models

5. (a) Give full form of SDLC and mention different phases of SDLC . [SDLC এর পূর্ণরূপ লিখ এবং SDLC এর বিভিন্ন ধাপগুলো লিখ ।] (07)

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

SDLC = System Development Life Cycle।

  1. Planning ও feasibility
  2. Requirements analysis
  3. Design
  4. Implementation
  5. Testing
  6. Deployment
  7. Maintenance
2016-2017 · Question 5b Written Full paper
Historical: Software Development / Information systems and stakeholders

5. (b) Define system. State the key elements of a system. [System এর সংজ্ঞা দাও। System এর element গুলো উল্লেখ কর ।] (07)

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

System হলো নির্দিষ্ট লক্ষ্য অর্জনে পরস্পর-সম্পর্কযুক্ত উপাদানের সমষ্টি।

  1. Input
  2. Processing
  3. Output
  4. Control ও feedback
  5. Boundary, environment ও interface
2016-2017 · Question 6a Written Full paper
Operating System / Processes and scheduling

6. (a) What are the states of process? [Process এর state গুলো কী কী ।] (07)

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

Process হলো execution-এ থাকা program।

Stateঅর্থ
Newতৈরি হচ্ছে
ReadyCPU পাওয়ার অপেক্ষা
RunningCPU-তে চলছে
Waiting/blockedI/O/event-এর অপেক্ষা
TerminatedExecution শেষ

প্রধান transition: New → Ready → Running; Running → Ready (preemption), Running → Waiting (I/O), Waiting → Ready (event complete), Running → Terminated।

2016-2017 · Question 6b Written Full paper
Operating System / Processes and scheduling

6. (b) What is aging technique of process ? Why is it used in OS?. [প্রসেস এর aging technique কী? কেন এটি OS এ ব্যবহৃত হয়?] (07)

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

Aging হলো দীর্ঘ সময় অপেক্ষা করা process-এর priority ধীরে বাড়ানো। এতে low-priority process-এর starvation কমে।

2016-2017 · Question 7a Written Full paper
Microprocessor & Microcomputer / Processor architecture and registers

7. (a) Mention the register names of 8086 microprocessor. [8086 মাইক্রোপ্রসেসর এর রেজিস্টারসমূহের নাম উল্লেখ কর ।] (07)

Answer & solution / উত্তর ও সমাধান
GroupRegisters
General dataAX, BX, CX, DX
Pointer/indexSP, BP, SI, DI
SegmentCS, DS, SS, ES
Instruction pointerIP
Status/controlFLAGS

সবগুলো 16-bit; AX/BX/CX/DX-এর high ও low 8-bit অংশ আলাদাভাবে access করা যায়।

2016-2017 · Question 7b Written Full paper
Digital Electronics / Diodes and rectifiers

7. (b) Explain why diodes are not operated in the breakdown region in rectifiers? [ব্যাখ্যা কর কেন rectifier এর breakdown অঞ্চলে diode কাজ করে না।] (07)

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

সাধারণ rectifier diode reverse half-cycle-এ block করবে। Reverse breakdown-এ অতিরিক্ত current ও heating diode নষ্ট করতে পারে, তাই peak inverse voltage rating মানতে হয়। Zener/avalanche diode-এর controlled breakdown operation আলাদা application।

2016-2017 · Question 8a Written Full paper
Data Communication & Computer Network / Network security (historical)

8. (a) What are different ways of securing a computer network? [কম্পিউটার নেটওয়ার্ক এর নিরাপত্তার বিভিন্ন পন্থাগুলো কী কী?] (06)

Answer & solution / উত্তর ও সমাধান
  1. Strong authentication, least privilege ও access control।
  2. Firewall ও network segmentation।
  3. Traffic encryption (TLS/VPN)।
  4. System patching ও secure configuration।
  5. Monitoring/IDS, logging ও incident response।
  6. Backups এবং user awareness।
2016-2017 · Question 8b Written Full paper
Data Communication & Computer Network / Network topologies and coverage Data Communication & Computer Network / IP addressing and subnetting

8. (b) Suppose a computer network has 2 LANs: LAN-1 having 511 users and LAN-2 having 254 users. You have given an IPv4 address block of 172.16.0.0/16. By doing subnetting, you have to calculate the Network Address, Broadcast Address and Subnet Mask for both LANs. [মনে কর, একটি কম্পিউটার নেটওয়ার্কে 2টি LAN আছে: LAN-1এ 511জন user এবং LAN-2 এ 254 জন user। তোমাকে একটি IPv4 Address block দেয়া হল। এখন, Subnetting করে LAN গুলোর Network Address, Broadcast Address এবং Subnet Mask বের কর।] (08)

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

বড় LAN আগে allocate করতে হবে।

\[2^9-2=510<511,\quad2^{10}-2=1022\ge511\]

LANNetworkMaskBroadcastUsable range
LAN-1 (511)172.16.0.0/22255.255.252.0172.16.3.255172.16.0.1 - 172.16.3.254
LAN-2 (254)172.16.4.0/24255.255.255.0172.16.4.255172.16.4.1 - 172.16.4.254
2016-2017 · Question 9a Written Full paper
Digital Electronics / Boolean algebra and logic gates Digital Electronics / Flip-flops and latches

9. (a) Suppose, the given Sum of product (SOP) is \(\mathbf{X =}\overline{\mathbf{A}\overline{\mathbf{B}}}\mathbf{C +}\overline{\mathbf{A}}\mathbf{BC + AB}\overline{\mathbf{C}}\). Now, Draw its corresponding truth table. [মনে কর, $ \(\mathbf{X =}\overline{\mathbf{A}\overline{\mathbf{B}}}\mathbf{C +}\overline{\mathbf{A}}\mathbf{BC + AB}\overline{\mathbf{C}}\mathbf{\ }\)Sum of Product (SOP) এ দেওয়া আছে। এখন, এর অনুরূপ Truth table বের কর।] (07)

Source ambiguity

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

প্রশ্নের nested overbar আক্ষরিকভাবে পড়লে:

\[X=\overline{A\bar B}C+\bar ABC+AB\bar C\]

\[=(\bar A+B)C+\bar ABC+AB\bar C=\bar AC+BC+AB\bar C=\boxed{AB+\bar AC}\]

Equivalent POS:

\[X=(A+C)(\bar A+B)\]

ABCX
0000
0011
0100
0111
1000
1010
1101
1111

যদি প্রথম term-এ শুধু B-এর ওপর bar বোঝানো হয়, expression আলাদা হবে। এখানে document-এর দৃশ্যমান outer bar রাখা হয়েছে।

2016-2017 · Question 9b Written Full paper
Digital Electronics / BJT and transistor biasing

9. (b) The base current and emitter current of transistor are 0.08 mA and 9.6 mA. Calculate \(\mathbf{\alpha}_{\mathbf{\text{dc}}}\) \(\mathbf{\beta}_{\mathbf{\text{dc}}}\) এর মান বের কর । (07)

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

\[I_C=I_E-I_B=9.6-0.08=9.52\,\mathrm{mA}\]

\[\alpha_{dc}=\frac{I_C}{I_E}=\frac{9.52}{9.6}\approx0.9917,\qquad\beta_{dc}=\frac{I_C}{I_B}=\frac{9.52}{0.08}=119\]

2016-2017 · Question 10.1 MCQ Full paper
Computer Fundamentals / Hardware, software and firmware

i) What is POST? [Post কী?]

a.
Power On Self Test
b.
Property Of Self Test
c.
Power Off Switch Time
d.
Power On Switch Test
Answer & solution / উত্তর ও সমাধান

Correct answer: a. Power On Self Test

POST = Power-On Self-Test।

2016-2017 · Question 10.2 MCQ Full paper
Programming / Data types, variables and operators

ii) What will be the output if you will compile and execute the following C code? [ নিচের C কোড কম্পাইল ও এক্সিকিউট করলে কি আউটপুট দিবে?]

Void main (){
Const int i = 5 ;
i++;
printf("% d ",i);
}
a.
5
b.
6
c.
0
d.
Compiler error
Answer & solution / উত্তর ও সমাধান

Correct answer: d. Compiler error

const object increment করা বৈধ নয়; source-এর Void/Const capitalization-ও ভুল।

2016-2017 · Question 10.3 MCQ Full paper
Data Structure / Stacks and expression evaluation

iii) Where is LIFO actually used? [LIFO কোথায় ব্যবহৃত হয়?]

a.
Queue
b.
Stack
c.
Linked List
d.
Tree
Answer & solution / উত্তর ও সমাধান

Correct answer: b. Stack

Stack LIFO অনুসরণ করে।