1>From the following options, select the correct pre-order representation of
the following expression.

– 16 – – 14 / – 12 - 2 * 8


-–16--/14–12*28


-–16--/-1412*28


-–16-/–14–12*28


*/--–16-14–1228




2> Which one of the following is NOT a referential integrity issue in a
relational database where the DEPT column of the EMPLOYEE table is
designated as a foreign key into the DEPARTMENT table?


Inserting a new row into EMPLOYEE with a DEPT whose value is not the primary
key of any of the rows in DEPARTMENT


Updating the value of DEPT in a row of EMPLOYEE with a value that is not the
primary key of any of the rows in DEPARTMENT


Deleting a row of DEPARTMENT


Inserting a new row into DEPARTMENT with a primary key that is not the value
of the DEPT column of any row in EMPLOYEE



3> From the following options, select the OOP mechanism, that allows
treatment of the derived class members just like the members of their parent
class.


Decoupling


Encapsulation


Polymorphism


Abstraction



4> A program uses a queue to visit each of the nodes of a binary tree,
starting at its root. After a node is processed its children are added to
the the end of the queue. In what order do nodes get processed?


Postorder


Breadth-first


Preorder


Inorder






What is the correct order of the following sentences?

A) They were often driven about in the park and other fashionable places.

B) For some weeks he drove them together.

C) After breaking him in, the horse was bought by a dealer to match another
chestnut horse.

D) Then they were sold to a fashionable gentleman and were sent up to
London.

CBDA

ADCB

CBAD

DCBA

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to