Chapter 3
Image Processing
TU BSc CSIT past exam questions
Past questions and answers
36 questions set from this chapter. Most repeated first.
- 2080 · 10 marks
Explain different steps in digital image processing. Define neighbor of a pixel. How do you find distances between pixels?
Answer
Fundamental steps in digital image processing
- Image acquisition: capturing the image with a sensor (camera, scanner) and converting it to digital form; includes preprocessing such as scaling.
- Image enhancement: improving the image for a specific purpose, e.g. contrast stretching, histogram equalisation, sharpening.
- Image restoration: removing degradation (blur, noise) using a model of how the image was degraded.
- Colour image processing: colour models (RGB, HSI, CMY) and processing of colour images.
- Wavelets and multiresolution processing: representing the image at several resolutions.
- Compression: reducing the storage or bandwidth needed (JPEG, run-length, Huffman).
- Morphological processing: extracting shape components using erosion, dilation, opening, closing.
- Segmentation: partitioning the image into objects or regions.
- Representation and description: converting segmented regions to boundary or region form and computing descriptors (area, perimeter, shape numbers).
- Recognition: labelling an object from its descriptors.
All steps interact with a knowledge base about the problem domain.
Neighbours of a pixel
For a pixel at :
- 4-neighbours : the horizontal and vertical neighbours .
- Diagonal neighbours : .
- 8-neighbours .
Pixels on the image border have fewer neighbours.
Distance between pixels
For and , a distance function satisfies (zero iff ), , and . Common measures:
- Euclidean:
- City-block (): (pixels with are the 4-neighbours)
- Chessboard (): (pixels with are the 8-neighbours)
Example: for , : , , .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 · 10 marks
Why do we need to enhance the image? How do you use histogram in image enhancement? Differentiate between log and power log transformation.
Answer
Why enhance an image?
Raw images often have poor contrast, noise, blur or uneven illumination. Enhancement processes an image so that the result is more suitable than the original for a specific application, by making details clearer to a human viewer or easier for later processing (segmentation, recognition). It does not add information; it emphasises existing features.
Histogram in image enhancement
The histogram of an image with grey levels is , the number of pixels with level ; the normalised histogram estimates the probability of that level. A dark image has a histogram concentrated at low levels, a bright one at high levels, and a low-contrast one is narrow.
- Histogram equalisation: apply the transformation which spreads the levels to a roughly uniform histogram and increases contrast automatically.
- Histogram specification (matching): transform the image so its histogram matches a chosen shape.
- Local histogram processing: equalise inside a sliding neighbourhood to enhance local detail.
- Histogram statistics (mean, variance) are also used to judge brightness and contrast.
Log vs power-law (gamma) transformation
| Log transformation | Power-law transformation |
|---|---|
| No adjustable shape parameter apart from | The exponent gives a family of curves |
| Expands dark values, compresses bright values | expands dark values (like log); compresses dark values and expands bright ones |
| Used to display Fourier spectra with a large dynamic range | Used for gamma correction of monitors and cameras, and general contrast manipulation |
| Inverse log does the opposite | Choose to suit a dark () or washed-out () image |
The log transform is effectively a special case of the power-law family with a fixed curve shape.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 · 10 marks
Explain the properties of fourier transform. Derive the relation for 1-D fast fourier transformation in spatial domain.
Answer
Properties of the Fourier transform
For the 2-D DFT pair of an image:
- Separability: the 2-D DFT is computed as two 1-D transforms, first along rows then along columns.
- Linearity: .
- Translation: ; a shift changes only the phase, not the magnitude. Also , which centres the spectrum.
- Periodicity: , and likewise in space.
- Conjugate symmetry: for real , , so .
- Rotation: rotating by rotates by the same angle.
- Scaling: .
- Convolution theorem: and .
- Average value: (the DC term is proportional to the mean).
- Parseval's (energy) relation: the total energy in space and frequency is equal.
Derivation of the 1-D fast Fourier transform (decimation in time)
The DFT of samples is
Direct evaluation needs complex multiplications. Take and split into even and odd samples, and , :
Since ,
and are -point DFTs of the even and odd samples. They are periodic with period , so for , using :
These two equations are the "butterfly". Applying the split recursively down to 2-point (then 1-point) transforms gives stages, each with butterflies and one multiplication each:
For this is 5120 versus about a million, a speed-up of about 200. The 2-D FFT applies the 1-D FFT to all rows and then to all columns.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 · 5 marks
Explain image degradation and restoration process.
Answer
Image degradation and restoration
Image restoration recovers an original image from a degraded version, using knowledge of the degradation process. Unlike enhancement (subjective), restoration is objective and model-based.
Degradation model
The input image is acted on by a degradation function (e.g. blur from motion, defocus or atmospheric turbulence) and then corrupted by additive noise :
In the frequency domain:
Restoration estimates from , knowledge of and the statistics of .
Restoration methods
- Noise only (): spatial filters (mean, median, order-statistics) and frequency-domain filters (band reject, notch) for periodic noise.
- Inverse filtering: . It is simple but fails where is small or zero, because noise is greatly amplified.
- Wiener (minimum mean-square-error) filtering: which balances deblurring and noise suppression.
- Constrained least squares filtering: needs only the noise variance and a smoothness constraint.
- Estimating : by observation of the image, by experiment (imaging a point source to get the impulse response) or by mathematical modelling.
Process summary: model the degradation, estimate and the noise, apply a suitable inverse-type filter, and evaluate the result.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 · 5 marks
Why do we need to remove noise? Discuss about median, max and min filter.
Answer
Why remove noise?
Noise is unwanted random variation in pixel values introduced during acquisition (sensor, low light, electronics) or transmission. It hides detail, degrades visual quality, produces false edges and errors in segmentation, feature extraction and recognition, and lowers compression efficiency. Removing it improves both appearance and the accuracy of later processing.
Order-statistics filters
These replace the centre pixel of a window by a value chosen from the ranked (sorted) pixel values in the window. They are non-linear.
- Median filter: . It removes salt-and-pepper (impulse) noise very well while blurring edges much less than a mean filter of the same size. Example: window sorted is and the median is 12.
- Max filter: . It finds the brightest points and reduces pepper (dark) noise, but brightens the image and enlarges bright objects.
- Min filter: . It finds the darkest points and reduces salt (white) noise, but darkens the image and enlarges dark objects.
Median is the best general choice for impulse noise; max and min are used when only one polarity of impulse is present.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 · 5 marks
Define image segmentation. Explain the three basic types of grey level discontinuities detection.
Answer
Image segmentation
Segmentation partitions an image into regions so that the regions cover the image, are connected, do not overlap, each region satisfies a predicate (e.g. similar intensity), and adjacent regions differ. It subdivides an image into its objects and is the key step before representation and recognition. Segmentation methods are based on discontinuity (edges, points, lines) or similarity (thresholding, region growing).
Three basic grey-level discontinuities
All are detected by running a mask over the image and computing the response , a weighted sum of the 3x3 neighbourhood. A pixel is marked if .
-
Point detection: an isolated point differs sharply from its neighbours. Mask (Laplacian-type): The response is near zero in flat regions and large at an isolated point.
-
Line detection: four masks detect lines at different orientations: The mask with the largest response gives the line direction.
-
Edge detection: an edge is a set of connected pixels on the boundary between two regions with different grey levels. It is found using derivatives. The first derivative (gradient) has magnitude , computed with Prewitt or Sobel masks; edges are where the magnitude is high. The second derivative (Laplacian, Laplacian of Gaussian) has a zero crossing at an edge.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 · 5 marks
How band reject filters are used to remove periodic noise? Explain.
Answer
Periodic noise
Periodic noise comes from electrical or electromechanical interference during acquisition. It appears as a regular sinusoidal pattern added to the image. In the Fourier spectrum it shows up as concentrated bright spikes (impulses) at the noise frequencies, which makes it easy to remove in the frequency domain.
Band reject filter
A band reject filter attenuates (or removes) frequencies inside a band around a radius from the origin of the (centred) spectrum, with width , and passes everything else. Since periodic noise spikes lie in a ring at radius about , the filter suppresses them while leaving the rest of the image content.
Ideal band reject filter:
Butterworth (order ):
Gaussian:
where .
Procedure
- Compute the DFT of the noisy image and centre it.
- Inspect the spectrum to find the radius and the width covering the noise spikes.
- Multiply by : .
- Take the inverse DFT (and undo the centring) to get the restored image.
Ideal filters cause ringing, so Butterworth or Gaussian types are preferred. If the noise is at only a few points, notch reject filters (a narrow band reject at single locations) lose less image information.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 · 5 marks
Describe the algorithm for region splitting and merging in brief.
Answer
Region splitting and merging
Region growing starts from seed points; splitting and merging instead starts from the whole image, subdivides it, and then merges similar neighbours, and so needs no seeds.
Let be the entire image and a predicate that is TRUE when a region is homogeneous (e.g. , or all pixels within a given variance).
Algorithm
- Initial split: if is FALSE, split the image into four disjoint quadrants.
- Recursive splitting: for every region with FALSE, split it into four quadrants again. Continue until every region is homogeneous or reaches the minimum size (single pixel). The result is a quadtree.
- Merging: examine adjacent regions and ; if is TRUE, merge them into one region.
- Stop when no further merging is possible.
Splitting and merging can be done together (merge only when the union satisfies ).
Example. An 8x8 image with a bright object on a dark background fails as a whole and is split into four 4x4 quadrants. Quadrants that contain only background pass and are kept; the quadrant containing the object edge is split again into 2x2 blocks. Finally adjacent homogeneous background blocks are merged into one background region and object blocks into one object region.
Properties: it is a top-down then bottom-up method, gives regions whose boundaries are aligned with quadtree blocks (hence blocky boundaries) and depends on the choice of predicate .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 · 5 marks
Explain how interpixel redundancy can be identified and exploited.
Answer
Interpixel redundancy
Interpixel (spatial or temporal) redundancy exists because the value of a pixel can be predicted fairly well from its neighbours: adjacent pixels are correlated, so each pixel carries little new information. Coding each pixel independently, as in a fixed-length code, wastes bits.
Identification
- Autocorrelation: compute the normalised autocorrelation along a row, for example High values of for small shifts (decaying slowly) show strong correlation, i.e. interpixel redundancy.
- The grey-level histogram may be identical for two images, yet their autocorrelation differs, showing redundancy that the histogram (coding redundancy) cannot reveal.
Exploitation (removal)
The 2-D pixel array is transformed into a more efficient representation, a mapping, which is usually reversible:
- Run-length coding: a run of identical pixels is stored as (value, length). E.g.
0000 1111 1100becomes . Effective for binary and graphic images. - Predictive (differential) coding: store the difference from the predicted value (e.g. the previous pixel); the differences are small and concentrated near zero, which a variable-length code such as Huffman codes in fewer bits.
- Transform coding: transform blocks (DCT as in JPEG) so that energy is packed into a few coefficients.
- Bit-plane coding: code each bit plane separately, since higher planes are highly correlated.
The mapped data are then coded with a variable-length code to achieve compression.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 · 5 marks
Explain erosion with an example.
Answer
Erosion
Erosion is a morphological operation that shrinks or thins objects in a binary image. For an image and a structuring element , both sets in :
The result is the set of all positions of the origin of such that , translated to , lies completely inside . In practice, slide over the image; the output pixel is 1 only if every 1-pixel of lies over a 1-pixel of .
Effects: objects get smaller, small objects and thin protrusions (noise) disappear, holes get larger, and objects joined by thin bridges are separated. It is the dual of dilation: .
Example. Let be a 3x3 square of ones (origin at the centre) and let contain a 4x5 block of ones (rows 1-4, columns 1-5 below) plus a single stray pixel:
0 0 0 0 0 0 0 0
0 1 1 1 1 1 0 0
0 1 1 1 1 1 0 0
0 1 1 1 1 1 0 1
0 1 1 1 1 1 0 0
0 0 0 0 0 0 0 0
A pixel survives only if its whole 3x3 neighbourhood is 1. Only the interior pixels of the block satisfy this: rows 2-3 and columns 2-4. The isolated pixel at the right has no full neighbourhood and vanishes.
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 1 1 1 0 0 0
0 0 1 1 1 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
The 4x5 block is reduced to 2x3, i.e. shrunk by one pixel on every side, and the noise pixel is removed. Erosion is used for noise removal, and with dilation forms opening, .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 · 5 marks
How signature is used in boundary representation? What does shape number mean? Explain.
Answer
Signature. A signature is a 1-D functional representation of a 2-D boundary. The boundary is converted into a function of one variable, which is easier to describe than the original curve. The most common signature plots the distance from the centroid to the boundary points against the angle .
- A circle gives a constant .
- A square gives a periodic function that repeats four times with peaks at the corners.
- Properties are then read from the 1-D plot, such as the number of peaks, the maximum and minimum, and the variance.
- The signature is invariant to translation. It is made invariant to scale by normalising to the range . It is made invariant to rotation by always starting at the farthest point from the centroid.
Shape number. The shape number is a descriptor derived from the chain code of the boundary.
- Write the 4- or 8-directional chain code of the boundary.
- Take the first difference: the number of counter-clockwise direction changes between consecutive code elements (circular, mod 4 or mod 8). This makes the code rotation invariant.
- Circularly rotate the difference sequence so that it forms the integer of minimum magnitude. This integer is the shape number.
Example: for the 4-directional chain code the first difference is found element by element as (the first element uses the last), and the sequence is then rotated to its minimum value. The first difference is and the minimum circular rotation, the shape number, is (order 10).
The number of digits is the order of the shape. Two shapes with the same order and the same shape number are the same shape irrespective of orientation. The order also measures how closely the shape matches a given rectangle.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 · 5 marks
Define pattern and pattern class. How do you detect foreground and background of the image? Explain.
Answer
Pattern. A pattern is an arrangement of descriptors (features) that represents an object, for example a vector of measurements such as area, perimeter and mean intensity.
Pattern class. A pattern class is a family of patterns that share common properties. Classes are denoted , for example the classes of digits 0 to 9 or of letters. Pattern recognition assigns an unknown pattern to one of these classes.
Detecting foreground and background. The usual approach is thresholding-based segmentation:
- Compute the histogram of the grey levels. An image with a bright object on a dark background (or the reverse) has a bimodal histogram, with one mode for the background and one for the object.
- Choose a threshold in the valley between the modes. can be chosen manually, by the iterative global method, or automatically by Otsu's method, which maximises the between-class variance.
- Apply the threshold:
Pixels with form the foreground (object) and pixels with form the background. When illumination is uneven, a local or adaptive threshold is used instead, computing in each small neighbourhood. The binary result can be cleaned with morphological opening and closing, and connected-component labelling then separates individual objects.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 10 marks
Define linear filter. Given the following histogram of image, stretch to the whole dynamic range using histogram equalization.
Gray Level 0 1 2 3 4 5 6 7 Frequency 0 25 0 10 35 50 0 0
Answer
Linear filter. A spatial filter is linear if its output is a weighted sum of the pixels in the neighbourhood, so that it obeys superposition: . For a mask,
Examples are the averaging (mean) filter, the Gaussian filter and the Laplacian. Median and max filters are non-linear.
Histogram equalisation. Here (grey levels 0 to 7) and the total number of pixels is . The mapping is
| CDF | CDF | ||||
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 25 | 0.2083 | 0.2083 | 1.458 | 1 |
| 2 | 0 | 0 | 0.2083 | 1.458 | 1 |
| 3 | 10 | 0.0833 | 0.2917 | 2.042 | 2 |
| 4 | 35 | 0.2917 | 0.5833 | 4.083 | 4 |
| 5 | 50 | 0.4167 | 1.0000 | 7.000 | 7 |
| 6 | 0 | 0 | 1.0000 | 7 | 7 |
| 7 | 0 | 0 | 1.0000 | 7 | 7 |
Equalised histogram:
| Gray level | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|---|
| Frequency | 0 | 25 | 10 | 0 | 35 | 0 | 0 | 50 |
The original levels are spread to , so the occupied grey levels now reach the top of the dynamic range (7). The total count is still . A discrete histogram cannot become perfectly flat, but the contrast is clearly stretched.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 10 marks
Write expression for forward and inverse Discrete Fourier Transform (DFT) for 2D signal. What are the properties of DFT?
Answer
Forward 2-D DFT. For an image :
Inverse 2-D DFT.
(The factor may instead be placed in the forward transform, or in both.)
Properties of the DFT.
- Separability. The 2-D DFT is computed as two 1-D DFTs: first along rows, then along columns. This reduces the cost and allows the FFT to be used.
- Linearity. .
- Translation. . Only the phase changes, so the magnitude spectrum is unchanged. Also . Multiplying by shifts the origin to the centre .
- Periodicity. , and likewise in the spatial domain.
- Conjugate symmetry. For real , , so . The spectrum is symmetric about the origin.
- Rotation. Rotating by rotates by the same angle.
- Scaling. . Compressing in space expands the spectrum.
- Average value. , the DC term.
- Convolution theorem. and . This is the basis of frequency-domain filtering.
- Parseval (energy conservation). .
- Distributivity. The DFT distributes over addition but not over multiplication.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 10 marks
Briefly list any two noise models. From the following probability distribution construct the Huffman Code for each gray level.
rk 0 1 2 3 4 5 P(rk) 0.4 0.18 0.1 0.25 0.7 0.05
Answer
Noise models. Two common noise models are the following.
- Gaussian noise. The noise intensity has the PDF . It models electronic circuit noise and sensor noise at low light.
- Salt-and-pepper (impulse) noise. Pixels randomly take the minimum value (pepper, probability ) or the maximum value (salt, probability ). It is caused by faulty switching or transmission errors and is removed well by a median filter.
Others are Rayleigh, gamma (Erlang), exponential and uniform noise.
Huffman coding. The value for is taken as . Huffman coding depends only on the relative weights, so the construction is the same either way.
Sorted weights: , , , , , .
Source reduction:
| Step | Symbols (sorted) | Combined |
|---|---|---|
| 1 | 0.40, 0.25, 0.18, 0.10, 0.07, 0.05 | |
| 2 | 0.40, 0.25, 0.18, 0.12, 0.10 | |
| 3 | 0.40, 0.25, 0.22, 0.18 | |
| 4 | 0.40, 0.40, 0.25 | |
| 5 | 0.65, 0.40 | root |
Assigning 0/1 back along the tree gives:
| Code | Length | ||
|---|---|---|---|
| 0 | 0.40 | 0 | 1 |
| 3 | 0.25 | 10 | 2 |
| 1 | 0.18 | 110 | 3 |
| 2 | 0.10 | 1110 | 4 |
| 4 | 0.07 | 11110 | 5 |
| 5 | 0.05 | 11111 | 5 |
Average length with the given weights (total 1.05):
A fixed-length code needs 3 bits/symbol, so the Huffman code saves about 23%. The code is prefix-free, so it is uniquely decodable.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 5 marks
Define region and boundary. List some elements of visual perception.
Answer
Region. A region is a connected subset of the image's pixels, all of which satisfy a common property such as similar intensity, colour or texture. It is a connected set of pixels in which every pixel can be reached from any other through neighbouring pixels of the set. Regions are the result of region-based segmentation.
Boundary (border). The boundary of a region is the set of pixels in that have at least one neighbour outside . It is the contour that separates the region from its background or from adjacent regions. Boundaries are found by edge detection or by contour tracing, and are described with chain codes, signatures and so on.
Elements of visual perception.
- Structure of the human eye. The cornea, lens, iris and pupil focus light onto the retina. The retina contains cones (photopic, colour, fine detail) and rods (scotopic, low light).
- Image formation in the eye. The lens changes its focal length to focus objects on the retina.
- Brightness adaptation. The eye adapts over a very large range of intensities, but only a small range can be discriminated at one time.
- Brightness discrimination (Weber ratio). The just-noticeable change in intensity relative to the background intensity.
- Simultaneous contrast. The perceived brightness of a region depends on its surroundings.
- Mach bands. Overshoot or undershoot is perceived near sharp intensity edges.
- Optical illusions.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 5 marks
What are implications of periodicity and symmetry? Discuss about lossless predictive model.
Answer
Implications of periodicity and symmetry (Fourier transform).
- Periodicity. The DFT is periodic: . The transform of the image therefore repeats, and the image itself is implicitly treated as periodic. As a result:
- One period of values is enough to describe the transform.
- The DC (low-frequency) terms sit at the corners of the array. Multiplying by moves the origin to the centre so that the spectrum is displayed as one complete period.
- Convolution through the DFT is circular, so the images must be zero-padded to avoid wrap-around error.
- The sharp discontinuity between opposite image borders causes leakage, which appears as streaks along the axes.
- Symmetry. For a real image, , so the magnitude is even and the phase is odd. Consequently:
- Only about half of the spectrum needs to be computed or stored, because the other half is its conjugate.
- The spectrum is symmetric about the origin.
- Filter transfer functions are made symmetric so that the filtered image remains real.
Lossless predictive coding. This removes interpixel redundancy by coding only the new information in each pixel. It needs no quantiser, so the reconstruction is exact.
- The predictor estimates the current pixel from previous pixels: . For example, (previous pixel).
- The prediction error is .
- The encoder sends with a variable-length code such as Huffman. Because errors are concentrated near zero, the error histogram has low entropy and needs fewer bits than the raw pixels.
- The decoder uses the same predictor and rebuilds exactly.
Example: for the row 100, 102, 103, 103, 101 the errors are 100 (first pixel), 2, 1, 0, .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 5 marks
Describe Chain Codes with necessary examples. How can you make chain code rotation and scaling invariant?
Answer
Chain codes. A chain code represents a boundary as a connected sequence of straight-line segments of fixed length and direction. Starting from a chosen point, the boundary is traced (usually clockwise) and each step is coded by its direction number.
- 4-directional code: 0 = right, 1 = up, 2 = left, 3 = down.
- 8-directional code: 0 = east, 1 = north-east, 2 = north, 3 = north-west, 4 = west, 5 = south-west, 6 = south, 7 = south-east.
Example: a square traced anticlockwise from its lower-left corner (right, up, left, down) has the 4-directional chain code . A square traced the same way gives .
Chain codes are compact, but they have three drawbacks. The code depends on the starting point, on the orientation (rotation), and on the scale (sampling grid).
Making the code invariant.
- Starting point. Treat the code as a circular sequence and rotate it so that it forms the integer of minimum magnitude.
- Rotation. Use the first difference. Count the number of counter-clockwise direction changes between consecutive elements (mod 4 or mod 8). For the code (4-directional) the first difference is (taking the last element as the predecessor of the first). It does not change when the boundary is rotated by multiples of 90 degrees (45 degrees for the 8-directional code).
- Scaling. Resample the boundary onto a coarser or finer grid of a fixed size (for example, the same number of boundary points or the same grid spacing) before coding, so that objects of different size give the same code.
- Combining the minimum-magnitude rotation with the first difference gives the shape number, which is invariant to both starting point and rotation.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 5 marks
How vertical lines and horizontal lines are detected? Illustrate with an example.
Answer
Lines are detected by convolving the image with a mask that responds most strongly to a thin line of one orientation. The mask coefficients sum to zero, so flat regions give zero response.
Masks.
Horizontal line:
Vertical line:
(The masks are similar.) The response at a point is . A point belongs to a line if for a chosen threshold . When all four masks are applied, the line orientation is that of the mask giving the largest .
Example. Take a region containing a vertical one-pixel-wide line of intensity 10 on a background of 0:
- Vertical mask: . This is a strong response.
- Horizontal mask: the first and last rows give each and the middle row gives , so .
Only the vertical mask responds, so the line is detected as vertical. Thresholding then marks the line pixels.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 5 marks
Write the algorithm for basic global thresholding.
Answer
Basic global thresholding picks one threshold for the whole image, found iteratively from the histogram.
Algorithm.
- Select an initial estimate of , for example the mean intensity of the image, or the average of its minimum and maximum grey levels.
- Segment the image with . This divides the pixels into two groups: (pixels with intensity ) and (pixels with intensity ).
- Compute the mean intensities of and of .
- Compute the new threshold .
- Repeat steps 2 to 4 until the difference between successive values of is smaller than a predefined parameter .
- Segment the image with the final :
The method works well when the histogram is clearly bimodal and illumination is uniform. With uneven illumination, adaptive or Otsu's thresholding is used instead.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 5 marks
How do you represent image in spatial domain? Differentiate between intensity level and bit plane slicing.
Answer
Spatial-domain representation. A digital image is a 2-D function sampled on a grid, represented as an matrix:
Here are the spatial coordinates (row, column) and is the intensity (grey level), an integer from to for a -bit image. Spatial-domain processing works directly on the pixels: .
Intensity level slicing and bit-plane slicing.
| Intensity level slicing | Bit-plane slicing |
|---|---|
| Highlights a specific range of grey levels . | Splits an 8-bit image into 8 binary images, one for each bit. |
| The range is given a high value and the rest is either suppressed or left unchanged. | Plane 7 is the most significant bit and plane 0 is the least significant. |
| Used to highlight features such as water bodies in satellite images or defects in X-rays. | Used to find which bits matter for the visual content, and for image compression. |
| Output is a grey-level or binary image of the same size. | Higher planes (7, 6, 5) contain most of the visual information. The lower planes contain fine detail and noise. |
| Based on the intensity value in the chosen range. | Based on the binary digit of each pixel. |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 5 marks
What is pattern recognition? Discuss about Mexican Hat Filters.
Answer
Pattern recognition. Pattern recognition is the automatic assignment of an unknown pattern (a feature vector extracted from an image or signal) to one of a set of known pattern classes. The steps are image acquisition and pre-processing, segmentation, feature extraction, and classification (decision theoretic or structural). Examples are character recognition, face recognition and fingerprint identification.
Mexican hat filter. The Mexican hat is the Laplacian of Gaussian (LoG) filter. Its name comes from the shape of its 2-D profile, which looks like a sombrero.
(sometimes defined with a negative sign, which gives the "hat" shape facing upward). It has a positive centre and a negative surrounding ring, and its coefficients sum to zero.
- It first smooths the image with a Gaussian (the scale controls the amount of smoothing and the size of the features detected), then applies the Laplacian. This reduces the Laplacian's noise sensitivity.
- Edges are located at the zero crossings of the output.
- In pattern recognition it is used for blob detection, edge detection and as a matched filter for feature detection at a given scale. It is also close to the way the human retina's receptive fields respond (centre-surround).
- A typical approximation is
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 5 marks
What are the usages of derivative based filters? Derive mask for Laplacian second order derivative based filter.
Answer
Usage of derivative-based filters. Derivative filters respond to changes in intensity, so they are used for:
- Image sharpening and enhancement of fine detail (Laplacian, unsharp masking).
- Edge detection (first derivative: Sobel, Prewitt, Roberts; second derivative: Laplacian, LoG).
- Detecting isolated points and thin lines.
- Feature extraction for segmentation and recognition.
The first derivative is non-zero along ramps and at steps and gives thick edges. The second derivative responds strongly to fine detail, gives a double response at edges, and is zero in flat areas and along ramps.
Laplacian mask. The Laplacian is isotropic: .
The discrete second derivative in each direction is
Adding them:
The mask is therefore
Including the diagonal terms gives the 8-neighbour version with centre and all eight neighbours . The sign-reversed versions have centre (or ) and neighbours . For sharpening, is used with the negative-centre mask and with the positive-centre mask.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 · 5 marks
Show that the points (1,1), (-2,7) and (3,3) are collinear using Hough Transform and find the equation of the line.
Answer
Hough transform (slope-intercept form). A point lies on the line if . Each image point becomes a line in the parameter space. Points that are collinear in the image give lines in parameter space that all intersect at one point , which gives the line they share.
The third point is . With as printed, the three points are not collinear (the line through and gives at ), so the question's third point is read as .
Parameter-space lines.
- :
- :
- :
Intersection of the first two:
Check with the third: . The third line also passes through .
All three lines in parameter space meet at the single point , so the three image points are collinear.
Equation of the line:
Check: : yes. : yes. : yes.
Because the vertical lines cannot be represented by , the normal form is used in practice, and the accumulator cell with the most votes gives the line.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 10 marks
Distinguish between high frequency emphasis filter and Laplacian filter. Find the output of the following image using histogram equalization, where number of possible gray levels is 8.
3 3 3 3 3 2 3 4 3 2 2 4 4 4 2 2 3 4 3 2 3 3 3 3 3
Answer
High frequency emphasis filter versus Laplacian filter.
| High frequency emphasis filter | Laplacian filter |
|---|---|
| Frequency-domain filter: with , . | Second-derivative filter, applied in the spatial domain (or as in the frequency domain). |
| Adds a fraction of the high-pass result back to the original, so the low frequencies are kept. | Output has only the detail (edges, points); the low frequencies are removed. |
| Sharpens and keeps the overall appearance and background. | Needs the original image to be added back () to give a sharpened image. |
| Parameters and allow control of the amount of sharpening. | Fixed mask, no parameter. |
| Used on images where the high-pass result is too dark, such as X-rays, with equalisation afterwards. | Isotropic, sensitive to noise. |
Histogram equalisation. The image has 25 pixels with levels.
Counts: level 2 occurs 6 times, level 3 occurs 14 times, level 4 occurs 5 times (6 + 14 + 5 = 25).
| CDF | CDF | ||||
|---|---|---|---|---|---|
| 2 | 6 | 0.24 | 0.24 | 1.68 | 2 |
| 3 | 14 | 0.56 | 0.80 | 5.60 | 6 |
| 4 | 5 | 0.20 | 1.00 | 7.00 | 7 |
Levels 0, 1, 5, 6, 7 do not occur. The mapping is , , .
Output image:
| 6 | 6 | 6 | 6 | 6 |
|---|---|---|---|---|
| 2 | 6 | 7 | 6 | 2 |
| 2 | 7 | 7 | 7 | 2 |
| 2 | 6 | 7 | 6 | 2 |
| 6 | 6 | 6 | 6 | 6 |
The grey levels 2, 3 and 4 are spread out to 2, 6 and 7, so the contrast of the image increases.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 10 marks
Define noise. Explain the models for image degradation and restoration process.
Answer
Noise. Noise is an unwanted random variation of pixel intensity that is not part of the true scene. It is introduced during acquisition (sensor noise, low light, temperature), transmission (channel errors) or digitisation. Common types are Gaussian, salt-and-pepper (impulse), Rayleigh, gamma, exponential and uniform noise, and periodic noise caused by electrical interference.
Degradation model. Image degradation is modelled as a degradation function followed by additive noise :
where is the original image, is the observed (degraded) image, is the point spread function, such as motion blur or defocus, and is spatial convolution. In the frequency domain:
Restoration model. Restoration finds an estimate of the original image, using knowledge of and of the noise statistics, by applying a restoration filter:
- Only noise present (): . Spatial filters are used: mean (arithmetic, geometric, harmonic, contraharmonic), median, max, min, midpoint and alpha-trimmed mean filters. Periodic noise is removed in the frequency domain with band-reject, band-pass and notch filters.
- Inverse filtering: . It fails where is small or zero because the noise is amplified.
- Wiener (minimum mean square error) filtering:
where and are the power spectra of the noise and the original image. It balances de-blurring against noise suppression and, when the noise-to-signal ratio is replaced by a constant , it is the parametric Wiener filter.
- Constrained least squares filtering uses only the noise mean and variance, and gives a smoothness-constrained estimate.
- The degradation function is obtained by observation, by experiment or by mathematical modelling (for example, uniform linear motion or atmospheric turbulence).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 10 marks
What are the differences between spatial domain and frequency domain? Compute the 2D DFT of the following image.
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Answer
Spatial domain versus frequency domain.
| Spatial domain | Frequency domain |
|---|---|
| Works directly on pixel intensities . | Works on the Fourier transform of the image. |
| Operations are point processing or neighbourhood masks: . | Operations multiply the transform by a filter: . |
| Describes where the intensity is. | Describes how quickly the intensity changes (rate of change, frequency content). |
| Convolution with a mask. | Simple multiplication (convolution theorem). |
| Cheaper for small masks. | Cheaper for large filters, using the FFT. |
| Smoothing and sharpening are done by averaging and differencing. | Low-pass, high-pass and band filters are designed directly, and periodic noise is easily removed. |
2-D DFT of the all-ones image. With ,
Since for all pixels, this factors into two 1-D sums:
For the sum is . For it is a sum of the fourth roots of unity, and equals (for : ). So only when :
(With the factor placed in the forward transform, .) The image is a constant, so all its energy is in the DC term (the average intensity times ), and there are no higher frequencies.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 5 marks
Discuss about chain code. Write the shape number of the object having chain code {0, 7, 5, 4, 3, 1}.
Answer
Chain code. A chain code describes a boundary as a sequence of connected straight-line segments of fixed length and specified direction. Starting at a chosen point and moving around the boundary, each step is coded by its direction number: the 4-directional code uses 0 to 3 and the 8-directional code uses 0 to 7 (0 = east, 1 = north-east, 2 = north, 3 = north-west, 4 = west, 5 = south-west, 6 = south, 7 = south-east). It is compact and suited to shape analysis, but it depends on the starting point and on rotation. The first difference (counter-clockwise direction changes, mod 4 or mod 8) removes the dependence on rotation, and rotating the result to the minimum integer removes the dependence on the starting point. The result is the shape number.
Shape number of (8-directional).
Check the boundary is closed: the steps are , whose sum is .
First difference , with the first element compared to the last:
| 1 | 0 | 1 | |
| 2 | 7 | 0 | 7 |
| 3 | 5 | 7 | |
| 4 | 4 | 5 | 7 |
| 5 | 3 | 4 | 7 |
| 6 | 1 | 3 | 6 |
First difference: .
Circular rotations: , , (then repeats). The smallest is .
Shape number (order 6).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 5 marks
How logic operation on binary images can be used for masking and feature detection? Explain.
Answer
Logic operations (AND, OR, NOT, XOR) work pixel by pixel on binary images, where 1 is foreground (white) and 0 is background (black). They are used for masking and feature detection.
Masking (region of interest). To extract a region of interest from an image, a binary mask is created with 1 inside the region and 0 elsewhere.
- AND of the image with the mask keeps the pixels inside the region and sets the rest to 0: .
- OR with the complement of the mask sets the area outside the region to white.
- NOT inverts a binary image (foreground becomes background), which is used to obtain the complement of an object or mask.
Example: if and then . Only the pixels inside the mask survive.
Feature detection and comparison.
- Template matching. The AND of an image with a template shows where the two overlap. The count of 1 pixels in the result measures the match.
- Change detection. XOR of two images of the same scene taken at different times marks the pixels that changed. The result is 1 where exactly one of the two pixels is 1.
- Overlap and union of objects. AND finds the intersection of two objects and OR gives their union. A AND (NOT B) gives the part of A that is not in B.
- Morphology. Logic operations are the basis of morphological operations such as erosion (all pixels under the structuring element must be 1, an AND) and dilation (any pixel under the structuring element is 1, an OR), which are used for noise removal, boundary extraction and shape detection.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 5 marks
Define pattern and pattern class. How decision theoretic methods minimize the probability of misclassification?
Answer
Pattern. A pattern is an arrangement of descriptors (features) used to represent an object. It is usually a feature vector in -dimensional space.
Pattern class. A pattern class is a family of patterns that share some common properties. Classes are written , where is the number of classes. Pattern recognition assigns an unknown pattern to one of these classes.
Decision theoretic methods. They use decision (discriminant) functions , one for each class, and assign to if
Minimising the probability of misclassification (Bayes classifier). Let be the class-conditional density and the prior probability. Classifying as when it actually belongs to has a loss . Under the 0-1 loss function (no loss for a correct decision, loss 1 for a wrong one), the average loss is the probability of error. It is smallest if the decision functions are
so is assigned to the class with the greatest posterior probability. This makes the average error as small as possible. For Gaussian classes the logarithm is used:
where is the mean vector and the covariance matrix of class . If the covariances are equal and the priors are equal, this reduces to the minimum-distance classifier . Other decision-theoretic methods are correlation matching and neural networks.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 5 marks
Given the following image, detect the edge using magnitude and direction of gradient, using Prewitt operator.
0 30 60 5 32 62 10 38 64
Answer
Prewitt operator. For a neighbourhood (row by row), the Prewitt masks are
is the change down the rows, and is the change across the columns.
Image:
| 0 | 30 | 60 |
|---|---|---|
| 5 | 32 | 62 |
| 10 | 38 | 64 |
Gradients at the centre pixel.
Magnitude:
(the approximation is also used).
Direction of the gradient:
measured from the column (horizontal) axis, so the gradient points almost along the columns, from left to right. The edge is perpendicular to the gradient: , which is nearly vertical.
Since the magnitude is large (about 172 compared with an intensity range of 0 to 64), the centre pixel is an edge point for any reasonable threshold. The intensity increases strongly from left to right, so there is a vertical edge, consistent with the data.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 5 marks
What is image segmentation? How do you detect horizontal and vertical line?
Answer
Image segmentation. Image segmentation subdivides an image into its constituent regions or objects, so that each region is homogeneous in some property and different regions are distinct. The level of subdivision depends on the problem, and stops when the objects of interest have been isolated. It is based on discontinuity (edges, points and lines) or on similarity (thresholding, region growing, region splitting and merging).
Detecting horizontal and vertical lines. A thin line is a sharp intensity change over one or two pixels. It is detected by convolving the image with a mask that has a high positive centre line and negative surroundings, with coefficients summing to zero:
The response is , and a pixel is marked as a line pixel if for a threshold . For example, for the region with a vertical line of intensity 10 on a background of 0, the vertical mask gives while the horizontal mask gives , so the line is vertical. When all four orientation masks are applied, the mask with the largest gives the orientation of the line.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 5 marks
Describe the steps in digital image processing.
Answer
The fundamental steps in digital image processing are as follows.
- Image acquisition. The image is captured by a sensor and digitised. It may include pre-processing such as scaling.
- Image enhancement. The image is improved for a specific application, for example by contrast stretching, histogram equalisation and sharpening. It is subjective.
- Image restoration. The image is recovered from known degradation (blur, noise), using mathematical models. It is objective.
- Colour image processing. Colour models (RGB, HSI) are used for processing colour images.
- Wavelets and multiresolution processing. The image is represented at several resolutions, which is the basis for compression and pyramids.
- Compression. The storage or transmission size is reduced (JPEG, Huffman, run-length).
- Morphological processing. Tools such as erosion and dilation extract image components that describe shape.
- Segmentation. The image is partitioned into objects and background. This is one of the hardest steps.
- Representation and description. Segmented data is represented as a boundary or a region and described by features (chain codes, signatures, moments).
- Object recognition. A label is assigned to an object based on its descriptors.
All the steps interact with the knowledge base, which holds what is known about the problem domain and guides the processing. The output of the first stages is an image, and the output of the later stages is image attributes.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 5 marks
How do you measure distance between pixels? Discuss about region oriented segmentation.
Answer
Distance between pixels. For pixels and , a valid distance function has , and . Common measures are:
- Euclidean distance: .
- City-block (Manhattan, ) distance: . Pixels with are the 4-neighbours.
- Chessboard () distance: . Pixels with are the 8-neighbours.
For and : , , .
Region-oriented segmentation. It finds regions directly using similarity, instead of finding boundaries. The segmentation partitions into such that each is connected, the regions are disjoint, their union is , a predicate (for example, all pixels have similar intensity) is true for each region, and is false for adjacent regions.
Region growing.
- Choose seed pixels.
- Add to each seed's region the neighbouring pixels whose property is similar (for example, intensity difference below a threshold ).
- Repeat until no more pixels can be added. Stop when no pixel satisfies the criterion.
Region splitting and merging.
- Start with the whole image as one region.
- Split any region for which is false into four quadrants (a quadtree).
- Merge adjacent regions whenever is true.
- Stop when no further splitting or merging is possible.
Region-based methods are more robust to noise than edge-based methods, but they depend on the seeds and the predicate, and they are computationally costly.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 5 marks
Define clipping and contrast stretching. Compute Hadamard transform of the data sequence {1, 2, 0, 3}.
Answer
Clipping. Clipping is a special case of contrast stretching in which the slope outside the range of interest is zero. Grey levels below are set to 0 and levels above are set to a maximum value, while the levels between and are scaled:
It removes unwanted low and high intensities (noise) but loses the information at the ends.
Contrast stretching. It expands a narrow range of input grey levels to the full output range, to increase contrast. A piecewise linear transformation with control points and is used. For , , and , it becomes
Hadamard transform of . For the Hadamard matrix is
Row by row:
So the unnormalised transform is , and with the factor it is
Check by the inverse ( with the factor in the forward transform): the first sample is , as required.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 · 5 marks
Distinguish between forward and inverse transform. Define pixel coding, run length and bit plane.
Answer
Forward and inverse transform
A forward transform maps an image from the spatial domain into a set of coefficients in a transform domain (DFT, DCT, Walsh-Hadamard, wavelet):
An inverse transform reconstructs the image from those coefficients:
| Forward transform | Inverse transform |
|---|---|
| Spatial domain to transform domain | Transform domain back to spatial domain |
| Uses forward kernel | Uses inverse kernel |
| Used at the encoder: energy is packed into a few coefficients which are then quantised and coded | Used at the decoder to rebuild the image |
| Example: DCT in JPEG compression | Example: IDCT in JPEG decompression |
Pixel coding. Each pixel (or a group of pixels) is represented by a code word. Examples are fixed-length natural binary coding of gray levels, and variable-length coding such as Huffman, where frequent gray levels get shorter codes, which reduces coding redundancy. In predictive pixel coding only the difference from a predicted value is coded.
Run-length coding. A run of identical consecutive pixel values is replaced by a pair (value, run length). It removes inter-pixel (spatial) redundancy and works best on binary or few-level images. For example, the row 0 0 0 0 1 1 0 0 0 becomes (0,4)(1,2)(0,3).
Bit-plane coding. An 8-bit image is decomposed into eight 1-bit planes, from plane 0 (least significant bit) to plane 7 (most significant bit). The higher planes hold most of the visual information and have large uniform regions, so each binary plane can be compressed separately, for example by run-length coding. The lower planes look like noise.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
Questions from TU BSc CSIT 2076 Cryptography (TU IOST board exam, 2076), TU BSc CSIT 2078 Cryptography (TU IOST board exam, 2078), TU BSc CSIT 2079 Cryptography (TU IOST board exam, 2079), TU BSc CSIT 2080 Cryptography (TU IOST board exam, 2080), TU BSc CSIT 2081 Cryptography (TU IOST board exam, 2081), TU BSc CSIT 2082 Cryptography (TU IOST board exam, 2082), TU BSc CSIT 2076 Design and Analysis of Algorithms (TU IOST board exam, 2076), TU BSc CSIT 2078 Design and Analysis of Algorithms (TU IOST board exam, 2078), TU BSc CSIT 2079 Design and Analysis of Algorithms (TU IOST board exam, 2079), TU BSc CSIT 2080 Design and Analysis of Algorithms (TU IOST board exam, 2080), TU BSc CSIT 2081 Design and Analysis of Algorithms (TU IOST board exam, 2081), TU BSc CSIT 2082 Design and Analysis of Algorithms (TU IOST board exam, 2082), TU BSc CSIT 2080 Image Processing (TU IOST board exam, 2080), TU BSc CSIT 2081 Image Processing (TU IOST board exam, 2081), TU BSc CSIT 2082 Image Processing (TU IOST board exam, 2082), TU BSc CSIT 2080 Multimedia Computing (TU IOST board exam, 2080), TU BSc CSIT 2081 Multimedia Computing (TU IOST board exam, 2081), TU BSc CSIT 2082 Multimedia Computing (TU IOST board exam, 2082), TU BSc CSIT 2076 System Analysis and Design (TU IOST board exam, 2076), TU BSc CSIT 2078 System Analysis and Design (TU IOST board exam, 2078), TU BSc CSIT 2079 System Analysis and Design (TU IOST board exam, 2079), TU BSc CSIT 2080 System Analysis and Design (TU IOST board exam, 2080), TU BSc CSIT 2081 System Analysis and Design (TU IOST board exam, 2081), TU BSc CSIT 2082 System Analysis and Design (TU IOST board exam, 2082), TU BSc CSIT 2076 Society and Ethics in Information Technology (TU IOST board exam, 2076), TU BSc CSIT 2078 Society and Ethics in Information Technology (TU IOST board exam, 2078), TU BSc CSIT 2079 Society and Ethics in Information Technology (TU IOST board exam, 2079), TU BSc CSIT 2076 Simulation and Modeling (TU IOST board exam, 2076), TU BSc CSIT 2078 Simulation and Modeling (TU IOST board exam, 2078), TU BSc CSIT 2079 Simulation and Modeling (TU IOST board exam, 2079), TU BSc CSIT 2080 Simulation and Modeling (TU IOST board exam, 2080), TU BSc CSIT 2081 Simulation and Modeling (TU IOST board exam, 2081), TU BSc CSIT 2082 Simulation and Modeling (TU IOST board exam, 2082), TU BSc CSIT 2076 Web Technology (TU IOST board exam, 2076), TU BSc CSIT 2078 Web Technology (TU IOST board exam, 2078), TU BSc CSIT 2079 Web Technology (TU IOST board exam, 2079), TU BSc CSIT 2080 Web Technology (TU IOST board exam, 2080), TU BSc CSIT 2081 Web Technology (TU IOST board exam, 2081) and TU BSc CSIT 2082 Web Technology (TU IOST board exam, 2082). Answers are written for this site; check them against your class notes.