BSc CSIT (TU) Science Multimedia Computing (BSc CSIT, CSC467) Question Paper 2077 Nepal
This is the official BSc CSIT (TU) (Science stream) Multimedia Computing (BSc CSIT, CSC467) question paper for 2077, as set in the regular annual examination. It carries 60 full marks and a time allowance of 180 minutes, across 12 questions. On Kekkei you can attempt this Multimedia Computing (BSc CSIT, CSC467) past paper online with a timer, get instant AI feedback and step-by-step solutions, and track the topics where you lose marks — completely free. Whether you are revising for your BSc CSIT (TU) Multimedia Computing (BSc CSIT, CSC467) exam or solving previous years' question papers, this 2077 paper is a great way to practise under real exam conditions.
Section A: Long Answer Questions
Attempt any TWO questions.
Explain digital image representation and color models (RGB, CMYK, YUV/YCbCr). Discuss how color is sampled and the concept of chroma subsampling in multimedia.
Digital Image Representation and Color Models
1. Digital Image Representation
A digital image is a 2-D array (matrix) of pixels (picture elements). Each pixel is sampled spatially and quantized in intensity. A pixel value is stored as a number of bits called the bit depth (e.g. 8 bits = 256 levels). A grayscale image needs one value per pixel; a colour image needs several channels (one per primary component).
- Spatial resolution: number of pixels (e.g. ).
- Colour/pixel depth: bits per pixel. A 24-bit RGB image uses 8 bits each for R, G, B giving million colours.
- Storage of an uncompressed image bytes.
2. Color Models
(a) RGB (Red, Green, Blue): An additive model used by displays (monitors, cameras). Colours are produced by adding light. = black, = white. Device dependent.
(b) CMYK (Cyan, Magenta, Yellow, Black): A subtractive model used in printing. Inks absorb (subtract) light. Conversion (normalised): , then is extracted so black is printed with cheaper black ink rather than mixing all three.
(c) YUV / YCbCr (Luminance–Chrominance): Separates brightness (luma, Y) from colour (chroma). YUV is used in analog TV; YCbCr is its digital form used in JPEG/MPEG. Typical transform:
The eye is more sensitive to luminance than to colour, which this model exploits.
3. Colour Sampling and Chroma Subsampling
Because the human visual system has lower acuity for colour than for brightness, the chroma (Cb, Cr) channels can be sampled at lower resolution than luma (Y) with little perceptual loss. This is chroma subsampling, written as J:a:b (over a block):
| Scheme | Meaning | Chroma data |
|---|---|---|
| 4:4:4 | No subsampling | Full chroma |
| 4:2:2 | Chroma horizontally halved | 1/2 |
| 4:2:0 | Chroma halved horizontally and vertically | 1/4 |
4:2:0 (used in JPEG, MPEG, H.264) reduces colour data to a quarter while keeping full luma, saving storage/bandwidth with minimal visible quality loss.
Conclusion
Images are pixel matrices; RGB suits displays, CMYK suits printing, and YCbCr enables compression by separating luma from chroma so chroma subsampling can discard redundant colour data.
Explain the JPEG image compression standard. Describe its main steps - DCT, quantization, zig-zag ordering and entropy (Huffman) coding - with the help of a block diagram.
JPEG Image Compression Standard
JPEG (Joint Photographic Experts Group) is a widely used lossy compression standard for continuous-tone still images. It exploits the eye's reduced sensitivity to high spatial frequencies and to colour detail.
Block Diagram (described)
Image --> Color transform (RGB->YCbCr) --> 8x8 Blocks --> [DCT] --> [Quantization]
--> [Zig-zag + DPCM(DC)/RLE(AC)] --> [Entropy (Huffman) Coding] --> JPEG bitstream
Main Steps
1. Colour transform & subsampling: RGB is converted to YCbCr and chroma is subsampled (typically 4:2:0).
2. Block splitting: Each channel is divided into pixel blocks. Values are level-shifted by subtracting 128.
3. Forward DCT: Each block is transformed by the 2-D Discrete Cosine Transform:
This converts pixels into frequency coefficients; energy concentrates in the top-left DC coefficient and low-frequency terms.
4. Quantization: Each coefficient is divided by a value from an quantization table and rounded:
High-frequency coefficients (large ) often become zero. This is the main lossy step and is controlled by the quality factor.
5. Zig-zag ordering: The 2-D block is read in a zig-zag path from low to high frequency, grouping the many trailing zeros together for efficient run-length coding.
6. Entropy (Huffman) coding:
- The DC coefficient is coded differentially (DPCM) from the previous block's DC.
- The AC coefficients are run-length encoded as (run-of-zeros, value) pairs.
- These are then Huffman coded (variable-length, shorter codes for frequent symbols) producing the final compressed bitstream.
Decoding
Decoding reverses the steps: Huffman decode → de-zig-zag → de-quantize (multiply by ) → inverse DCT → upsample chroma → YCbCr→RGB.
Conclusion
JPEG achieves high compression (often 10:1 or more) by transforming to frequency domain (DCT), discarding visually unimportant high-frequency detail (quantization), and removing statistical redundancy (zig-zag + Huffman).
Explain the MPEG video compression standard. Discuss I-frames, P-frames and B-frames, motion estimation and compensation, and the group of pictures (GOP) structure.
MPEG Video Compression Standard
MPEG (Moving Picture Experts Group) compresses video by removing both spatial redundancy (within a frame, like JPEG) and temporal redundancy (between consecutive frames). Consecutive frames are highly similar, so MPEG stores only the differences and the motion of objects.
Frame Types
I-frame (Intra-coded): Coded independently like a JPEG image using DCT + quantization. It is a reference/anchor frame, needs no other frame, provides random access, but gives the lowest compression.
P-frame (Predictive): Coded from the previous I- or P-frame using forward prediction. Only the motion vectors and the prediction error (residual) are stored. Better compression than I.
B-frame (Bidirectional): Predicted from both a previous and a future reference frame (forward + backward prediction). Gives the highest compression; not used as a reference itself.
Motion Estimation and Compensation
- Motion estimation: Each frame is divided into macroblocks (e.g. ). For each macroblock, the encoder searches a region of the reference frame for the best-matching block (e.g. minimising SAD) and records a motion vector .
- Motion compensation: The matched block is used as a prediction; only the residual (current − predicted) is DCT-coded, quantized and entropy-coded. This drastically reduces data for moving content.
Group of Pictures (GOP)
A GOP is a repeating sequence of frames beginning with an I-frame, e.g.:
- GOP size = number of frames from one I-frame to the next.
- A shorter GOP gives better error recovery and random access; a longer GOP gives better compression.
- Because B-frames depend on future frames, the display order differs from the decoding/transmission order.
Conclusion
MPEG combines intra-frame (DCT-based) and inter-frame (motion-compensated prediction with I/P/B frames in a GOP) techniques to achieve high compression suitable for storage and streaming of video.
Section B: Short Answer Questions
Attempt any EIGHT questions.
What is Huffman coding? Construct a Huffman code for a given set of symbols and explain its working.
Huffman Coding
Huffman coding is a lossless, variable-length, prefix-free entropy coding technique that assigns shorter codes to more frequent symbols and longer codes to rare ones, minimising the average code length.
Construction (example)
Symbols with frequencies: A=5, B=2, C=1, D=1.
- Treat each symbol as a leaf node with its frequency.
- Repeatedly remove the two lowest-frequency nodes and combine them into a new node whose weight is their sum.
- Repeat until one tree remains.
Step: combine C(1)+D(1)=2; combine B(2)+CD(2)=4; combine A(5)+BCD(4)=9 (root)
Assign 0 to left, 1 to right branches:
(9)
0/ \1
A (4)
0/ \1
B (2)
0/ \1
C D
| Symbol | Freq | Code | Length |
|---|---|---|---|
| A | 5 | 0 | 1 |
| B | 2 | 10 | 2 |
| C | 1 | 110 | 3 |
| D | 1 | 111 | 3 |
Average length bits/symbol, versus 2 bits with fixed-length coding.
Working
No code is a prefix of another (prefix property), so the bitstream decodes uniquely by walking the tree from the root until a leaf is reached. It is used in JPEG, MP3, ZIP and many other formats.
Explain run-length encoding (RLE) with an example.
Run-Length Encoding (RLE)
Run-length encoding is a simple lossless compression technique that replaces a run (sequence of identical consecutive values) with a single value and a count. It is effective when data contains long repeated runs (e.g. simple graphics, fax images, JPEG's quantized zeros).
Example
Input string: AAAAABBBCCDAA
Encode each run as (count, symbol):
5A 3B 2C 1D 2A → 5A3B2C1D2A
The original 13 characters are stored as 5 (count, symbol) pairs (10 characters), giving compression.
Note
RLE can expand data with few repetitions (e.g. ABCDEF becomes 1A1B1C1D1E1F). It is therefore best for data with long runs and is often combined with other methods (e.g. used for the AC coefficients in JPEG).
Explain the role of DCT and quantization in JPEG compression.
Role of DCT and Quantization in JPEG
DCT (Discrete Cosine Transform)
The 2-D DCT is applied to each block of (level-shifted) pixels. It transforms the block from the spatial domain to the frequency domain, producing one DC coefficient (average/brightness, top-left) and 63 AC coefficients (increasing spatial frequency). For natural images, energy is concentrated in the low-frequency coefficients while high-frequency coefficients are small. The DCT itself is lossless and reversible (via inverse DCT) and merely reorganises information so it can be compressed efficiently.
Quantization
Each DCT coefficient is divided by a corresponding entry in an quantization table and rounded:
- High-frequency coefficients use large values (the eye is less sensitive to fine detail), so they often round to zero.
- This is the principal lossy step in JPEG and the source of compression; the quality factor scales the table to trade quality for size.
- The resulting many zeros enable efficient zig-zag + run-length + Huffman coding.
Summary
DCT concentrates image energy into few low-frequency coefficients (enabling compression but lossless itself); quantization discards perceptually unimportant high-frequency detail, providing the actual (lossy) data reduction in JPEG.
Differentiate between I-frames, P-frames and B-frames in MPEG.
I-frames vs P-frames vs B-frames in MPEG
| Feature | I-frame (Intra) | P-frame (Predictive) | B-frame (Bidirectional) |
|---|---|---|---|
| Coding | Independent, JPEG-like (DCT only) | Predicted from a previous I/P frame | Predicted from previous and future I/P frames |
| Prediction direction | None | Forward only | Forward + backward |
| Compression | Lowest | Medium | Highest |
| Reference for others | Yes (anchor) | Yes | No |
| Random access | Provides access point | No | No |
| Decoding dependency | None | Needs prior reference | Needs both references |
Summary:
- I-frame: self-contained reference; needed for seeking and error recovery; largest in size.
- P-frame: stores motion vectors + residual from a past frame; smaller than I.
- B-frame: uses both past and future frames, giving the best compression but requiring frame reordering (decode order ≠ display order) and extra latency.
Differentiate between the RGB and CMYK color models.
RGB vs CMYK Color Models
| Feature | RGB | CMYK |
|---|---|---|
| Primaries | Red, Green, Blue | Cyan, Magenta, Yellow, Black (Key) |
| Type | Additive (mixes emitted light) | Subtractive (inks absorb light) |
| Black / White | Black = ; White = all on | White = no ink (paper); Black from K ink |
| Use | Displays, monitors, cameras, web | Printing (offset, inkjet, laser) |
| Channels | 3 | 4 |
| Gamut | Wider, brighter colours | Narrower; some RGB colours cannot be printed |
Explanation:
- In RGB, colours are created by adding light: more light → brighter, all three full → white. It is the natural model for self-illuminating devices.
- In CMYK, white paper reflects all light and inks subtract wavelengths. Combining C, M, Y theoretically gives black, but in practice a separate K (black) ink is added for true blacks, sharper text and cheaper ink usage.
- Conversion (normalised, no GCR): , then extract .
Thus RGB is for screens (light) and CMYK is for print (ink), and images are converted from RGB to CMYK before printing.
Explain sampling and quantization of digital audio.
Sampling and Quantization of Digital Audio
Converting a continuous (analog) sound wave into a digital signal requires two steps: sampling (discretising time) and quantization (discretising amplitude). This is performed by an Analog-to-Digital Converter (ADC).
1. Sampling
The continuous waveform is measured at regular time intervals; each measurement is a sample. The number of samples per second is the sampling rate / frequency (, in Hz).
- Nyquist theorem: to reproduce a signal without aliasing, , where is the highest frequency present.
- Human hearing reaches ~20 kHz, so CD audio uses 44.1 kHz.
2. Quantization
Each sampled amplitude is rounded to the nearest of a finite set of levels. The number of bits per sample is the bit depth; bits give levels (e.g. 16-bit → 65 536 levels). Rounding introduces quantization error/noise; more bits → smaller error → higher dynamic range and quality.
Data Rate
Example (CD): .
Summary
Sampling controls how often amplitude is captured (time axis, governed by Nyquist); quantization controls how precisely each value is stored (amplitude axis, governed by bit depth). Both determine audio quality and storage size.
Differentiate between lossy and lossless compression with examples.
Lossy vs Lossless Compression
| Feature | Lossless | Lossy |
|---|---|---|
| Data recovery | Original recovered exactly | Approximate; some data permanently discarded |
| Compression ratio | Lower (typically 2:1–4:1) | Much higher (10:1 or more) |
| Quality | No quality loss | Reduced (often imperceptible) |
| Reversible? | Yes | No |
| Use cases | Text, source code, medical/legal images, archives | Photos, audio, video streaming |
| Examples | RLE, Huffman, LZW, PNG, GIF, ZIP, FLAC | JPEG, MPEG, MP3, AAC, H.264 |
Explanation
- Lossless compression removes only statistical/redundant information (e.g. repeated patterns) so the exact original can be reconstructed. Essential where every bit matters.
- Lossy compression also removes perceptually unimportant information (e.g. high-frequency detail the eye/ear cannot perceive). It achieves far higher ratios at the cost of irreversible quality loss, making it ideal for multimedia where small errors are acceptable.
What are the characteristics of multimedia data? Explain the storage requirements.
Characteristics of Multimedia Data and Storage Requirements
Characteristics of Multimedia Data
- Voluminous / large data size: Images, audio and especially video require huge amounts of data compared to text.
- Diverse media types: Combines text, graphics, images, audio, video and animation, each with different formats.
- Time-dependence (continuous media): Audio and video are time-based and must be played at a fixed rate; they require synchronization and have real-time constraints.
- High bandwidth & processing demand: Capture, compression, transmission and playback need high data rates and computation.
- Compressibility & redundancy: Contains spatial/temporal redundancy, so it is highly compressible (JPEG, MPEG).
- Quality of Service (QoS) sensitivity: Tolerant of small errors but sensitive to delay and jitter.
Storage Requirements (examples)
Uncompressed size grows quickly:
- Image: bytes/pixel. A , 24-bit image MB.
- Audio: bit depth channels. CD audio Mbps MB/minute.
- Video: frame size frame rate. A , 24-bit, 25 fps clip MB per second uncompressed.
Because raw multimedia is so large, compression (lossy/lossless) and large, fast storage and bandwidth are essential.
What is multimedia synchronization? Differentiate intra-media and inter-media synchronization.
Multimedia Synchronization
Multimedia synchronization is maintaining the correct temporal (and sometimes spatial) relationships among multiple media objects during presentation, so they are played in the intended order and timing (e.g. audio matching video). Without it, media drift apart (e.g. lip-sync errors).
Intra-media vs Inter-media Synchronization
| Aspect | Intra-media synchronization | Inter-media synchronization |
|---|---|---|
| Definition | Maintaining timing within a single continuous medium | Maintaining timing between two or more different media |
| Goal | Play units of one stream at the correct, constant rate | Coordinate separate streams to a common timeline |
| Example | Displaying video frames at exactly 25 fps; playing audio samples at 44.1 kHz without gaps/jitter | Lip-sync between an audio track and its video; subtitles appearing with the right scene |
| Concern | Jitter, frame rate, gaps within the stream | Skew/offset between streams |
Summary
Intra-media keeps a single stream's internal timing correct, while inter-media keeps different streams aligned with each other. Both are needed for a coherent multimedia presentation.
Frequently asked questions
- Where can I find the BSc CSIT (TU) Multimedia Computing (BSc CSIT, CSC467) question paper 2077?
- The full BSc CSIT (TU) Multimedia Computing (BSc CSIT, CSC467) 2077 (regular) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
- Does the Multimedia Computing (BSc CSIT, CSC467) 2077 paper come with solutions?
- Yes. Every question on this Multimedia Computing (BSc CSIT, CSC467) past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
- How many marks is the BSc CSIT (TU) Multimedia Computing (BSc CSIT, CSC467) 2077 paper?
- The BSc CSIT (TU) Multimedia Computing (BSc CSIT, CSC467) 2077 paper carries 60 full marks and is meant to be completed in 180 minutes, across 12 questions.
- Is practising this Multimedia Computing (BSc CSIT, CSC467) past paper free?
- Yes — reading and attempting this Multimedia Computing (BSc CSIT, CSC467) past paper on Kekkei is completely free.