NPCBL Executive Trainee Exam 2023 — Question Solution | নিউক্লিয়ার পাওয়ার প্ল্যান্ট কোম্পানি (এনপিসিবিএল) এক্সিকিউটিভ ট্রেইনি নিয়োগ পরীক্ষা ২০২৩ — প্রশ্ন সমাধান
- NPCBL
- Executive Trainee
- 2023
- 39 questions
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The NPCBL Executive Trainee exam was held in 2023. The paper had 39 multiple-choice questions. The subjects asked most were Programming (8), Data Structures (7) and General Knowledge (6). This page lists every question, with 5 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
- NPCBL
- Post
- Executive Trainee
- Exam date
- 2023
- Questions
- 39 (39 MCQ, 0 written)
- Exam guide
- Government IT officer posts · সরকারি প্রতিষ্ঠানের আইটি পদ
- Programming · প্রোগ্রামিং 8
- Data Structures · ডেটা স্ট্রাকচার 7
- General Knowledge · সাধারণ জ্ঞান 6
- Database · ডেটাবেজ 4
- Operating Systems · অপারেটিং সিস্টেম 4
- Algorithms · অ্যালগরিদম 2
- Bangla · বাংলা 2
- English · ইংরেজি 2
- Networking · নেটওয়ার্কিং 2
- Digital Logic · ডিজিটাল লজিক 1
- Software Engineering · সফটওয়্যার ইঞ্জিনিয়ারিং 1
পেনাং কোন দেশের সমুদ্রবন্দর?
- a)ইন্দোনেশিয়া
- b)মালয়েশিয়া
- c)তাইওয়ান
- d)ফিলিপাইন
কুতুবদিয়া বাতিঘর নির্মাণ করা হয় কত সালে?
- a)১৮৫৫ সালে
- b)১৮৪০ সালে
- c)১৮৪৬ সালে
- d)১৮৪৮ সালে
কমার বিরতিকাল কতক্ষণ?
- a)১ বলতে যে সময় লাগে
- b)১ বলার দ্বিগুন সময়
- c)১ সেকেন্ড
- d)থামার প্রয়োজন নেই
সাধু ও চলিত রীতির মিশ্রণে বাক্য কোন দোষে দুষ্ট হয়?
- a)উৎপ্রেক্ষা দোষে
- b)বাহুল্য দোষে
- c)গুরুচন্ডালী দোষে
- d)আঞ্চলিক দোষে
বাংলাদেশের একমাত্র পাহাড়ী দ্বীপ কোনটি?
- a)সেন্ট মার্টিন
- b)মহেশখালী
- c)ছেঁড়াদ্বীপ
- d)নিঝুম দ্বীপ
তামাবিল সীমান্তের সাথে ভারতের কোন শহরটি অবস্থিত?
- a)করিমগঞ্জ
- b)খোয়াই
- c)পেট্রোপোল
- d)ডাউকি
দক্ষিণ তালপট্টি কোন নদীর মোহনায় অবস্থিত?
- a)নাফ
- b)তেতুলিয়া
- c)আড়িয়াল খাঁ
- d)হাড়িয়াভাঙ্গা
Which of the following scheduling algorithms is non-preemptive?
- a)Shortest Job First
- b)FCFS
- c)Round Robin
- d)Priority Scheduling
What is the maximum number of possible nonzero values in an adjacency matrix of a simple graph with n vertices?
- a)n(n-1)/2
- b)n(n+1)/2
- c)n(n-1)
- d)n(n+1)
OPEC থেকে কোন দেশ নিজেকে প্রত্যাহার করে নেয়?
- a)নাইজেরিয়া
- b)লিবিয়া
- c)ভেনিজুয়েলা
- d)কাতার
Sign up free to see the answers and explanations to questions 1–10 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
A computer system needs to store 100 different symbols. In this case, how many bits of data are required for each symbol?
- a)4
- b)5
- c)6
- d)7
Select the correct English translation of: The boy takes after his father.
- a)ছেলেটি তার পিতার দেখাশুনা করে
- b)ছেলেটি তার পিতার অনুকরণ করে
- c)ছেলেটি তার পিতার পদাংক অনুসরণ করে
- d)ছেলেটি দেখতে তার পিতার মত
Which data structure is needed to convert infix notation to postfix notation?
- a)Branch
- b)Tree
- c)Queue
- d)Stack
What is the maximum number of IP addresses that can be assigned to hosts on a local subnet that uses the 255.255.255.224 subnet mask?
- a)16
- b)31
- c)32
- d)30
Logical memory is broken into blocks of the same size called-
- a)Frames
- b)Pages
- c)RAIDs
- d)Blocks
Which of the following is not a property of the Object Oriented Programming Concept?
- a)Encapsulation
- b)Inheritance
- c)Exception
- d)Abstraction
CREATE TABLE employee (name VARCHAR, id INTEGER)
What type of statement is this?
- a)DML
- b)DDL
- c)View
- d)Integrity constraint
Which data structure is suitable to represent hierarchical relationship between elements?
- a)Stack
- b)Queue
- c)List
- d)Tree
Sign up free to see the answers and explanations to questions 11–18 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
How many children does a binary tree have?
- a)2
- b)0
- c)0 or 1 or 2 (correct answer)
- d)Any number of children
Answer and explanation
Correct answer: (c) 0 or 1 or 2
A binary tree is a tree in which each node has at most two children. The question means "how many children can a node of a binary tree have": a leaf has 0, a node with only a left or only a right child has 1, and a node with both has 2.
Why the other options are wrong
- (a) 2: exactly two children for every non-leaf is a full binary tree, a special case; ordinary binary trees also allow one child.
- (b) 0: only leaves have no children; otherwise the tree would be a single node.
- (d) Any number of children: that describes a general (n-ary) tree, not a binary tree.
Tip: Binary = at most 2 children per node: 0, 1 or 2.
Source: Lecture 6: Binary Trees I - 6.006 Introduction to Algorithms, MIT OpenCourseWare (Spring 2020)
When a class serves as base class for many derived classes, the situation is called-
- a)Polymorphism
- b)Hierarchical inheritance
- c)Hybrid inheritance
- d)Multipath inheritance
What is the number of edges in a complete graph with 5 nodes?
- a)1
- b)4
- c)5
- d)10
Communication between a computer and a keyboard involves ____ transmission.
- a)Automatic
- b)Half-duplex
- c)Full-duplex
- d)Simplex
A B* tree can contain a maximum of 7 pointers in a node. What is the minimum number keys in leaves?
- a)6
- b)3
- c)4
- d)7
Sign up free to see the answers and explanations to questions 20–23 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of the following is an example of dynamic programming approach?
- a)Fibonacci Series (correct answer)
- b)Tower of Hanoi
- c)Dijkstra Shortest Path
- d)None of the above
Answer and explanation
Correct answer: (a) Fibonacci Series
F(n) = F(n − 1) + F(n − 2), so plain recursion computes the same values again and again: fib(30) needs 2,692,537 calls. Dynamic programming stores each F(k) once, either memoized top-down or in a bottom-up table, so only 31 subproblems are solved and the time drops from exponential to O(n). The problem has both DP ingredients: optimal substructure and overlapping subproblems.
Why the other options are wrong
- (b) Tower of Hanoi: the classic example of plain recursion (decrease and conquer). It must output all 2ⁿ − 1 moves (1,023 for n = 10), so storing sub-results cannot make it faster.
- (c) Dijkstra Shortest Path: it is normally classified as greedy, because at every step it settles the unvisited vertex with the smallest tentative distance.
- (d) None of the above: wrong, because (a) is a DP example.
Tip: DP = optimal substructure + overlapping subproblems. Fibonacci is the first example almost every DP lecture uses.
Source: MIT 6.006 Introduction to Algorithms (Fall 2011), Lecture 19: Dynamic Programming I — Fibonacci, Shortest Paths; NIST DADS: greedy algorithm
Which of the following is true regarding a constructor in Object Oriented Programming?
- a)May consist of a return type
- b)Does not consist of any return type
- c)Has some return type
- d)None of the above
The degree of interaction between two modules is known as-
- a)Cohesion
- b)Strength
- c)Inheritance
- d)Coupling
Sign up free to see the answers and explanations to questions 25–26 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
The number of values a function can return at a time?
- a)1 (correct answer)
- b)2
- c)0
- d)more than 2
Answer and explanation
Correct answer: (a) 1
In C a return statement has the form return expression;. The expression is evaluated, the function ends, and that one result becomes the value of the function call. So a function can hand back only one value at a time.
To get several results out, you still return one thing: pack them in a struct (one value with several members), or pass pointers so the function writes the extra results into the caller's variables.
Why the other options are wrong
- (b) 2: A
returntakes a single expression.return a, b;uses the comma operator and returns onlyb. - (c) 0: A
voidfunction returns nothing, but the question asks how many values a function can return; a non-void function returns exactly one. - (d) more than 2: Same reason as (b); returning a struct or array pointer is still one returned value.
Tip: One call → one return value; use a struct or pointer parameters for more.
What type of join is needed when you wish to include rows that do not have matching values?
- a)Equal join
- b)Natural join
- c)Outer join
- d)Inner join
Find the output of the following prefix expression *+2-2 1/-4 2+-5 3 1
- a)2
- b)12
- c)10
- d)4
Which one of the following is the deadlock avoidance algorithm?
- a)Banker's algorithm
- b)round-robin algorithm
- c)Elevator algorithm
- d)Karn's algorithm
Sign up free to see the answers and explanations to questions 28–30 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which one of the following sorts rows in SQL?
- a)SORT BY
- b)ALIGN BY
- c)ORDER BY (correct answer)
- d)GROUP BY
Answer and explanation
Correct answer: (c) ORDER BY
ORDER BY sorts the rows of a query result, ascending (ASC) by default or descending with DESC. Without it, rows come back in whatever order the engine finds fastest, so no order is guaranteed.
SELECT name FROM employee ORDER BY name; -- Anik, Riaz, Toha
SELECT name FROM employee ORDER BY name DESC; -- Toha, Riaz, Anik
Why the other options are wrong
- (a) SORT BY: Not an SQL clause; SQLite rejected it with a syntax error near "BY".
- (b) ALIGN BY: Not an SQL clause either; also a syntax error.
- (d) GROUP BY: It collects rows with equal values into one row per group for aggregates such as COUNT or SUM. It does not guarantee any output order; add ORDER BY when order matters.
Tip: Sort → ORDER BY; summarise per group → GROUP BY.
Sources: Sorting Rows (ORDER BY) - PostgreSQL Documentation; SELECT - PostgreSQL Documentation
Choose the correct spelling
- a)Query
- b)Quelry
- c)Qeiry
- d)Queery
Consider int i=0; Then which of the following is not an infinite loop?
- a)for(;;){}
- b)while ( ){ }
- c)while ( ++i<0){ --i;}
- d)do {++i;} while(--i<=0);
Address stored in the pointer variable is of type ____
- a)Integer
- b)Float
- c)Character
- d)Double
What will be the output of the following "C" code fragment?
x=0;
while (x<100)
x+=2;
print(x);
- a)99
- b)100
- c)101
- d)98
Which keyword is used to skip the rest of a loop and carry on from the top of the loop again?
- a)break
- b)resume
- c)continue
- d)skip
Sign up free to see the answers and explanations to questions 32–36 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which of the following is not a deadlock handling strategy?
- a)Deadlock prevention
- b)Timeout
- c)Deadlock detection and recovery
- d)Deadlock annihilation (correct answer)
Answer and explanation
Correct answer: (d) Deadlock annihilation
Deadlocks are handled in a small number of recognised ways: prevention (guarantee that deadlocks can never occur in the first place), avoidance (detect potential deadlocks in advance and act so that deadlock will not occur) and detection with recovery (allow deadlocks to form, then find and break them). "Deadlock annihilation" is not one of them; it is not a recognised deadlock-handling technique.
A bank example shows the timeout at work: transfer A locks account 101 and wants 202, while transfer B holds 202 and wants 101; a lock-wait timeout aborts one of them so the other can finish.
Why the other options are wrong
- (a) Deadlock prevention: a standard strategy; the system is arranged so that deadlocks can never occur in the first place.
- (b) Timeout: a real, practical method: a transaction that cannot get a resource may wait only for a fixed time interval, and if the resource does not become available, the requesting or the holding transaction is aborted. Database systems use lock-wait timeouts too; PostgreSQL, for example, waits on a lock for a set time (deadlock_timeout) before checking for a deadlock.
- (c) Deadlock detection and recovery: a standard strategy; deadlocks are allowed to form and are then found and broken.
Exam note: A timeout is usually counted as part of one of the main strategies (waiting a fixed interval and then aborting a transaction, or using the wait to trigger a deadlock check), not as a separate strategy. It is still a valid way of handling deadlock, so only (d) is "not a strategy".
Tip: The classic answers are prevention, avoidance and detection + recovery; anything else on the list is the odd one out.
Source: A survey of distributed deadlock detection algorithms (SIGMOD Record 15(3), 1986)
Source: Lock Management: deadlock_timeout (PostgreSQL Documentation)
A transaction that completes its execution is said to be-
- a)Committed
- b)Aborted
- c)Rolled back
- d)Successful
Which of the following sorting algorithms is a divide and conquer algorithm?
- a)Merge sort
- b)Bubble sort
- c)Insertion sort
- d)Counting sort
Sign up free to see the answers and explanations to questions 38–39 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
34 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ৩৪টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 23 syllabus chapters; the biggest is Bangladesh Affairs, in General Knowledge, with 4 questions. Bangladesh Affairs is asked in 58 other papers too (2016–2026). 2 of its MCQs appear word for word in other papers in our bank (2012–2018). Every one of them had been asked in an earlier exam.
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- Bangladesh Affairs General Knowledge · 58 other papers, 2016–20264
- Language Basics & Syntax Programming · 122 other papers, 2015–20263
- SQL & Queries Database · 93 other papers, 2015–20263
- Trees Data Structures · 47 other papers, 2015–20263
- Object-Oriented Programming Programming · 88 other papers, 2015–20262
- Control Flow & Loops Programming · 76 other papers, 2015–20262
Its MCQs in other exams · অন্য পরীক্ষায়
Papers that asked the same MCQ, word for word, and how many they share
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 NPCBL Executive Trainee exam (2023)?
- 39 multiple-choice questions.
- Which subjects were asked most in the NPCBL Executive Trainee exam (2023)?
- Programming (8), Data Structures (7) and General Knowledge (6), out of 39 questions.
- When was the NPCBL Executive Trainee exam held?
- In 2023. The exact day isn't in our records.
- Where can I find the NPCBL Executive Trainee exam (2023) question solution?
- On this page: 5 of the 39 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