Saturday, March 06, 2010

Sample Test Paper For CHSSC

1.In case of Unix File System , how many pointers from I Node block are needed to
access memory size of 1,00,000 bytes of data?(Let one pointer = 4 bytes, 1 block =
512 bytes)
a)11
b)12
c)13
d)10
2.Withdrawing cash from a bank is an example of …………….processing.
a) independent
b) cooperative
c) both a) and b)
d) none of these
3.Consider the following instruction:
move r0,#3324
move [r0],#5
The data 5 can be found at …………………. after the execution of this instruction.
a) location whose address is 3324
b)at r0
c)location whose address is 5
d)none of thes
4.With the help of single indirect pointer,total data that could be reffered to is:
a) 128bytes
b) 512bytes
c) 70656bytes
d) 32bytes
5. Lexical Analysis performs
a) CHECKS THE CORRECT USAGE OF KEYWORDS,CONSTANTS,IDENTIFIERS
AND TOKENS.
b) STORES THE INFORMATION ABOUT
KEYWORDS,CONSTANTS,IDENTIFIERS IN SYMBOL TABLE.
C) STORES THE INFORMATION ABOUT
KEYWORDS,CONSTANTS,IDENTIFIERS IN PARSE TREES.
d) CHECKS THE VALIDITY OF ASSIGNMENT OPERATIONS.
6. In fully connected network for 3 and 4 sites number of hops is
a) 1
b) 2
c) 0
d) 3
7. Examine the following code segment
for(i=0,i{
a=a+i;
}
The error given during compilation is the responsibiity of
a) Lexical Analyser
b) Semantic analyser
c) Syntactic Analyser
d) Code optimization
8. When the page size decreases, the number of page fault increases.
a) true
b) false
c) cannot be stated
d) no choice
9. Where we need the idea of compaction in the memory management
a) variable partition allocation
b) fixed partition allocation
c) re-locatable partition allocation
d) single contiguous allocation
10. Which type of scheme does windows3.1 have
a) preemptive multitasking
b) preemptive scheduling
c) uni programming
d) co-operative multitasking

1 comment: