Your next chapter starts hereExplore admission guide
PRACTICE QUESTION BANK

কম্পিউটার সায়েন্স এন্ড ইঞ্জিনিয়ারিং

Department
26378Questions
26022MCQ
356CQ / Written
0%0 covered

Subjects / বিষয়

Non-Technical · Shared by all departments

রসায়ন

15 chapters

6500 questions6500 MCQ0 CQ
0/6500 covered0%
0%

Non-Technical · Shared by all departments

গণিত

4 chapters

2500 questions2500 MCQ0 CQ
0/2500 covered0%
0%

Non-Technical · Shared by all departments

ইংরেজি

11 chapters

2800 questions2800 MCQ0 CQ
0/2800 covered0%
0%

Questions

0 read · 0 practiced · 0 answered in exams
25991. CQ / Written2017-2018 · Question 2b

(b) Define tautology. Prove that \(\left( \left( \mathbf{A}\mathbf{\rightarrow}\mathbf{B} \right)\mathbf{\land}\mathbf{A} \right)\mathbf{\rightarrow}\mathbf{B}\) is a tautology using a truth table. [Tautology এর সংজ্ঞা দাও। Truth table দ্বারা প্রমাণ কর যে, \(\left( \left( \mathbf{A}\mathbf{\rightarrow}\mathbf{B} \right)\mathbf{\land}\mathbf{A} \right)\mathbf{\rightarrow}\mathbf{B}\) একটি tautology।] (07)

CQ / Written solution

সকল truth assignment-এ সত্য compound proposition হলো tautology।

ABA → B(A → B) ∧ A((A → B) ∧ A) → B
FFTFT
FTTFT
TFFFT
TTTTT

Sign in to save reading progress

25992. CQ / Written2017-2018 · Question 3a

03. (a) Briefly explain stack data structure with an example. [Stack ডাটা-স্ট্রাকচার উদাহরণসহ সংক্ষেপে ব্যাখ্যা কর।] (06)

CQ / Written solution

Stack হলো LIFO data structure। Push top-এ যোগ করে, pop top থেকে সরায়। Recursion-এ প্রতিটি call-এর return address, arguments ও local context সংরক্ষিত হয়; সর্বশেষ call প্রথমে return করে।

push(10): [10]
push(20): [10, 20] <- top
pop(): returns 20; stack = [10]

Sign in to save reading progress

25993. CQ / Written2017-2018 · Question 3b

(b) What are the advantages and disadvantages of binary search algorithm? [বাইনারি সার্চ অ্যালগরিদম এর সুবিধা- অসুবিধা গুলো কি কি?] (08)

CQ / Written solution

Binary search sorted random-access sequence-এর search interval প্রতি ধাপে অর্ধেক করে।

  1. Average/worst-case time \(O(\log n)\); best case \(O(1)\)।
  2. Iterative implementation-এ extra space \(O(1)\)।
  3. ডেটা sorted রাখতে হয়; sorting/update-এর খরচ থাকে।
  4. Linked list-এ middle access সরাসরি হয় না, তাই array-এর মতো সুবিধা পাওয়া যায় না।

Sign in to save reading progress

25994. CQ / Written2017-2018 · Question 4a

04. (a) Write down the SQL command to find a student named “Bob” and his mother’s name is “Alice” from the “Student Info” table. [“Student Info” টেবিল হতে একটি ছাত্র খুঁজে বের করার জন্য SQL কমান্ডটি লিখ যার নাম “Bob” এবং যার মায়ের নাম “Alice”।] (07)

CQ / Written solution

Column নাম source-এ নির্দিষ্ট নেই; student_namemother_name ধরে standard SQL:

SELECT *
FROM "Student Info"
WHERE student_name = 'Bob'
  AND mother_name = 'Alice';

Sign in to save reading progress

25995. CQ / Written2017-2018 · Question 4b

(b) What are the advantages of relational database system over traditional file system? [গতানুগতিক ফাইল সিস্টেম অপেক্ষা রিলেশনাল ডাটাবেস সিস্টেমের সুবিধাগুলি কি কি?] (07)

CQ / Written solution

  1. নিয়ন্ত্রিত redundancy ও consistency।
  2. Constraints দিয়ে data integrity।
  3. Authorization ও access control।
  4. Transactions ও concurrent access।
  5. Backup এবং crash recovery।
  6. Data independence ও SQL query।

Sign in to save reading progress

25996. CQ / Written2017-2018 · Question 5a

05. (a) Mention the phases of SDLC. Which techniques are used for system design? [SDLC এর ধাপগুলো উল্লেখ কর। সিস্টেম ডিজাইনে কোন কোন টেকনিক ব্যবহৃত হয়?] (08)

CQ / Written solution

SDLC = System Development Life Cycle।

  1. Planning ও feasibility
  2. Requirements analysis
  3. Design
  4. Implementation
  5. Testing
  6. Deployment
  7. Maintenance

System-design techniques: structured design/DFD, ER modelling, UML class/sequence diagrams, modular design এবং prototyping।

Sign in to save reading progress

25997. CQ / Written2017-2018 · Question 5b

(b) Define and classify the feasibility study. [ফিজিবিলিটি স্টাডি এর সংজ্ঞা এবং শ্রেণিভেদ লিখ।] (06)

CQ / Written solution

Feasibility study নির্ধারণ করে প্রকল্পটি বাস্তবায়নযোগ্য ও উপযোগী কি না।

Typeপ্রশ্ন
Technicalপ্রয়োজনীয় technology/skills আছে?
EconomicBenefit কি cost justify করে?
OperationalUsers/organisation গ্রহণ ও চালাতে পারবে?
Scheduleসময়সীমায় করা যাবে?
Legalআইন ও contractual requirements পূরণ করবে?

Sign in to save reading progress

25998. CQ / Written2017-2018 · Question 6a

06. (a) What is throughput, turnaround time, waiting time, and response time? [Throughput, turnaround time, waiting time এবং response time বলতে কি বুঝ?] (08)

CQ / Written solution

Metricসংজ্ঞা
Throughputপ্রতি unit time-এ completed process সংখ্যা
Turnaround timeCompletion time − arrival time
Waiting timeReady queue-এ মোট অপেক্ষা
Response timeপ্রথম CPU service/response time − arrival time

Sign in to save reading progress

25999. CQ / Written2017-2018 · Question 6b

06. (b) Write down the data structure of Process Control Block (PCB). [প্রসেস কন্ট্রোল ব্লক (PCB)-এর ডাটা স্ট্রাকচার লিখ।] (06)

CQ / Written solution

  1. Process identifier (PID)
  2. Process state
  3. Program counter
  4. CPU registers ও saved context
  5. Scheduling information: priority, queue links
  6. Memory information: page/segment tables
  7. I/O status ও open files
  8. Accounting ও ownership information

Sign in to save reading progress

26000. CQ / Written2017-2018 · Question 7a

07. (a) What is cache memory? What do you understand by dual core processor? [Cache memory কি? Dual core processor বলতে কি বুঝ?] (06)

CQ / Written solution

Cache হলো CPU-এর কাছে থাকা ছোট ও দ্রুত memory, যেখানে সম্প্রতি/ঘন ঘন ব্যবহৃত data এবং instruction রাখা হয়; এতে average memory-access time কমে।

Dual-core processor-এ একই chip/package-এ দুটি processing core থাকে। Parallel task execution সম্ভব; single-thread program স্বয়ংক্রিয়ভাবে দ্বিগুণ দ্রুত হয় না।

Sign in to save reading progress