php mcq questions with answers


                                
An abstract class _____.
A. may contain instance variables
B. may contain constructors
C. may extend another class
D. a and b
E. all of the above
                                
A____block enclose the code that could throw an exception.
A. Try
B. Catch
C. Exception
D. Error
E. a and b
                                
A Thread is: _______.
A. an object that allows computer multitasking
B. an object that wraps itself with other threads
C. a deprecated object that is no longer used
                                
Synchronization is: _______.
A. the delaying of a thread until there is sufficient memory and work to keep it up
B. making every thread start and end at the same time
C. make each thread do the same thing
D. have each thread start at the same time but not necessarily finish together
E. wait until the required resources, that are used by other threads become available
                                
In C# Thread.Sleep(time) measures time in:
A. seconds
B. milliseconds
C. nanoseconds
D. all of the above