Skip to content

Paper II · Unit 5: System Software and Operating System

Memory Management

Memory Management is a topic inside Unit 5 (System Software and Operating System) of UGC NET Computer Science and Applications, Paper II (code 87). GateIQ has published 60 questions classified under this topic — 17.2% of everything recorded in this unit, and 60 of them carry a written solution.

What this topic covers

Contiguous Memory Allocation, Swapping, Paging, Segmentation, Demand Paging, Page Replacement, Allocation of Frames, Thrashing, Memory-Mapped Files

Syllabus wording above is the official heading for this topic; the question counts are GateIQ’s own classification of its published archive.

Try Memory Management PYQs free

Attempt the 5 most recent published questions on this topic right here, with the published answer and explanation after each check. No account is needed and nothing is saved. Practice tracking and analytics are part of UGC IQ.

0 of 5 checked
  1. 1Previous year question

    Consider the following statements:

    S1: LRU page replacement algorithm suffers from the belady's anomaly

    S2: Shortest remaining time first scheduling may cause starvations

    S3: Stack is shared by all threads in a process

    Choose an option to check it.
  2. 2Previous year question

    Consider the following program fragment that deals with a table T\mathrm{T} with 17 rows and 1024 columns, computing an average for each column and printing it to screen ( i\mathrm{i} is row index and j\mathrm{j} is column index):
    for j=[0….1023]{\mathrm{j}=[0 \ldots .1023]\{
    temp =0=0
    for i=[0…16]\mathrm{i}=[0 \ldots 16];
    temp == temp +T[i][j]+\mathrm{T}[\mathrm{i}][\mathrm{j}]
    print (( temp/ 17.0) ; }

    T\mathrm{T} [i] [j] and temp are 32 bit floating point values and memory is word addressable. The temporary variable temp is kept in a processor register so access to temp does not involve a memory reference. The main memory is page and holds 16 pages of size 1024 words, the page replacement policy is "least recently used ", If T is stored in the virtual address space in row major format.
    Consider again that T\mathrm{T} is stored in column-major format, what is the main memory hit ratio?

    Choose an option to check it.
  3. 3Previous year question

    Consider the following program fragment that deals with a table T\mathrm{T} with 17 rows and 1024 columns, computing an average for each column and printing it to screen ( i\mathrm{i} is row index and j\mathrm{j} is column index):
    for j=[0….1023]{\mathrm{j}=[0 \ldots .1023]\{
    temp =0=0
    for i=[0…16]i=[0 \ldots 16]
    temp == temp +T[i][j]+T[i][j]
    print (( temp/ 17.0);
    T\mathrm{T} [i] [j] and temp are 32 bit floating point values and memory is word addressable. The temporary variable temp is kept in a processor register so access to temp does not involve a memory reference. The main memory is page and holds 16 pages of size 1024 words, the page replacement policy is "least recently used ", If T\mathrm{T} is stored in the virtual address space in row major format.

    What is fault ratio of row major to column major arrangements ?

    Choose an option to check it.
  4. 4Previous year question

    Consider the following program fragment that deals with a table T\mathrm{T} with 17 rows and 1024 columns, computing an average for each column and printing it to screen ( i\mathrm{i} is row index and j\mathrm{j} is column index):

    for j = 0 . .1023]{
    temp =0=0;
    for i=[0…16]\mathrm{i}=[0 \ldots 16];
    temp == temp +T[i][i]+T[i][i]
    print (( temp /17.0);}/ 17.0) ;\}

    T\mathrm{T} [i] [i] and temp are 32 bit floating point values and memory is word addressable. The temporary variable temp is kept in a processor register so access to temp does not involve a memory reference. The main memory is page and holds 16 pages of size 1024 words, the page replacement policy is "least recently used ", If T\mathrm{T} is stored in the virtual address space in row major format.

    Consider that T\mathrm{T} is stored in column major format, how many page faults will be encountered?

    Choose an option to check it.
  5. 5Previous year question

    Consider the following program fragment that deals with a table T\mathrm{T} with 17 rows and 1024 columns, computing an average for each column and printing it to screen ( i\mathrm{i} is row index and j\mathrm{j} is column index):

    for j=[0…..1023]{\mathrm{j}=[0 \ldots . .1023]\{
    temp =0=0
    for i=[0…16]\mathrm{i}=[0 \ldots 16]
    temp == temp +T[i][j]+T[i][j]
    print ( temp 17.0) ;}

    T\mathrm{T} [i] [i] and temp are 32 bit floating point values and memory is word addressable. The temporary variable temp is kept in a processor register so access to temp does not involve a memory reference. The main memory is page and holds 16 pages of size 1024 words, the page replacement policy is "least recently used ", If T\mathrm{T} is stored in the virtual address space in row major format.

    What is the main memory hit ratio?

    Choose an option to check it.

55 more questions on Memory Management

These 5 are free to try without an account. The rest of the published questions on Memory Management are part of UGC IQ: see what it includes, or create an account to get started.

Memory Management: questions people ask

How many UGC NET Computer Science questions are asked on Memory Management?

GateIQ has published 60 UGC NET Computer Science previous year questions on Memory Management, and 60 of them carry a written solution. That is 17.2% of the questions in Unit 5, System Software and Operating System.

Which unit of UGC NET Computer Science Paper 2 is Memory Management in?

Memory Management is a topic of Unit 5, System Software and Operating System, in Paper II (Computer Science and Applications, code 87).

Can I practise Memory Management PYQs for free?

Yes. The 5 most recent published questions on this topic are free on this page with no signup, and each shows the published answer with its explanation. The full archive, practice tracking and analytics are part of UGC IQ.

Related topics in Unit 5

Full syllabus · Paper II overview