Java Programming and Early Languages
Test your knowledge on early high-level programming languages like FORTRAN and ALGOL, plus Java programming concepts including OOP, multithreading, and JSP web development.
Questions
How to avoid deadlocks in multithreading programes ?
- Avoid using Threads
- implement only Runnable
- Use synchronize blocks
- Use synchronize methods
- None
- Synchornize blocks and Methods
Which is not valid scope value for the jsp:useBean tag?
- page
- request
- context
- application
- None
- context and application
Which of the below are correct ?
- <%@ include page="/test.jsp" %>
- <jsp:include page="/test.jsp" />
- <jsp:include file="/test.jsp" />
- <%@ inlcude file="/test.jsp" %>
Which the preferred way to write multithread programe ?
- Extend Thread class
- Implement Runnable interface
- Both
- None
Which of the below is not an implicit object of JSP ?
- request
- session
- context
- page
- error
- exception
Partial Implementation can be provided in___
- Interface
- Class
- Abstract Class
- All
- None
What are OOPs concepts ?
- Inheritance
- Exception
- deadlock
- Thread
- Networking
GenericServlet is a __________
- Interface
- Class
- Abstract Class
- Filter
- None
How to avoid deadlocks in multithreading programes ?
- Avoid using Threads
- implement only Runnable
- Use synchronize blocks
- Use synchronize methods
- None
- Synchornize blocks and Methods
Which is not valid scope value for the jsp:useBean tag?
- page
- request
- context
- application
- None
- context and application
Which of the below are correct ?
- <%@ include page="/test.jsp" %>
- <jsp:include page="/test.jsp" />
- <jsp:include file="/test.jsp" />
- <%@ inlcude file="/test.jsp" %>
Which the preferred way to write multithread programe ?
- Extend Thread class
- Implement Runnable interface
- Both
- None
Which of the below is not an implicit object of JSP ?
- request
- session
- context
- page
- error
- exception
Partial Implementation can be provided in___
- Interface
- Class
- Abstract Class
- All
- None
- Which is the first successful high level programming language?
- C
- C++
- QBASIC
- FORTRAN
- Which among the following was involved in the development of ALGOL and Shortest Path Algorithm?
- Charles Babbage
- Edsger Wybe Dijkstra
- Robert Noyce
- Gordon Moore