ANS: 5050
5)A tree was given with nodes assigned clours red, blue, yellow, green and more that one node is having colour red.They have asked that how many times the output will be red if the total number of evaluation is 11.
some code was given--I don't remember that.

3rd Section(O.S)
1) If there are n proceses and each process waits p time in waiting state then cpu utilization is-:
a) n(1-p)
b) n*p
2)No. of pages are given and using LRU algorithm we have to find the number of page faults.
a)2
b)6
c)5
d)7

3)There is a file server which provides locking for mutual exclusion . if any procees locks the file and abruptly terminated this will result in indefinitely locking .The solution they found is to implement a timer for locking of file i.e. if time outs then server assumes that file is indefinitely locked and terminate the process –
a) this solution is perfect for mutual exclausion
b) this will solve indefinite locking
c) this will result in interleaving of file between processes
d) will allow the concurrent process to access the file.
4)A critical Section is
a)for mutual exclusion
b)a set of shared resources

4th Section(TOC)
1)There was a question on automata
2)CFG was given
S -> 1 S 1
S-> 0 S 0
S -> 1 1
S -> 0 0
Find out the string
3)
5th section General
1)Probability to find digits which not contain 7 between 100 to 999
Ans=18/25
2)Difference between Packet switching & Circuit Switching.
Ans= CS take more time to established circuit.
3)in cache memory 100ns an in main memory 1200ns what is the cache hit ratio(Question is not exactly the same,but something related to cache hit ratio)
4)From the set {a,b,c,d,e,f} find no. of arrangements for 3 alphabets with no data repeated.
ANS=360. OR for 4 alpha ANS=720.

6th section (DBMS)
1)employee(eno,ename)
works_on(eno,pno,ename)
project(pno, project)
select ename from employee where eno in(select eno from works_on where pno =(select *from project)
what is the output ?
a)Employee who works on all project.
b)Employee who works one project .
c) name of employee who works on more than one project.

5) To save space which option is better
a) write all join operation then select then project
b) write all join operation then projects then select
c)write all join operation then select between project

Q.2)Consider a two dimensional array A[N][N] of the order n x n.Then you find the sub-squares and display the largest sum of the sub-square.Sub- squares are the contigious elements in the array.Largest sum can be find out by summing the elements in the sub-square.

Freshersworld.com : The No.1 Jobsite for Fresher Hiring in India

Freshersworld.com is the No.1 Jobsite for Freshers in India with over 1 Crore+ resumes and 60K+ recruiters hiring through us. Apply to Top MNC Jobs / Government jobs by registering now! What’s more? Get daily job alert, placement paper and GK updates every day on your email. Freshersworld.com is the only website for applying to Govt Jobs and top MNC Jobs all over India. Register Now to benefit from our unlimited fresher focussed services!