PGCB Sub-Assistant Engineer (CSE) Exam: 30.09.2021 (BUET)প্রশ্ন ও সমাধান
- Set by
- PGCB
- Post
- Sub-Assistant Engineer
- Exam date
- 30 Sep 2021
- Conducted by
- BUET
- Questions
- 10 (0 MCQ, 10 written)
- Exam guide
- Government IT officer posts · সরকারি প্রতিষ্ঠানের আইটি পদ
- Networking · নেটওয়ার্কিং 2
- Programming · প্রোগ্রামিং 2
- Web Technology · ওয়েব টেকনোলজি 2
- Database · ডেটাবেজ 1
- General ICT · সাধারণ আইসিটি 1
- Microprocessor · মাইক্রোপ্রসেসর 1
- Operating Systems · অপারেটিং সিস্টেম 1
MySQl database এর ক্ষেত্রে Backup and Restore করার কমান্ড লিখ?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is API?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is the difference between Compiler and Interpreter?
Model answer
Compiler vs Interpreter
| Aspect | Compiler | Interpreter |
|---|---|---|
| Translation | Translates the entire source program into machine code before execution | Translates and executes source code line by line |
| Output | Produces a standalone executable file | No separate executable; needs the interpreter present every run |
| Speed of execution | Faster (translation done once, ahead of time) | Slower (translation overhead repeats every run) |
| Error detection | Reports all syntax errors after scanning the whole program | Stops at the very first error encountered |
| Examples | C, C++, Rust, Go | Python (bytecode-interpreted), classic BASIC, shell scripts |
| Debugging | Harder to debug line-by-line (must recompile after every fix) | Easier to debug interactively (test-fix-run one statement at a time) |
graph LR
S1[Source Code] --> C[Compiler] --> E[Executable Machine Code] --> R1[Run - fast, repeatable]
S2[Source Code] --> I[Interpreter] --> R2[Execute line-by-line - slower, no separate exe]
Middle ground: many modern languages (Java, C#, Python with a JIT) use a hybrid approach - compiling to an intermediate bytecode, then interpreting or JIT-compiling that bytecode at run time, balancing portability with speed.
Exam takeaway: a compiler translates everything first, then runs fast; an interpreter translates and runs one line at a time, more flexible but slower - the trade-off is upfront translation time and portability versus per-run execution speed.
What is the difference between 8-bit (8085) and 16-bit (8086) microprocessor?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Apache কোন ধরনের Server এক কথায় লিখ?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
E-mail পাঠানো এবং রিসিভ করার জন্য একটি করে প্রটোকলের নাম লিখ?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Paython এ Recursive function ব্যবহার করে একটি ধনাত্মক সংখ্যার factorial মান বের করার function লিখ?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Linux এর ক্ষেত্রে User Creation এর কমান্ড লিখ?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Wi-Fi, Bluetooth, Wi-Max, Cellure network এইগুলোকে দূরত্বের ক্রমানুসারে ছোট থেকে বড় এর দিক অনুসারে লিখ?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
MS-Excell এর IF Function ব্যবহার করে A1, B1, C1 থেকে ডাটা বের করে D1 এর মধ্যে রাখার ফাংশন লিখ।
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 · Government IT officer posts guide