Bangladesh Ordnance Factory (BOF) Assistant Engineer (EEE/ME/CSE) Exam: 2021প্রশ্ন ও সমাধান
- Set by
- BOF
- Post
- Assistant Engineer
- Exam date
- 2021
- Questions
- 12 (0 MCQ, 12 written)
- Exam guide
- Defence organisations' IT posts · প্রতিরক্ষা প্রতিষ্ঠানের আইটি পদ
- General Knowledge · সাধারণ জ্ঞান 2
- Networking · নেটওয়ার্কিং 2
- Programming · প্রোগ্রামিং 2
- Cloud & Emerging Tech · ক্লাউড ও উদীয়মান প্রযুক্তি 1
- Computer Architecture · কম্পিউটার আর্কিটেকচার 1
- Database · ডেটাবেজ 1
- Digital Logic · ডিজিটাল লজিক 1
- English · ইংরেজি 1
- Mathematics · গণিত 1
Write the code for second highest maximum from given three number in c/c++.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is the Primary key, Candidate key and Super key?
Model answer
All three uniquely identify a tuple (row) in a relation, but they differ in scope and how they're chosen:
| Key | Definition | Count per table | Nullable? |
|---|---|---|---|
| Super Key | Any attribute set whose values uniquely identify each tuple — may contain redundant attributes | Many possible | No restriction beyond uniqueness |
| Candidate Key | A minimal super key — removing any attribute destroys uniqueness | A relation can have several | Must be non-null and unique |
| Primary Key | The one candidate key the designer selects as the table's main identifier | Exactly one per table | Never null (entity integrity) |
Example: STUDENT(Roll_No, Phone, Name, Dept)
{Roll_No}and{Phone}are each candidate keys — both independently identify a student uniquely.{Roll_No}is chosen as the primary key.{Roll_No, Name}is a super key but not a candidate key, sinceNameis redundant (not minimal).
graph TD;
SK["Super Keys (many)"]-->CK["Candidate Keys (minimal super keys)"];
CK-->PK["Primary Key (one chosen candidate key)"];
Exam takeaway: Super Key ⊇ Candidate Key ⊇ Primary Key — every primary key is a candidate key, and every candidate key is a super key, but not the reverse.
Find the Subnet mask from the following IP: 192.168.3.0/22
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Write the three basic function of cloud services?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Write the difference between Structure and Array.
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Write the difference between BIOS and CMOS?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Draw the k-map for the equation:
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is wireless network system? Why CSMA/CA used instead of CSMA/CD?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
এককথায় উত্তর লিখুন।
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Write a short note on "Digital Bangladesh"
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Filling the gaps with appropriate word:
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
কোন বর্গক্ষেত্রের ক্ষেত্রফল 100 বর্গমিটার। এর বাহুর দৈর্ঘ্য 10% বৃদ্ধি পেলে এর ক্ষেত্রফলের শতকরা বৃদ্ধির হার কত?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Question text is from the public recruitment exam; answers and explanations are written by ARBS Academy. All past papers · Defence organisations' IT posts guide