Skip to content
All Computer Science Paper II papers

CSS past paper

CSS Computer Science Paper II Past Paper 2018

CSS Computer Science Paper II 2018 carries 100 marks over 3 hours. It has 7 questions.

Marks
100
Time
3 hours
Questions
7

How to attempt: Attempt ONLY FOUR questions from PART-II by selecting TWO questions from EACH SECTION. ALL questions carry EQUAL marks.

Questions

Question 1 (Part I) is the paper's MCQs, which are not reproduced here.

SECTION – A

  1. Q. 2
    • (A)
      Briefly describe the functionality of the following CPU special-purpose registers: Instruction Register (IR), Memory Data Register (MDR) and Program Counter (PC).
      (8)
    • (B)
      Differentiate between Address, Data and Control bus.
      (6)
    • (C)
      Discuss instruction pipelining in the context of fetch-decode-execute cycle.
      (6)
  2. Q. 3
    • (A)
      Differentiate between hub, bridge, switch and router.
      (8)
    • (B)
      Discuss how Network Address Translation (NAT) works and why is it useful?
      (6)
    • (C)
      Elaborate the working of multiplexing/de-multiplexing at the transport layer.
      (6)
  3. Q. 4
    • (A)
      There are three processes PAP_{A}, PBP_{B} and PCP_{C} and three resources RAR_{A}, RBR_{B} and RCR_{C}. Resources RAR_{A} and RBR_{B} have one instance each while resource RCR_{C} has two instances. PAP_{A} is holding one instance of RCR_{C} and has requested for RAR_{A}. Process PBP_{B} is holding RAR_{A} and has requested for RBR_{B}. RBR_{B} is allocated to PCP_{C} which has also requested an instance of RCR_{C}. Represent the scenario with a resource allocation graph. Discuss whether there is a deadlock or not? If yes, which processes are blocked?
      (8)
    • (B)
      In the context of Paging, consider the case where memory addresses are 32 bits i.e. 20 bits Virtual Page Numbers and 12 bits of offset. How many virtual pages are there and what is the size of each page? Given the virtual address 0x7589, find the virtual page number and offset. If the respective page table entry contains 0x900DF, find the physical address.
      (6)
    • (C)
      In the context of I/O management, differentiate between Pooling and Interrupts.
      (6)

Section – B

  1. Q. 5
    • (A)
      Given two relations RR and SS, where RR contains MM tuples, SS contains NN tuples, and M>N>0M > N > 0, give the minimum and maximum possible sizes (in tuples) for the resulting relation produced by each of the following relational algebra expressions.
      (8)
      • (i)
        R−SR - S
      • (ii)
        R∪SR \cup S
      • (iii)
        R∩SR \cap S
      • (iv)
        R⋈SR \bowtie S
    • (B)
      Elaborate the concepts of super key, candidate key and foreign key with examples.
      (6)
    • (C)
      Discuss the difference between physical data independence and logical data independence.
      (6)
  2. Q. 6
    • (A)
      Differentiate between image sampling and quantization. Discuss how these concepts relate to spatial and intensity resolutions.
      (8)
    • (B)
      In the context of image smoothing, discuss the differences between mean and median filters.
      (6)
    • (C)
      For the image ‘X’ shown in Figure 1, show the result of applying the given morphological operators. Assume zero padding for border pixels.
      (6)
      • (i)
        Dilation of X by structuring element [1 1 1].
      • (ii)
        Erosion of X by structuring element [1 1 1]T[1\ 1\ 1]^{T}
      • (iii)
        Dilation of X by a 3x3 structuring element containing all ones.
      00000000
      01100110
      01111110
      00000000
      00000000
      00111100
      00000000
  3. Q. 7
    • (A)
      Perform histogram equalization on the 8-bit image shown in Figure 2.
      (8)
      55555
      1010101010
      3030303030
      100100100100100
      100100100100100
    • (B)
      For the 3x3 image shown in the following, apply the horizontal and vertical Sobel operators and compute the magnitude of gradient at the central pixel with intensity value 50.
      (6)
      555
      5505
      555
    • (C)
      In the context of compression, differentiate between coding, spatial and temporal redundancies.
      (6)
  4. Q. 8
    • (A)
      Elaborate the concept of three tier architecture with reference to presentation, business logic and data access layers.
      (8)
    • (B)
      Differentiate between XHTML and XML.
      (6)
    • (C)
      Discuss Agile and Water Fall methodologies in the context of web application development.
      (6)
  1. Part-II is to be attempted on the separate Answer Book.
  2. Attempt ONLY FOUR questions from PART-II by selecting TWO questions from EACH SECTION. ALL questions carry EQUAL marks.
  3. All the parts (if any) of each Question must be attempted at one place instead of at different places.
  4. Candidate must write Q. No. in the Answer Book in accordance with Q. No. in the Q.Paper.
  5. No Page/Space be left blank between the answers. All the blank pages of Answer Book must be crossed.
  6. Extra attempt of any question or any part of the attempted question will not be considered.