December 2012 - Paper 2

26:  
Which of the following is true while converting CFG to LL(1) grammar ?
 
A.

Remove left recursion alone

B.

Factoring grammar alone

C.

Both of the above

D.

None of the above

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Anuradha said: (4:35pm on Thursday 9th January 2014)
In trying to turn a grammar into an LL(1) grammar you should try the following steps:1. Remove left-recursion.2. Expose first set clashes.3. Left-factor the grammar.4. Attempt to remove first/follow set clashes.5. Return to step 2 after thinking about whether you want to continue!

Write your comments here:



27:   Identify the Risk factors which are associated with Electronic payment system.
A. Fraudulent use of Credit Cards.
B. Sending Credit Card details over internet.
C. Remote storage of Credit Card details.
D. All of the above
 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



28:   Which of the following are two special functions that are meant for handling exception, that occur during exception handling itself ?
A. Void terminate ( ) and Void unexpected ( )
B. Non void terminate ( ) and void unexpected ( )
C. Void terminate ( ) and non void unexpected ( )
D. Non void terminate ( ) and non void unexpected ( )
 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



29:   Which of the following memory allocation scheme suffers from external fragmentation ?
A. Segmentation
B. Pure demand paging
C. Swapping
D. Paging
 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



30:   Basis path testing falls under
A. system testing
B. white box testing
C. black box testing
D. unit testing
 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here: