Computer interview questions – page 129
4,197 questions. Tap “Show answer” to check yourself.
-
Which enterprise bean type is defined without any client view interfaces?
- Message Driven Bean
- BMP Entity bean
- Stateless Session bean
- Stateful Session bean
Show answer
A. Message Driven Bean
-
Which of the following modifiers cannot be applied to a method?
- protected
- private
- public
- abstract
Show answer
D. abstract
-
Which JDBC driver type is also referred as the java protocol?
- type 1 JDBC to ODBC protocol
- type 2 java 1 native code driver
- type 3 JDBC driver
- type 4 JDBC driver
Show answer
C. type 3 JDBC driver
-
Which of the following is not a standard method called as part of the JSP life cycle?
- jspDestroy()
- jsp Init()
- jspService()
- jspservice()
Show answer
D. jspservice()
-
Which of the following is a challenge in a J2EE?
- Fault tolerance
- Durability
- Scalability
- Reliability
Show answer
D. Reliability
-
Which of the following is not a J2EE client?
- Web applications
- Applets
- Java Web Start clients
- JSP
Show answer
D. JSP
-
Which of the following is not a web centric component?
- Applets
- Web Services
- Servlets
- Java Server Pages
Show answer
A. Applets
-
Which of the following is not a reserved word?
- while
- goto
- if
- then
Show answer
D. then
-
Which one of the following that controls communication between tiers in J2EE multi tiers architecture?
- API
- ACL
- JDBC
- RMI
Show answer
B. ACL
-
How can a servlet call a JSP error page?
- This capability is not supported
- When the servlet throws the exception, it will automatically be caught by the calling JSP page
- The servlet needs to forward the request to the specific error page URL. The exception is passed along as an attribute named “javax.servlet.jsp.jspException”
- The servlet needs to redirect the response to the specific error page, saving the exception off in a cookie
Show answer
C. The servlet needs to forward the request to the specific error page URL. The exception is passed along as an attribute named “javax.servlet.jsp.jspException”
-
Which of the following act as an interface between a component and the low level platform?
- Session Bean
- Entity Bean
- Container
- Applets
Show answer
C. Container
-
Which of the following is not a feature of Message Driven Bean?
- It has no client visibility
- The container cannot pool instances
- It does not have a local or remote interface
- It is invoked asynchronously by the container
Show answer
B. The container cannot pool instances
- Advertisement
-
A JMS message producer is created by
- session
- connection
- destination
- industry
Show answer
A. session
-
Which technology provides the flexibility to swap between XML processors with no application code changes?
- JAAS
- SAX
- XSLT
- JAXP
Show answer
D. JAXP
-
A web address is also called a
- URL
- LUR
- LRU
- HTML
Show answer
A. URL
-
The comparison of data inside the arithmetic logic unit is referred to as a ___
- Logarithmic instruction
- Combinational operation
- Data flow
- Logical operation
Show answer
D. Logical operation
-
Which of the following is related to register?
- Combinational circuit
- Arithmetic circuit
- Sequential circuit
- Digital circuit
Show answer
C. Sequential circuit
-
Dedicated computer means
- Doesn’t have OS
- Used by single person
- Assigned to one and only one task
- All of above
Show answer
C. Assigned to one and only one task
-
Everything computer does it controlled by its?
- Storage devices
- CPU
- ROM
- RAM
Show answer
B. CPU
-
Mechanism to protect network from outside attack is
- Anti-virus
- Firewall
- Formatting
- Digital signature
Show answer
B. Firewall
-
Objects are represented by
- Tables
- Columns
- Rows
- None of these
Show answer
A. Tables
-
Generally to copy date from a remote computer/internet to local computer is called _____
- Download
- Editing
- Upload
Show answer
A. Download
-
We can enter text to the computer by
- Router
- Printer
- Keyboard
- Scanner
Show answer
C. Keyboard
-
In which of the following terminals the screen is regarded as an array of pixels, where each pixel is either on or off?
- RS-232 terminal
- Character map terminal
- Bitmap terminal
- All of the above
Show answer
C. Bitmap terminal
- Advertisement
-
___ are specially designed computers that perform complex calculations extremely rapidly.
- Laptops
- Servers
- Mainframes
- Super computers
Show answer
D. Super computers
-
While running DOS on a PC, which command would be used to duplicate the entire diskette?
- TYPE
- COPY
- DISKCOPY
- CHKDSK
Show answer
C. DISKCOPY
-
Only ___ program(s) become(s) active even though we can open many programs at a time.
- One
- Two
- Three
- Four
Show answer
C. Three
-
The first computer mouse is built by
- Daniel Cougher
- William English
- Douglas Engelbart
- Robert Zawaski
Show answer
C. Douglas Engelbart
-
Which of the following can be considered as portable computer?
- Desktop
- PDA
- Mainframe computer
- Mini computer
Show answer
B. PDA
-
CPU is an abbreviation for
- Central processing unit
- Computer processing unit
- Control processing unit
- Command processing unit
Show answer
A. Central processing unit