Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

MCQS:

1. CPU time is divided into slices known as PREMPTIVE SCHEDULING.


2. If we select two sheets M and N and insert a sheet sheets will be inserted AFTER L SHEET.
3. For the other applications to run on system which is helpful OPERATING SYSTEM.
4. The question regarding java compiler answer is JIT.
5. What is PCB process control block.
6. What is kornshell .kshrc
7. What is cshell .cshrc.
8. Multitasking uses more than one processor FALSE.
9. What is SMP in android SYMETRIC MULTI PROCESSING.
10. int testarray[3][2][2] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
What value does testarray[2][1][0] in the sample code above contain?
1)3
2)5
3)7
4)11 (similar question in two dimensional);
11. Unix uses TWO LEVEL SCHEDULING(LOW LEVEL AND HIGH LEVEL).
12. Middle tier is business logic layer.
13. Execution of code occurs in tier.
14. Layers in OS a.xxxx b.XXXX c.utilities d.xxxxx
15. DEAMON- Disk Execution And MONitor
16. use of flow chart-To indicate the transfer of control
17. if there more than one node used for connection then network called LAN
PROGRAMMES WE REMEMBER:

1. sum of squares of even digits in a given number.

2. conversion of celcius to forenheit.

formula given in different way

c/5=(f-32)/9;

3. find the avg of numbers in array.

if avg < 60 then output= 3

if avg >=60 and avg<80 then output=2

if avg >=80 and avg<99 then output=1

if avg >=99 then output -3

if any element is -ve in array then output=-1

if size of array is -ve then output=-2

4. count the no of duplicates in an array.

5. sum of product of duplicate elements in an array.

6.square of cubes of prime numbers in a given range(input1)


business logic: if input 1 is -ve,output1=-1
if input1 is >200,output1=-2
7. decimal to binary
business logic: if input 1 is -ve,output1=-1
if input1 is >500,output1=-2
8. to count the repeated elements in an array (input 1=input array,input2=size,input3=repeated no )
business logic: if input 1 is -ve,output1=-1
if input2 is -ve,output1=-2
9. to calculate sum of multiples of 5 in a given range(for eg: if input1=10 and input2=20, multiples of 5
will be 10,15,20 . their sum will be 10+15+20=45)
business logic: if input 1 is -ve,output1=-1
if input1 is >200,output1=-2
10.to find an amstrong number
business logic: if input 1 is -ve,output1=-1
if input1 is an amstrong no,output1=2

You might also like