46th BCS Technical Written Exam — Question Solution | বিসিএস নিয়োগ পরীক্ষা — প্রশ্ন সমাধান
- BCS
- 10 questions · 0 MCQ, 10 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The 46th BCS Technical Written exam was held. The paper had 10 written questions. The subjects asked most were Cloud & Emerging Tech (1), Computer Architecture (1) and Cyber Security (1). 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
- BCS
- Questions
- 10 (0 MCQ, 10 written)
- Exam guide
- BCS (ICT and CSE cadre) · বিসিএস (আইসিটি ও সিএসই ক্যাডার)
- Cloud & Emerging Tech · ক্লাউড ও উদীয়মান প্রযুক্তি 1
- Computer Architecture · কম্পিউটার আর্কিটেকচার 1
- Cyber Security · সাইবার নিরাপত্তা 1
- Database · ডেটাবেজ 1
- Digital Logic · ডিজিটাল লজিক 1
- Electrical & General Engineering 1
- Networking · নেটওয়ার্কিং 1
- Operating Systems · অপারেটিং সিস্টেম 1
- Programming · প্রোগ্রামিং 1
- Software Engineering · সফটওয়্যার ইঞ্জিনিয়ারিং 1
(a) Explain the photoelectric effect and its significance in quantum theory.
(b) Derive the equation for the de Broglie wavelength of a particle.
(c) Convert the following sum of products canonical expression to product of sum canonical expression, f(A, B, C, D) = Σ(1, 3, 5, 8, 11).
(d) Minimize the following function using the Karnaugh map method. f(A, B, C, D) = Π (3, 5, 7, 9, 11, 13, 14, 15).
(a) State and prove De Morgan's theorem using Boolean algebra.
(b) Design a 4-to-1 multiplexer circuit and explain its working principle.
(c) Explain the race-around condition in Flip-Flops and discuss how it can be resolved.
(d) Distinguish between Mealy and Moore machines.
(a) Explain the concept of pipelining and its impact on CPU performance.
(b) Compare and contrast between RISC and CISC architectures.
(c) For the 8086 microprocessor, write the full name of the following registers: SP, BP, SI, DI, IP.
(d) Given a cache memory with a hit rate of 90% and main memory access time of 100ns, calculate the average memory access time, if the cache access time is 10ns.
(a) Discuss the advantages and disadvantages of Time-Division Multiple Access (TDMA) and Code-Division Multiple Access (CDMA).
(b) For a noisy channel, if the signal to noise power ratio at the receiver is 0.1 and the bandwidth of the channel is 2.4 GHz, what is the channel capacity in Mbps?
(c) A monotone message signal of bandwidth 20 kHz and amplitude 10V is sampled at the rate of 150% higher than the Nyquist rate to obtain digital data with a uniform quantizer. The bit rate of the digital data signal is found to be 1.6 Mbps. Determine,
(i) the bits required per sample
(ii) the Signal-to-Quantization-Noise Ratio (SQNR)
(iii) the step size of the quantizer
(a) What is cryptography? Explain the working principle of RSA algorithm.
(b) Explain the concept of IPv6 addressing scheme and its advantages over IPv4.
(c) What is zero-day attack in cyber security? Draw a diagram to provide an illustration of the window of vulnerability for zero-day attacks.
(d) What is a one-way hash function? Briefly explain how they are used in a digital signature scheme in the area of computer security.
(a) Illustrate the difference between 'Call-by-value' and 'Call-by-reference' in a function with examples.
(b) Write a program in C language or in Java to calculate the factorial of an integer number using recursion.
(c) Differentiate between function overloading and function overriding with examples.
(d) An integer number can be reversed by separating the digits and placing them into another variable in opposite order. For example, if the integer number is 4567, then the reversed value is 7654. Write a function in a structured programming language to reverse an integer using the following function prototype:
int reverse_int (int num);
The variable 'num' contains the integer and the function returns the reverse value of 'num'.
(a) Distinguish between White Box and Black Box testing.
(b) Explain the principles of low coupling and high cohesion in software design.
(c) The following task must be performed in a software project.
| Task | Earliest Time | Most likely time | Latest time | Other Tasks that must precede the task |
|---|---|---|---|---|
| A | 35 | 50 | 65 | - |
| B | 30 | 40 | 50 | - |
| C | 15 | 20 | 25 | A |
| D | 35 | 45 | 55 | C |
| E | 15 | 20 | 30 | C |
| F | 15 | 25 | 30 | D |
| G | 05 | 11 | 15 | E |
| H | 25 | 35 | 45 | B, F, G |
Draw the precedence diagram and find the expected time of the software project completion using PERT method.
(a) Differentiate between stored procedure and trigger in Structured Query Language (SQL).
(b) What are the properties of a transaction? How concurrent transactions are managed? Explain any concurrency control mechanism.
(c) In a payroll management system, the salary of everyone working in a company is managed. The salary comprises several components, such as, basic, house rent (a certain percentage of basic), medical allowance, etc. and deductible components like PF contribution, insurance subscription etc. If an employee takes a loan, the repayment is adjusted at the beginning of the next month, basic of all employees are incremented following a rule which defines the percentage of increment. However, each salary grade has a maximum bound. The increment will be applicable within this bound. Draw an Entity Relationship (ER) diagram of this payroll management system.
(a) Discuss the causes and solutions of deadlock in operating systems.
(b) What is an expert system? Explain its components.
(c) Write down the algorithm for Breadth-First Search (BFS) in graph traversal.
(d) Discuss the significance of NP-Complete problems with examples.
Sign up free to see the model answers to written questions 1–9 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
(a) Differentiate between supervised and unsupervised learning.
(b) Present the KNN algorithm. What is the significance of the value of K in KNN algorithm?
(c) What are the limitations of k-means clustering? How can you minimize the limitations?
Model answer
(a) Supervised vs unsupervised learning
Supervised learning trains a model on labelled data (input–output pairs), so it learns a mapping from inputs to known outputs. Unsupervised learning trains on unlabelled data and finds hidden structure or groups on its own.
| Aspect | Supervised Learning | Unsupervised Learning |
|---|---|---|
| Training data | Labelled (input + correct output) | Unlabelled (input only) |
| Goal | Learn f(x) → y to predict labels or values | Discover structure, patterns or groups |
| Feedback | Explicit error signal (loss against the true label) | No explicit error signal |
| Typical tasks | Classification, regression | Clustering, dimensionality reduction, association |
| Example algorithms | Linear/Logistic Regression, Decision Tree, SVM, k-NN | K-means, hierarchical clustering, PCA, Apriori |
| Example use | Spam vs not-spam email | Customer segmentation from purchase history |
| Evaluation | Accuracy, precision/recall, RMSE against known labels | Silhouette score, inertia (no ground truth) |
(b) The KNN algorithm and the significance of K
k-Nearest Neighbours (KNN) is a supervised, non-parametric, instance-based ("lazy") algorithm. It builds no model during training; it simply stores the data and does all its work at prediction time.
Algorithm:
- Choose K and a distance measure, usually Euclidean: d = √((x₁ − x₂)² + (y₁ − y₂)²).
- Scale the features (e.g. min-max scaling) so that no feature dominates the distance.
- For a new point, compute its distance to every training point.
- Sort the distances and take the K nearest points.
- Classification: majority vote of their classes. Regression: average of their values.
Worked example: training points Red: (1,1), (2,2), (3,1), (2,4); Blue: (4,4), (6,5), (5,6), (7,7). New point Q = (4,3).
| Neighbour | Class | Distance from Q |
|---|---|---|
| (4,4) | Blue | 1.00 |
| (2,2), (3,1), (2,4) | Red | √5 ≈ 2.24 each |
| (6,5) | Blue | √8 ≈ 2.83 |
| (5,6) | Blue | √10 ≈ 3.16 |
- K = 1: the single nearest is Blue, so Q is Blue.
- K = 3: Blue + 2 Red, so Q is Red (2–1).
- K = 5: 2 Blue + 3 Red, so Q is Red (3–2).
The same point gets a different class as K changes, which shows why K matters.
Significance of K:
- Small K (e.g. 1): very flexible decision boundary, low bias but high variance. Sensitive to noise and outliers, so it tends to overfit.
- Large K: smoother boundary, high bias but low variance. It may underfit, and the majority class can dominate.
- Use an odd K in two-class problems to avoid tied votes.
- Choose K by cross-validation: plot error against K and pick the K with the lowest validation error. √n is a common starting guess.
- Distance-weighted KNN gives closer neighbours a bigger vote and reduces sensitivity to K.
Cost: prediction takes O(n·d) time per query (n points, d features), so KNN is slow on large datasets.
(c) Limitations of k-means clustering and how to minimise them
k-means picks K centroids, assigns each point to its nearest centroid, recomputes each centroid as the mean of its points, and repeats until the assignments stop changing. Its limitations:
| Limitation | How to minimise it |
|---|---|
| K must be chosen in advance | Elbow method (inertia against K), silhouette score, gap statistic |
| Sensitive to the initial centroids; may converge to a local optimum | k-means++ initialisation; run several times (n_init) and keep the lowest inertia |
| Sensitive to outliers (the mean is pulled towards them) | Remove or cap outliers first; use k-medoids (PAM) or k-medians |
| Assumes spherical, similar-sized, similar-density clusters | Use DBSCAN (arbitrary shapes), Gaussian Mixture Models (elliptical clusters) or spectral clustering |
| Depends on feature scale | Standardise or normalise features first |
| Works only on numeric data | k-modes for categorical data; k-prototypes for mixed data |
| Weak in high dimensions (distances lose meaning) | Reduce dimensions first with PCA |
| A cluster can become empty | Re-seed the empty centroid with a far-away point |
| Hard assignment: each point belongs to exactly one cluster | Soft clustering with GMM or fuzzy c-means |
Exam tip: for KNN, link K to the bias–variance trade-off and say "choose K by cross-validation"; for k-means, pair each limitation with its remedy (k-means++, elbow/silhouette, DBSCAN, scaling).
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
9 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ৯টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 10 syllabus chapters; ER Model & Design, CPU Organization and Functions & Recursion lead, with 1 each. ER Model & Design is asked in 101 other papers too (2015–2026).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- ER Model & Design Database · 101 other papers, 2015–20261
- CPU Organization Computer Architecture · 77 other papers, 2011–20261
- Functions & Recursion Programming · 60 other papers, 2016–20261
- Testing & Quality Software Engineering · 52 other papers, 2016–20261
- Boolean Algebra & K-Maps Digital Logic · 50 other papers, 2016–20261
- AI & Machine Learning Cloud & Emerging Tech · 49 other papers, 2017–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 46th BCS Technical Written exam?
- 10 written questions.
- Which subjects were asked most in the 46th BCS Technical Written exam?
- Cloud & Emerging Tech (1), Computer Architecture (1) and Cyber Security (1), out of 10 questions.
- Where can I find the 46th BCS Technical Written exam question solution?
- On this page: 1 of the 10 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