In the context of Binding which one of the following is incorrect?
Internal functions are known at link time
Binding is the association of a program entity with an attribute such as a type, an address or a code target. The standard binding times are compile time, link time, load time and run time, and each kind of information is fixed at a particular one of them.
Static binding is done at Compile Time — correct: static (early) binding is resolved by the compiler, e.g. non-virtual calls and the types of variables.
Absolute addresses are known at Load Time — correct: with relocatable code the loader fixes the final absolute addresses when the program is loaded into memory.
Internal functions are known at link time — incorrect: functions defined inside the same translation unit are already known to the compiler at compile time; it is external functions (other modules and libraries) whose references are resolved at link time.
Target of a function is known at runtime — correct for dynamic binding: for a virtual (overridden) method the actual function executed is selected at run time from the object’s type.
Internal functions are known at link time option is correct.
In a distributed computing environment, distributed shared memory is used which is
Function of memory management unit is :
Match the following with respect to various memory management algorithms :
| List - I | List - II |
| (a) Demand paging | (i) degree of multiprogramming |
| (b) Segmentation | (ii) working set |
| (c) Dynamic partitions | (iii) supports user view of memory |
| (d) Fixed partitions | (iv) compaction |
Codes :
What is the most appropriate function of Memory Management Unit (MMU) ?
In a paged memory management algorithm, the hit ratio is 70%. If it takes 30 nanoseconds to search Translation Look-aside Buffer (TLB) and 100 nanoseconds (ns) to access memory, the effective memory access time is
Match List - I with List - II.
| List - I (operating system concepts) | List - II (characteristics) |
|---|---|
| (A) Paging | (I) Evicts least recently used process |
| (B) LRU (Least Recently Used) | (II) Extends physical memory |
| (C) C-SCAN | (III) Logical to physical mapping |
| (D) Virtual Memory | (IV) Circular disk access |
Choose the correct answer from the options given below :
In a paging system, it takes 30 ns to search translation Look-a-side Buffer (TLB) and 90 ns to access the main memory. If the TLB hit ratio is 70%, the effective memory access time is :
Which of the following statement(s) regarding a linker software is/are true ?
I. A function of a linker is to combine several object modules into a single load module.
II A function of a linker is to replace absolute references in an object module by symbolic references to locations in other modules.
A memory management system has 64 pages with 512 bytes page size. Physical memory consists of 32 page frames. Number of bits required in logical and physical address are respectively :
A specific editor has 200 K of program text, 15 K of initial stack, 50 K of initialized data, and 70 K of bootstrap code. If five editors are started simultaneously, how much physical memory is needed if shared text is used ?
Computational circuitry in a CPU is referred to as the ____________
Given below are two statements, one is labelled as Assertion A and the other is labelled as Reason R
Assertion A: Major advantage of DRAM is that the capacitor cell never loses its charge and hence there is no need to refresh periodically.
Reason R: When DRAM is being refreshed, the data cannot be accessed.
In light of the above statements, choose the correct answer from the options given below
The data transfer rate of a modem is measured in
In the year 1993, _________ introduced the first microcontroller using flash memory.
Scratch pad memory is __________