BUET M.Sc. Admission Department of CSE Exam 2017 — Question Solution | বুয়েট এমএসসি ভর্তি নিয়োগ পরীক্ষা ২০১৭ — প্রশ্ন সমাধান
- BUET M.Sc. Admission
- 2017
- 20 questions · 0 MCQ, 20 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The BUET M.Sc. Admission Department of CSE exam was held in 2017. The paper had 20 written questions. The subjects asked most were Data Structures (3), Software Engineering (3) and Algorithms (2). This page lists every question, with 1 answered and explained; the rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
বুয়েট এমএসসি ভর্তি নিয়োগ পরীক্ষার (২০১৭) এই প্রশ্নপত্রে ২০টি প্রশ্ন ছিল, বেশিরভাগ ডেটা স্ট্রাকচার ও সফটওয়্যার ইঞ্জিনিয়ারিং থেকে। এখানে ১টি প্রশ্নের ব্যাখ্যাসহ উত্তর দেওয়া আছে; বাকিগুলো ফ্রি অ্যাকাউন্টে খোলে।
- Organisation
- BUET M.Sc. Admission
- Exam date
- 2017
- Questions
- 20 (0 MCQ, 20 written)
- Exam guide
- M.Sc. admission (CSE and ICT) · এমএসসি ভর্তি (সিএসই ও আইসিটি)
- Data Structures · ডেটা স্ট্রাকচার 3
- Software Engineering · সফটওয়্যার ইঞ্জিনিয়ারিং 3
- Algorithms · অ্যালগরিদম 2
- Database · ডেটাবেজ 2
- General ICT · সাধারণ আইসিটি 2
- Mathematics · গণিত 2
- Operating Systems · অপারেটিং সিস্টেম 2
- Computer Architecture · কম্পিউটার আর্কিটেকচার 1
- Digital Logic · ডিজিটাল লজিক 1
- Microprocessor · মাইক্রোপ্রসেসর 1
- Networking · নেটওয়ার্কিং 1
Explain Inversion of Control in C++.
What is Extreme Programming (XP)? Prove that Pair Programming is a type of Extreme Programming.
If you know that 21 cumulative multiplications can multiply two 33 matrices, how many multiplications are required to multiply two nn matrices, where n is an integral power of 3?
Write the function of enQueue() and deQueue() with single FIFO queue using link list with O(1) runtime.
Why is the ATmega AVR32 microprocessor better than the 8086 microprocessor?
Why must problem solving follow goal solving to solve a real-life problem for a problem-solving agent in Artificial Intelligence?
Suppose 50 persons are in line to take tiffin, where no two people are of the same height. Prove that there are at least 8 persons in increasing or decreasing order.
f(A,B,C,D) = Σm(3,5,7,9) + Σd(6,12,13). Find the SOP expression.
Write a function to insert a value x into a sorted list of N elements (without using an array) using this prototype: Insert List (int *list, int N, int x).
Suppose there is a table named hall_room_allocation where student_id is primary key. Write a DDL code where each student can get only one hall, only one room and only one bed. Show the possible foreign key.
Sign up free to see the model answers to written questions 1–10 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Let A(A1[PK], A2, A3), B(B1[PK], B2, B3), C(C1[PK], C2, C3), D(D1[PK], D2) and E(E1[PK], E2, E3). Transform the given ERD design into tables. Relations are [A->B], [B<-->C], [B-->D, B<-->E]
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Describe Deadlock conditions.
Model answer
A deadlock is a state in which every process in a set is blocked, waiting for a resource that only another process in the same set can release, so none of them can ever continue. It can arise only when the following four conditions (the Coffman conditions) hold together.
1. Mutual exclusion
At least one resource is non-sharable: while one process uses it, every other requester must wait. Example: the lock on a bank-account record. A read-only file is sharable and can never be part of a deadlock.
2. Hold and wait
A process that already holds at least one resource requests more and keeps what it holds while it waits. Example: a transfer thread has locked account X and now waits for account Y.
3. No preemption
A resource cannot be forcibly taken from its holder; it is released only voluntarily, when the holder has finished with it. Example: the system cannot take the lock on X back from the waiting thread.
4. Circular wait
A closed chain P₁ → P₂ → … → Pₙ → P₁ exists in which each process waits for a resource held by the next one. Example: thread T1 holds X and wants Y, while thread T2 holds Y and wants X.
Resource-allocation graph of this example (request edge: process → resource; assignment edge: resource → process):
flowchart LR
T1(("T1")) -->|requests| Y["Lock Y"]
Y -->|assigned to| T2(("T2"))
T2 -->|requests| X["Lock X"]
X -->|assigned to| T1
How each condition can be denied (deadlock prevention):
| Condition | Way to deny it |
|---|---|
| Mutual exclusion | Make the resource sharable where possible (read-only data, a spooled printer) |
| Hold and wait | Request all resources at once, or release everything held before asking for more |
| No preemption | If a request cannot be granted, take back the resources the process holds and restart it later |
| Circular wait | Number the resource types and request them only in increasing order |
Points to remember:
- The four conditions are necessary: if any one is absent, deadlock cannot occur.
- They are not always sufficient: with several instances of a resource type, a cycle may break when another process releases an instance. With a single instance of each resource type, a cycle means deadlock.
- Circular wait already implies hold and wait, so the four are not fully independent.
Exam tip: give each condition a one-line meaning plus an example, and state that all four must hold simultaneously.
Suppose Mimi wants to reach a city but does not know the way. There are two people, A and B: A always lies and B always tells the truth. Mimi asks A the way. A replies, "The city is near the lake and the right way goes to the city." She then asks B the same question. B replies, "The city is near the lake and the right way goes to the city." After hearing that, A says, "Don't believe B, he tells lies." B also says, "Don't believe A, he tells lies." How will Mimi go to the city? Solve using a truth table.
How to search an element in the list in best way with O(1) runtime. Explain.
Write the meaning:
i. *(list+1)
ii. *(list+1)+1
iii. *(*(list+1)+1)
iv. *((list+1)+1)
v. ((list+1)+1)
Difference between NAT and PAT in networking.
What are three-address codes in a compiler? What data structures are used to store three-address code in memory?
How does a computer divide two numbers?
A system uses 32-bit address. P page with 4KBytes will contain how many entries? How many space/memory is required to load the page with entries if each entry takes 8-bits memory?
Write down the Waterfall model of software.
Sign up free to see the model answers to written questions 13–20 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
19 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ১৯টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 16 syllabus chapters; Keys & Relational Model and Arrays & Linked Lists lead, with 2 each. Keys & Relational Model is asked in 42 other papers too (2016–2025).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- Keys & Relational Model Database · 42 other papers, 2016–20252
- Arrays & Linked Lists Data Structures · 38 other papers, 2017–20252
- CPU Organization Computer Architecture · 77 other papers, 2011–20261
- Boolean Algebra & K-Maps Digital Logic · 50 other papers, 2016–20261
- Requirements & Design Software Engineering · 50 other papers, 2016–20261
- SDLC & Process Models Software Engineering · 44 other papers, 2016–20261
From our own past papers: each question filed under one syllabus chapter. Practice and held questions are not counted.
Questions about this paper · সাধারণ প্রশ্ন
- How many questions were in the BUET M.Sc. Admission Department of CSE exam (2017)?
- 20 written questions.
- Which subjects were asked most in the BUET M.Sc. Admission Department of CSE exam (2017)?
- Data Structures (3), Software Engineering (3) and Algorithms (2), out of 20 questions.
- When was the BUET M.Sc. Admission Department of CSE exam held?
- In 2017. The exact day isn't in our records.
- Where can I find the BUET M.Sc. Admission Department of CSE exam (2017) question solution?
- On this page: 1 of the 20 questions are shown with worked answers. The rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
Question text is from the public recruitment exam; answers and explanations are written by ARBS Academy. All past papers