<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6314003260249840514</atom:id><lastBuildDate>Thu, 09 Feb 2012 01:57:59 +0000</lastBuildDate><category>Visual Basic VB Interview Questions 1</category><category>Indian Statistical Institute Sample Papers</category><category>Electronics ECE Latest Interview Question Papers</category><category>Latest Cisco Placement Papers</category><category>Sutherland Placement Papers</category><category>Latest Oracle Placement Papers</category><category>IIT JEE Correspondence Courses Good Institutes</category><category>Accenture Placement Papers</category><category>Latest HFCL Telecom Connect Ping Placement Papers</category><category>Latest Motorola Placement Papers</category><category>IFlex Software Placement Papers</category><category>3i infotech placement papers</category><category>Oracle Latest Placement Interview Questions</category><category>CCNA Interview Questions</category><category>FreeScale Semiconductor Latest Placement Papers</category><category>Verizon Latest Placement Papers</category><category>Download Free Placement Papers</category><category>Admission to MCA Correspondence Courses</category><category>IBM Placement Solved Question Interview Tips</category><category>Xansa Steria Together Recruitment</category><category>Latest Cadence Placement Papers</category><category>Robert Bosch Latest Placement Papers</category><category>Latest Texas Instruments Placement Papers</category><category>web designing job technical interview questions</category><category>C++ Technical Interview Questions for Leading IT MNCs</category><category>TCS and IT Companies Placement Paper</category><category>Keane India Placement Papers Technical HR Interview questions</category><category>Wipro Placement Papers</category><category>Microprocessor Latest Interview Questions</category><category>xml latest interview questions</category><category>IBM Latest Placement Papers</category><category>Latest TELCO Placement Papers</category><category>Java Latest Interview Questions with Solutions</category><category>Satyam Placement Papers</category><category>Xansa Education and Training</category><category>TCS Latest Placement Papers 2008</category><category>Latest Honeywell Placement Papers</category><category>IGate Latest Placement Papers</category><category>SIEMENS Latest Placement Papers and Interview Tips</category><category>ICICI Lombard Life Insurance Placement Papers</category><category>Zensar Technologies Placement papers</category><category>Convansys Placement Papers</category><category>Latest Polaris Software Placement Papers</category><category>M.Tech Admission Full and Part Time</category><category>ICICI Bank Latest Placement Papers</category><category>C++ Technical Interview Questions</category><category>placement interview Q and A</category><category>Latest Microsoft Placement Papers</category><category>TVS Lucas Placement Papers</category><category>Latest Xansa Placement Papers</category><category>Latest Sun (Microsystems) Placement Papers</category><title>Question Papers, IT Companies Placement papers</title><description>satyam placement papers 2008, infosys placement papers 2008, tcs placement papers 2008, wipro placement papers 2008, hcl, cisco, microsoft placement papers 2008. All the Fully Detailed Latest and previous Question papers of leading IT Companies along with Tech Technical Interview and HR Programming QUestions</description><link>http://questionpapers4u.blogspot.com/</link><managingEditor>noreply@blogger.com (hita)</managingEditor><generator>Blogger</generator><openSearch:totalResults>187</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/questionpapers4u" /><feedburner:info uri="questionpapers4u" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-4682759839135212894</guid><pubDate>Sun, 28 Jun 2009 14:02:00 +0000</pubDate><atom:updated>2009-06-28T07:04:00.163-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CCNA Interview Questions</category><title>CCNA Sample Job Technical Interview Questions - CCNA Exam Multiple CHoice Questions</title><description>CCNA Exam Multiple Choice Sample Questions of Multiple Choice Type for the certification test and job technical interview purposes for freshers / experienced networking professionals.&lt;br /&gt;&lt;br /&gt;  1. As system administrator, you type “debug ipx sap” and receive the following lines as part of the IOS response: type 0×4, “HELLO2?, 199.0002.0003.0006 (451), 2 hops type 0×4, “HELLO1?, 199.0002.0003.0008 (451), 2 hops What does “0×4? signify?&lt;br /&gt;      * That is a Get Nearest Server response.&lt;br /&gt;      * That it is a General query.&lt;br /&gt;      * That it is a General response.&lt;br /&gt;      * That it is a Get Nearest Server request.&lt;br /&gt;      Correct answer: A&lt;br /&gt;   2. To monitor IP igrp traffic, you can use “debug IP igrp transaction” or “debug IP igrp events”. How do you display information about IPX routing update packets?&lt;br /&gt;      * debug routing&lt;br /&gt;      * debug ipx transaction&lt;br /&gt;      * debug ipx routing activity&lt;br /&gt;      * debug ipx events&lt;br /&gt;      Correct answer: C&lt;br /&gt;&lt;br /&gt;   3. To monitor ipx traffic on a network, what command would you use?&lt;br /&gt;      * debug ipx transaction&lt;br /&gt;      * show ipx traffic&lt;br /&gt;      * show ipx events&lt;br /&gt;      * display ipx traffic&lt;br /&gt;      Correct answer: B&lt;br /&gt;&lt;br /&gt;   4. What command would you use to find out the names of Novell servers on a network?&lt;br /&gt;      * show ipx servers&lt;br /&gt;      * show ipx hosts&lt;br /&gt;      * show ipx sap&lt;br /&gt;      * show ipx nodes.&lt;br /&gt;      Correct answer: A&lt;br /&gt;   5. The “ipx delay number” command will allow an administrator to change the default settings. What are the default settings?&lt;br /&gt;      * For LAN interfaces, one tick; for WAN interfaces, six ticks&lt;br /&gt;      * For LAN interfaces, six ticks; for WAN interfaces, one tick&lt;br /&gt;      * For LAN interfaces, zero ticks; for WAN interfaces, five ticks&lt;br /&gt;      * For LAN interfaces, five ticks; for WAN interfaces, zero Ticks&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      The default is–for LAN interfaces, one tick; for WAN interfaces, six ticks&lt;br /&gt;   6. As a system administrator, you need to set up one Ethernet interface on the Cisco router to allow for both sap and Novell-ether encapsulations. Which set of commands will accomplish this?&lt;br /&gt;      * interface ethernet 0.1 ipx encapsulation Novell-ether ipx network 9e interface ethernet 0.2 ipx network 6c&lt;br /&gt;      * interface ethernet 0 ipx encapsulation Novell-ether ipx network 9e interface ethernet 0 ipx encapsulation sap ipx network 6c&lt;br /&gt;      * interface ethernet 0.1 ipx encapsulation Novell-ether interface ethernet 0.2 ipx encapsulation sap&lt;br /&gt;      * interface ethernet 0.1ipx encapsulation Novell-ether ipx network 9e interface ethernet 0.2 ipx encapsulation sap ipx network 6c&lt;br /&gt;      Correct answer: D&lt;br /&gt;&lt;br /&gt;      The following commands setup the subinterfaces to allow for two types of encapsulation: interface ethernet 0.1 ipx encapsulation Novell-ether ipx network 9e interface ethernet 0.2 ipx encapsulation sap ipx network 6c&lt;br /&gt;   7. What does the “IPX maximum-paths 2? command accomplish?&lt;br /&gt;      * It enables load sharing on 2 paths if the paths are equal metric paths.&lt;br /&gt;      * It sets up routing to go to network 2.&lt;br /&gt;      * It is the default for Cisco IPX load sharing.&lt;br /&gt;      * It enables load sharing on 2 paths if the paths are unequal metric paths.&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      It enables load sharing on 2 paths if the paths are equal metric paths. The default is 1 path and the maximum is 512 paths.&lt;br /&gt;   8. You want to enable both arpa and snap encapsulation on one router interface. How do you do this?&lt;br /&gt;      * The interface can handle multiple encapsulation types with no extra configuration.&lt;br /&gt;      * Assign two network numbers, one for each encapsulation type.&lt;br /&gt;      * Enable Novell-ether to run multiple encapsulation types.&lt;br /&gt;      * Both arpa and snap are enabled by default so you don’t have to configure anything.&lt;br /&gt;      Correct answer: B&lt;br /&gt;&lt;br /&gt;      To assign multiple network numbers, you usually use subinterfaces. A sample configuration follows: ipx ethernet 0.1 ipx encapsulation novell-ether ipx network 9e interface ethernet 0.2 ipx encapsulation sap ipx network 6c&lt;br /&gt;      By default, Cisco routers forward GNS SAPs to remote networks.&lt;br /&gt;      * False&lt;br /&gt;      * True&lt;br /&gt;      Correct answer: A&lt;br /&gt;      GNS is Novell’s protocol to Get Nearest Server. If there is a server on the local network, that server will respond. If there isn’t, the Cisco router has to be configured to forward the GNS SAP.&lt;br /&gt;   9. To prevent Service Advertisements (SAPs) from flooding a network, Cisco routers do not forward them. How are services advertised to other networks?&lt;br /&gt;&lt;br /&gt;      * Each router builds its own SAP table and forwards that every 60 seconds.&lt;br /&gt;      * Each router assigns a service number and broadcasts that.&lt;br /&gt;      * SAPs aren’t necessary with Cisco routers.&lt;br /&gt;      * Cisco routers filter out all SAPs.&lt;br /&gt;      Correct answer: A&lt;br /&gt;      Cisco routers build SAP tables and forward the table every 60 seconds. All SAPs can’t be filtered even with 4.x since NDS and time synchronization uses SAPs.&lt;br /&gt;  10. Novell’s implementation of RIP updates routing tables every ____ seconds.&lt;br /&gt;      * 60&lt;br /&gt;      * 90&lt;br /&gt;      * 10&lt;br /&gt;      * 30&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      Novell’s RIP updates routing tables every 60 seconds, Apple’s RTMP is every 10 seconds, routers ARP every 60 seconds, IGRP signal every 90 seconds, and Banyan VINES signals every 90 seconds.&lt;br /&gt;  11. In Novell’s use of RIP, there are two metrics used to make routing decisions. Select the two metrics.&lt;br /&gt;      * Ticks.&lt;br /&gt;      * Hops&lt;br /&gt;      * Loops&lt;br /&gt;      * Counts&lt;br /&gt;      Correct answer: A &amp;amp;B&lt;br /&gt;&lt;br /&gt;      It first uses ticks (which is about 1/18 sec.); if there is a tie, it uses hops; if hops are equal, then it uses an administratively assigned tiebreaker.&lt;br /&gt;  12. What is the Cisco name for the encapsulation type used on a serial interface?&lt;br /&gt;      * HDLC&lt;br /&gt;      * SDLC&lt;br /&gt;      * SAP&lt;br /&gt;      * SNAP&lt;br /&gt;      Correct answer: A&lt;br /&gt;  13. “arpa” is used by the Cisco IOS for which encapsulation types?&lt;br /&gt;      * Ethernet_II&lt;br /&gt;      * Ethernet_802.3&lt;br /&gt;      * Ethernet_802.2&lt;br /&gt;      * Ethernet_SNAP&lt;br /&gt;      Correct answer: A&lt;br /&gt;  14. Novell’s IPX and Cisco’s IOS name their protocols differently. Cisco uses sap for Ethernet_802.2, Token-Ring, and Novell’s FDDI_802.2. Cisco uses snap for Ethernet_SNAP, Token-Ring_SNAP, and FDDI_SNAP. Cisco uses arpa for Ethernet_II and, finally the default is Novell-ether for Novell’s Ethernet_802.3. “snap” is used by the Cisco IOS for which encapsulation types?&lt;br /&gt;      * Ethernet_SNAP&lt;br /&gt;      * Token-Ring_SNAP&lt;br /&gt;      * FDDI_SNAP&lt;br /&gt;      * Novell-SNAP&lt;br /&gt;      * Novell-FDDI.&lt;br /&gt;&lt;br /&gt;      Correct answer: A,B &amp;amp;C&lt;br /&gt;  15. Novell’s IPX and Cisco’s IOS name their protocols differently. Cisco uses sap for Ethernet_802.2, Token-Ring, and Novell’s FDDI_802.2. Cisco uses snap for Ethernet_SNAP, Token-Ring_SNAP, and FDDI_SNAP. Cisco uses arpa for Ethernet_II and, finally the default is Novell-ether for Novell’s Ethernet_802.3.15 “sap” is used by the Cisco IOS for which encapsulation types?&lt;br /&gt;      * Ethernet_802.2&lt;br /&gt;      * Token-Ring&lt;br /&gt;      * FDDI_SNAP&lt;br /&gt;      * Ethernet_802.3&lt;br /&gt;&lt;br /&gt;      * FDDI_802.2&lt;br /&gt;      Correct answer: A,B &amp;amp;E&lt;br /&gt;  16. Novell’s IPX and Cisco’s IOS name their protocols differently. Cisco uses sap for Ethernet_802.2, Token-Ring, and Novell’s FDDI_802.2. Cisco uses snap for Ethernet_SNAP, Token-Ring_SNAP, and FDDI_SNAP. Cisco uses arpa for Ethernet_II and, finally the default is Novell-ether for Novell’s Ethernet_802.3. Which type of Ethernet framing is used for TCP/IP and AppleTalk?&lt;br /&gt;      * Ethernet 802.3&lt;br /&gt;      * Ethernet 802.2&lt;br /&gt;      * Ethernet II&lt;br /&gt;&lt;br /&gt;      * Ethernet SNAP&lt;br /&gt;      Correct answer: D&lt;br /&gt;      Ethernet 802.3 is used with NetWare versions 2 through 3.11, Ethernet 802.2 is used with NetWare 3.12 and later plus OSI routing, Ethernet II is used with TCP/IP and DECnet, and Ethernet SNAP is used with TCP/IP and AppleTalk.&lt;br /&gt;  17. Which type of Ethernet framing is used for TCP/IP and DECnet?&lt;br /&gt;      * Ethernet 802.3&lt;br /&gt;      * Ethernet 802.2&lt;br /&gt;      * Ethernet II&lt;br /&gt;&lt;br /&gt;      * Ethernet SNAP&lt;br /&gt;      Correct answer: C&lt;br /&gt;      Ethernet 802.3 is used with NetWare versions 2 through 3.11, Ethernet 802.2 is used with NetWare 3.12 and later plus OSI routing, Ethernet II is used with TCP/IP and DECnet, and Ethernet SNAP is used with TCP/IP and AppleTalk.&lt;br /&gt;  18. You are a system administrator on a NetWare network, you are running NetWare 4.11 and you cannot communicate with your router. What is the likely problem?&lt;br /&gt;      * NetWare 4.11 defaults to 802.2 encapsulation.&lt;br /&gt;      * NetWare 4.11 defaults to 802.3 encapsulation&lt;br /&gt;      * Cisco routers only work with NetWare 3.11.&lt;br /&gt;&lt;br /&gt;      * NetWare 3.11 defaults to 802.2 encapsulation.&lt;br /&gt;      Correct answer: A&lt;br /&gt;      The default encapsulation on Cisco routers is Novell Ethernet_802.3 and NetWare 3.12 and later defaults to 802.2 encapsulation, 3.11 and earlier defaults to 802.3.&lt;br /&gt;  19. NetWare IPX addressing uses a network number and a node number. Which statements are true?&lt;br /&gt;      * The network address is administratively assigned and can be up to 16 hexadecimal digits long.&lt;br /&gt;      * The node address is always administratively assigned.&lt;br /&gt;      * The node address is usually the MAC address.&lt;br /&gt;&lt;br /&gt;      * If the MAC address is used as the node address, then IPX eliminates the use of ARP.&lt;br /&gt;      Correct answer: A, C &amp;amp;D&lt;br /&gt;      The network address can be up to 16 hexadecimal digits in length. The node number is 12 hexadecimal digits. The node address is usually the MAC address. An example IPX address is 4a1d.0000.0c56.de33. The network part is 4a1d. The node part is 0000.0c56.de33. The network number is assigned by the system administrator of the Novell network.&lt;br /&gt;  20. Which NetWare protocol works on layer 3–network layer—of the OSI model?&lt;br /&gt;      * IPX&lt;br /&gt;      * NCP&lt;br /&gt;&lt;br /&gt;      * SPX&lt;br /&gt;      * NetBIOS&lt;br /&gt;      Correct answer: A&lt;br /&gt;      IPX (Internetwork Packet Exchange) is a NetWare network layer 3 protocol used for transferring information on LANs.&lt;br /&gt;  21. Which NetWare protocol provides link-state routing?&lt;br /&gt;      * NLSP&lt;br /&gt;      * RIP&lt;br /&gt;&lt;br /&gt;      * SAP&lt;br /&gt;      * NCP&lt;br /&gt;      Correct answer: A&lt;br /&gt;      NetWare Link Services Protocol (NLSP) provides link-state routing. SAP (Service Advertisement Protocol) advertises network services. NCP (NetWare Core Protocol) provides client-to-server connections and applications. RIP is a distance vector routing protocol.&lt;br /&gt;  22. As a system administrator, you want to debug igrp but are worried that the “debug IP igrp transaction” command will flood the console. What is the command that you should use?&lt;br /&gt;      * debug IP igrp event&lt;br /&gt;      * debug IP igrp-events&lt;br /&gt;&lt;br /&gt;      * debug IP igrp summary&lt;br /&gt;      * debug IP igrp events&lt;br /&gt;      Correct answer: D&lt;br /&gt;      The “debug IP igrp events” is used to only display a summary of IGRP routing information. You can append an IP address onto either command to see only the IGRP updates from a neighbor.&lt;br /&gt;  23. What does the following series of commands accomplish? router igrp 71 network 10.0.0.0 router igrp 109 network 172.68.7.0&lt;br /&gt;      * It isolates networks 10.0.0.0 and 172.68.7.0.&lt;br /&gt;      * It loads igrp for networks 109 and 71.&lt;br /&gt;&lt;br /&gt;      * It disables RIP.&lt;br /&gt;      * It disables all routing protocols.&lt;br /&gt;      Correct answer: A&lt;br /&gt;      It isolates network 10.0.0.0 and 172.68.7.0 and associates autonomous systems 109 and 71 with IGRP. IGRP does not disable RIP, both can be used at the same time.&lt;br /&gt;  24. In the command “router igrp 109? what does 109 signify?&lt;br /&gt;      * an autonomous system&lt;br /&gt;      * any network number which the router is attached to&lt;br /&gt;&lt;br /&gt;      * the allowable length of the routing table&lt;br /&gt;      * the network socket number&lt;br /&gt;      Correct answer: A&lt;br /&gt;      The Cisco IOS global configuration command “router igrp xxx” is used to configure the Interior Gateway Routing Protocol. In this case, the 109 is called the process-id , which can also be used for an autonomous system number.&lt;br /&gt;  25. IGRP supports a feature that allows traffic to be distributed among up to 6 (4 default) paths to provide greater overall throughput and reliability. What is this called?&lt;br /&gt;      * unequal-cost load balancing&lt;br /&gt;      * equal-cost load balancing&lt;br /&gt;&lt;br /&gt;      * proportionate load balancing&lt;br /&gt;      * low cost load balancing&lt;br /&gt;      Correct answer: A&lt;br /&gt;      An unequal-cost load balancing is used to provide alternate paths for data distribution on an internetwork. Cisco developed this method to use unused or under utilized links to increase bandwidth and network availability.&lt;br /&gt;  26. IGRP uses flash updates, poison reverse updates, holddown times, and split horizon. How often does it broadcast its routing table updates?&lt;br /&gt;      * 90 seconds&lt;br /&gt;      * 10 seconds&lt;br /&gt;&lt;br /&gt;      * 30 seconds&lt;br /&gt;      * 45 seconds&lt;br /&gt;      Correct answer: A&lt;br /&gt;  27. The command “show IP protocol” displays which information?&lt;br /&gt;      * routing timers&lt;br /&gt;      * network information&lt;br /&gt;&lt;br /&gt;      * contents of the IP routing table&lt;br /&gt;      * information about all known network and subnetworks&lt;br /&gt;      Correct answer: A &amp;amp; B&lt;br /&gt;      “show IP protocol” displays routing timers and network information. “show IP route” displays the routing table with information about all known networks and subnetworks.&lt;br /&gt;  28. When using RIP, routing updates are broadcast every ____ seconds.&lt;br /&gt;      * 30&lt;br /&gt;&lt;br /&gt;      * 10&lt;br /&gt;      * 60&lt;br /&gt;      * 90&lt;br /&gt;      Correct answer: A&lt;br /&gt;      Novell’s RIP updates routing tables every 60 seconds, Apple’s RTMP is every 10 seconds, routers ARP every 60 seconds, DECnet hosts and IGRP signal every 15 seconds, and Banyan VINES signals every 90 seconds.&lt;br /&gt;  29. An autonomous system can only exist if all routers in that system meet which criteria?&lt;br /&gt;      * interconnected&lt;br /&gt;&lt;br /&gt;      * run the same routing protocol&lt;br /&gt;      * assigned same autonomous system number&lt;br /&gt;      * run IGRP only&lt;br /&gt;      * run RIP only&lt;br /&gt;      Correct answer: A,B &amp;amp;C&lt;br /&gt;      An autonomous system is a set of routers and networks under the same administration. Each router must be interconnected, run the same routing protocol, and assigned the same autonomous system number. The network Information Center (NIC) assigns a unique autonomous system number to enterprises.&lt;br /&gt;  30. A default route is analogous to a _________.&lt;br /&gt;      * default gateway&lt;br /&gt;      * static route&lt;br /&gt;      * dynamic route&lt;br /&gt;      * one-way route&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      A default route is analogous to a default gateway. It is used to reduce the length of routing tables and to provide complete routing capabilities when a router might not know the routes to all other networks.&lt;br /&gt;  31. Routers can learn about destinations through static routes, default, or dynamic routing. By default, a router will use information derived from __________.&lt;br /&gt;      * IGRP&lt;br /&gt;      * RIP&lt;br /&gt;      * IP&lt;br /&gt;      * TCP&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      The quality of information is rated:&lt;br /&gt;      Connected interface 0&lt;br /&gt;      Static route 1&lt;br /&gt;      IGRP 100&lt;br /&gt;      RIP 120&lt;br /&gt;      Unknown 255&lt;br /&gt;      The lower the value, the more reliable the source with 255 signifying information that the router will ignore. So, the router will use IGRP, rated at 100, before RIP, rated at 120.&lt;br /&gt;  32. You are logged into a router, what command would show you the IP addresses of routers connected to you?&lt;br /&gt;      * show cdp neighbors detail&lt;br /&gt;&lt;br /&gt;      * show run&lt;br /&gt;      * show neighbors&lt;br /&gt;      * show cdp&lt;br /&gt;      Correct answer: A&lt;br /&gt;  33. As a system administrator, you perform an extended ping at the privileged EXEC prompt. As part of the display, you see “Set DF bit in IP header? [yes] :” What would happen if you answered no at the prompt.&lt;br /&gt;      * This lets the router fragment the packet.&lt;br /&gt;&lt;br /&gt;      * It tells the router not to fragment the packet.&lt;br /&gt;      * This lets the router direct the packet to the destination it finds in its routing table.&lt;br /&gt;      * It tell the router to send the packet to the next hop router&lt;br /&gt;      Correct answer: A&lt;br /&gt;      “Set DF bit in IP header?” is a response to an extended ping at the router. If you answer yes (the default) the router will not fragment the packet. If you answer no, the router will fragment the packet.&lt;br /&gt;  34. You have typed “ping” 172.16.101.1 and get the following display: Type escape sequence to abort. Sending 5, 100-byte ICMP Echoes to 172.16.101.1, timeout is 2 seconds:&lt;br /&gt;      .!!!!&lt;br /&gt;&lt;br /&gt;      What does the “.” signify?&lt;br /&gt;      * That one message timed out.&lt;br /&gt;      * That all messages were successful.&lt;br /&gt;      * That one message was successful.&lt;br /&gt;      * That one message completed in under the allotted timeframe.&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      The possible responses from the ping command are: ! Successful receipt of an echo reply. Timed out waiting for a reply U Destination unreachable C Congestion-experienced packet I Ping interrupted ? Packet type unknown &amp;amp; Packet TTL exceeded&lt;br /&gt;  35. Which command, that is used to test address configuration, uses Time-To-Live (TTL) values to generate messages from each router.&lt;br /&gt;      * trace&lt;br /&gt;      * ping&lt;br /&gt;      * telnet&lt;br /&gt;      * bootp&lt;br /&gt;&lt;br /&gt;      Correct answer: A&lt;br /&gt;      The Cisco IOS EXEC command “trace [protocol] [destination]” is used to discover routes that packets will travel to their destination hosts. Trace uses TTL (Time to Live) values to report destination route information.&lt;br /&gt;  36. What does the command “IP name-server 255.255.255.255? accomplish?&lt;br /&gt;&lt;br /&gt;      * It sets the domain name lookup to be a local broadcast.&lt;br /&gt;      * This is an illegal command.&lt;br /&gt;      * It disables domain name lookup.&lt;br /&gt;      * The command is now defunct and has been replaced by “IP server-name ip any”&lt;br /&gt;&lt;br /&gt;      Correct answer: A&lt;br /&gt;      By default DNS is enabled on a router with a server address of 255.255.255.255, which provides for a local broadcast.&lt;br /&gt;  37. As a system administrator, you need to provide your routers with a Domain Name System (DNS) server. How many DNS servers can you specify with one command?&lt;br /&gt;      * 6&lt;br /&gt;      * 1&lt;br /&gt;      * 2&lt;br /&gt;      * 4&lt;br /&gt;&lt;br /&gt;      Correct answer: A&lt;br /&gt;      You can only specify six name servers in one command. The syntax is “IP name-server server-address1 [[ server-address2 ]…server-address6]. You must also enable&lt;br /&gt;      DNS.&lt;br /&gt;  38. How would you configure one host name that points to two IP addresses?&lt;br /&gt;      * IP host jacob 1.0.0.5 2.0.0.8&lt;br /&gt;      * IP jacob 1.0.0.5 2.0.0.8&lt;br /&gt;      * IP host jacob 1.0.0.5&lt;br /&gt;&lt;br /&gt;      * IP host duplicate “all”&lt;br /&gt;      Correct answer: A&lt;br /&gt;      The correct syntax is IP host name [ TCP-port-number ] address [ address ]….. So, “IP host P1R1 1.0.0.5 2.0.0.8? is the correct choice. “IP host jacob 1.0.0.5? only points the host name jacob to one IP address–1.0.0.5.&lt;br /&gt;  39. The following selections show the command prompt and the configuration of the IP network mask. Which two are correct?&lt;br /&gt;      * Router#term IP netmask-format { bitcount | decimal | hexadecimal }&lt;br /&gt;      * Router(config-if)#IP netmask-format { bitcount | decimal | hexadecimal }&lt;br /&gt;      * Router(config-if)#netmask-format { bitcount | decimal | hexadecimal }&lt;br /&gt;&lt;br /&gt;      * Router#ip netmask-format { bitcount | decimal | hexadecimal }&lt;br /&gt;      Correct answer: A &amp;amp; B&lt;br /&gt;      Router#term IP netmask-format { bitcount | decimal | hexadecimal } and Router(config-if)#IP netmask-format { bitcount | decimal | hexadecimal } are correct. You can configure the mask for the current session and you can configure it for a specific line.&lt;br /&gt;  40. When configuring the subnet mask for an IP address, which formats can be used?&lt;br /&gt;      * dotted-decimal.&lt;br /&gt;      * Hexadecimal&lt;br /&gt;&lt;br /&gt;      * Bit-count&lt;br /&gt;      * Octal&lt;br /&gt;      * Binary&lt;br /&gt;      Correct answer: A, B &amp;amp;C&lt;br /&gt;  41. You are given the following address: 153.50.6.27/25. Determine the subnet mask, address class, subnet address, and broadcast address.&lt;br /&gt;      * 255.255.255.128, B,153.50.6.0, 153.50.6.127&lt;br /&gt;&lt;br /&gt;      * 255.255.255.128, C,153.50.6.0, 153.50.6.127&lt;br /&gt;      * 255.255.255.128, C,153.50.6.127, 153.50.6.0&lt;br /&gt;      * 255.255.255.224, C,153.50.6.0, 153.50.6.127&lt;br /&gt;      Correct answer: A&lt;br /&gt;  42. You are given the following address: 128.16.32.13/30. Determine the subnet mask, address class, subnet address,&lt;br /&gt;      and broadcast address.&lt;br /&gt;&lt;br /&gt;      * 255.255.255.252, B,128.16.32.12, 128.16.32.15&lt;br /&gt;      * 255.255.255.252, C,128.16.32.12, 128.16.32.15&lt;br /&gt;      * 255.255.255.252, B,128.16.32.15, 128.16.32.12&lt;br /&gt;      * 255.255.255.248, B,128.16.32.12, 128.16.32.15&lt;br /&gt;      Correct answer: A&lt;br /&gt;  43. You are given the following address: 15.16.193.6/21. Determine the subnet mask, address class, subnet address,&lt;br /&gt;&lt;br /&gt;      and broadcast address.&lt;br /&gt;      * 255.255.248.0, A, 15.16.192.0, 15.16.199.255&lt;br /&gt;      * 255.255.248.0, B, 15.16.192.0, 15.16.199.255&lt;br /&gt;      * 255.255.248.0, A, 15.16.199.255, 14.15.192.0&lt;br /&gt;      * 255.255.242.0, A, 15.16.192.0, 15.16.199.255&lt;br /&gt;      Correct answer: A&lt;br /&gt;  44. You have an IP host address of 201.222.5.121 and a subnet mask of 255.255.255.248. What is the broadcast address?&lt;br /&gt;      * 201.222.5.127&lt;br /&gt;      * 201.222.5.120&lt;br /&gt;      * 201.222.5.121&lt;br /&gt;      * 201.222.5.122&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      The easiest way to calculate this is to subtract 255.255.255.248 (subnet mask) from 255.255.255.255, this&lt;br /&gt;      equals 7. Convert the address 201.222.5.121 to binary–11001001 11011110 00000101 01111001. Convert the&lt;br /&gt;      mask 255.255.255.248 to binary–11111111 11111111 11111111 11111000. AND them together to get: 11001001 11011110&lt;br /&gt;  45. 01111000 or 201.222.5.120. 201.222.5.120 is the subnet address, add 7 to this address for 201.222.5.127 or&lt;br /&gt;      the broadcast address. 201.222.5.121 through 201.222.5.126 are the valid host addresses.&lt;br /&gt;  46. Given the address 172.16.2.120 and the subnet mask of 255.255.255.0. How many hosts are available?&lt;br /&gt;      * 254&lt;br /&gt;      * 510&lt;br /&gt;&lt;br /&gt;      * 126&lt;br /&gt;      * 16,372&lt;br /&gt;      Correct answer: A&lt;br /&gt;      172.16.2 120 is a standard Class B address with a subnet mask that allows 254 hosts. You are a network administrator and have been assigned the IP address of 201.222.5.0. You need to have 20 subnets with 5 hosts per subnet. The subnet mask is 255.255.255.248.&lt;br /&gt;  47. Which addresses are valid host addresses?&lt;br /&gt;      * 201.222.5.17&lt;br /&gt;      * 201.222.5.18&lt;br /&gt;&lt;br /&gt;      * 201.222.5.16&lt;br /&gt;      * 201.222.5.19&lt;br /&gt;      * 201.222.5.31&lt;br /&gt;      Correct answer: A,B &amp;amp; D&lt;br /&gt;      Subnet addresses in this situation are all in multiples of 8. In this example, 201.222.5.16 is the subnet, 201.22.5.31 is the broadcast address. The rest are valid host IDs on subnet 201.222.5.16.&lt;br /&gt;  48. You are a network administrator and have been assigned the IP address of 201.222.5.0. You need to have 20 subnets with&lt;br /&gt;  49. hosts per subnet. What subnet mask will you use?&lt;br /&gt;      * 255.255.255.248&lt;br /&gt;      * 255.255.255.128&lt;br /&gt;      * 255.255.255.192&lt;br /&gt;      * 255.255.255.240&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      By borrowing 5 bits from the last octet, you can. have 30 subnets. If you borrowed only 4 bits you could only have 14 subnets. The formula is (2 to the power of n)-2. By borrowing 4 bits, you have (2×2×2×2)-2=14. By borrowing 5 bits, you have (2×2×2×2×2)-2=30. To get 20 subnets, you would need to borrow 5 bits so the subnet mask would be 255.255.255.248.&lt;br /&gt;  50. You are given the IP address of 172.16.2.160 with a subnet mask of 255.255.0.0. What is the network address in binary?&lt;br /&gt;      * 10101100 00010000&lt;br /&gt;      * 00000010 10100000&lt;br /&gt;      * 10101100 00000000&lt;br /&gt;      * 11100000 11110000&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      To find the network address, convert the IP address to binary–10101100 000100000 00000010 10100000–then ANDed it with the subnet mask–11111111 11111111 00000000 00000000. The rest is 10101100 00010000 00000000 00000000, which is 172.16.0.0 in decimal.&lt;br /&gt;      The first octet rule states that the class of an address can be determined by the numerical value of the first octet.&lt;br /&gt;  51. Which addresses are INCORRECTLY paired with their class?&lt;br /&gt;      * 128 to 191, Class B&lt;br /&gt;      * 192 to 223 Class B&lt;br /&gt;      * 128 to 191, Class C&lt;br /&gt;      * 192 to 223, Class C&lt;br /&gt;&lt;br /&gt;      Correct answer: B &amp;amp; C&lt;br /&gt;      Address classes are: 1 to 126, Class A; 128 to 191, Class B, 192 to 223, Class C; 224 to 239, Class D; and&lt;br /&gt;  52. to 255, Class E. The first octet rule states that the class of an address can be determined by the numerical value of the first octet.&lt;br /&gt;  53. Which addresses are INCORRECTLY paired with their class?&lt;br /&gt;      * 1 to 126, Class A&lt;br /&gt;      * 128 to 191, Class A&lt;br /&gt;&lt;br /&gt;      * 1 to 126, Class B&lt;br /&gt;      * 128 to 191, Class B&lt;br /&gt;      Correct answer: B &amp;amp; C.&lt;br /&gt;      Address classes are: 1 to 126, Class A; 128 to 191, Class B, 192 to 223, Class C; 224 to 239, Class D; and&lt;br /&gt;  54. to 255, Class E. The first octet rule states that the class of an address can be determined by the numerical value of the first octet.&lt;br /&gt;  55. Which addresses are INCORRECTLY paired with their class?&lt;br /&gt;&lt;br /&gt;      * 240 - 255, Class D&lt;br /&gt;      * 240 - 255, Class E&lt;br /&gt;      * 224 - 239, Class D&lt;br /&gt;      * 224 - 239, Class E&lt;br /&gt;      Correct answer: A &amp;amp; D&lt;br /&gt;&lt;br /&gt;      Address classes are: 1 to 126, Class A; 128 to 191, Class B, 192 to 223, Class C; 224 to 239, Class D; and 240 to 255, Class E.&lt;br /&gt;  56. Which IP Address Class is INCORRECTLY paired with its range of network numbers?&lt;br /&gt;      * Class A addresses include 192.0.0.0 through 223.255.255.0&lt;br /&gt;      * Class A addresses include 1.0.0.0 through 126.0.0.0&lt;br /&gt;      * Class B addresses include 128.0.0.0 through 191.255.0.0&lt;br /&gt;      * Class C addresses include 192.0.0.0 through 223.255.255.0&lt;br /&gt;      * Class D addresses include 224.0.0.0 through 239.255.255.0&lt;br /&gt;&lt;br /&gt;      Correct answer: A&lt;br /&gt;      Class A addresses include 1.0.0.0 through 126.0.0.0&lt;br /&gt;      Class B addresses include 128.0.0.0 through 191.255.0.0&lt;br /&gt;      Class C addresses include 192.0.0.0 through 223.255.255.0&lt;br /&gt;      Class D addresses include 224.0.0.0 through 239.255.255.0&lt;br /&gt;  57. Which IP Address Class can have 16 million subnets but support 254 hosts?&lt;br /&gt;      * Class C&lt;br /&gt;      * Class A&lt;br /&gt;&lt;br /&gt;      * Class B&lt;br /&gt;      * Class D&lt;br /&gt;      Correct answer: A&lt;br /&gt;      Possible Subnets IP Address Class Possible Hosts&lt;br /&gt;  58. A 16M.&lt;br /&gt;      64K B 64K&lt;br /&gt;      16M C 254&lt;br /&gt;  59. Which IP Address Class can have 64,000 subnets with 64,000 hosts per subnet?&lt;br /&gt;      * Class B&lt;br /&gt;      * Class A&lt;br /&gt;      * Class C&lt;br /&gt;      * Class D&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      IP Address Class Possible Subnets Possible Hosts&lt;br /&gt;  60. A 16M&lt;br /&gt;      64K B 64K&lt;br /&gt;      16M C 254&lt;br /&gt;  61. There are two processes to pair MAC address with IP addresses. Which process finds an IP address from a MAC address?&lt;br /&gt;      * RARP&lt;br /&gt;      * ARP&lt;br /&gt;      * RIP&lt;br /&gt;&lt;br /&gt;      * IGRP&lt;br /&gt;      Correct answer: A&lt;br /&gt;      ARP (Address Resolution Protocol) maps an IP address to the MAC address, RARP (Reverse Address Resolution Protocol) maps the MAC address to the IP address. ARP and RARP work at the internet layer of the Internet Model or the network layer of the OSI model.&lt;br /&gt;  62. When the router runs out of buffer space, this is called ________.&lt;br /&gt;      * Source Quench&lt;br /&gt;      * Redirect&lt;br /&gt;      * Information Request&lt;br /&gt;&lt;br /&gt;      * Low Memory&lt;br /&gt;      Correct answer: A&lt;br /&gt;      Source quench is the process where the destination router, or end internetworking device will “quench” the date from the “source”, or the source router. This usually happens when the destination router runs out of buffer space to process packets.&lt;br /&gt;  63. Which protocol carries messages such as destination Unreachable, Time Exceeded, Parameter Problem, Source Quench, Redirect, Echo, Echo Reply, Timestamp, Information Request, Information Reply, Address Request, and Address Reply?&lt;br /&gt;      * ICMP&lt;br /&gt;      * UDP&lt;br /&gt;      * TCP&lt;br /&gt;&lt;br /&gt;      * TFTP&lt;br /&gt;      * FTP&lt;br /&gt;      Correct answer: A&lt;br /&gt;      ICMP (Internet Control Message Protocol) is a network layer internet protocol described in RFC # 792. ICMP reports IP packet information such as destination Unreachable, Time Exceeded, Parameter Problem, Source Quench, Redirect, Echo, Echo Reply, Timestamp, Information Request, Information Reply, Address Request, and Address Reply.&lt;br /&gt;  64. Two of the protocols that can be carried in the Protocol field of an IP packet are?&lt;br /&gt;      * TCP&lt;br /&gt;      * UDP&lt;br /&gt;&lt;br /&gt;      * FTP&lt;br /&gt;      * TFTP&lt;br /&gt;      Correct answer: A &amp;amp; B&lt;br /&gt;      The following are the fields in an IP segment,&lt;br /&gt;      their length, and their definitions:&lt;br /&gt;      VERS (Version number - 16 bits)&lt;br /&gt;&lt;br /&gt;      HLEN (Number of 32-bit words in the header - 4 bits)&lt;br /&gt;      Type of Server (How the datagram should be handled - 32 bits)&lt;br /&gt;      Total Length (Total length of header and data - 32 bits)&lt;br /&gt;      Identification (Provide fragmentation of datagrams to allow different MTUs in the internet - 4 bits)&lt;br /&gt;      Flags (Provide fragmentation of datagrams to allow different MTUs in the internet - 4 bits)&lt;br /&gt;      Frag Offset (Provide fragmentation of datagrams to allow different MTUs in the internet - 6 bits)&lt;br /&gt;      TTL (Time-To-Live - 6 bits)&lt;br /&gt;      Protocol (Upperlayer protocol sending the datagram - 16 bits)&lt;br /&gt;      Header Checksum )Integrity check on the header - 16 bits)&lt;br /&gt;&lt;br /&gt;      Source IP Address (32 bits)&lt;br /&gt;      Destination IP Address (32 bits)&lt;br /&gt;      IP Options (network testing, debugging, security and others - 4 bits)&lt;br /&gt;      Data (4 bits).&lt;br /&gt;  65. Where would network testing be included in an IP packet?&lt;br /&gt;      * IP Options field&lt;br /&gt;      * Identification field&lt;br /&gt;      * Type of Service field&lt;br /&gt;&lt;br /&gt;      * Reservation field&lt;br /&gt;      Correct answer: A&lt;br /&gt;      The following are the fields in an IP segment, their length, and their definitions:&lt;br /&gt;      VERS (Version number - 16 bits)&lt;br /&gt;      HLEN (Number of 32-bit words in the header - 4 bits)&lt;br /&gt;      Type of Server (How the datagram should be handled - 32 bits)&lt;br /&gt;      Total Length (Total length of header and data - 32 bits)&lt;br /&gt;      Identification (Provide fragmentation of datagrams to allow different MTUs in the internet - 4 bits)&lt;br /&gt;&lt;br /&gt;      Flags (Provide fragmentation of datagrams to allow different MTUs in the internet - 4 bits)&lt;br /&gt;      Frag Offset (Provide fragmentation of datagrams to allow different MTUs in the internet - 6 bits)&lt;br /&gt;      TTL (Time-To-Live - 6 bits)&lt;br /&gt;      Protocol (Upperlayer protocol sending the datagram - 16 bits)&lt;br /&gt;      Header Checksum )Integrity check on the header - 16 bits)&lt;br /&gt;      Source IP Address (32 bits)&lt;br /&gt;      Destination IP Address (32 bits)&lt;br /&gt;      IP Options (network testing, debugging, security and others - 4 bits)&lt;br /&gt;      Data (4 bits).&lt;br /&gt;  66. What field tells the Internet layer how to handle an IP packet?&lt;br /&gt;      * Type of Service&lt;br /&gt;      * Identification&lt;br /&gt;      * Flags&lt;br /&gt;      * Frag Offset&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      The following are the fields in an IP segment, their length, and their definitions:&lt;br /&gt;      VERS (Version number - 16 bits)&lt;br /&gt;      HLEN (Number of 32-bit words in the header - 4 bits)&lt;br /&gt;      Type of Server (How the datagram should be handled - 32 bits)&lt;br /&gt;      Total Length (Total length of header and data - 32 bits)&lt;br /&gt;      Identification (Provide fragmentation of datagrams to allow different MTUs in the internet - 4 bits)&lt;br /&gt;      Flags (Provide fragmentation of datagrams to allow different MTUs in the internet - 4 bits)&lt;br /&gt;      Frag Offset (Provide fragmentation of datagrams to allow different MTUs in the internet - 6 bits)&lt;br /&gt;      TTL (Time-To-Live - 6 bits)&lt;br /&gt;&lt;br /&gt;      Protocol (Upperlayer protocol sending the datagram - 16 bits)&lt;br /&gt;      Header Checksum )Integrity check on the header - 16 bits)&lt;br /&gt;      Source IP Address (32 bits)&lt;br /&gt;      Destination IP Address (32 bits)&lt;br /&gt;      IP Options (network testing, debugging, security and others - 4 bits) Data (4 bits).&lt;br /&gt;  67. Which fields of an IP packet provide for fragmentation of datagrams to allow differing MTUs in the internet?&lt;br /&gt;      * Identification&lt;br /&gt;      * Flags&lt;br /&gt;&lt;br /&gt;      * Frag Offset&lt;br /&gt;      * Type of Service&lt;br /&gt;      * Total Length&lt;br /&gt;      Correct answer: A, B &amp;amp; C&lt;br /&gt;      The following are the fields in an IP segment, their length, and their definitions:&lt;br /&gt;      VERS (Version number - 16 bits)&lt;br /&gt;&lt;br /&gt;      HLEN (Number of 32-bit words in the header - 4 bits)&lt;br /&gt;      Type of Server (How the datagram should be handled - 32 bits)&lt;br /&gt;      Total Length (Total length of header and data - 32 bits)&lt;br /&gt;      Identification (Provide fragmentation of datagrams to allow different MTUs in the internet - 4 bits)&lt;br /&gt;      Flags (Provide fragmentation of datagrams to allow different MTUs in the internet - 4 bits)&lt;br /&gt;      Frag Offset (Provide fragmentation of datagrams to allow different MTUs in the internet - 6 bits)&lt;br /&gt;      TTL (Time-To-Live - 6 bits)&lt;br /&gt;      Protocol (Upperlayer protocol sending the datagram - 16 bits)&lt;br /&gt;      Header Checksum )Integrity check on the header - 16 bits)&lt;br /&gt;&lt;br /&gt;      Source IP Address (32 bits)&lt;br /&gt;      Destination IP Address (32 bits)&lt;br /&gt;      IP Options (network testing, debugging, security and others - 4 bits)&lt;br /&gt;      Data (4 bits).&lt;br /&gt;  68. Which processes does TCP, but not UDP, use?&lt;br /&gt;      * Windowing&lt;br /&gt;      * Acknowledgements&lt;br /&gt;      * Source Port&lt;br /&gt;&lt;br /&gt;      * Destination Port&lt;br /&gt;      Correct answer: A &amp;amp; B&lt;br /&gt;      UDP (User Datagram Protocol) does not use sequence or acknowledgement fields in transmission.&lt;br /&gt;      UDP is a connectionless and unreliable protocol, since there is no delivery checking mechanism in the UDP data format.&lt;br /&gt;  69. What is the UDP datagram format?&lt;br /&gt;      * Source Port - 16 bits, Destination Port - 16 bits, Length - 16 Bits, Checksum - 16 bits, Data&lt;br /&gt;&lt;br /&gt;      * Destination Port - 16 bits, Source Port - 16 bits, Length - 16 Bits, Checksum - 16 bits, Data&lt;br /&gt;      * Source Port - 16 bits, Destination Port - 16 bits, Checksum - 16 Bits, Length - 16 bits, Data&lt;br /&gt;      * Source Port - 8 bits, Destination Port - 8 bits, Length -8 Bits, Checksum - 8 bits, Data&lt;br /&gt;      Correct answer: A&lt;br /&gt;      The UDP format for a segment is as follows:&lt;br /&gt;      Source Port 16 bits&lt;br /&gt;      Destination Port 16 bits&lt;br /&gt;&lt;br /&gt;      Length 16 bits&lt;br /&gt;      Checksum 16 bits&lt;br /&gt;      Data xx bits&lt;br /&gt;  70. What is the function of DDR on Cisco routers?&lt;br /&gt;      * DDR is dial–on-demand routing. It provides a continuous LAN only connection.&lt;br /&gt;      * DDR is dial-on-demand routing. It provides routing for high volume traffic.&lt;br /&gt;      * DDR is dial–on-demand routing. It provides a continuous WAN connection.&lt;br /&gt;&lt;br /&gt;      * DDR is dial-on-demand routing. It provides routing for low volume and periodic traffic.&lt;br /&gt;      Correct answer: D&lt;br /&gt;      DDR is dial-on-demand routing. It provides routing for low volume and periodic traffic. It initiates a call to a remote site when there is traffic to transmit.&lt;br /&gt;  71. What are the two types of access lists that can be configured on a Cisco router?&lt;br /&gt;      * Standard&lt;br /&gt;      * Extended&lt;br /&gt;      * Filtering&lt;br /&gt;&lt;br /&gt;      * Packet&lt;br /&gt;      Correct answer: A &amp;amp; B&lt;br /&gt;      The access lists are standard and extended. Standard access lists for IP check the source address of packets that could be routed. Extended access lists can check the source and destination packet plus check for specific protocols, port numbers, etc.&lt;br /&gt;  72. When using access lists, what does a Cisco router check first?&lt;br /&gt;      * To see if the packet is routable or bridgeable&lt;br /&gt;      * The destination address&lt;br /&gt;&lt;br /&gt;      * The source address&lt;br /&gt;      * The packet contents&lt;br /&gt;      Correct answer: A&lt;br /&gt;      The first thing checked is to see if the packet is routable or bridgeable. If it is not, the packet will be dropped.&lt;br /&gt;  73. How many access lists are allowed per interface?&lt;br /&gt;      * One per port, per protocol&lt;br /&gt;      * Two per port, per protocol&lt;br /&gt;&lt;br /&gt;      * Unlimited&lt;br /&gt;      * Router interface +1 per port.&lt;br /&gt;      Correct answer: A&lt;br /&gt;      Only one access list is allowed per interface. An access list must have conditions that test true for all packets that use the access list.&lt;br /&gt;  74. What do the following commands accomplish?&lt;br /&gt;      access-list 1 deny 172.16.4.0 0.0.0.255&lt;br /&gt;      access-list 1 permit any interface ethernet 0&lt;br /&gt;&lt;br /&gt;      IP access-group 1 out&lt;br /&gt;      * This will block traffic from subnet 172.16.4.0 and allow all other traffic.&lt;br /&gt;      * This will allow traffic from subnet 172.16.4.0 and block all other traffic.&lt;br /&gt;      * All traffic is allowed.&lt;br /&gt;      * All traffic is blocked.&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      This will block traffic from subnet 172.16.4.0 and allow all other traffic. The first statement “access-list 1 deny 172.16.4.0 0.0.0.255? will deny access to the subnet 172.16.4.0.&lt;br /&gt;  75. What do the following statements in an extended access list accomplish?&lt;br /&gt;      access-list 101 deny TCP 172.16.4.0 0.0.0.255 172.16.3.0 0.0.0.255 eq 21&lt;br /&gt;      access-list 101 deny TCP 172.16.4.0 0.0.0.255 172.16.3.0 0.0.0.255 eq 20&lt;br /&gt;      access-list 101 permit TCP 172.16.4.0 0.0.0.255 0.0.0.0 255.255.255.255&lt;br /&gt;      * This will block ftp traffic.&lt;br /&gt;      * This will block http traffic.&lt;br /&gt;      * This will permit ftp traffic.&lt;br /&gt;&lt;br /&gt;      * This will permit tftp traffic.&lt;br /&gt;      Correct answer: A&lt;br /&gt;      This will block ftp traffic since ftp uses ports 20 and 21.&lt;br /&gt;  76. Access lists are numbered. Which of the following ranges could be used for an IP access list?&lt;br /&gt;      * 600 - 699&lt;br /&gt;      * 100 - 199&lt;br /&gt;      * 1 - 99&lt;br /&gt;&lt;br /&gt;      * 800 - 899&lt;br /&gt;      * 1000 - 1099&lt;br /&gt;      Correct answer: wer: B &amp;amp; C&lt;br /&gt;      AppleTalk access lists use numbers in the 600 - 699 range. IP uses 1 - 99 for standard access lists or 100-199 for extended access lists. IPX uses 800 - 899 or 900 - 999 for extended access lists. IPX SAP filters use 1000 - 1099.&lt;br /&gt;  77. Cisco routers use wildcard masking to identify how to check or ignore corresponding IP address bits. What does setting a wildcard mask bit to 0 cause the router to do?&lt;br /&gt;      * It tells the router to check the corresponding bit value.&lt;br /&gt;&lt;br /&gt;      * It tells the router to ignore the corresponding bit value.&lt;br /&gt;      * It tells the router to check its alternate routing list.&lt;br /&gt;      * It tells the router to use its primary routing list.&lt;br /&gt;      Correct answer: A&lt;br /&gt;      It tells the router to check the corresponding bit value.&lt;br /&gt;  78. You are a system administrator and you want to deny access to a group of computers with addresses 172.30.16.0 to 172.30.31.0. Which wildcard mask would you use?&lt;br /&gt;      * 0.0.15.255&lt;br /&gt;&lt;br /&gt;      * 0.0.255.255&lt;br /&gt;      * 0.0.31.255&lt;br /&gt;      * 0.0.127.255&lt;br /&gt;      * 0.0.255.255&lt;br /&gt;      Correct answer: A&lt;br /&gt;      0.0.15.255 will check the last 13 bits of an address so that computers 172.30.16.0 to 172.30.31.0 will be denied access. 0.0.31.255 would check the last 6 binary digits and deny access to addresses 172.30.32.0 to 172.30.63.0. 0.0.127.255 would check the last 7 binary digits and deny access to addresses 172.30.64.0 to 172.30.127.0. 0.0.255.255 would deny 172.30.0.0 to 172.30.254.0. If you write decimal 15 in binary, you have 0001111, the 1’s tell the router to ignore address with these bits set; 0’s tell the router to check the bits. The third octet for 172.30.16.0 is 00010000. The third octet for 172.30.31.0 would be 00011111. So, traffic from these addresses would be denied.&lt;br /&gt;  79. In order to limit the quantity of numbers that a system administrator has to enter, Cisco can use which abbreviation to indicate 0.0.0.0?&lt;br /&gt;      * host&lt;br /&gt;      * any&lt;br /&gt;      * all&lt;br /&gt;      * include&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      Cisco uses host to specify 0.0.0.0. This tells the router to check all. Cisco uses any to specify 255.255.255.255. This tells the router to ignore all and permit any address to use an access list test.&lt;br /&gt;  80. What do the following commands accomplish?&lt;br /&gt;      access-list 1 permit 172.16.0.0 0.0.255.255&lt;br /&gt;      interface ethernet 0&lt;br /&gt;      IP access-group 1 out&lt;br /&gt;      interface ethernet 1&lt;br /&gt;      IP access-group 1 out&lt;br /&gt;      * Only traffic from the source network 172.16.0.0 will be blocked.&lt;br /&gt;&lt;br /&gt;      * Only traffic from the source network 172.16.0.0 will be forwarded. Non-172.16.0.0 network traffic is blocked.&lt;br /&gt;      * Non-172.16.0.0 traffic will be forwarded.&lt;br /&gt;      * All traffic will be forwarded.&lt;br /&gt;      Correct answer: B&lt;br /&gt;      Only traffic from the source network 172.16.0.0 will be forwarded. Non-172.16.0.0 network traffic is blocked. The wildcard mask 0.0.255.255 tells the router to check the first 2 octets and to ignore the last 2 octets.&lt;br /&gt;  81. When using access lists, it is important where those access lists are placed. Which statement best describes access list placement?&lt;br /&gt;      * Put standard access lists as near the destination as possible. Put extended access lists as close to the source as possible.&lt;br /&gt;&lt;br /&gt;      * Put extended access lists as near the destination as possible. Put standard access lists as close to the source as possible.&lt;br /&gt;      * It isn’t import where access lists are placed since the router will read and cache the whole list.&lt;br /&gt;      * Put access lists as close to corporate headquarters as possible.&lt;br /&gt;      Correct answer: A&lt;br /&gt;      Put standard access lists as near the destination as possible. Put extended access lists as close to the source as possible. Standard access lists don’t specify the destination address.&lt;br /&gt;  82. As the system administrator, you enter the following commands at the command prompt:&lt;br /&gt;      ipx routing&lt;br /&gt;&lt;br /&gt;      access-list 800 permit 2b 4d&lt;br /&gt;      int e0&lt;br /&gt;      ipx network 4d&lt;br /&gt;      ipx access-group 800 out&lt;br /&gt;      int e1&lt;br /&gt;      ipx network 2b&lt;br /&gt;      int e2&lt;br /&gt;      ipx network 3c&lt;br /&gt;      What did these command accomplish?&lt;br /&gt;&lt;br /&gt;      * Traffic from network 4c destined for network 4d will be forwarded out Ethernet0.&lt;br /&gt;      * Traffic from network 3c destined for network 4d will be forwarded out Ethernet0.&lt;br /&gt;      * Traffic from network 2b destined for network 4d will be forwarded out Ethernet0.&lt;br /&gt;      * Traffic from network 4d destined for network 2d will be forwarded out Ethernet0.&lt;br /&gt;      Correct answer: C&lt;br /&gt;      Traffic from network 2b destined for network 4d will be forwarded out Ethernet0. The other interfaces E1 and E2 are not subject to the access list since they lack the access group statement to link them to access list 800.&lt;br /&gt;  83. The following commands were entered at the command prompt of a Cisco router. What do they accomplish?&lt;br /&gt;      access-list 1000 deny 9e.1234.5678.1212 4&lt;br /&gt;      access-list 1000 permit -1&lt;br /&gt;      interface ethernet 0&lt;br /&gt;      ipx network 9e&lt;br /&gt;      interface ethernet 1&lt;br /&gt;      ipx network 4a&lt;br /&gt;      interface serial 0&lt;br /&gt;      ipx network 1&lt;br /&gt;&lt;br /&gt;      ipx output-sap-filter 1000&lt;br /&gt;      * File server advertisements from server 9e.1234.5678.1212 will not be forwarded on interface S0.&lt;br /&gt;      * All other SAP services, other than file server, from any source will be forwarded on S0.&lt;br /&gt;      * All other SAP services, other than print server, from any source will be forwarded on S0.&lt;br /&gt;      * Print server advertisements from server 9e.1234.5678.1212 will not be forwarded on interface S0.&lt;br /&gt;      Correct answer: A &amp;amp; B&lt;br /&gt;&lt;br /&gt;      File server advertisements from server 9e.1234.5678.1212 will not be forwarded on interface S0. All other SAP services, other than file server, from any source will be forwarded on S0.&lt;br /&gt;  84. You receive “input filter list is 800 and output filter list is 801? as part of the output from a show interfaces command. What kind of traffic are you filtering?&lt;br /&gt;      * IPX/SPX&lt;br /&gt;      * TCP/IP&lt;br /&gt;      * LocalTalk&lt;br /&gt;      * DDR&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      Because the access list is numbered in the 800 range, you are filtering IPX/SPX traffic.&lt;br /&gt;  85. Which service uses telephone control messages and signals between the transfer points along the way to the called destination?&lt;br /&gt;      * Signaling System 7 (SS7)&lt;br /&gt;      * Time-division Multiplexing (TDM)&lt;br /&gt;      * X.25&lt;br /&gt;      * Frame relay&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      Signaling System 7 (SS7) uses telephone control messages and signals between the transfer points along the way to the called destination. Time-division Multiplexing (TDM) has information from multiple sources and allocates bandwidth on a single media. Circuit switching uses signaling to determine the call route, which is a dedicated path between the sender and the receiver. Basic telephone service and Integrated Services Digital Network (ISDN) use TDM circuits. X.25 and Frame Relay services have information contained in packets or frames to share non-dedicated bandwidth. X.25 avoids delays for call setup. Frame Relay uses permanent virtual circuits (PVCs).&lt;br /&gt;  86. Which service takes information from multiple sources and allocates bandwidth on a single media?&lt;br /&gt;      * Time-division Multiplexing (TDM)&lt;br /&gt;      * Signaling System 7 (SS7)&lt;br /&gt;      * X.25&lt;br /&gt;      * Frame relay&lt;br /&gt;      Correct answer: A&lt;br /&gt;  87. Which three devices can be used to convert the user data from the DTE into a form acceptable to the WAN service’s facility?&lt;br /&gt;      * Modem&lt;br /&gt;      * CSU/DSU&lt;br /&gt;      * TA/NT1&lt;br /&gt;      * CO&lt;br /&gt;      * SS7&lt;br /&gt;&lt;br /&gt;      Correct answer: A, B &amp;amp; C&lt;br /&gt;      A modem, CSU/DSU (Channel Service Unit/Data Service Unit), or TA/NT1 (Terminal Adapter/Network Termination 1) can be used to convert the user data from the DTE into a form acceptable to the WAN service’s facility.&lt;br /&gt;  88. What is the juncture at which the CPE ends and the local loop portion of the service begins?&lt;br /&gt;      * Demarc&lt;br /&gt;      * CO&lt;br /&gt;      * Local loop&lt;br /&gt;&lt;br /&gt;      * Last-mile&lt;br /&gt;      Correct answer: A&lt;br /&gt;      The demarcation or demarc is the juncture at which the CPE ends and the local loop portion of the service begins. The CO (Central Office) is the nearest point of presence for the provider’s WAN service. The local loop or “last-mile” is the cabling that extends from the demarc into the WAN service provider’s central office.&lt;br /&gt;  89. You can access three forms of WAN services with Cisco routers. Select the three forms:&lt;br /&gt;      * Switched or relayed services&lt;br /&gt;      * Interface front end to IBM enterprise data center computers&lt;br /&gt;      * Using protocols that connect peer-to-peer devices like HDLC or PPP encapsulation.&lt;br /&gt;&lt;br /&gt;      * IPX/SPX&lt;br /&gt;      * NetBEUI&lt;br /&gt;      Correct answer: A, B &amp;amp; C&lt;br /&gt;      You can access three forms of WAN services with Cisco routers. Switched or relayed services include X.25, Frame Relay, and ISDN. An interface front end to IBM enterprise data center computers includes SDLC. And, you can access the services of WAN providers using protocols that connect peer devices such as HDLC and PPP encapsulation. IPX/SPX and NetBEUI are LAN protocols.&lt;br /&gt;  90. Select the fields for the Cisco HDLC protocol:&lt;br /&gt;      * Flag, Address, Control&lt;br /&gt;&lt;br /&gt;      * Flag, Address, Control, Protocol, LCP (Code, Identifier, Length, Data), FCS, Flag&lt;br /&gt;      * Flag, Address, Control, Data, FCS, Flag&lt;br /&gt;      * Flag, Address, Control, Proprietary, Data, FCS, Flag&lt;br /&gt;      Correct answer: D&lt;br /&gt;      The Cisco HDLC frame format is Flag, Address, Control Proprietary, Data, FCS, Flag. The PPP frame format is Flag, Address, Control, Protocol, LCP (Code, Identifier, Length, Data), FCS, Flag. The SDLC and LAPB format is Flag, Address, Control, Data, FCS, Flag.&lt;br /&gt;      85: Select the physical interfaces that PPP can be configured on a Cisco router:&lt;br /&gt;      * Asynchronous serial&lt;br /&gt;&lt;br /&gt;      * HSSI&lt;br /&gt;      * ISDN&lt;br /&gt;      * Synchronous serial&lt;br /&gt;      Correct answer: A, B, C &amp;amp; D&lt;br /&gt;      All four of them can carry PPP traffic. HSSI is High Speed Serial Interface.&lt;br /&gt;  91. Select the correct statements about PPP and SLIP for WAN communications?&lt;br /&gt;&lt;br /&gt;      * PPP uses its Network Control Programs (NCPs) component to encapsulate multiple protocols.&lt;br /&gt;      * PPP can only transport TCP/IP&lt;br /&gt;      * SLIP can only transport TCP/IP.&lt;br /&gt;      * SLIP uses its Network Control Programs (NCPs) component to encapsulate multiple protocols.&lt;br /&gt;      Correct answer: A &amp;amp; C&lt;br /&gt;&lt;br /&gt;      87a Which protocol for PPP LCP (Link Control Protocol) performs a challenge handshake?&lt;br /&gt;      * CHAP&lt;br /&gt;      * PAP&lt;br /&gt;      * UDP&lt;br /&gt;      * IPX&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      87b Which form of PPP error detection on Cisco routers monitors data dropped on a link?&lt;br /&gt;      * Quality&lt;br /&gt;      * Magic Number&lt;br /&gt;      * Error Monitor&lt;br /&gt;      * Droplink&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      The Quality protocol monitors data dropped on a link. Magic Number avoids frame looping.&lt;br /&gt;  92. Which protocol for PPP provides load balancing across multiple links?&lt;br /&gt;      * Multilink Protocol (MP)&lt;br /&gt;      * Quality&lt;br /&gt;      * Magic Number&lt;br /&gt;      * Stacker&lt;br /&gt;      * Predictor&lt;br /&gt;&lt;br /&gt;      Correct answer: A&lt;br /&gt;  93. As the system administrator, you type “ppp authentication chap pap secret”. Which authentication method is used first in setting up a session?&lt;br /&gt;      * secret&lt;br /&gt;      * PAP&lt;br /&gt;      * CHAP&lt;br /&gt;      * PPP/SLIP&lt;br /&gt;&lt;br /&gt;      Correct answer: C&lt;br /&gt;  94. Select the compression protocols for PPP?&lt;br /&gt;      * Stac&lt;br /&gt;      * Predictor&lt;br /&gt;      * Quality&lt;br /&gt;      * Magic Number&lt;br /&gt;&lt;br /&gt;      Correct answer: A &amp;amp; B&lt;br /&gt;  95. What are the three phases of PPP session establishment?&lt;br /&gt;      * Link establishment phase&lt;br /&gt;      * Authentication phase&lt;br /&gt;      * Network layer protocol phase&lt;br /&gt;&lt;br /&gt;      * Handshake phase&lt;br /&gt;      * Dial-in phase&lt;br /&gt;      Correct answer: A, B &amp;amp; C&lt;br /&gt;  96. What is the default IPX Ethernet encapsulation?&lt;br /&gt;      * SNAP&lt;br /&gt;&lt;br /&gt;      * Arpa&lt;br /&gt;      * 802.2&lt;br /&gt;      * Novell-Ether&lt;br /&gt;      * SAP&lt;br /&gt;      Correct answer: D&lt;br /&gt;  97. What must be true for two Routers running IGRP to communicate their routes?&lt;br /&gt;&lt;br /&gt;      * Same autonomous system number&lt;br /&gt;      * Connected using Ethernet only&lt;br /&gt;      * Use composite metric&lt;br /&gt;      D)Configured for PPP&lt;br /&gt;      Correct answer: A&lt;br /&gt;  98. The following is partial output from a routing table, identify the 2 numbers in the square brackets; ‘192.168.10.0 [100/1300] via 10.1.0.1, 00:00:23, Ethernet1'&lt;br /&gt;&lt;br /&gt;      * 100 = metric, 1300 = administrative distance&lt;br /&gt;      * 100 = administrative distance, 1300 = hop count&lt;br /&gt;      * 100 = administrative distance, 1300 = metric&lt;br /&gt;      * 100 = hop count, 1300 = metric&lt;br /&gt;      Correct answer: C&lt;br /&gt;  99. Identify 3 methods used to prevent routing loops?&lt;br /&gt;&lt;br /&gt;      * Split horizon&lt;br /&gt;      * Holddown timers&lt;br /&gt;      * Poison reverse&lt;br /&gt;      * SPF algorithm&lt;br /&gt;      * LSP’s&lt;br /&gt;      Correct answer: A B C&lt;br /&gt; 100. Which statement is true regarding full duplex?&lt;br /&gt;      * Allows for transmission and receiving of data simultaneously&lt;br /&gt;      * Only works in a multipoint configuration&lt;br /&gt;      * Does not affect the bandwidth&lt;br /&gt;      * Allows for transmission and receiving of data but not a the same time&lt;br /&gt;      Correct answer: A&lt;br /&gt;&lt;br /&gt;      Full duplex is just the opposite of half duplex. It handles traffic in both directions simultaneously.&lt;br /&gt; 101. Identify the switching method that receives the entire frame then dispatches it?&lt;br /&gt;      * Cut-through&lt;br /&gt;      * Receive and forward&lt;br /&gt;      * Store and forward&lt;br /&gt;      * Fast forward&lt;br /&gt;      Correct answer: C&lt;br /&gt;&lt;br /&gt;      Store and forward switching receives the entire frame before dispatching it.&lt;br /&gt;      98Identify the purpose of ICMP?&lt;br /&gt;      * Avoiding routing loops&lt;br /&gt;      * Send error and control messages&lt;br /&gt;      * Transporting routing updates&lt;br /&gt;      * Collision detection&lt;br /&gt;      Correct answer: B&lt;br /&gt;&lt;br /&gt;      ICMP is used to send error and control messages. Ping uses ICMP to carry the echo-request and echo-reply.&lt;br /&gt;      99Which statement is true regarding the user exec and privileged exec mode?&lt;br /&gt;      * The ‘?’ only works in Privileged exec&lt;br /&gt;      * They are identical&lt;br /&gt;      * They both require the enable password&lt;br /&gt;      * User exec is a subset of the privileged exec&lt;br /&gt;      Correct answer: D&lt;br /&gt;&lt;br /&gt;      The user exec mode is a subset of the privileged exec mode. Only a certain number of commands are available at the user exec mode.&lt;br /&gt; 102. Which OSI layer end to end communication, segmentation and re-assembly?&lt;br /&gt;      * Network&lt;br /&gt;      * Transport&lt;br /&gt;      * Physical&lt;br /&gt;      * Application&lt;br /&gt;      * Data-Link&lt;br /&gt;&lt;br /&gt;      * Presentation&lt;br /&gt;      Correct answer: B&lt;br /&gt;      Layer 4 the Transport layer performs this function.&lt;br /&gt; 103. What IP command would you use to test the entire IP stack?&lt;br /&gt;      * Stack-test&lt;br /&gt;      * Arp&lt;br /&gt;      * Telnet&lt;br /&gt;&lt;br /&gt;      * Ping&lt;br /&gt;      * Trace&lt;br /&gt;      Correct answer: C&lt;br /&gt;      Because Telnet is an application and it resides at the top of the stack it traverses down the stack and up the stack at the receiving end.&lt;br /&gt; 104. Identify the 2 hardware components used to manage and/or configure a router?&lt;br /&gt;      * Auxiliary port&lt;br /&gt;      * ROM port&lt;br /&gt;&lt;br /&gt;      * Management port&lt;br /&gt;      * Console port&lt;br /&gt;      Correct answer: A D&lt;br /&gt;      The 2 hardware ports used to configure the router are the console and auxiliary ports.&lt;br /&gt; 105. What is the default bandwidth of a serial connection?&lt;br /&gt;      * 1200 baud&lt;br /&gt;      * 1.544 Mbps (T1)&lt;br /&gt;&lt;br /&gt;      * 10 Mbps&lt;br /&gt;      * 96Kpbs&lt;br /&gt;      Correct answer: B&lt;br /&gt;      The default bandwidth is T1.&lt;br /&gt; 106. Identify 2 functions of IPX access-lists?&lt;br /&gt;      * Control SAP traffic&lt;br /&gt;      * Limit number of Novell servers on a network&lt;br /&gt;&lt;br /&gt;      * Limit number of workstations on a network&lt;br /&gt;      * Block IPX traffic&lt;br /&gt;      Correct answer: A D&lt;br /&gt;      IPX access lists are used to restrict IPX traffic and SAP broadcasts.&lt;br /&gt; 107. Identify 2 HDLC characteristics?&lt;br /&gt;      * Default serial encapsulation&lt;br /&gt;      * Open standard&lt;br /&gt;&lt;br /&gt;      * Supports Stacker compression&lt;br /&gt;      * Supports point-to-point and multipoint&lt;br /&gt;      Correct answer: A D&lt;br /&gt;      HDLC is the default serial encapsulation and supports point-to-point and multipoint. It is not an open standard and does not support compression.&lt;br /&gt; 108. Identify 3 IP applications?&lt;br /&gt;      * AURP&lt;br /&gt;      * ARP&lt;br /&gt;&lt;br /&gt;      * Telnet&lt;br /&gt;      * SMTP&lt;br /&gt;      * DNS&lt;br /&gt;      * RARP&lt;br /&gt;      Correct answer: C D E&lt;br /&gt;      ARP and AURP are not part the application layer of the TCP/IP stack. SMTP - Simple Mail Transfer Protocol, Telnet, DNS - Domain Name Services (name to IP resolution).&lt;br /&gt; 109. Identify 3 LAN technologies?&lt;br /&gt;      * FDDI&lt;br /&gt;      * HDLC&lt;br /&gt;      * HSSI&lt;br /&gt;      * X.25&lt;br /&gt;      * 802.3&lt;br /&gt;&lt;br /&gt;      * 802.5&lt;br /&gt;      Correct answer: A E F&lt;br /&gt;      The question is asking for 3 LAN technologies, HDLC, HSSI and X.25 are all WAN technologies.&lt;br /&gt; 110. Identify the 4 that are not LAN technologies?&lt;br /&gt;      * HDLC&lt;br /&gt;      * FDDI&lt;br /&gt;      * 802.5&lt;br /&gt;&lt;br /&gt;      * HSSI&lt;br /&gt;      * SDLC&lt;br /&gt;      * Frame Relay&lt;br /&gt;      Correct answer: A D E F&lt;br /&gt;      802.5 and FDDI are LAN technologies&lt;br /&gt; 111. Which OSI layer supports the communication component of an application?&lt;br /&gt;      * Data-Link&lt;br /&gt;&lt;br /&gt;      * Physical&lt;br /&gt;      * Session&lt;br /&gt;      * Presentation&lt;br /&gt;      * Application&lt;br /&gt;      * Transport&lt;br /&gt;      Correct answer: E&lt;br /&gt;&lt;br /&gt;      Layer 7 the Application layer performs this function.&lt;br /&gt; 112. Identify the length of an IPX address and it’s components?&lt;br /&gt;      * 80 bits, 48 bits network and 32 bits node&lt;br /&gt;      * 32 bits, 16 bits network and 16 bits node&lt;br /&gt;      * None of the above&lt;br /&gt;      * 80 bits, 32 bits network and 48 bits node&lt;br /&gt;      Correct answer: D&lt;br /&gt;&lt;br /&gt;      IPX address has 2 components; network and node. The network address is 32 bits and the node is 48 bits, total of 80 bits.&lt;br /&gt; 113. Identify the administrative distance and appropriate routing protocol?&lt;br /&gt;      * RIP = 255, IGRP = 100&lt;br /&gt;      * RIP = 100, IGRP = 120&lt;br /&gt;      * RIP = 1, IGRP = 0&lt;br /&gt;      * RIP = 120, IGRP = 100&lt;br /&gt;      Correct answer: D&lt;br /&gt;&lt;br /&gt;      The administrative distance for RIP is 120 and IGRP is 100. The lower the AD the better the routing information.&lt;br /&gt; 114. Which OSI layer incorporates the MAC address and the LLC?&lt;br /&gt;      * Data link&lt;br /&gt;      * Network&lt;br /&gt;      * Physcial&lt;br /&gt;      * Transport&lt;br /&gt;      Correct answer: ): A&lt;br /&gt;&lt;br /&gt;      Layer 2 the Data-Link layer incorporates the MAC and LLC sublayers&lt;br /&gt; 115. If configuring a Cisco router to connect to a non-Cisco router across a Frame Relay network, which encapsulation type would you select?&lt;br /&gt;      * Q933a&lt;br /&gt;      * ISDN&lt;br /&gt;      * IETF&lt;br /&gt;      * CISCO&lt;br /&gt;      * ANSI&lt;br /&gt;&lt;br /&gt;      Correct answer: C&lt;br /&gt;      There are two types of Frame Relay encapsulations; Cisco and IETF. IETF is required when connecting a Cisco to a non-Cisco router.&lt;br /&gt; 116. Identify the 2 items that TCP and UDP share in common?&lt;br /&gt;      * Both use port numbers to identify upper level applications&lt;br /&gt;      * Operate at the Network layer&lt;br /&gt;      * Both are Transport protocols&lt;br /&gt;      * Both are reliable communications&lt;br /&gt;&lt;br /&gt;      Correct answer: A C&lt;br /&gt;      TCP and UPD are both layer 4 Transport protocols and both use port number to identify upper level applications.&lt;br /&gt; 117. Identify 3 characteristics of IP RIP?&lt;br /&gt;      * Distance vector&lt;br /&gt;      * Administrative distance is 120&lt;br /&gt;      * Periodic updates every 60 seconds&lt;br /&gt;      * Uses a composite metric&lt;br /&gt;&lt;br /&gt;      * Can load balance&lt;br /&gt;      Correct answer: A B E&lt;br /&gt;      IP RIP is a distance vector protocol, it can load balance up to 4 equal cost paths and it’s rating of trustworthiness is 120.&lt;br /&gt; 118. Which of the following is a layer 2 device?&lt;br /&gt;      * Switch&lt;br /&gt;      * Router&lt;br /&gt;      * Repeater&lt;br /&gt;&lt;br /&gt;      * Hub&lt;br /&gt;      Correct answer: A&lt;br /&gt;      A Hub and Repeater are layer 1 devices. A Router is a layer 3 device.&lt;br /&gt; 119. Identify the definition of demarcation?&lt;br /&gt;      * Date in which the WAN service contract expires&lt;br /&gt;      * Cabling which extends from the WAN service provider to the customer&lt;br /&gt;      * Division of responsibility, where the CPE ends and the local loop begins&lt;br /&gt;&lt;br /&gt;      * Equipment which is located at the customer premises&lt;br /&gt;      Correct answer: C&lt;br /&gt;      Demarcation is the point in which responsibility changes hands.&lt;br /&gt; 120. Identify the 3 key features of the Cisco Discovery Protocol?&lt;br /&gt;      * Off by default&lt;br /&gt;      * Will allow for the discovery of layer 3 addresses on neighbor routers&lt;br /&gt;      * Verify connectivity&lt;br /&gt;&lt;br /&gt;      * Open standard&lt;br /&gt;      * Does not require any layer 3 protocols to be configured&lt;br /&gt;      Correct answer: B C E&lt;br /&gt;      CDP is used for 2 basic reasons; neighbor connectivity and layer 3 discovery if configured. It is proprietary and is on by default.&lt;br /&gt; 121. Identify the 3 characteristics of IPX RIP?&lt;br /&gt;      * Distance vector&lt;br /&gt;      * Does not support multiple paths&lt;br /&gt;&lt;br /&gt;      * 60 second updates&lt;br /&gt;      * Default encapsulation is SAP&lt;br /&gt;      * Uses ticks and hop count as a metric&lt;br /&gt;      Correct answer: A C E&lt;br /&gt;      IPX RIP is a distance vector routing protocol, it does support multiple paths, the default encapsulation is ‘novell-ether’, it uses tick count as a primary metric and hop count as a tie breaker and it sends it’s updates every 60 seconds.&lt;br /&gt; 122. Identify the access-list range for an extended IP access-list?&lt;br /&gt;      * 800 - 899&lt;br /&gt;&lt;br /&gt;      * 1 - 99&lt;br /&gt;      * 1000 - 1099&lt;br /&gt;      * 100 - 199&lt;br /&gt;      Correct answer: D&lt;br /&gt;      IP extended access-lists use the number range of 100-199.&lt;br /&gt; 123. Identify the X.25 addressing standard?&lt;br /&gt;      * X.121&lt;br /&gt;&lt;br /&gt;      * X.25a&lt;br /&gt;      * ITU-1&lt;br /&gt;      * Q933a&lt;br /&gt;      Correct answer: A&lt;br /&gt;      The X.25 layer 3 addressing standards is X.121.&lt;br /&gt; 124. Identify 3 features of IGRP?&lt;br /&gt;      * Composite metric&lt;br /&gt;&lt;br /&gt;      * New horizon&lt;br /&gt;      * Flash updates&lt;br /&gt;      * 60 periodic updates&lt;br /&gt;      * Poison reverse&lt;br /&gt;      Correct answer: A C E&lt;br /&gt;      IGRP uses a composite metric made up of bandwidth and delay by default, it updates every 60 seconds and will trigger an update if the topology changes.&lt;br /&gt; 125. Where is the backup configuration file stored?&lt;br /&gt;      * RAM&lt;br /&gt;      * ROM&lt;br /&gt;      * Console&lt;br /&gt;      * NVRAM&lt;br /&gt;      Correct answer: D&lt;br /&gt;&lt;br /&gt;      One location to store the backup configuration is NVRAM.&lt;br /&gt; 126. Identify the correct pair of Novell Ethernet encapsulation and Cisco terminology?&lt;br /&gt;      * Ethernet II, Snap&lt;br /&gt;      * Ethernet 802.3, Novell-Ether&lt;br /&gt;      * Ethernet SNAP, Arpa&lt;br /&gt;      * Ethernet 802.2, Snap&lt;br /&gt;      Correct answer: B&lt;br /&gt;&lt;br /&gt;      The default IPX LAN encapsulation is Novell-Ether which is 802.3&lt;br /&gt; 127. Identify 3 characteristics regarding IP access-lists?&lt;br /&gt;      * Can be configured as a standard access-list&lt;br /&gt;      * Can be run from another router running IP&lt;br /&gt;      * Can be configured as a named access-list&lt;br /&gt;      * Are the same as IPX access-lists&lt;br /&gt;      * Can be configured as an extended access-list&lt;br /&gt;&lt;br /&gt;      Correct answer: A C E&lt;br /&gt;      There are 3 types of IP access-lists; standard, extended and named. Named access-lists can be either standard or extended depending on how they are configured.&lt;br /&gt; 128. Identify 3 ways in which a router can be configured?&lt;br /&gt;      * TFTP&lt;br /&gt;      * Nvram&lt;br /&gt;      * Ping&lt;br /&gt;      * Console&lt;br /&gt;&lt;br /&gt;      * Trace&lt;br /&gt;      Correct answer: A B D&lt;br /&gt;      Changes to the configuration can be entered via the console, a config stored in NVRAM or on a TFTP server. Trace and ping are tools to verify connectivity.&lt;br /&gt; 129. A traffic light is an example of what type of mechanism?&lt;br /&gt;      * Collision detection&lt;br /&gt;      * Flow control&lt;br /&gt;      * Sequence numbering&lt;br /&gt;&lt;br /&gt;      * Network management&lt;br /&gt;      Correct answer: B&lt;br /&gt;      A Traffic light is an example of flow control.&lt;br /&gt; 130. Windowing is a type of?&lt;br /&gt;      * Negative acknowledgement&lt;br /&gt;      * Address resolution&lt;br /&gt;      * Layer transition mechanism&lt;br /&gt;&lt;br /&gt;      * Flow control&lt;br /&gt;      Correct answer: D&lt;br /&gt;      Windowing allow the sender and receiver to dictate how much information that can be received prior to an acknowledgement. It is a form of flow control.&lt;br /&gt; 131. Identify the 2 types of access-list filters that control SAP traffic?&lt;br /&gt;      * Novell-ether&lt;br /&gt;      * Arpa&lt;br /&gt;      * Input-sap-filter&lt;br /&gt;&lt;br /&gt;      * Round-robin&lt;br /&gt;      * Output-sap-filter&lt;br /&gt;      Correct answer: C E&lt;br /&gt;      SAP’s can be blocked by 2 methods; inbound and outbound.&lt;br /&gt; 132. Identify the 3 guidelines for routers in the same autonomous system?&lt;br /&gt;      * Must be configured for IGRP or RIP&lt;br /&gt;      * Interconnected&lt;br /&gt;&lt;br /&gt;      * Assigned the same autonomous system number&lt;br /&gt;      * Configured for the same routing protocol&lt;br /&gt;      * Must be same model of router&lt;br /&gt;      Correct answer: B C D&lt;br /&gt;      Autonomous system must be interconnected, assigned the same AS # and configured with the same routing protocol.&lt;br /&gt; 133. Identify the hardware component used to store buffers, tables, running-configuration etc?&lt;br /&gt;      * NVRAM&lt;br /&gt;&lt;br /&gt;      * ROM&lt;br /&gt;      * RAM&lt;br /&gt;      * Flash&lt;br /&gt;      Correct answer: C&lt;br /&gt;      RAM is the dynamic memory area. ROM contains the boot strap code, NVRAM contains the startup-config and Flash contains the IOS.&lt;br /&gt; 134. Identify 3 UDP characteristics?&lt;br /&gt;      * Reliable communication protocol&lt;br /&gt;&lt;br /&gt;      * Applications that use UDP must incorporate reliability&lt;br /&gt;      * Connection-less oriented&lt;br /&gt;      * Incorporates no handshaking&lt;br /&gt;      Correct answer: B C D&lt;br /&gt;      UPD is a layer 4 Transport protocol. It is connection-less because it does establish a connection therefore the 3 step handshake is not needed, it does NOT implement any flow control or acknowledgments. Any application that uses UDP must incorporate any needed reliability.&lt;br /&gt; 135. Identify the IPX standard access-list number range?&lt;br /&gt;      * 600 - 699&lt;br /&gt;&lt;br /&gt;      * 1000 - 1099&lt;br /&gt;      * 1 - 99&lt;br /&gt;      * 100 - 199&lt;br /&gt;      * 800 - 899&lt;br /&gt;      Correct answer: E&lt;br /&gt;      IPX standard access-list range is 800-899.&lt;br /&gt; 136. Which OSI layer provides best effort end to end packet delivery?&lt;br /&gt;      * Data-Link&lt;br /&gt;      * Presentation&lt;br /&gt;      * Network&lt;br /&gt;      * Transport&lt;br /&gt;      * Physical&lt;br /&gt;&lt;br /&gt;      * Application&lt;br /&gt;      Correct answer: C&lt;br /&gt;      Layer 3 the Network layer performs this function.&lt;br /&gt; 137. Identify the 2 methods to modify the routers boot sequence?&lt;br /&gt;      * Setup program&lt;br /&gt;      * Boot system commands&lt;br /&gt;      * RXBoot&lt;br /&gt;&lt;br /&gt;      * Config-register&lt;br /&gt;      Correct answer: B D&lt;br /&gt;      ‘Boot system’ command the ‘config-register’ are used to manipulate the boot sequence.&lt;br /&gt; 138. Identify the 3 pieces of hardware you would not install to prevent broadcasts?&lt;br /&gt;      * Switch&lt;br /&gt;      * Repeater&lt;br /&gt;      * Bridge&lt;br /&gt;&lt;br /&gt;      * Router&lt;br /&gt;      Correct answer: A B C&lt;br /&gt;      Router are implemented not only to break up networks into smaller segments but they are used to block broadcasts.&lt;br /&gt; 139. Identify 2 features of PPP PAP authentication?&lt;br /&gt;      * Username and password is sent in clear text&lt;br /&gt;      * Authentication messages are sent periodically during the connection&lt;br /&gt;      * More secure than CHAP&lt;br /&gt;&lt;br /&gt;      * Remote node is control of authentication process&lt;br /&gt;      Correct answer: A D&lt;br /&gt;      PPP PAP authentication sends the username and passwords in clear text and the remote node initiates the authentication process.&lt;br /&gt; 140. Identify the switching method that examines the destination MAC address as the frame is being received then begins forwarding the frame prior to receiving the entire frame?&lt;br /&gt;      * Fragment-free&lt;br /&gt;      * Store and Forward&lt;br /&gt;      * Cut-through&lt;br /&gt;&lt;br /&gt;      * Fast forward&lt;br /&gt;      Correct answer: C&lt;br /&gt;      Cut through examines the destination MAC address and begins forwarding the frame prior to receiving the entire frame.&lt;br /&gt; 141. Identify 1 characteristic of RARP?&lt;br /&gt;      * IP to MAC address translation&lt;br /&gt;      * Connectionless delivery of packets&lt;br /&gt;      * Can be used to initiate remote O/S load sequence&lt;br /&gt;&lt;br /&gt;      * Generates error and control messages&lt;br /&gt;      Correct answer: C&lt;br /&gt;      Reverse Address Resolution Protocol is used to obtain a layer 3 address if the MAC address is known which then facilitates the loading of the O/S.&lt;br /&gt; 142. Identify the protocol to test connectivity without configuring any layer 3 protocols?&lt;br /&gt;      * TCP&lt;br /&gt;      * Ping&lt;br /&gt;      * IP&lt;br /&gt;&lt;br /&gt;      * CDP&lt;br /&gt;      * Telnet&lt;br /&gt;      Correct answer: D&lt;br /&gt;      CDP can be used to verify connectivity prior to any layer 3 protocols being configured.&lt;br /&gt; 143. LMI operates between the Frame Switch and what other device?&lt;br /&gt;      * CPE device&lt;br /&gt;      * Another Frame Switch&lt;br /&gt;&lt;br /&gt;      * X.25 switch&lt;br /&gt;      * Novell File Server&lt;br /&gt;      Correct answer: A&lt;br /&gt;      LMI stands for local management interface. It operates between the Frame Relay switch and the customer equipment.&lt;br /&gt; 144. Identify IPX SAP and it’s purpose?&lt;br /&gt;      * Sonet Access Pipe - interface to Sonet ring&lt;br /&gt;      * Service Advertising Protocol - advertise services&lt;br /&gt;&lt;br /&gt;      * Server Appletalk Protocol - appletalk directory services&lt;br /&gt;      * Service Access Point - identify upper layer protocols&lt;br /&gt;      Correct answer: B&lt;br /&gt;      SAP is an Novell protocol to advertise services.&lt;br /&gt; 145. Identify the default values that make up IGRP’s composite metric?&lt;br /&gt;      * Bandwidth&lt;br /&gt;      * Load&lt;br /&gt;&lt;br /&gt;      * Reliability&lt;br /&gt;      * MTU&lt;br /&gt;      * Delay&lt;br /&gt;      Correct answer: A E&lt;br /&gt;      IGRP can be configured to use all 5 within it’s metric. By default it uses bandwidth and delay.&lt;br /&gt; 146. Identify the default serial encapsulation?&lt;br /&gt;      * ISDN&lt;br /&gt;&lt;br /&gt;      * HDLC&lt;br /&gt;      * SDLC&lt;br /&gt;      * Frame Relay&lt;br /&gt;      * PPP&lt;br /&gt;      Correct answer: B&lt;br /&gt;      The default serial encapsulation is HDLC.&lt;br /&gt; 147. Identify the purpose of ARP?&lt;br /&gt;      * Avoiding routing loops&lt;br /&gt;      * Determining a workstation’s IP address&lt;br /&gt;      * Sending a directed broadcast&lt;br /&gt;      * Determining a workstation’s MAC address&lt;br /&gt;      Correct answer: D&lt;br /&gt;&lt;br /&gt;      ARP is used to find a devices MAC address given an IP address.&lt;br /&gt; 148. What is the purpose of the DLCI?&lt;br /&gt;      * Identifies the remote routers&lt;br /&gt;      * Contained with a 802.2 frame for routing purposes&lt;br /&gt;      * Used with PPP during authentication&lt;br /&gt;      * Identifies the PVC in a Frame Relay network&lt;br /&gt;      Correct answer: D&lt;br /&gt;&lt;br /&gt;      DLCI stands for Data Link Connection Identifier. It identifies the local PVC.&lt;br /&gt; 149. Identify 3 characteristics of the Network layer (OSI layer 3)?&lt;br /&gt;      * Connection oriented&lt;br /&gt;      * Path determination&lt;br /&gt;      * Supports multiplexing&lt;br /&gt;      * Manages sessions&lt;br /&gt;      * Packet forwarding&lt;br /&gt;&lt;br /&gt;      Correct answer: B C E&lt;br /&gt;      The network layer is responsible for routing which entails learning the paths, selecting the best path and forwarding the packet. Because it services multiple layer 4 protocols it multiplexes.&lt;br /&gt; 150. Identify 3 characteristics of switches?&lt;br /&gt;      * Increase available bandwidth&lt;br /&gt;      * Decrease broadcast traffic&lt;br /&gt;      * Support full duplex in a multipoint topology&lt;br /&gt;      * Make forwarding decision using MAC address&lt;br /&gt;&lt;br /&gt;      * Create collision domains&lt;br /&gt;      Correct answer: A D E&lt;br /&gt;      Switches operate at layer 2. They increase bandwidth by reducing the number of devices sharing the media. They isolate collisions. Like a bridge they forward traffic based upon layer 2 address/ MAC address.&lt;br /&gt; 151. Which OSI layer handles physical address, network topology?&lt;br /&gt;      * Presentation&lt;br /&gt;      * Physical&lt;br /&gt;      * Transport&lt;br /&gt;&lt;br /&gt;      * Application&lt;br /&gt;      * Data-Link&lt;br /&gt;      * Network&lt;br /&gt;      Correct answer: E&lt;br /&gt;      Layer 2 the Data-Link layer performs this function.&lt;br /&gt; 152. Identify 2 reasons for disabling CDP?&lt;br /&gt;      * If the router is not configured for RIP&lt;br /&gt;&lt;br /&gt;      * Save bandwidth by eliminating overhead&lt;br /&gt;      * If the router is configured for Appletalk&lt;br /&gt;      * When connected to a non-Cisco router&lt;br /&gt;      Correct answer: B D&lt;br /&gt;      CDP can be disabled here are a couple of reasons. Connecting a Cisco router to a non-Cisco router. Don’t want to exchange CDP information to save bandwidth.&lt;br /&gt; 153. Identify 3 characteristics of ISDN?&lt;br /&gt;      * Transports voice and data&lt;br /&gt;&lt;br /&gt;      * Transports voice only&lt;br /&gt;      * Support both BRI and PRI&lt;br /&gt;      * Runs over existing phone lines&lt;br /&gt;      * Same as X.25&lt;br /&gt;      Correct answer: A C D&lt;br /&gt;      ISDN supports voice, data, and video. It runs over existing phone lines and supports 128K (BRI) and T1 (PRI).&lt;br /&gt; 154. Identify the 3 characteristics of IGRP?&lt;br /&gt;      * Uses hop count as a metric&lt;br /&gt;      * Supports multiple unequal paths&lt;br /&gt;      * Administrative distance is 100&lt;br /&gt;      * Configured with an Autonomous system number&lt;br /&gt;      * Link state&lt;br /&gt;&lt;br /&gt;      Correct answer: B C D&lt;br /&gt;      IGRP is a distance vector routing protocol, it’s degree of trustworthiness is 100, it can support up to 6 un-equal paths and must be configured with an autonomous system number.&lt;br /&gt; 155. Identify 2 features of PPP CHAP authentication?&lt;br /&gt;      * Username and password is sent in clear text&lt;br /&gt;      * Authentication messages are sent periodically during the connection&lt;br /&gt;      * Less secure then PAP&lt;br /&gt;      * Local router ‘challenges’ the remote router&lt;br /&gt;&lt;br /&gt;      Correct answer: B D&lt;br /&gt;      PPP CHAP authentication message are sent periodically during the connection by challenging the other end of the connection.&lt;br /&gt;      It is more secure than PAP and passwords and username are encrypted.&lt;br /&gt; 156. Identify the default IPX serial encapsulation?&lt;br /&gt;      * Novell-Ether&lt;br /&gt;      * SDLC&lt;br /&gt;      * SNAP&lt;br /&gt;&lt;br /&gt;      * HDLC&lt;br /&gt;      Correct answer: D&lt;br /&gt;      The default IPX serial encapsulation is HDLC.&lt;br /&gt; 157. Identify the hardware component that stores the backup configuration?&lt;br /&gt;      * RAM&lt;br /&gt;      * NVRAM&lt;br /&gt;      * Flash&lt;br /&gt;&lt;br /&gt;      * ROM&lt;br /&gt;      Correct answer: B&lt;br /&gt;      NVRAM contains the backup config. RAM is the dynamic memory area, ROM contains the boot strap code and Flash contains the IOS.&lt;br /&gt; 158. Identify the extended IP access-list number range?&lt;br /&gt;      * 600 - 699&lt;br /&gt;      * 1 - 99&lt;br /&gt;      * 900 - 999&lt;br /&gt;&lt;br /&gt;      * 100 - 199&lt;br /&gt;      Correct answer: D&lt;br /&gt;      The extended IP access-list range is 100-199.&lt;br /&gt; 159. Identify 3 Fast Ethernet technologies?&lt;br /&gt;      * 100 Base FastEther&lt;br /&gt;      * 100 Base FX&lt;br /&gt;      * 100 Base T4&lt;br /&gt;&lt;br /&gt;      * 100 Base TX&lt;br /&gt;      Correct answer: B C D&lt;br /&gt; 160. BaseFastEther is false. 100 Base FX, TX and T4 are all valid.&lt;br /&gt; 161. Identify the OSI layer which is responsible for end-to-end connections?&lt;br /&gt;      * Network&lt;br /&gt;      * Transport&lt;br /&gt;&lt;br /&gt;      * Session&lt;br /&gt;      * Data link&lt;br /&gt;      * TCP&lt;br /&gt;      Correct answer: B&lt;br /&gt;      Layer 4 is the Transport layer and is responsible for end-to-end connections.&lt;br /&gt; 162. Identify the 2 characteristics regarding MAC addresses?&lt;br /&gt;      * Contains a network portion and host portion&lt;br /&gt;&lt;br /&gt;      * Always assigned by System Administrator&lt;br /&gt;      * 48 bits long&lt;br /&gt;      * Contains a vendor code and serial number&lt;br /&gt;      Correct answer: C D&lt;br /&gt;      MAC addresses are assigned by the vendor. Each MAC address is 48 bits long and made up of 24 bits vendor code and 24 bits serial number.&lt;br /&gt; 163. Identify the number range for IPX SAP filters?&lt;br /&gt;      * 900 - 999&lt;br /&gt;&lt;br /&gt;      * 1000 - 1099&lt;br /&gt;      * 800 -899&lt;br /&gt;      * 100 - 199&lt;br /&gt;      Correct answer: B&lt;br /&gt;      The IPX SAP filtering range is 1000-1099.&lt;br /&gt; 164. What is the purpose of ARP?&lt;br /&gt;      * IP to host name resolution&lt;br /&gt;&lt;br /&gt;      * Host name to IP address resolution&lt;br /&gt;      * Mac to IP address resolution&lt;br /&gt;      * IP to Mac address resolution&lt;br /&gt;      Correct answer: D&lt;br /&gt;      Address Resolution Protocol resolves the MAC address if the IP address is known. It is a layer 3 protocol.&lt;br /&gt; 165. Which OSI layer establishes, maintains and terminates sessions between hosts?&lt;br /&gt;      * Application&lt;br /&gt;&lt;br /&gt;      * Physical&lt;br /&gt;      * Data-Link&lt;br /&gt;      * Presentation&lt;br /&gt;      * Network&lt;br /&gt;      * Session&lt;br /&gt;      Correct answer: F&lt;br /&gt;&lt;br /&gt;      Layer 5 the Session layer performs this function.&lt;br /&gt; 166. Which statement is true regarding Administrative distance?&lt;br /&gt;      * It is a metric&lt;br /&gt;      * Number of hops between two routers&lt;br /&gt;      * Trustworthiness of the routing information&lt;br /&gt;      * RIP Administrative distance is 100&lt;br /&gt;      Correct answer: C&lt;br /&gt;&lt;br /&gt;      Administrative distance is rating of trustworthiness of the routing information. The lower the AD the better the information.&lt;br /&gt; 167. Identify the purpose of the Ping command?&lt;br /&gt;      * Share routing information with a neighbor router&lt;br /&gt;      * Transmit user data when buffers are full&lt;br /&gt;      * Test connectivity at layer 3&lt;br /&gt;      * Test entire protocol stack&lt;br /&gt;      Correct answer: C&lt;br /&gt;&lt;br /&gt;      The ping command tests layer 3 connectivity.&lt;br /&gt; 168. Identify the order of the 5 step encapsulation?&lt;br /&gt;      1. Create the segment&lt;br /&gt;      2. Convert the frame to bits&lt;br /&gt;      3. Create the packet&lt;br /&gt;      4. Create the frame&lt;br /&gt;      5. User creates the data&lt;br /&gt;      * 1,2,4,2,5&lt;br /&gt;&lt;br /&gt;      * 2,1,3,4,5&lt;br /&gt;      * 5,1,3,4,2&lt;br /&gt;      * 5,3,4,1,2&lt;br /&gt;      Correct answer: C&lt;br /&gt;      Cisco 5 step encapsulation.&lt;br /&gt;      1) User creates Data&lt;br /&gt;      2) Data is converted into a segment at layer 4&lt;br /&gt;&lt;br /&gt;      3) The segment is converted to packet at layer 3&lt;br /&gt;      4) The packet it converted into a frame at layer 2&lt;br /&gt;      5) The frame is converted into bits at layer 1&lt;br /&gt; 169. The Cisco IOS is stored where?&lt;br /&gt;      * ROM&lt;br /&gt;      * CD&lt;br /&gt;      * Flash&lt;br /&gt;&lt;br /&gt;      * NVRAM&lt;br /&gt;      Correct answer: C&lt;br /&gt;      By default the Cisco IOS is stored in flash.&lt;br /&gt; 170. Sequence and acknowledgement numbers are used for?&lt;br /&gt;      * Layer transitioning&lt;br /&gt;      * Flow control&lt;br /&gt;      * Port number addressing&lt;br /&gt;&lt;br /&gt;      * Reliability&lt;br /&gt;      Correct answer: D&lt;br /&gt;      TCP uses sequence numbers and acknowledgements to implement reliability.&lt;br /&gt; 171. Identify IPX GNS and it’s purpose?&lt;br /&gt;      * Go Network Server - sends a print job to a network server&lt;br /&gt;      * Get Nearest Server - locate the nearest server&lt;br /&gt;      * Guaranteed Network Services - allocates resources to users&lt;br /&gt;&lt;br /&gt;      * Get Notes Server - locates Domino Server&lt;br /&gt;      Correct answer: B&lt;br /&gt;      GNS stands for Get Nearest Server, initiated by a workstation.&lt;br /&gt; 172. Identify the true statement regarding subnetting?&lt;br /&gt;      * Allows for more host address&lt;br /&gt;      * Borrow bits from the network portion of the address&lt;br /&gt;      * Allows for unlimited number of networks&lt;br /&gt;&lt;br /&gt;      * Borrow bits from the host portion of the address&lt;br /&gt;      Correct answer: D&lt;br /&gt;      Subnetting involves borrowing bits for the host portion of the address to be used to subnet addressing.&lt;br /&gt; 173. Inverse ARP serves what purpose?&lt;br /&gt;      * Method for a local router to introduce itself to the remote end of the connection&lt;br /&gt;      * Broadcast a routing table update&lt;br /&gt;      * Identify MAC addresses if the IP address is known&lt;br /&gt;&lt;br /&gt;      * Sent every 10 seconds used to verify the Frame Switch is still active&lt;br /&gt;      Correct answer: A&lt;br /&gt;      Inverse ARP operates in a Frame Relay network so the two end points can identify themselves to each other.&lt;br /&gt; 174. Identify 3 characteristics of a MAC address?&lt;br /&gt;      * Burned into the NIC&lt;br /&gt;      * 48 bits long&lt;br /&gt;      * Length is 32 bits&lt;br /&gt;&lt;br /&gt;      * Used to deliver the frame to the end device&lt;br /&gt;      * Contains a network portion and a host portion&lt;br /&gt;      Correct answer: A B D&lt;br /&gt;      The MAC address is 48 bits long not 32. It does NOT contain a network and host portion with the address. It is used to deliver the frame to the destination device.&lt;br /&gt; 175. Identify 3 IP routing protocols?&lt;br /&gt;      * RIP&lt;br /&gt;      * AURP&lt;br /&gt;&lt;br /&gt;      * OSPF&lt;br /&gt;      * IGRP&lt;br /&gt;      * ARP&lt;br /&gt;      * ICMP&lt;br /&gt;      Correct answer: A C D&lt;br /&gt;      AURP and ICMP are not routing protocols.&lt;br /&gt; 176. Identify the type of routing protocol that exchanges entire routing tables at regular intervals?&lt;br /&gt;      * Link state&lt;br /&gt;      * Interior gateway protocols&lt;br /&gt;      * Appletalk routing&lt;br /&gt;      * Distance vector&lt;br /&gt;      Correct answer: D&lt;br /&gt;&lt;br /&gt;      Distance Vector routing protocols exchange entire routing tables with it’s neighbors.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-4682759839135212894?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/OUh5HTCO48c" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/OUh5HTCO48c/ccna-sample-job-technical-interview.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2009/06/ccna-sample-job-technical-interview.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-8537069249121556473</guid><pubDate>Thu, 20 Mar 2008 11:11:00 +0000</pubDate><atom:updated>2008-03-20T04:13:08.982-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">web designing job technical interview questions</category><category domain="http://www.blogger.com/atom/ns#">xml latest interview questions</category><title>XML Recent Placement Interview Question Papers Solved - 1</title><description>&lt;p style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;XML&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Explain the concept of data island?&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How to use XML DOM model on client side using JavaScript.&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are the ways to create a tree view control using XML, XSL &amp;amp; JavaScript?&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Questions on XPathNavigator, and the other classes in System.XML Namespace?&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is Use of Template in XSL?&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is ?Well Formed XML? and ?Valid XML?&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How you will do SubString in XSL&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Can we do sorting in XSL ? how do you deal sorting columns dynamically in XML.&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is ?Async? property of XML Means ?&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is XPath Query ?&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Difference Between Element and Node.&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is CDATA Section.&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;DOM &amp;amp; SAX parsers explanation and difference&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is GetElementbyname method will do?&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is selectnode method will give?&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is valid xml document? What a well formed xml document? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the Difference between XmlDocument and XmlDataDocument? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;Explain what a DiffGram is, and a good use for one?&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;A DiffGram is an XML format that is used to identify current and original versions of data elements. When sending and retrieving a DataSet from an XML Web service, the DiffGram format is implicitly used.&lt;br /&gt;The DataSet uses the DiffGram format to load and persist its contents, and to serialize its contents for transport across a network connection. When a DataSet is written as a DiffGram, it populates the DiffGram with all the necessary information to accurately recreate the contents, though not the schema, of the DataSet, including column values from both the Original and Current row versions, row error information, and row order.&lt;/span&gt;&lt;br /&gt;DiffGram Format&lt;br /&gt;The DiffGram format is divided into three sections: the current data, the original (or "before") data, and an errors section, as shown in the following example.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;&lt;?xml version="1.0"?&gt;&lt;br /&gt;&lt;diffgr:diffgram&lt;br /&gt;xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"&lt;br /&gt;xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"&lt;br /&gt;xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;&lt;br /&gt;&lt;br /&gt;&lt;datainstance&gt;&lt;br /&gt;&lt;/datainstance&gt;&lt;br /&gt;&lt;br /&gt;&lt;diffgr:before&gt;&lt;br /&gt;&lt;/diffgr:before&gt;&lt;br /&gt;&lt;br /&gt;&lt;diffgr:errors&gt;&lt;br /&gt;&lt;/diffgr:errors&gt;&lt;br /&gt;&lt;/diffgr:diffgram&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The DiffGram format consists of the following blocks of data: &lt;/span&gt;&lt;dl&gt;&lt;dt style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;&lt;i&gt;DataInstance&lt;/i&gt;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;dd&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The name of this element, &lt;i&gt;DataInstance&lt;/i&gt;, is used for explanation purposes in this documentation. A &lt;i&gt;DataInstance&lt;/i&gt; element represents a DataSet or a row of a DataTable. Instead of &lt;i&gt;DataInstance&lt;/i&gt;, the element would contain the name of the DataSet or DataTable. This block of the DiffGram format contains the current data, whether it has been modified or not. An element, or row, that has been modified is identified with the diffgr:hasChanges annotation. &lt;/span&gt;&lt;/p&gt;&lt;dt style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;diffgr:before&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;dd&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;This block of the DiffGram format contains the original version of a row. Elements in this block are matched to elements in the &lt;i&gt;DataInstance&lt;/i&gt; block using the diffgr:id annotation. &lt;/span&gt;&lt;/p&gt;&lt;dt style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;diffgr:errors&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;dd&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;This block of the DiffGram format contains error information for a particular row in the &lt;i&gt;DataInstance&lt;/i&gt; block. Elements in this block are matched to elements in the &lt;i&gt;DataInstance&lt;/i&gt; block using the diffgr:id annotation. &lt;/span&gt;&lt;/p&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;If I replace my Sqlserver with XML files and how about handling the same?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Write syntax to serialize class using XML Serializer?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-8537069249121556473?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/yZiOKL8asMo" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/yZiOKL8asMo/xml-recent-placement-interview-question.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/xml-recent-placement-interview-question.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-8451107662625723938</guid><pubDate>Thu, 20 Mar 2008 11:10:00 +0000</pubDate><atom:updated>2008-03-20T04:11:27.032-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Microprocessor Latest Interview Questions</category><category domain="http://www.blogger.com/atom/ns#">Electronics ECE Latest Interview Question Papers</category><title>Microprocessor Technologies Electronics Interview Questions Recent 2008 -3</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;a title="Interview questions: x86 interview questions" style="TEXT-DECORATION: none" rel="bookmark"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;x86 interview questions&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What is a Microprocessor? - Microprocessor is a program-controlled device, which fetches the instructions from memory, decodes and executes the instructions. Most Micro Processor are single- chip devices. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Give examples for 8 / 16 / 32 bit Microprocessor? - 8-bit Processor - 8085 / Z80 / 6800; 16-bit Processor - 8086 / 68000 / Z8000; 32-bit Processor - 80386 / 80486. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Why 8085 processor is called an 8 bit processor? - Because 8085 processor has 8 bit ALU (Arithmetic Logic Review). Similarly 8086 processor has 16 bit ALU. &lt;/span&gt;&lt;/span&gt;&lt;a id="more-164"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is 1st / 2nd / 3rd / 4th generation processor? - The processor made of PMOS / NMOS / HMOS / HCMOS technology is called 1st / 2nd / 3rd / 4th generation processor, and it is made up of 4 / 8 / 16 / 32 bits.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Define HCMOS? - High-density n- type Complimentary Metal Oxide Silicon field effect transistor.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What does microprocessor speed depend on? - The processing speed depends on DATA BUS WIDTH.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Is the address bus unidirectional? - The address bus is unidirectional because the address information is always given by the Micro Processor to address a memory location of an input / output devices.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Is the data bus is Bi-directional? - The data bus is Bi-directional because the same bus is used for transfer of data between Micro Processor and memory or input / output devices in both the direction.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is the disadvantage of microprocessor? - It has limitations on the size of data. Most Microprocessor does not support floating-point operations.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is the difference between microprocessor and microcontroller? - In Microprocessor more op-codes, few bit handling instructions. But in Microcontroller: fewer op-codes, more bit handling Instructions, and also it is defined as a device that includes micro processor, memory, &amp;amp; input / output signal lines on a single chip.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is meant by LATCH? - Latch is a D- type flip-flop used as a temporary storage device controlled by a timing signal, which can store 0 or 1. The primary function of a Latch is data storage. It is used in output devices such as LED, to hold the data for display.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Why does microprocessor contain ROM chips? - Microprocessor contain ROM chip because it contain instructions to execute data.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is the difference between primary &amp;amp; secondary storage device? - In primary storage device the storage capacity is limited. It has a volatile memory. In secondary storage device the storage capacity is larger. It is a nonvolatile memory. Primary devices are: RAM / ROM. Secondary devices are: Floppy disc / Hard disk.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Difference between static and dynamic RAM? - Static RAM: No refreshing, 6 to 8 MOS transistors are required to form one memory cell, Information stored as voltage level in a flip flop. Dynamic RAM: Refreshed periodically, 3 to 4 transistors are required to form one memory cell, Information is stored as a charge in the gate to substrate capacitance.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is interrupt? - Interrupt is a signal send by external device to the processor so as to request the processor to perform a particular work.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is cache memory? - Cache memory is a small high-speed memory. It is used for temporary storage of data &amp;amp; information between the main memory and the CPU (center processing unit). The cache memory is only in RAM.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is called ?Scratch pad of computer?? - Cache Memory is scratch pad of computer.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Which transistor is used in each cell of EPROM? - Floating ?gate Avalanche Injection MOS (FAMOS) transistor is used in each cell of EPROM. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Differentiate between RAM and ROM? - RAM: Read / Write memory, High Speed, Volatile Memory. ROM: Read only memory, Low Speed, Non Voliate Memory.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a compiler? - Compiler is used to translate the high-level language program into machine code at a time. It doesn?t require special instruction to store in a memory, it stores automatically. The Execution time is less compared to Interpreter.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which processor structure is pipelined? - All x86 processors have pipelined structure.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is flag? - Flag is a flip-flop used to store the information about the status of a processor and the status of the instruction executed most recently&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is stack? - Stack is a portion of RAM used for saving the content of Program Counter and general purpose registers.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Can ROM be used as stack? - ROM cannot be used as stack because it is not possible to write to ROM.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What is NV-RAM? - Nonvolatile Read Write Memory, also called Flash memory. It is also know as shadow RAM.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-8451107662625723938?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/7yDkkJh8eZQ" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/7yDkkJh8eZQ/microprocessor-technologies-electronics.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/microprocessor-technologies-electronics.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-1829179987819604067</guid><pubDate>Thu, 20 Mar 2008 11:09:00 +0000</pubDate><atom:updated>2008-03-20T04:10:20.597-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Microprocessor Latest Interview Questions</category><category domain="http://www.blogger.com/atom/ns#">Electronics ECE Latest Interview Question Papers</category><title>8086 Latest Interview 2008 Questions - 2</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;8086 interview questions&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What are the flags in 8086?&lt;/b&gt; - In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What are the various interrupts in 8086?&lt;/b&gt; - Maskable interrupts, Non-Maskable interrupts. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What is meant by Maskable interrupts?&lt;/b&gt; - An interrupt that can be turned off by the programmer is known as Maskable interrupt. &lt;a id="more-169"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What is Non-Maskable interrupts?&lt;/b&gt; - An interrupt which can be never be turned off (ie.disabled) is known as Non-Maskable interrupt.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;Which interrupts are generally used for critical events?&lt;/b&gt; - Non-Maskable interrupts are used in critical events. Such as Power failure, Emergency, Shut off etc.,&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;Give examples for Maskable interrupts?&lt;/b&gt; - RST 7.5, RST6.5, RST5.5 are Maskable interrupts&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;Give example for Non-Maskable interrupts?&lt;/b&gt; - Trap is known as Non-Maskable interrupts, which is used in emergency condition.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What is the Maximum clock frequency in 8086?&lt;/b&gt; - 5 Mhz is the Maximum clock frequency in 8086.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What are the various segment registers in 8086?&lt;/b&gt; - Code, Data, Stack, Extra Segment registers in 8086.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;Which Stack is used in 8086?&lt;/b&gt; - FIFO (First In First Out) stack is used in 8086.In this type of Stack the first stored information is retrieved first.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What are the address lines for the software interrupts? &lt;/b&gt;- &lt;/span&gt;&lt;/p&gt;&lt;table style="BORDER-COLLAPSE: collapse;color:#000080;" border cellspacing="0" cellpadding="7" border="1"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;RST 0&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;0000 H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;RST1&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;0008 H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;RST2&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;0010 H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;RST3&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;0018 H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;RST4&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;0020 H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;RST5&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;0028 H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;RST6&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;0030 H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;RST7&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;0038 H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What is SIM and RIM instructions?&lt;/b&gt; - SIM is Set Interrupt Mask. Used to mask the hardware interrupts. RIM is Read Interrupt Mask. Used to check whether the interrupt is Masked or not.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;Which is the tool used to connect the user and the computer?&lt;/b&gt; - Interpreter is the tool used to connect the user and the tool.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What is the position of the Stack Pointer after the PUSH instruction?&lt;/b&gt; - The address line is 02 less than the earlier value.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What is the position of the Stack Pointer after the POP instruction?&lt;/b&gt; - The address line is 02 greater than the earlier value.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;Logic calculations are done in which type of registers?&lt;/b&gt; - Accumulator is the register in which Arithmetic and Logic calculations are done.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What are the different functional units in 8086?&lt;/b&gt; - Bus Interface Unit and Execution unit, are the two different functional units in 8086.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;Give examples for Micro controller?&lt;/b&gt; - Z80, Intel MSC51 &amp;amp;96, Motorola are the best examples of Microcontroller.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What is meant by cross-compiler?&lt;/b&gt; - A program runs on one machine and executes on another is called as cross-compiler.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What are the address lines for the hardware interrupts? &lt;/b&gt;-&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;table style="BORDER-COLLAPSE: collapse;color:#000080;" border cellspacing="0" cellpadding="7" border="1"&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;RST 7.5&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;003C H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;RST 6.5&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;0034 H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;RST 5.5&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;002C H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;tr valign="top"&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;TRAP&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;0024 H&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/table&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;Which Segment is used to store interrupt and subroutine return address registers?&lt;/b&gt; - Stack Segment in segment register is used to store interrupt and subroutine return address registers.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;Which Flags can be set or reset by the programmer and also used to control the operation of the processor?&lt;/b&gt; - Trace Flag, Interrupt Flag, Direction Flag.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What does EU do?&lt;/b&gt; - Execution Unit receives program instruction codes and data from BIU, executes these instructions and store the result in general registers.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;Which microprocessor accepts the program written for 8086 without any changes?&lt;/b&gt; - 8088 is that processor.&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;b&gt;What is the difference between 8086 and 8088?&lt;/b&gt; - The BIU in 8088 is 8-bit data bus &amp;amp; 16- bit in 8086.Instruction queue is 4 byte long in 8088and 6 byte in 8086.&lt;/span&gt; &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-1829179987819604067?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/9rovcFObjNk" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/9rovcFObjNk/8086-latest-interview-2008-questions-2.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/8086-latest-interview-2008-questions-2.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-5009538951831989935</guid><pubDate>Thu, 20 Mar 2008 11:06:00 +0000</pubDate><atom:updated>2008-03-20T04:08:55.009-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Microprocessor Latest Interview Questions</category><category domain="http://www.blogger.com/atom/ns#">Electronics ECE Latest Interview Question Papers</category><title>8085 Microprocessor 4 8 16 32 bit interview Questions - 1</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;8085 microprocessor questions&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What are the various registers in 8085? - Accumulator register, Temporary register, Instruction register, Stack Pointer, Program Counter are the various registers in 8085 . &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;In 8085 name the 16 bit registers? - Stack pointer and Program counter all have 16 bits. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are the various flags used in 8085? - Sign flag, Zero flag, Auxillary flag, Parity flag, Carry flag.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is Stack Pointer? - Stack pointer is a special purpose 16-bit register in the Microprocessor, which holds the address of the top of the stack.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is Program counter? - Program counter holds the address of either the first byte of the next instruction to be fetched for execution or the address of the next byte of a multi byte instruction, which has not been completely fetched. In both the cases it gets incremented automatically one by one as the instruction bytes get fetched. Also Program register keeps the address of the next instruction.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which Stack is used in 8085? - LIFO (Last In First Out) stack is used in 8085.In this type of Stack the last stored information can be retrieved first.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What happens when HLT instruction is executed in processor? - The Micro Processor enters into Halt-State and the buses are tri-stated.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is meant by a bus? - A bus is a group of conducting lines that carriers data, address, &amp;amp; control signals.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is Tri-state logic? - Three Logic Levels are used and they are High, Low, High impedance state. The high and low are normal logic levels &amp;amp; high impedance state is electrical open circuit conditions. Tri-state logic has a third line called enable line.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Give an example of one address microprocessor? - 8085 is a one address microprocessor.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;In what way interrupts are classified in 8085? - In 8085 the interrupts are classified as Hardware and Software interrupts.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are Hardware interrupts? - TRAP, RST7.5, RST6.5, RST5.5, INTR.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are Software interrupts? - RST0, RST1, RST2, RST3, RST4, RST5, RST6, RST7.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which interrupt has the highest priority? - TRAP has the highest priority.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Name 5 different addressing modes? - Immediate, Direct, Register, Register indirect, Implied addressing modes.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How many interrupts are there in 8085? - There are 12 interrupts in 8085.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is clock frequency for 8085? - 3 MHz is the maximum clock frequency for 8085.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is the RST for the TRAP? - RST 4.5 is called as TRAP.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;In 8085 which is called as High order / Low order Register? - Flag is called as Low order register &amp;amp; Accumulator is called as High order Register.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are input &amp;amp; output devices? - Keyboards, Floppy disk are the examples of input devices. Printer, LED / LCD display, CRT Monitor are the examples of output devices.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Can an RC circuit be used as clock source for 8085? - Yes, it can be used, if an accurate clock frequency is not required. Also, the component cost is low compared to LC or Crystal.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Why crystal is a preferred clock source? - Because of high stability, large Q (Quality Factor) &amp;amp; the frequency that doesn?t drift with aging. Crystal is used as a clock source most of the times.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which interrupt is not level-sensitive in 8085? - RST 7.5 is a raising edge-triggering interrupt.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What does Quality factor mean? - The Quality factor is also defined, as Q. So it is a number, which reflects the lossness of a circuit. Higher the Q, the lower are the losses.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are level-triggering interrupt? - RST 6.5 &amp;amp; RST 5.5 are level-triggering interrupts.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-5009538951831989935?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/nNLx7xoMdD0" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/nNLx7xoMdD0/8085-microprocessor-4-8-16-32-bit.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/8085-microprocessor-4-8-16-32-bit.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-5638405085832845739</guid><pubDate>Thu, 20 Mar 2008 11:05:00 +0000</pubDate><atom:updated>2008-03-20T04:06:55.312-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Visual Basic VB Interview Questions 1</category><title>VB Recent IT MNCs Campus Interview Important Questions - 4</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;&lt;a title="Interview questions: VB 6, COM, DCOM, Microsoft platform interview questions" style="TEXT-DECORATION: none" rel="bookmark"&gt;VB 6, COM, DCOM, Microsoft platform interview questions&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;3 main differences between flexgrid control and dbgrid control&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;ActiveX and Types of ActiveX Components in VB &lt;/span&gt;&lt;a id="more-48"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Advantage of ActiveX Dll over ActiveX Exe&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Advantages of disconnected recordsets&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Benefit of wrapping database calls into MTS transactions&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Benefits of using MTS&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Can database schema be changed with DAO, RDO or ADO?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Can you create a tabletype of recordset in Jet-connected ODBC database engine?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Constructors and destructors&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Controls which do not have events&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Default property of datacontrol&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Define the scope of Public, Private, Friend procedures?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Describe Database Connection pooling relative to MTS&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Describe: In of Process vs. Out of Process component. Which is faster?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Difference between a function and a subroutine, Dynaset and Snapshot, early and late binding, image and picture controls, linked object and embedded Object,listbox and combo box,Listindex and Tab index,modal and moduless window, Object and Class, query unload and unload in form, declaration and instantiation of an object?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Draw and explain Sequence Model of DAO&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How can objects on different threads communicate with one another?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How can you force new objects to be created on new threads?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How does a DCOM component know where to instantiate itself?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do I register a component?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do I set a shortcut key for label?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What kind of components can be used as DCOM servers?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Name of the control used to call a Windows application&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Name the four different cursor and locking types in ADO and describe them briefly&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Need of zorder method, no of controls in form, Property used to add a menus at runtime, Property used to count number of items in a combobox,resize a label control according to your caption.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Return value of callback function, The need of tabindex property&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Thread pool and management of threads within a thread pool&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;To set the command button for ESC, Which property needs to be changed?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Type Library and what is it’s purpose?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Types of system controls, container objects, combo box&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Under the ADO Command Object, what collection is responsible for input to stored procedures?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are the ADO objects? Explain them.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are the different compatibility types when we create a COM component?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What do ByVal and ByRef mean and which is the default?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What does Option Explicit refer to?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What does the Implements statement do?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is OLE and DDE? Explain.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is the difference between Msgbox Statement and MsgboxQ function?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What keyword is associated with raising system level events in VB?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What types of data access have you used.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What was introduced to Visual Basic to allow the use of Callback Functions?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which controls can not be placed in MDI?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which controls have refresh method, clear method&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which Property is used to compress a image in image control?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which property of menu cannot be set at run time?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which property of textbox cannot be changed at runtime?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is the maximum size of a textbox?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which tool is used to configure the port range and protocols for DCOM communications?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-5638405085832845739?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/9yfyWHPyYFM" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/9yfyWHPyYFM/vb-recent-it-mncs-campus-interview.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/vb-recent-it-mncs-campus-interview.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-2203070500324536543</guid><pubDate>Thu, 20 Mar 2008 11:04:00 +0000</pubDate><atom:updated>2008-03-20T04:05:18.671-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Visual Basic VB Interview Questions 1</category><title>Visual Basic Latest 2008 Interview Questions 3</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;&lt;a title="Interview questions: Visual Basic" style="TEXT-DECORATION: none" rel="bookmark"&gt;Visual Basic&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;How do you register a component? &lt;i&gt;Expected answer:&lt;/i&gt; Compiling the component, running REGSVR32 MyDLL.dll&lt;/span&gt;&lt;/span&gt;&lt;a id="more-4"&gt;&lt;/a&gt;&lt;span style="font-size:130%;color:#000000;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Name and explain the different compatibility types when creating a COM component. &lt;i&gt;Expected answer:&lt;/i&gt; No Compatibility ? New GUID created, references from other components will not workProject Compatibility ? Default for a new component &lt;not&gt;Binary Compatibility ? GUID does not change, references from other components will work &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Why iss it important to use source control software for source code? &lt;i&gt;Expected answer:&lt;/i&gt; Modification history.Code ownership: Multiple people can not modify the same code at the same time. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What two methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful? &lt;i&gt;Expected answer:&lt;/i&gt; SetComplete and SetAbort. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What is the tool used to configure the port range and protocols for DCOM communications? &lt;i&gt;Expected answer:&lt;/i&gt; DCOMCONFIG.EXE &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What does Option Explicit refer to? &lt;i&gt;Expected answer:&lt;/i&gt; All variables must be declared before use. Their type is not required. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What are the different ways to Declare and Instantiate an object in Visual Basic 6? &lt;i&gt;Expected answer:&lt;/i&gt; Dim obj as OBJ.CLASS with eitherSet obj = New OBJ.CLASS orSet obj = CreateObject(?OBJ.CLASS?) orSet obj = GetObject( ,? OBJ.CLASS?)orDim obj as New OBJ.CLASS &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Name the four different cursor types in ADO and describe them briefly. &lt;i&gt;Expected answer:&lt;/i&gt; The cursor types are listed from least to most resource intensive.Forward Only ? Fastest, can only move forward in recordset Static ? Can move to any record in the recordset. Data is static and never changes.KeySet ? Changes are detectable, records that are deleted by other users are unavailable, and records created by other users are not detectedDynamic ? All changes are visible. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Name the four different locking type in ADO and describe them briefly. &lt;i&gt;Expected answer:&lt;/i&gt; LockPessimistic ? Locks the row once after any edits occur.LockOptimistic ? Locks the row only when Update is called.LockBatchOptimistic ? Allows Batch Updates.LockReadOnly ? Read only. Can not alter the data. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Describe Database Connection pooling (relative to MTS ) &lt;i&gt;Expected answer:&lt;/i&gt; This allows MTS to reuse database connections. Database connections are put to ?sleep? as opposed to being created and destroyed and are activated upon request. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What are the ADO objects? Explain them. Provide a scenario using three of them to return data from a database. &lt;i&gt;Expected answer:&lt;/i&gt; Connection ? Connects to a data source; contains the Errors collectionCommand ? Executes commands to the data source. Is the only object that can accept parameters for a stored procedure.Recordset ? The set of data returned from the database.Scenario: There are many possibilities. The most likely is as follows:Dim conn As ADODB.ConnectionDim rs As ADODB.RecordsetDim Cmd As ADODB.Commandconn.ConnectionString = ?CONNECTION STRING?conn.OpenSet Cmd.ActiveConnection = connCmd.CommandText = ?SQL STATEMENT?Set rs = Cmd.ExecuteSet rs.ActiveConnection = Nothingconn.Close &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Under the ADO Command Object, what collection is responsible for input to stored procedures? &lt;i&gt;Expected answer:&lt;/i&gt; The Parameters collection. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What are some benefits of using MTS? &lt;i&gt;Expected answer:&lt;/i&gt; Database Pooling, Transactional operations, Deployment, Security, Remote Execution. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What is the benefit of wrapping database calls into MTS transactions? &lt;i&gt;Expected answer:&lt;/i&gt; If database calls are made within the context of a transaction, aborting the transaction will undo and changes that occur within that transaction. This removes the possibility of stranded, or partial data. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Describe and In Process vs. Out of Process component. Which is faster? &lt;i&gt;Expected answer:&lt;/i&gt;An in-process component is implemented as a DLL, and runs in the same process space as its client app, enabling the most efficient communication between client and component.Each client app that uses the component starts a new instance of it.An out of process component is implemented as an EXE, and unlike a dll, runs in its own process space. As a result, exe’s are slower then dll’s because communications between client and component must be marshalled across process boundaries. A single instance of an out of process component can service many clients. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What are the main components of the ADO object model? How are they used? &lt;i&gt;Expected answer:&lt;/i&gt;Connection: Used to make a connection between your app and an external data source, ie, sql server.Command: Used to build queries, including user-specific parameters, to access records from a data source (which are returned in a Recordset)Recordset:Used to access records returned from an SQL query. With a recordset, you can navigate returned records. You can also add, modify or delete records. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-2203070500324536543?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/jkbvPxD93mg" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/jkbvPxD93mg/visual-basic-latest-2008-interview.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/visual-basic-latest-2008-interview.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-5598547308029948784</guid><pubDate>Thu, 20 Mar 2008 11:03:00 +0000</pubDate><atom:updated>2008-03-20T04:04:36.304-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Visual Basic VB Interview Questions 1</category><title>Visual Basic Latest Interview Questions 2008 - 2</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;&lt;a title="Interview questions: Visual Basic interview questions" style="TEXT-DECORATION: none" rel="bookmark"&gt;Visual Basic interview questions&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do you center a form?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Can I send keystrokes to a DOS application? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Convert an RGB value to a long, or a long to RGB. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Implement smooth scrolling for either text, graphics or controls across a form. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Implement some quick and easy encryption (can be something primitive).&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;4 different types of sorts: advantages and disadvantages. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;Compute CRC32 checksum, write a quick piece of code that accepts the packet of data and returns the CRC. &lt;/span&gt;&lt;a id="more-189"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do you use the Mouse OFF event? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do I call Windows Help files from a VB program? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do I create a textbox that lets you insert tabs? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do I make text box that displays asterisks when the user types in data such as password? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do I create multi-column combo box? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do I make a menu popup from a CommandButton? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How to create menus at run time in VB? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Write a generic error handling routine. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How to copy text to the Windows clipboard and from it. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How can I call a Command button without clicking it? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Write a simple app with Encrypt and Decrypt buttons and Textbox where the user can enter text for encryption and decryption. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;3 main differences between flexgrid control and dbgrid control &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;ActiveX and Types of ActiveX Components in VB &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Advantage of ActiveX Dll over ActiveX Exe .&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Advantages of disconnected recordsets . Benefit of wrapping database calls into MTS transactions 6. Benefits of using 23 MTS &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Can database schema be changed with DAO, RDO or ADO? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Can you create a tabletype of recordset in Jet-connected ODBC database engine? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Constructors and destructors &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Controls which do not have events &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Default property of datacontrol &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Define the scope of Public, Private, Friend procedures? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Describe Database Connection pooling relative to MTS &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Describe: In of Process vs. Out of Process component. Which is faster? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Difference between a function and a subroutine, Dynaset and Snapshot, early and late binding, image and picture controls, linked object and embedded Object,listbox and combo box,Listindex and Tab index,modal and moduless window, Object and Class, query unload and unload in form, declaration and instantiation of an object? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Draw and explain Sequence Model of DAO &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How can objects on different threads communicate with one another? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How can you force new objects to be created on new threads? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How does a DCOM component know where to instantiate itself? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do I register a component? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do I set a shortcut key for label? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What kind of components can be used as DCOM servers? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Name of the control used to call a Windows application &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Name the four different cursor and locking types in ADO and describe them briefly &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Need of zorder method, no of controls in form, Property used to add a menus at runtime, Property used to count number of items in a combobox,resize a label control according to your caption. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Return value of callback function, The need of tabindex property &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Thread pool and management of threads within a thread pool &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;To set the command button for ESC, Which property needs to be changed? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Type Library and what is it?s purpose? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Types of system controls, container objects, combo box &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Under the ADO Command Object, what collection is responsible for input to stored procedures? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What are the ADO objects? Explain them. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What are the different compatibility types when we create a COM component? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What do ByVal and ByRef mean and which is the default? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What does Option Explicit refer to? 36. What does the Implements statement do? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is OLE and DDE? Explain. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the difference between Msgbox Statement and MsgboxQ function? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What keyword is associated with raising system level events in VB? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What types of data access have you used. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What was introduced to Visual Basic to allow the use of Callback Functions? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Which controls can not be placed in MDI? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which controls have refresh method, clear method&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Which Property is used to compress a image in image control? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Which property of menu cannot be set at run time? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which property of textbox cannot be changed at runtime?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the maximum size of a textbox? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Which tool is used to configure the port range and protocols for DCOM communications?&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-5598547308029948784?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/TelPWkQtadU" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/TelPWkQtadU/visual-basic-latest-interview-questions.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/visual-basic-latest-interview-questions.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-2135654109205288040</guid><pubDate>Thu, 20 Mar 2008 11:01:00 +0000</pubDate><atom:updated>2008-03-20T04:03:18.461-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Visual Basic VB Interview Questions 1</category><title>VB Basic Interview Questions 1</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;&lt;a title="Interview questions: Basic VB interview questions" style="TEXT-DECORATION: none" rel="bookmark"&gt;Basic VB interview questions&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do you center a form?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Can I send keystrokes to a DOS application? &lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Convert an RGB value to a long, or a long to RGB.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Implement smooth scrolling for either text, graphics or controls across a form.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Implement some quick and easy encryption (can be something primitive).&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;4 different types of sorts: advantages and disadvantages.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Compute CRC32 checksum, write a quick piece of code that accepts the packet of data and returns the CRC.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do you use the Mouse OFF event?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do I call Windows Help files from a VB program?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do I create a textbox that lets you insert tabs?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do I make text box that displays asterisks when the user types in data such as password?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do I create multi-column combo box?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do I make a menu popup from a CommandButton?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How to create menus at run time in VB?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Write a generic error handling routine.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How to copy text to the Windows clipboard and from it.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How can I call a Command button without clicking it?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Write a simple app with Encrypt and Decrypt buttons and Textbox where the user can enter text for encryption and decryption.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-2135654109205288040?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/dbW-qmnjxrw" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/dbW-qmnjxrw/vb-basic-interview-questions-1.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/vb-basic-interview-questions-1.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-1648893141810698734</guid><pubDate>Wed, 19 Mar 2008 18:29:00 +0000</pubDate><atom:updated>2008-03-19T11:36:15.483-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Latest Oracle Placement Papers</category><category domain="http://www.blogger.com/atom/ns#">Oracle Latest Placement Interview Questions</category><title>Oracle Interview Questions 2008 - Recent Important Oracle Topics..</title><description>&lt;li&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/typical-oracle-questions-8.html"&gt;&lt;span style="font-size:130%;color:#446677;"&gt;Typical Oracle Questions - 8&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt; &lt;/span&gt;&lt;li&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/oracle-sql-questions-2008-7.html"&gt;&lt;span style="font-size:130%;color:#446677;"&gt;Oracle SQL Questions 2008 - 7&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt; &lt;/span&gt;&lt;li&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/oracle-sql-pl-latest-questions-6.html"&gt;&lt;span style="font-size:130%;color:#446677;"&gt;Oracle SQL PL Latest Questions 6&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt; &lt;/span&gt;&lt;li&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/oracle-interview-questions-march-2008-5.html"&gt;&lt;span style="font-size:130%;color:#446677;"&gt;Oracle Interview Questions March 2008 - 5&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt; &lt;/span&gt;&lt;li&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/oracle-technical-interview-questions-4.html"&gt;&lt;span style="font-size:130%;color:#446677;"&gt;Oracle Technical Interview Questions - 4&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt; &lt;/span&gt;&lt;li&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/oracle-dba-interview-questions-2008-3.html"&gt;&lt;span style="font-size:130%;color:#446677;"&gt;Oracle DBA interview questions 2008 - 3&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt; &lt;/span&gt;&lt;li&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/oracle-database-questions-2008.html"&gt;&lt;span style="font-size:130%;color:#446677;"&gt;Oracle Database Questions 2008 - 2&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt; &lt;/span&gt;&lt;li&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/oracle-interview-questions-1.html"&gt;&lt;span style="font-size:130%;color:#446677;"&gt;Oracle Interview Questions 1&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt; &lt;/span&gt;&lt;/li&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;Keep watching out for more Oracle Latest Interview Question Placement Papers for year 2007 and 2008 all months for leading companies infosys, wipro, ibm, microsoft, cisco, dell, ebay, sap, oracle, peoplesoft, hcl, quark, ramco, l.t, satyam computers, accenture, cognizant, KPO, BPO companies, IT, ITES companies, T systems, siemens, verizon wireless, abb, att in india, uk, usa, us - phillipines, china, hungary freshers graduates placement jobs. See &lt;/span&gt;&lt;a href="http://questionpapers4u.blogspot.com/"&gt;&lt;span style="font-size:130%;"&gt;questionpapers4u.blogspot.com &lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt;for more such help resources for aspirants.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-1648893141810698734?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/sDz7S9DlOMw" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/sDz7S9DlOMw/oracle-interview-questions-2008-recent.html</link><author>noreply@blogger.com (hita)</author><thr:total>1</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/oracle-interview-questions-2008-recent.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-9168806245357210961</guid><pubDate>Wed, 19 Mar 2008 18:26:00 +0000</pubDate><atom:updated>2008-03-19T11:29:28.226-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Latest Oracle Placement Papers</category><category domain="http://www.blogger.com/atom/ns#">Oracle Latest Placement Interview Questions</category><title>Typical Oracle Questions - 8</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;&lt;a title="Interview questions: Typical Oracle questions" style="TEXT-DECORATION: none" rel="bookmark"&gt;Typical Oracle questions&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Tell us about yourself, your background.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are the three major characteristics that you bring to this company?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What version of Oracle were you running?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How many databases did the organization have and what sizes?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What motivates you to do a good job?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;What two or three things are most important to you at work? &lt;/span&gt;&lt;a id="more-182"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What qualities do you think are essential to be successful in this kind of work?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What courses did you attend? What job certifications do you hold?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What subjects/courses did you excel in? Why?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What subjects/courses gave you trouble? Why?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How does your previous work experience prepare you for this position?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do you define ’success’?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What has been your most significant accomplishment to date?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Describe a challenge you encountered and how you dealt with it.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Describe a failure and how you dealt with it.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Describe the ‘ideal’ job… the ‘ideal’ supervisor.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What leadership roles have you held?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What prejudices do you hold?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What do you like to do in your spare time?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are your career goals (a) 3 years from now; (b) 10 years from now?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How does this position match your career goals?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What have you done in the past year to improve yourself?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;In what areas do you feel you need further education and training to be successful?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What do you know about our company?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Why do you want to work for this company. Why should we hire you?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Where do you see yourself fitting in to this organization initially? How about in 5 years?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Why are you looking for a new job?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do you feel about re-locating?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Are you willing to travel?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are your salary requirements?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;When would you be available to start if you were selected?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Did you use online or off-line backups?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;If you have to advise a backup strategy for a new application, how would you approach it and what questions will you ask?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;If a customer calls you about a hanging database session, what will you do to resolve it?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Compare Oracle to any other database that you know. Why would you prefer to work on one and not on the other&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;"&gt;Keep watching out for more latest, recent 2007 and 2008 january, february, march, april, may, june, july, august, september, october, november, december oracle interview questions with solutions and hr, tech interview topics and detailed explanation for your success in placement interview.. Good Luck! May u get placed in a reputed IT / ITES MNC. Keep watching out for more interview questions of different subjects only on &lt;a href="http://questionpapers4u.blogspot.com/"&gt;questionpapers4u.blogspot.com&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-9168806245357210961?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/4enz5yB0qGk" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/4enz5yB0qGk/typical-oracle-questions-8.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/typical-oracle-questions-8.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-979098211523074285</guid><pubDate>Wed, 19 Mar 2008 18:18:00 +0000</pubDate><atom:updated>2008-03-19T11:25:51.465-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Latest Oracle Placement Papers</category><category domain="http://www.blogger.com/atom/ns#">Oracle Latest Placement Interview Questions</category><title>Oracle SQL Questions 2008 - 7</title><description>&lt;p align="center"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;SQL Interview Questions&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;1.What is SQL?&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;SQL stands for 'Structured Query Language'&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;2.What is SELECT statement?&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The SELECT statement lets you select a set of values from a table in a database. The values selected from the database table would depend on the various conditions that are specified in the SQL query.&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;3.How can you compare a part of the name rather than the entire name?&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;SELECT * FROM people WHERE empname LIKE '%ab%'&lt;br /&gt;Would return a recordset with records consisting empname the sequence 'ab' in empname .&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;4.What is the INSERT statement?&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The INSERT statement lets you insert information into a database.&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;5.How do you delete a record from a database?&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Use the DELETE statement to remove records or any particular column values from a database.&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;6.How could I get distinct entries from a table?&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;The SELECT statement in conjunction with DISTINCT lets you select a set of distinct values from a table in a database. The values selected from the database table would of course depend on the various conditions that are specified in the SQL query. Example&lt;br /&gt;&lt;em&gt;SELECT DISTINCT empname FROM emptable &lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;7.How to get the results of a Query sorted in any order?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;You can sort the results and return the sorted results to your program by using ORDER BY keyword thus saving you the pain of carrying out the sorting yourself. The ORDER BY keyword is used for sorting.&lt;br /&gt;&lt;/span&gt;&lt;em&gt;&lt;br /&gt;&lt;span style="font-size:130%;color:#000000;"&gt;SELECT empname, age, city FROM emptable ORDER BY empname&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;8.How can I find the total number of records in a table?&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;You could use the COUNT keyword , example&lt;br /&gt;&lt;em&gt;SELECT COUNT(*) FROM emp WHERE age&gt;40 &lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;9.What is GROUP BY?&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The GROUP BY keywords have been added to SQL because aggregate functions (like SUM) return the aggregate of all column values every time they are called. Without the GROUP BY functionality, finding the sum for each individual group of column values was not possible. &lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;10.What is the difference among "dropping a table", "truncating a table" and "deleting all records" from a table.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Dropping :  (Table structure  + Data are deleted), Invalidates the dependent objects&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;color:#000000;"&gt; ,Drops the indexes &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Truncating:  (Data alone deleted), Performs an automatic commit, Faster than delete&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Delete : (Data alone deleted), Doesn?t perform automatic commit&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;11.What are the Large object types suported by Oracle? &lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Blob and Clob.&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;12.Difference between a "where" clause and a "having" clause.&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Having clause is used only with group functions whereas Where is not used with.&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;13.What's the difference between a primary key and a unique key?&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Both primary key and unique enforce uniqueness of the column on which they are defined. But by default primary key creates a clustered index on the column, where are unique creates a nonclustered index by default. Another major difference is that, primary key doesn't allow NULLs, but unique key allows one NULL only.&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;14.What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors? &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Cursors allow row-by-row prcessing of the resultsets.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Types of cursors: Static, Dynamic, Forward-only, Keyset-driven. See books online for more information.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Disadvantages of cursors: Each time you fetch a row from the cursor, it results in a network roundtrip, where as a normal SELECT query makes only one rowundtrip, however large the resultset is. Cursors are also costly because they require more resources and temporary storage (results in more IO operations). Furthere, there are restrictions on the SELECT statements that can be used with some types of cursors.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Most of the times, set based operations can be used instead of cursors. &lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;15.What are triggers? How to invoke a trigger on demand? &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Triggers are special kind of stored procedures that get executed automatically when an INSERT, UPDATE or DELETE operation takes place on a table.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Triggers can't be invoked on demand. They get triggered only when an associated action (INSERT, UPDATE, DELETE) happens on the table on which they are defined.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Triggers are generally used to implement business rules, auditing. Triggers can also be used to extend the referential integrity checks, but wherever possible, use constraints for this purpose, instead of triggers, as constraints are much faster.&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;16.What is a join and explain different types of joins.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Arial;"&gt;&lt;p&gt;&lt;span style="font-size:130%;color:#000000;"&gt;Joins are used in queries to explain how different tables are related. Joins also let you select data from a table depending upon data from another table. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;color:#000000;"&gt;Types of joins: INNER JOINs, OUTER JOINs, CROSS JOINs. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;color:#000000;"&gt;OUTER JOINs are further classified as LEFT OUTER JOINS, RIGHT OUTER JOINS and FULL OUTER JOINS.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;17.What is a self join?&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Self join is just like any other join, except that two instances of the same table will be joined in the query. &lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;"&gt;View Latest Oracle Database, DBMS, DBA, SQL, MySql Interview Questions march, april, may, june, july, 2007 and 2008 questions with solutions / answer keys in case of multiple choice questions, for leading it mncs recruiting in india, usa, uk, ireland, hungary, phillipines, china, etc. Leading companies engages in IT services, ITES, BPO, KPO, sector use database solutions. The companies like Infosys, Wipro, TCS, HCL, Satyam Computers, Cisco, microsoft, google, ramco, accenture, cognizant, cap gemini, t systems, t mobile, siemens, huawei telecom, various technology firms recruit database administrators having knowledge of different database technologies and diverse skill sets. u can check out various question papers here for various programming languages and softwares for your reference for year 2008 and previous years for your placement paper in campus or freshers walk-in interviews in delhi, mumbai, bangalore, pune , chandigarh, mohali, noida, new chennai, etc.&lt;/span&gt;&lt;/p&gt;&lt;p align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;"&gt;Good Luck and keep watching &lt;a href="http://questionpapers4u.blogspot.com/"&gt;questionpapers4u.blogspot.com&lt;/a&gt; for more hr, tech,, gd questions and placement papers..&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-979098211523074285?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/XoTuYn9cTME" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/XoTuYn9cTME/oracle-sql-questions-2008-7.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/oracle-sql-questions-2008-7.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-803126270188122923</guid><pubDate>Wed, 19 Mar 2008 18:14:00 +0000</pubDate><atom:updated>2008-03-19T11:18:07.967-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Latest Oracle Placement Papers</category><category domain="http://www.blogger.com/atom/ns#">Oracle Latest Placement Interview Questions</category><title>Oracle SQL PL Latest Questions 6</title><description>&lt;p align="center"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;PL - SQL Questions&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Which of the following statements is true about implicit cursors? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Implicit cursors are used for SQL statements that are not named.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Developers should use implicit cursors with great care. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Implicit cursors are used in cursor for loops to handle data processing. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Implicit cursors are no longer a feature in Oracle. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Which of the following is not a feature of a cursor FOR loop? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Record type declaration.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Opening and parsing of SQL statements. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Fetches records from cursor. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Requires exit condition to be defined. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;A developer would like to use referential datatype declaration on a variable. The variable name is EMPLOYEE_LASTNAME, and the corresponding table and column is EMPLOYEE, and LNAME, respectively. How would the developer define this variable using referential datatypes? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Use employee.lname%type.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Use employee.lname%rowtype. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Look up datatype for EMPLOYEE column on LASTNAME table and use that. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Declare it to be type LONG.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Which three of the following are implicit cursor attributes? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;%found&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;%too_many_rows &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;%notfound &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;%rowcount &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;%rowtype &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;If left out, which of the following would cause an infinite loop to occur in a simple loop? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;LOOP&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;END LOOP &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;IF-THEN &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;EXIT &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Which line in the following statement will produce an error? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;cursor action_cursor is&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;select name, rate, action &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;into action_record &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;from action_table; &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;There are no errors in this statement. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;The command used to open a CURSOR FOR loop is &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;open&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;fetch &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;parse &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;None, cursor for loops handle cursor opening implicitly. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What happens when rows are found using a FETCH statement &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;It causes the cursor to close&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;It causes the cursor to open &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;It loads the current row values into variables &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;It creates the variables to hold the current row values &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Read the following code:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;CREATE OR REPLACE PROCEDURE find_cpt&lt;br /&gt;(v_movie_id {Argument Mode} NUMBER, v_cost_per_ticket {argument mode} NUMBER)&lt;br /&gt;IS&lt;br /&gt;BEGIN&lt;br /&gt;  IF v_cost_per_ticket  &gt; 8.5 THEN&lt;br /&gt;SELECT  cost_per_ticket&lt;br /&gt;INTO            v_cost_per_ticket&lt;br /&gt;FROM            gross_receipt&lt;br /&gt;WHERE   movie_id = v_movie_id;&lt;br /&gt;  END IF;&lt;br /&gt;END;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Which mode should be used for V_COST_PER_TICKET?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;IN &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;OUT &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;RETURN &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;IN OUT&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Read the following code:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;CREATE OR REPLACE TRIGGER update_show_gross&lt;br /&gt;      {trigger information}&lt;br /&gt;     BEGIN&lt;br /&gt;      {additional code}&lt;br /&gt;     END;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;The trigger code should only execute when the column, COST_PER_TICKET, is greater than $3. Which trigger information will you add?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;WHEN (new.cost_per_ticket &gt; 3.75)&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;WHEN (:new.cost_per_ticket &gt; 3.75 &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;WHERE (new.cost_per_ticket &gt; 3.75) &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;WHERE (:new.cost_per_ticket &gt; 3.75) &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What is the maximum number of handlers processed before the PL/SQL block is exited when an exception occurs? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Only one&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;All that apply &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;All referenced &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;None &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;For which trigger timing can you reference the NEW and OLD qualifiers? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Statement and Row&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Statement only &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Row only &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Oracle Forms trigger &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Read the following code:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;CREATE OR REPLACE FUNCTION get_budget(v_studio_id IN NUMBER)&lt;br /&gt;RETURN number IS&lt;br /&gt; &lt;br /&gt;v_yearly_budget NUMBER;&lt;br /&gt; &lt;br /&gt;BEGIN&lt;br /&gt;       SELECT  yearly_budget&lt;br /&gt;       INTO            v_yearly_budget&lt;br /&gt;       FROM            studio&lt;br /&gt;       WHERE   id = v_studio_id;&lt;br /&gt; &lt;br /&gt;       RETURN v_yearly_budget;&lt;br /&gt;END;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Which set of statements will successfully invoke this function within SQL*Plus?&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;VARIABLE g_yearly_budget NUMBER&lt;br /&gt;EXECUTE g_yearly_budget := GET_BUDGET(11);&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;VARIABLE g_yearly_budget NUMBER&lt;br /&gt;EXECUTE :g_yearly_budget := GET_BUDGET(11);&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;VARIABLE :g_yearly_budget NUMBER&lt;br /&gt;EXECUTE :g_yearly_budget := GET_BUDGET(11);&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;VARIABLE g_yearly_budget NUMBER&lt;br /&gt;:g_yearly_budget := GET_BUDGET(11); &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;blockquote&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;CREATE OR REPLACE PROCEDURE update_theater&lt;br /&gt;(v_name IN VARCHAR v_theater_id IN NUMBER) IS&lt;br /&gt;BEGIN&lt;br /&gt;       UPDATE  theater&lt;br /&gt;       SET             name = v_name&lt;br /&gt;       WHERE   id = v_theater_id;&lt;br /&gt;END update_theater;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;When invoking this procedure, you encounter the error:&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;ORA-000: Unique constraint(SCOTT.THEATER_NAME_UK) violated.&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How should you modify the function to handle this error?&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;An user defined exception must be declared and associated with the error code and handled in the EXCEPTION section.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Handle the error in EXCEPTION section by referencing the error code directly. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Handle the error in the EXCEPTION section by referencing the UNIQUE_ERROR predefined exception. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Check for success by checking the value of SQL%FOUND immediately after the UPDATE statement. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Read the following code:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;CREATE OR REPLACE PROCEDURE calculate_budget IS&lt;br /&gt;v_budget        studio.yearly_budget%TYPE;&lt;br /&gt;BEGIN&lt;br /&gt;       v_budget := get_budget(11);&lt;br /&gt;       IF v_budget &lt; 30000&lt;br /&gt;  THEN&lt;br /&gt;               set_budget(11,30000000);&lt;br /&gt;       END IF;&lt;br /&gt;END;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;You are about to add an argument to CALCULATE_BUDGET. What effect will this have?&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The GET_BUDGET function will be marked invalid and must be recompiled before the next execution.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The SET_BUDGET function will be marked invalid and must be recompiled before the next execution. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Only the CALCULATE_BUDGET procedure needs to be recompiled. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;All three procedures are marked invalid and must be recompiled. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Which procedure can be used to create a customized error message? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;RAISE_ERROR&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;SQLERRM &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;RAISE_APPLICATION_ERROR &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;RAISE_SERVER_ERROR &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;The CHECK_THEATER trigger of the THEATER table has been disabled. Which command can you issue to enable this trigger? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;ALTER TRIGGER check_theater ENABLE;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;ENABLE TRIGGER check_theater; &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;ALTER TABLE check_theater ENABLE check_theater; &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;ENABLE check_theater; &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Examine this database trigger&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;CREATE OR REPLACE TRIGGER prevent_gross_modification&lt;br /&gt;{additional trigger information}&lt;br /&gt;BEGIN&lt;br /&gt;       IF TO_CHAR(sysdate, DY) = MON&lt;br /&gt; THEN&lt;br /&gt; RAISE_APPLICATION_ERROR(-20000,Gross receipts cannot be deleted on&lt;/span&gt;&lt;/pre&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt; Monday);&lt;br /&gt;       END IF;&lt;br /&gt;END;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;This trigger must fire before each DELETE of the GROSS_RECEIPT table. It should fire only once for the entire DELETE statement. What additional information must you add?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;BEFORE DELETE ON gross_receipt&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;AFTER DELETE ON gross_receipt &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;BEFORE (gross_receipt DELETE) &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;FOR EACH ROW DELETED FROM gross_receipt &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Examine this function:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;CREATE OR REPLACE FUNCTION set_budget&lt;br /&gt;(v_studio_id IN NUMBER, v_new_budget IN NUMBER) IS&lt;br /&gt;BEGIN&lt;br /&gt;       UPDATE  studio&lt;br /&gt;       SET             yearly_budget = v_new_budget&lt;br /&gt;       WHERE   id = v_studio_id;&lt;br /&gt; &lt;br /&gt;       IF SQL%FOUND THEN&lt;br /&gt;               RETURN TRUEl;&lt;br /&gt;       ELSE&lt;br /&gt;               RETURN FALSE;&lt;br /&gt;       END IF;&lt;br /&gt; &lt;br /&gt;       COMMIT;&lt;br /&gt;END;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Which code must be added to successfully compile this function?&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Add RETURN right before the IS keyword.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Add RETURN number right before the IS keyword. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Add RETURN boolean right after the IS keyword. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Add RETURN boolean right before the IS keyword. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Under which circumstance must you recompile the package body after recompiling the package specification? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Altering the argument list of one of the package constructs&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Any change made to one of the package constructs &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Any SQL statement change made to one of the package constructs &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Removing a local variable from the DECLARE section of one of the package constructs &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Procedure and Functions are explicitly executed. This is different from a database trigger. When is a database trigger executed? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;When the transaction is committed&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;During the data manipulation statement &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;When an Oracle supplied package references the trigger &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;During a data manipulation statement and when the transaction is committed &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Which Oracle supplied package can you use to output values and messages from database triggers, stored procedures and functions within SQL*Plus? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;DBMS_DISPLAY&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;DBMS_OUTPUT &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;DBMS_LIST &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;DBMS_DESCRIBE &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What occurs if a procedure or function terminates with failure without being handled? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Any DML statements issued by the construct are still pending and can be committed or rolled back.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Any DML statements issued by the construct are committed &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Unless a GOTO statement is used to continue processing within the BEGIN section, the construct terminates. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The construct rolls back any DML statements issued and returns the unhandled exception to the calling environment. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Examine this code&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;BEGIN&lt;br /&gt;       theater_pck.v_total_seats_sold_overall := theater_pck.get_total_for_year;&lt;br /&gt;END;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;For this code to be successful, what must be true?&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Both the V_TOTAL_SEATS_SOLD_OVERALL variable and the GET_TOTAL_FOR_YEAR function must exist only in the body of the THEATER_PCK package.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Only the GET_TOTAL_FOR_YEAR variable must exist in the specification of the THEATER_PCK package. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Only the V_TOTAL_SEATS_SOLD_OVERALL variable must exist in the specification of the THEATER_PCK package. &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Both the V_TOTAL_SEATS_SOLD_OVERALL variable and the GET_TOTAL_FOR_YEAR function must exist in the specification of the THEATER_PCK package. &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;A stored function must return a value based on conditions that are determined at runtime. Therefore, the SELECT statement cannot be hard-coded and must be created dynamically when the function is executed. Which Oracle supplied package will enable this feature? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;DBMS_DDL&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;DBMS_DML &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;DBMS_SYN &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;DBMS_SQL &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;Oracle and Java Latest / Recent Placement Paper questions and answers for programming / technical paper for leading IT Companies Infosys, Wipro, IBM, CISCO, Oracle, SAP, TCS, Satyam Computers, HCL, Microsoft, Ramco, Cognizant, Verizon, Cingular, etc. Free Download IT Companies MNCs January, February, March, April, May, June, July, August, September, October, November and December 2006, 2007 and 2008 TCS Satyam Recruitment gaming Papers and Free Download other IT Companies Satyam HCL Wipro Infy Infosys Placement Latest &amp;amp; Previous solved placement online animation question papers held at IITs, Universities, Colleges in Punjab (Chandigarh), Haryana, Delhi, Karnataka (Bangalore), West Bengal, Tamil Nadu (Chennai), Andhra Pradesh (Hyderabad), Maharashtra (Mumbai). Also the HR - Technical or Tech Interview questions and GD Topics &amp;amp; Tips.. Only at questionpapers4u.blogspot.com&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-803126270188122923?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/Q81HVSaCFSM" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/Q81HVSaCFSM/oracle-sql-pl-latest-questions-6.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/oracle-sql-pl-latest-questions-6.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-8275202277399992836</guid><pubDate>Wed, 19 Mar 2008 18:11:00 +0000</pubDate><atom:updated>2008-03-19T11:14:51.367-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Latest Oracle Placement Papers</category><category domain="http://www.blogger.com/atom/ns#">Oracle Latest Placement Interview Questions</category><title>Oracle Interview Questions March 2008 - 5</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;&lt;a title="Interview questions: Oracle interview questions" style="TEXT-DECORATION: none" rel="bookmark"&gt;Oracle interview questions&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is an oracle instance?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a view?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;What is referential integrity? &lt;/span&gt;&lt;a id="more-158"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Name the data dictionary that stores user-defined constraints?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a collection of privileges?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a snapshot?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a synonym?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a cursor?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a sequence?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a trigger?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is an exception?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a partition of table?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are pseudo-columns in SQL? Provide examples.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are the Data Control statements?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a schema?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a type?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a data model?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a relation?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Advantages of redo log files?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is an Archiver?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a database buffer cache?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are the background processes in Oracle?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;%type and %rowtype are attributes for…?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are the steps in a two-phase commit?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a union, intersect, minus?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a join, explain the types of joins?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a co-related sub-query?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;ODBC stands for…?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Data-type used to work with integers is?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Describe data models?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Describe the Normalization principles?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are the types of Normalization?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is de-normalization?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;"&gt;Latest Oracle 2008 technical interview questions asked in placement papers interviews. These are important questions. Also see multiple choice questions MCQs of leading companies like Oracle, TCS, Infosys, Wipro, Satyam, Accenture, HCL, Microsoft, SAP, etc. online here for 2008 and 2007 all months..&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-8275202277399992836?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/He9wRnMvwtA" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/He9wRnMvwtA/oracle-interview-questions-march-2008-5.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/oracle-interview-questions-march-2008-5.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-8996496055516698696</guid><pubDate>Wed, 19 Mar 2008 18:08:00 +0000</pubDate><atom:updated>2008-03-19T11:11:49.741-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Latest Oracle Placement Papers</category><category domain="http://www.blogger.com/atom/ns#">Oracle Latest Placement Interview Questions</category><title>Oracle Technical Interview Questions - 4</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;font face="Arial" color="#000000"&gt;&lt;a title="Interview questions: Oracle interview questions" style="TEXT-DECORATION: none" rel="bookmark"&gt;Oracle interview questions&lt;/a&gt;&lt;/font&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;&lt;font size="4"&gt;What’s the command to see the current user name? Sql&gt; show user; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font color="#000000" size="4"&gt;&lt;/font&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;What’s the command to change the SQL prompt name?&lt;/font&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;SQL&gt; set sqlprompt “database-1 &gt; ”&lt;br /&gt;database-1 &gt;&lt;br /&gt;database-1 &gt;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;&lt;font size="4"&gt;How do I eliminate duplicate rows in an Oracle database?&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;SQL&gt; delete from table_name where rowid not in (select max(rowid) from table group by duplicate_values_field_name);&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;or &lt;/font&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;SQL&gt; delete duplicate_values_field_name dv from table_name ta where rowid &lt; (select min(rowid) from table_name tb where ta.dv=tb.dv);&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;&lt;font size="4"&gt;How do I display row number with records? Use the row-num pseudocolumn with query, like&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;SQL&gt; select rownum, ename from emp;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;How do you display the records within a given range?&lt;/font&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;select rownum, empno, ename from emp where rowid in&lt;br /&gt;(select rowid from emp where rownum &lt; =&amp;amp;rangeend&lt;br /&gt;minus&lt;br /&gt;select rowid from emp where rownum&lt;&amp;amp;rangebegin);&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;The NVL function only allows the same data type. But here’s the task: if the commission field is null, then the text “Not Applicable” should be displayed, instead of blank space. How do you write the query?&lt;/font&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;SQL&gt; select nvl(to_char(comm.),’Not Applicable’) from emp;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font color="#000000"&gt;&lt;font size="4"&gt;&lt;font face="Arial"&gt;Explain explicit cursor attributes. There are four cursor attributes used in Oracle: cursor_name%Found, cursor_name%NOTFOUND, cursor_name%ROWCOUNT, cursor_name%ISOPEN&lt;/font&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;&lt;font size="4"&gt;Explain implicit cursor attributes. Same as explicit cursor but prefixed by the word SQL: SQL%Found, SQL%NOTFOUND, SQL%ROWCOUNT, SQL%ISOPEN &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;How do you view version information in Oracle?&lt;/font&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial" color="#000000" size="4"&gt;SQL&gt; select banner from $version; &lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;font face="Arial"&gt;&lt;font color="#000000"&gt;&lt;font size="4"&gt;   10.  How do you switch to DOS prompt from SQL prompt? SQL&gt; host &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="FONT-SIZE: 130%; FONT-FAMILY: Arial"&gt;&lt;font size="3"&gt;See more latest Oracle Database, DBA, gaming database - graphics, GUI recent important questions mostly asked in common interview questions pre placement and GD topics. See Technical interview java questions commonly asked placement questions for top IT MNCs in India, USA, UK, Norway, China, etc&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-8996496055516698696?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/0UngjU-2Ywc" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/0UngjU-2Ywc/oracle-technical-interview-questions-4.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/oracle-technical-interview-questions-4.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-4462604539409476508</guid><pubDate>Wed, 19 Mar 2008 18:05:00 +0000</pubDate><atom:updated>2008-03-19T11:08:21.799-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Latest Oracle Placement Papers</category><category domain="http://www.blogger.com/atom/ns#">Oracle Latest Placement Interview Questions</category><title>Oracle DBA interview questions 2008 - 3</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;&lt;a title="Interview questions: Oracle DBA interview questions" style="TEXT-DECORATION: none" rel="bookmark"&gt;Oracle DBA interview questions&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Explain the difference between a hot backup and a cold backup and the benefits associated with each. - A hot backup is basically taking a backup of the database while it is still up and running and it must be in archive log mode. A cold backup is taking a backup of the database while it is shut down and does not require being in archive log mode. The benefit of taking a hot backup is that the database is still available for use while the backup is occurring and you can recover the database to any point in time. The benefit of taking a cold backup is that it is typically easier to administer the backup and recovery process. In addition, since you are taking cold backups the database does not require being in archive log mode and thus there will be a slight performance gain as the database is not cutting archive logs to disk. &lt;/span&gt;&lt;/span&gt;&lt;a id="more-108"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;You have just had to restore from backup and do not have any control files. How would you go about bringing up this database? - I would create a text based backup control file, stipulating where on disk all the data files where and then issue the recover command with the using backup control file clause.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do you switch from an init.ora file to a spfile? - Issue the create spfile from pfile command.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Explain the difference between a data block, an extent and a segment. - A data block is the smallest unit of logical storage for a database object. As objects grow they take chunks of additional storage that are composed of contiguous data blocks. These groupings of contiguous data blocks are called extents. All the extents that an object takes when grouped together are considered the segment of the database object.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Give two examples of how you might determine the structure of the table DEPT. - Use the describe command or use the dbms_metadata.get_ddl package.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Where would you look for errors from the database engine? - In the alert log.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Compare and contrast TRUNCATE and DELETE for a table. - Both the truncate and delete command have the desired outcome of getting rid of all the rows in a table. The difference between the two is that the truncate command is a DDL operation and just moves the high water mark and produces a now rollback. The delete command, on the other hand, is a DML operation, which will produce a rollback and thus take longer to complete.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Give the reasoning behind using an index. - Faster access to data blocks in a table.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Give the two types of tables involved in producing a star schema and the type of data they hold. - Fact tables and dimension tables. A fact table contains measurements while dimension tables will contain data that will help describe the fact tables.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What type of index should you use on a fact table? - A Bitmap index.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Give two examples of referential integrity constraints. - A primary key and a foreign key.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables? - Disable the foreign key constraint to the parent, drop the table, re-create the table, enable the foreign key constraint.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Explain the difference between ARCHIVELOG mode and NOARCHIVELOG mode and the benefits and disadvantages to each. - ARCHIVELOG mode is a mode that you can put the database in for creating a backup of all transactions that have occurred in the database so that you can recover to any point in time. NOARCHIVELOG mode is basically the absence of ARCHIVELOG mode and has the disadvantage of not being able to recover to any point in time. NOARCHIVELOG mode does have the advantage of not having to write transactions to an archive log and thus increases the performance of the database slightly.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What command would you use to create a backup control file? - Alter database backup control file to trace.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Give the stages of instance startup to a usable state where normal users may access it. - STARTUP NOMOUNT - Instance startup. STARTUP MOUNT - The database is mounted. STARTUP OPEN - The database is opened&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What column differentiates the V$ views to the GV$ views and how? - The INST_ID column which indicates the instance in a RAC environment the information came from.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How would you go about generating an EXPLAIN plan? - Create a plan table with utlxplan.sql. Use the explain plan set statement_id = ‘tst1′ into plan_table for a SQL statement. Look at the explain plan with utlxplp.sql or utlxpls.sql&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How would you go about increasing the buffer cache hit ratio? - Use the buffer cache advisory over a given workload and then query the v$db_cache_advice table. If a change was necessary then I would use the alter system set db_cache_size command.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Explain an ORA-01555 - You get this error when you get a snapshot too old within rollback. It can usually be solved by increasing the undo retention or increasing the size of rollbacks. You should also look at the logic involved in the application getting the error message.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Explain the difference between $ORACLE_HOME and $ORACLE_BASE. - ORACLE_BASE is the root directory for oracle. ORACLE_HOME located beneath ORACLE_BASE is where the oracle products reside&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-4462604539409476508?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/3FkYwcUqYgk" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/3FkYwcUqYgk/oracle-dba-interview-questions-2008-3.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/oracle-dba-interview-questions-2008-3.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-3829589290864687223</guid><pubDate>Wed, 19 Mar 2008 17:45:00 +0000</pubDate><atom:updated>2008-03-19T10:53:28.780-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Latest Oracle Placement Papers</category><category domain="http://www.blogger.com/atom/ns#">Oracle Latest Placement Interview Questions</category><title>Oracle Database Questions 2008 - 2</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;&lt;a title="Interview questions: Interview questions for Oracle database administrator" style="TEXT-DECORATION: none" rel="bookmark"&gt;Interview questions for Oracle database administrator&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Differentiate between TRUNCATE and DELETE&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is the maximum buffer size that can be specified using the DBMS_OUTPUT.ENABLE function?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Can you use a commit statement within a database trigger?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;What is an UTL_FILE.What are different procedures and functions associated with it? &lt;/span&gt;&lt;a id="more-162"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Difference between database triggers and form triggers?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is OCI. What are its uses?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are ORACLE PRECOMPILERS?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is syntax for dropping a procedure and a function? Are these operations possible?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Can a function take OUT parameters. If not why?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Can the default values be assigned to actual parameters?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is difference between a formal and an actual parameter?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are different modes of parameters used in functions and procedures?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Difference between procedure and function.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Can cursor variables be stored in PL/SQL tables.If yes how. If not why?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do you pass cursor variables in PL/SQL?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do you open and close a cursor variable.Why it is required?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What should be the return type for a cursor variable.Can we use a scalar data type as return type?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is use of a cursor variable? How it is defined?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What WHERE CURRENT OF clause does in a cursor?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Difference between NO DATA FOUND and %NOTFOUND&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a cursor for loop?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are cursor attributes?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Difference between an implicit &amp;amp; an explicit cursor.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a cursor?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is the purpose of a cluster?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How do you find the numbert of rows in a Table ?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Display the number value in Words?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a pseudo column. Give some examples?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;How you will avoid your query from using indexes?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is a OUTER JOIN?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which is more faster - IN or EXISTS?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;When do you use WHERE clause and when do you use HAVING clause?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;There is a % sign in one field of a column. What will be the query to find it?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is difference between SUBSTR and INSTR?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Which datatype is used for storing graphics and images?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is difference between SQL and SQL*PLUS?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is difference between UNIQUE and PRIMARY KEY constraints?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is difference between Rename and Alias?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What are various joins used while writing SUBQUERIES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;See latest Oracle Interview Questions for year 2008 and previous years questions asked in hr interviews and technical, programming placement papers of leading IT MNCs. See the oracle database questions for 2007, 2008 papers and detailed interview questions with solutions. See the questions of january, february, march, april, may, june, july, august, september, october, november, december 2007 and 2008 for free online sorted by categories... Various companies papers like infosys, wipro, tcs, hcl, cisco, microsoft, ibm, sap, satyam computers, patni, mastek, ramco systems, cognizant, cap gemini, accenture, etc. are provided here.. also gaming related questions are given here in detail related to graphic design and website database real SQL questions and open source related questions.. keep watching &lt;a href="http://questionpapers4u.blogspot.com/"&gt;questionpapers4u.blogspot.com&lt;/a&gt; for more.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-3829589290864687223?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/USuPdXqzp3E" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/USuPdXqzp3E/oracle-database-questions-2008.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/oracle-database-questions-2008.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-896023309420621925</guid><pubDate>Wed, 19 Mar 2008 17:26:00 +0000</pubDate><atom:updated>2008-03-19T10:28:24.161-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Oracle Latest Placement Interview Questions</category><title>Oracle Interview Questions 1</title><description>&lt;p style="LINE-HEIGHT: 200%" align="center"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;SQL Interview Questions&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;1.What is SQL?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;SQL stands for 'Structured Query Language'.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;2.What is SELECT statement?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The SELECT statement lets you select a set of values from a table in a database. The values selected from the database table would depend on the various conditions that are specified in the SQL query.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;3.How can you compare a part of the name rather than the entire name?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;SELECT * FROM people WHERE empname LIKE '%ab%'&lt;br /&gt;Would return a recordset with records consisting empname the sequence 'ab' in empname .&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;4.What is the INSERT statement?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The INSERT statement lets you insert information into a database.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;5.How do you delete a record from a database?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Use the DELETE statement to remove records or any particular column values from a database.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;6.How could I get distinct entries from a table?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;The SELECT statement in conjunction with DISTINCT lets you select a set of distinct values from a table in a database. The values selected from the database table would of course depend on the various conditions that are specified in the SQL query. Example&lt;br /&gt;&lt;em&gt;SELECT DISTINCT empname FROM emptable &lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;7.How to get the results of a Query sorted in any order?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;You can sort the results and return the sorted results to your program by using ORDER BY keyword thus saving you the pain of carrying out the sorting yourself. The ORDER BY keyword is used for sorting.&lt;br /&gt;&lt;/span&gt;&lt;em&gt;&lt;br /&gt;&lt;span style="font-size:130%;color:#000000;"&gt;SELECT empname, age, city FROM emptable ORDER BY empname&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;8.How can I find the total number of records in a table?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;You could use the COUNT keyword , example&lt;br /&gt;&lt;em&gt;SELECT COUNT(*) FROM emp WHERE age&gt;40 &lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;9.What is GROUP BY?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The GROUP BY keywords have been added to SQL because aggregate functions (like SUM) return the aggregate of all column values every time they are called. Without the GROUP BY functionality, finding the sum for each individual group of column values was not possible. &lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;10.What is the difference among "dropping a table", "truncating a table" and "deleting all records" from a table.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Dropping :  (Table structure  + Data are deleted), Invalidates the dependent objects ,Drops the indexes &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Arial;"&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Truncating:  (Data alone deleted), Performs an automatic commit, Faster than delete&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Delete : (Data alone deleted), Doesn?t perform automatic commit&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What are the Large object types suported by Oracle? &lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Blob and Clob.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;11.Difference between a "where" clause and a "having" clause.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Having clause is used only with group functions whereas Where is not used with.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;12.What's the difference between a primary key and a unique key?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Both primary key and unique enforce uniqueness of the column on which they are defined. But by default primary key creates a clustered index on the column, where are unique creates a nonclustered index by default. Another major difference is that, primary key doesn't allow NULLs, but unique key allows one NULL only.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;13.What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors? &lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Cursors allow row-by-row prcessing of the resultsets.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Types of cursors: Static, Dynamic, Forward-only, Keyset-driven. See books online for more information.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Disadvantages of cursors: Each time you fetch a row from the cursor, it results in a network roundtrip, where as a normal SELECT query makes only one rowundtrip, however large the resultset is. Cursors are also costly because they require more resources and temporary storage (results in more IO operations). Furthere, there are restrictions on the SELECT statements that can be used with some types of cursors.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Most of the times, set based operations can be used instead of cursors. &lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;14.What are triggers? How to invoke a trigger on demand? &lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Triggers are special kind of stored procedures that get executed automatically when an INSERT, UPDATE or DELETE operation takes place on a table.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Triggers can't be invoked on demand. They get triggered only when an associated action (INSERT, UPDATE, DELETE) happens on the table on which they are defined.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Triggers are generally used to implement business rules, auditing. Triggers can also be used to extend the referential integrity checks, but wherever possible, use constraints for this purpose, instead of triggers, as constraints are much faster.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;15.What is a join and explain different types of joins.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Arial;"&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;Joins are used in queries to explain how different tables are related. Joins also let you select data from a table depending upon data from another table. &lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;Types of joins: INNER JOINs, OUTER JOINs, CROSS JOINs. OUTER JOINs are further classified as LEFT OUTER JOINS, RIGHT OUTER JOINS and FULL OUTER JOINS.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;16.What is a self join?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 200%" align="left"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Self join is just like any other join, except that two instances of the same table will be joined in the query&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-896023309420621925?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/2m9UzUwRGEc" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/2m9UzUwRGEc/oracle-interview-questions-1.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/oracle-interview-questions-1.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-8418461875011855352</guid><pubDate>Wed, 19 Mar 2008 13:00:00 +0000</pubDate><atom:updated>2008-03-19T06:03:16.877-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java Latest Interview Questions with Solutions</category><title>Java Interview Questions</title><description>&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-jdbc-and-jsp-interview-questions.html"&gt;&lt;span style="color:#446677;"&gt;Java JDBC and JSP Interview Questions 25&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-general-basic-interview-questions.html"&gt;&lt;span style="color:#446677;"&gt;Java General Basic Interview Questions 24&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="color:#446677;"&gt;Java mostly asked important technical Interview Questions 23&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-interview-important-questions-22.html"&gt;&lt;span style="color:#446677;"&gt;Java Interview Important Questions 22&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-networking-interview-questions-21.html"&gt;&lt;span style="color:#446677;"&gt;Java Networking Interview Questions 21&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-swings-interview-questions-20.html"&gt;&lt;span style="color:#446677;"&gt;Java Swings Interview Questions 20&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-interview-questions-19.html"&gt;&lt;span style="color:#446677;"&gt;Java Interview Questions 19&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-graphic-user-interface-designer.html"&gt;&lt;span style="color:#8cdfff;"&gt;Java Graphic User Interface Designer Interview Questions 18&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-database-interview-questions-17.html"&gt;&lt;span style="color:#446677;"&gt;Java Database Interview Questions 17&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-technical-interview-questions-16.html"&gt;&lt;span style="color:#446677;"&gt;Java Technical Interview Questions 16&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-applets-interview-questions-15.html"&gt;&lt;span style="color:#446677;"&gt;Java Applets Interview Questions 15&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-oracle-jserver-interview-questions.html"&gt;&lt;span style="color:#446677;"&gt;Java Oracle Jserver Interview Questions 14&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-placement-interview-questions-13_19.html"&gt;&lt;span style="color:#446677;"&gt;Java Placement Interview Questions 13&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-latest-interview-questions-12.html"&gt;&lt;span style="color:#446677;"&gt;Java Latest Interview Questions 12&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-interview-questions-and-answers-11.html"&gt;&lt;span style="color:#8cdfff;"&gt;Java Interview Questions and Answers 11&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-servlet-interview-important.html"&gt;&lt;span style="color:#8cdfff;"&gt;Java Servlet Interview Important Questions 10&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-interview-questions-collection-9.html"&gt;&lt;span style="color:#8cdfff;"&gt;Java Interview Questions Collection 9&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-latest-interview-questions-8.html"&gt;&lt;span style="color:#446677;"&gt;Java Latest Interview Questions 8&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/core-java-latest-interview-questions-7.html"&gt;&lt;span style="color:#446677;"&gt;Core Java Latest Interview Questions 7&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-engineering-interview-questions-6.html"&gt;&lt;span style="color:#446677;"&gt;Java Engineering Interview Questions 6&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-jsp-interview-questions-with.html"&gt;&lt;span style="color:#446677;"&gt;Java JSP Interview Questions with Answers 5&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-and-networking-interview-questions.html"&gt;&lt;span style="color:#8cdfff;"&gt;Java and Networking Interview Questions 4&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-questions-and-answers-3.html"&gt;&lt;span style="color:#8cdfff;"&gt;Java Questions and Answers 3&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-interview-questions-and-answers-2.html"&gt;&lt;span style="color:#8cdfff;"&gt;Java Interview Questions and answers 2&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://questionpapers4u.blogspot.com/2008/03/java-questions-and-answers-1.html"&gt;&lt;span style="color:#8cdfff;"&gt;Java Questions and answers 1&lt;/span&gt;&lt;/a&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-8418461875011855352?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/QUkvWM4nvTU" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/QUkvWM4nvTU/java-interview-questions.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/java-interview-questions.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-5968885261080246222</guid><pubDate>Wed, 19 Mar 2008 12:55:00 +0000</pubDate><atom:updated>2008-03-19T05:58:47.198-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java Latest Interview Questions with Solutions</category><title>Java JDBC and JSP Interview Questions 25</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;JDBC and JSP interview questions&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the query used to display all tables names in SQL Server (Query analyzer)?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt; select * from information_schema.tables&lt;/span&gt;&lt;/pre&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;How many types of JDBC Drivers are present and what are they?- There are 4 types of JDBC Drivers &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;JDBC-ODBC Bridge Driver&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Native API Partly Java Driver &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Network protocol Driver &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;JDBC Net pure Java Driver &lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a id="more-148"&gt;&lt;/a&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Can we implement an interface in a JSP?- No &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What is the difference between ServletContext and PageContext?- ServletContext: Gives the information about the container. PageContext: Gives the information about the Request &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher()?- request.getRequestDispatcher(path): In order to create it we need to give the relative path of the resource, context.getRequestDispatcher(path): In order to create it we need to give the absolute path of the resource. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;How to pass information from JSP to included JSP?- Using &lt;%jsp:param&gt; tag. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What is the difference between directive include and jsp include?- &lt;%@ include&gt;: Used to include static resources during translation time. JSP include: Used to include dynamic content or static content during runtime. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What is the difference between RequestDispatcher and sendRedirect?- RequestDispatcher: server-side redirect with request and response objects. sendRedirect : Client-side redirect with new request and response objects. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;How does JSP handle runtime exceptions?- Using errorPage attribute of page directive and also we need to specify isErrorPage=true if the current page is intended to URL redirecting of a JSP. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;How do you delete a Cookie within a JSP? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt; Cookie mycook = new Cookie(\"name\",\"value\");&lt;br /&gt; response.addCookie(mycook);&lt;br /&gt; Cookie killmycook = new Cookie(\"mycook\",\"value\");&lt;br /&gt; killmycook.setMaxAge(0);&lt;br /&gt; killmycook.setPath(\"/\");&lt;br /&gt; killmycook.addCookie(killmycook);&lt;/span&gt;&lt;/pre&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;How do I mix JSP and SSI #include?- If you’re just including raw HTML, use the #include directive as usual inside your .jsp file. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt; &lt;!--#include file="data.inc"--&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;But it’s a little trickier if you want the server to evaluate any JSP code that’s inside the included file. If your data.inc file contains jsp code you will have to use&lt;/span&gt;&lt;/p&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt; &lt;%@ vinclude="data.inc" %&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;The &lt;!–#include file="data.inc"–&gt; is used for including non-JSP files.&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;I made my class Cloneable but I still get &lt;i&gt;Can’t access protected method clone&lt;/i&gt;. Why?- Some of the Java books imply that all you have to do in order to have your class support clone() is implement the Cloneable interface. Not so. Perhaps that was the intent at some point, but that’s not the way it works currently. As it stands, you have to implement your own public clone() method, even if it doesn’t do anything special and just calls super.clone(). &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Why is XML such an important development?- It removes two constraints which were holding back Web developments: dependence on a single, inflexible document type (HTML) which was being much abused for tasks it was never designed for; the complexity of full SGML, whose syntax allows many powerful but hard-to-program options. XML allows the flexible development of user-defined document types. It provides a robust, non-proprietary, persistent, and verifiable file format for the storage and transmission of text and data both on and off the Web; and it removes the more complex options of SGML, making it easier to program for. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;What is the fastest type of JDBC driver?- JDBC driver performance will depend on a number of issues: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;the quality of the driver code,&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;the size of the driver code, &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;the database server and its load, &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;network topology, &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;the number of times your request is translated to a different API.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;In general, all things being equal, you can assume that the more your request and response change hands, the slower it will be. This means that Type 1 and Type 3 drivers will be slower than Type 2 drivers (the database calls are make at least three translations versus two), and Type 4 drivers are the fastest (only one translation).&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;How do I find whether a parameter exists in the request object? &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;boolean hasFoo = !(request.getParameter(\"foo\") == null&lt;br /&gt;  request.getParameter(\"foo\").equals(\"\"));&lt;/span&gt;&lt;/pre&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;or&lt;/span&gt;&lt;/p&gt;&lt;pre style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;boolean hasParameter =&lt;br /&gt; request.getParameterMap().contains(theParameter); //(which works in Servlet 2.3+)&lt;/span&gt;&lt;/pre&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;How can I send user authentication information while makingURLConnection?- You’ll want to use HttpURLConnection.setRequestProperty and set all the appropriate headers to HTTP authorization. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;"&gt;See more latest Java, javascript, java beans, java struts, swings, animation, graphics, GUI recent important questions mostly asked in common interview questions pre placement and GD topics. See Technical interview java questions commonly asked placement questions for top IT MNCs in India, USA, UK, Norway, China, etc.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-5968885261080246222?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/zH4X-SWq8og" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/zH4X-SWq8og/java-jdbc-and-jsp-interview-questions.html</link><author>noreply@blogger.com (hita)</author><thr:total>1</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/java-jdbc-and-jsp-interview-questions.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-9077020874310712777</guid><pubDate>Wed, 19 Mar 2008 12:54:00 +0000</pubDate><atom:updated>2008-03-19T05:55:28.295-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java Latest Interview Questions with Solutions</category><title>Java General Basic Interview Questions 24</title><description>&lt;p style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Java Interview Questions&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;1.How are Observer and Observable used?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;2.What is synchronization and why is it important?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;With respect to multithreading, synchronization is the capability to control&lt;br /&gt;the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of using or updating that object's value. This often leads to&lt;br /&gt;significant errors.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;3.How does Java handle integer overflows and underflows?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;It uses those low order bytes of the result that can fit into the size of the type allowed by the operation.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;4.Does garbage collection guarantee that a program will not run out of memory?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Garbage collection does not guarantee that a program will not run out of&lt;br /&gt;memory. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create objects that are not subject to garbage collection&lt;br /&gt; &lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;5.&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;What is the difference between preemptive scheduling and time slicing?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Under preemptive scheduling, the highest priority task executes until it enters&lt;br /&gt;the waiting or dead states or a higher priority task comes into existence. Under time slicing, a task executes for a predefined slice of time and then reenters the pool of ready tasks. The scheduler then determines which task should execute next, based on priority and other factors.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;6.When a thread is created and started, what is its initial state?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;A thread is in the ready state after it has been created and started.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;7.What is the purpose of finalization?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;8.What is the Locale class?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;The Locale class is used to tailor program output to the conventions of a&lt;br /&gt;particular geographic, political, or cultural region.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;9.What is the difference between a while statement and a do statement?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;A while statement checks at the beginning of a loop to see whether the next&lt;br /&gt;loop iteration should occur. A do statement checks at the end of a loop to see whether the next iteration of a loop should occur. The do statement will&lt;br /&gt;always execute the body of a loop at least once.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;10.What is the difference between static and non-static variables?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;A static variable is associated with the class as a whole rather than with specific instances of a class. Non-static variables take on unique values with each object instance.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;11.How are this() and super() used with constructors?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;this() is used to invoke a constructor of the same class. super() is used to&lt;br /&gt;invoke a superclass constructor.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;12.What are synchronized methods and synchronized statements?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Synchronized methods are methods that are used to control access to an object. A thread only executes a synchronized method after it has acquired the lock for the method's object or class. Synchronized statements are similar to synchronized methods. A synchronized statement can only be executed after a thread has acquired the lock for the object or class referenced in the synchronized statement.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-9077020874310712777?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/gbt3E60W_7Q" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/gbt3E60W_7Q/java-general-basic-interview-questions.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/java-general-basic-interview-questions.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-2830357602559231841</guid><pubDate>Wed, 19 Mar 2008 12:52:00 +0000</pubDate><atom:updated>2008-03-19T05:54:22.887-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java Latest Interview Questions with Solutions</category><title>Java mostly asked important technical Interview Questions 23</title><description>&lt;p style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Java Interview Questions&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;1.Does Java provide any construct to find out the size of an object?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;No there is not sizeof operator in Java. So there is not direct way to determine the size of an object directly in Java.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;2.Does importing a package imports the subpackages as well? e.g. Does importing com.MyTest.* also import com.MyTest.UnitTests.*?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Read the system time just before the method is invoked and immediately after method returns. Take the time difference, which will give you the time taken by a method for execution. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;To put it in code...&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;long start = System.currentTimeMillis ();&lt;br /&gt;method ();&lt;br /&gt;long end = System.currentTimeMillis ();&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;System.out.println ("Time taken for execution is " + (end - start));&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Remember that if the time taken for execution is too small, it might show that it is taking zero milliseconds for execution. Try it on a method which is big enough, in the sense the one which is doing considerable amout of processing.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;3.What are wrapper classes?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Java provides specialized classes corresponding to each of the primitive data types. These are called wrapper classes. They are e.g. Integer, Character, Double etc.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;4.Why do we need wrapper classes?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;It is sometimes easier to deal with primitives as objects. Moreover most of the collection classes store objects and not primitive data types. And also the wrapper classes provide many utility methods also. Because of these resons we need wrapper classes. And since we create instances of these classes we can store them in any of the collection classes and pass them around as a collection. Also we can pass them around as method parameters where a method expects an object.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;5.What are checked exceptions?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Checked exception are those which the Java compiler forces you to catch. e.g. IOException are checked Exceptions.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;6.What are runtime exceptions?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Runtime exceptions are those exceptions that are thrown at runtime because of either wrong input data or because of wrong business logic etc. These are not checked by the compiler at compile time.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;7.What is the difference between error and an exception?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;An error is an irrecoverable condition occurring at runtime. Such as OutOfMemory error. These JVM errors and you can not repair them at runtime. While exceptions are conditions that occur because of bad input etc. e.g. FileNotFoundException will be thrown if the specified file does not exist. Or a NullPointerException will take place if you try using a null reference. In most of the cases it is possible to recover from an exception (probably by giving user a feedback for entering proper values etc.).&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;8.How to create custom exceptions?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Your class should extend class Exception, or some more specific type thereof.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;9.If I want an object of my class to be thrown as an exception object, what should I do?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;The class should extend from Exception class. Or you can extend your class from some more precise exception type also.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;10.If my class already extends from some other class what should I do if I want an instance of my class to be thrown as an exception object?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;One can not do anytihng in this scenarion. Because Java does not allow multiple inheritance and does not provide any exception interface as well.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;11.What happens to an unhandled exception?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;One can not do anytihng in this scenarion. Because Java does not allow multiple inheritance and does not provide any exception interface as well.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;12.How does an exception permeate through the code?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;An unhandled exception moves up the method stack in search of a matching When an exception is thrown from a code which is wrapped in a try block followed by one or more catch blocks, a search is made for matching catch block. If a matching type is found then that block will be invoked. If a matching type is not found then the exception moves up the method stack and reaches the caller method. Same procedure is repeated if the caller method is included in a try catch block. This process continues until a catch block handling the appropriate type of exception is found. If it does not find such a block then finally the program terminates.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;13.What are the different ways to handle exceptions?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;There are two ways to handle exceptions,&lt;br /&gt;1. By wrapping the desired code in a try block followed by a catch block to catch the exceptions. and&lt;br /&gt;2. List the desired exceptions in the throws clause of the method and let the caller of the method hadle those exceptions.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;14.What is the basic difference between the 2 approaches to exception handling...1&gt; try catch block and 2&gt; specifying the candidate exceptions in the throws clause?&lt;br /&gt;When should you use which approach?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;In the first approach as a programmer of the method, you urself are dealing with the exception. This is fine if you are in a best position to decide should be done in case of an exception. Whereas if it is not the responsibility of the method to deal with it's own exceptions, then do not use this approach. In this case use the second approach. In the second approach we are forcing the caller of the method to catch the exceptions, that the method is likely to throw. This is often the approach library creators use. They list the exception in the throws clause and we must catch them. You will find the same approach throughout the java libraries we use.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;15.Is it necessary that each try block must be followed by a catch block?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;It is not necessary that each try block must be followed by a catch block. It should be followed by either a catch block OR a finally block. And whatever exceptions are likely to be thrown should be declared in the throws clause of the method.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;16.If I write return at the end of the try block, will the finally block still execute?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Yes even if you write return as the last statement in the try block and no exception occurs, the finally block will execute. The finally block will execute and then the control return.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;17.If I write System.exit (0); at the end of the try block, will the finally block still execute?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;No in this case the finally block will not execute because when you say System.exit (0); the control immediately goes out of the program, and thus finally never executes.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;Java Latest / Recent Placement Paper questions and answers for programming / technical paper for leading IT Companies Infosys, Wipro, IBM, CISCO, Oracle, SAP, TCS, Satyam Computers, HCL, Microsoft, Ramco, Cognizant, Verizon, Cingular, etc. Free Download IT Companies MNCs January, February, March, April, May, June, July, August, September, October, November and December 2006, 2007 and 2008 TCS Satyam Recruitment Papers and Free Download other IT Companies Satyam HCL Wipro Infy Infosys Placement Latest &amp;amp; Previous solved placement online animation question papers held at IITs, Universities, Colleges in Punjab (Chandigarh), Haryana, Delhi, Karnataka (Bangalore), West Bengal, Tamil Nadu (Chennai), Andhra Pradesh (Hyderabad), Maharashtra (Mumbai). Also the HR - Technical or Tech Interview questions and GD Topics &amp;amp; Tips.. Only at questionpapers4u.blogspot.com&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-2830357602559231841?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/lgHoLuZ39Ms" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/lgHoLuZ39Ms/java-mostly-asked-important-technical.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/java-mostly-asked-important-technical.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-7413374034044237744</guid><pubDate>Wed, 19 Mar 2008 12:50:00 +0000</pubDate><atom:updated>2008-03-19T05:52:13.759-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java Latest Interview Questions with Solutions</category><title>Java Interview Important Questions 22</title><description>&lt;p style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Java Interview Mostly Asked Questions. Lots more only on &lt;a href="http://questionpapers4u.blogspot.com/"&gt;questionpapers4u.blogspot.com&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;1.Are the imports checked for validity at compile time? e.g. will the code containing an import such as java.lang.ABCD compile?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Yes the imports are checked for the semantic validity at compile time. The code containing above line of import will not compile. It will throw an error saying,can not resolve symbol&lt;br /&gt;symbol : class ABCD&lt;br /&gt;location: package io&lt;br /&gt;import java.io.ABCD; &lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;2.Does importing a package imports the subpackages as well? e.g. Does importing com.MyTest.* also import com.MyTest.UnitTests.*?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;No you will have to import the subpackages explicitly. Importing com.MyTest.* will import classes in the package MyTest only. It will not import any class in any of it's subpackage.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;3.What is the difference between declaring a variable and defining a variable?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;In declaration we just mention the type of the variable and it's name. We do not initialize it. But defining means declaration + initialization.&lt;br /&gt;e.g String s; is just a declaration while String s = new String ("abcd"); Or String s = "abcd"; are both definitions.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;4.What is the default value of an object reference declared as an instance variable?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;null unless we define it explicitly.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;5.Can a top level class be private or protected?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;No. A top level class can not be private or protected. It can have either "public" or no modifier. If it does not have a modifier it is supposed to have a default access.If a top level class is declared as private the compiler will complain that the "modifier private is not allowed here". This means that a top level class can not be private. Same is the case with protected.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;6.What type of parameter passing does Java support?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;In Java the arguments are always passed by value .&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;7.Primitive data types are passed by reference or pass by value?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Primitive data types are passed by value.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;8.Objects are passed by value or by reference?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Java only supports pass by value. With objects, the object reference itself is passed by value and so both the original reference and parameter copy both refer to the same object .&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;9.What is serialization?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Serialization is a mechanism by which you can save the state of an object by converting it to a byte stream.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;10.How do I serialize an object to a file?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;The class whose instances are to be serialized should implement an interface Serializable. Then you pass the instance to the ObjectOutputStream which is connected to a fileoutputstream. This will save the object to a file.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;11.Which methods of Serializable interface should I implement?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;The serializable interface is an empty interface, it does not contain any methods. So we do not implement any methods.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;12.How can I customize the seralization process? i.e. how can one have a control over the serialization process?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Yes it is possible to have control over serialization process. The class should implement Externalizable interface. This interface contains two methods namely readExternal and writeExternal. You should implement these methods and write the logic for customizing the serialization process.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;13.What is the common usage of serialization?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Whenever an object is to be sent over the network, objects need to be serialized. Moreover if the state of an object is to be saved, objects need to be serilazed.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;14.What is Externalizable interface?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Externalizable is an interface which contains two methods readExternal and writeExternal. These methods give you a control over the serialization mechanism. Thus if your class implements this interface, you can customize the serialization process by implementing these methods.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;15.What happens to the object references included in the object?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;The serialization mechanism generates an object graph for serialization. Thus it determines whether the included object references are serializable or not. This is a recursive process. Thus when an object is serialized, all the included objects are also serialized alongwith the original obect.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;16.What one should take care of while serializing the object?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;One should make sure that all the included objects are also serializable. If any of the objects is not serializable then it throws a NotSerializableException.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;17.What happens to the static fields of a class during serialization? Are these fields serialized as a part of each serialized object?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;Yes the static fields do get serialized. If the static field is an object then it must have implemented Serializable interface. The static fields are serialized as a part of every object. But the commonness of the static fields across all the instances is maintained even after serialization.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-7413374034044237744?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/DyQpqHNV2d8" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/DyQpqHNV2d8/java-interview-important-questions-22.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/java-interview-important-questions-22.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-5192944511512654838</guid><pubDate>Wed, 19 Mar 2008 12:47:00 +0000</pubDate><atom:updated>2008-03-19T05:50:03.526-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java Latest Interview Questions with Solutions</category><title>Java Networking Interview Questions 21</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;Java networking and algorithms interview questions&lt;/span&gt;&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the protocol used by server and client ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Can I modify an object in CORBA ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the functionality stubs and skeletons ?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the mapping mechanism used by Java to identify IDL language ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Diff between Application and Applet ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is serializable Interface ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the difference between CGI and Servlet ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the use of Interface ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Why Java is not fully objective oriented ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Why does not support multiple Inheritance ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What it the root class for all Java classes ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is polymorphism ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Suppose If we have variable ‘ I ‘ in run method, If I can create one or more thread each thread will occupy a separate copy or same variable will be shared ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;In servlets, we are having a web page that is invoking servlets username and password ? which is checked in the database ? Suppose the second page also If we want to verify the same information whether it will connect to the database or it will be used previous information? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What are virtual functions ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Write down how will you create a binary Tree ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What are the traverses in Binary Tree ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Write a program for recursive Traverse ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What are session variable in Servlets ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is client server computing ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is Constructor and Virtual function? Can we call Virtual function in a constructor ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Why we use OOPS concepts? What is its advantage ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the middleware ? What is the functionality of Webserver ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Why Java is not 100 % pure OOPS ? ( EcomServer ) &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;When we will use an Interface and Abstract class ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is an RMI? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How will you pass parameters in RMI ? Why u serialize? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the exact difference in between Unicast and Multicast object ? Where we will use ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the main functionality of the Remote Reference Layer ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do you download stubs from a Remote place ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the difference in between C++ and Java ? can u explain in detail ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;I want to store more than 10 objects in a remote server ? Which methodology will follow ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the main functionality of the Prepared Statement ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is meant by static query and dynamic query ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What are the Normalization Rules ? Define the Normalization ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is meant by Servlet? What are the parameters of the service method ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is meant by Session ? Tell me something about HTTPSession Class ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do you invoke a Servlet? What is the difference in between doPost and doGet methods ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the difference in between the HTTPServlet and Generic Servlet ? Explain their methods ? Tell me their parameter names also ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Have you used threads in Servlet ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Write a program on RMI and JDBC using StoredProcedure ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do you sing an Applet ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;In a Container there are 5 components. I want to display the all the components names, how will you do that one ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Why there are some null interface in java ? What does it mean ? Give me some null interfaces in JAVA ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Tell me the latest versions in JAVA related areas ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is meant by class loader ? How many types are there? When will we use them ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How do you load an Image in a Servlet ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is meant by flickering ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is meant by distributed Application ? Why we are using that in our applications ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the functionality of the stub ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Have you used any version control ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the latest version of JDBC ? What are the new features are added in that ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Explain 2 tier and 3 -tier Architecture ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the role of the webserver ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;How have you done validation of the fields in your project ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;What is the main difficulties that you are faced in your project ? &lt;/span&gt;&lt;/p&gt;&lt;li&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:Arial;"&gt;What is meant by cookies ? Explain ?&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:130%;"&gt;Java Latest / Recent Placement Paper animation questions and answers for programming / technical paper for leading IT Companies Infosys, Wipro, IBM, CISCO, Oracle, SAP, TCS, Satyam Computers, HCL, Microsoft, Ramco, Cognizant, Verizon, Cingular, etc. Free Download IT Companies MNCs January, February, March, April, May, June, July, August, September, October, November and December 2006, 2007 and 2008 TCS Satyam Recruitment Papers and Free Download other IT Companies Satyam HCL Wipro Infy Infosys Placement Latest &amp;amp; Previous solved placement online question papers held at IITs, Universities, Colleges in Punjab (Chandigarh), Haryana, Delhi, Karnataka (Bangalore), West Bengal, Tamil Nadu (Chennai), Andhra Pradesh (Hyderabad), Maharashtra (Mumbai). Also the HR - Technical or Tech Interview questions and GD Topics &amp;amp; Tips.. Only at questionpapers4u.blogspot.com&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-5192944511512654838?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/30eLpxWfthg" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/30eLpxWfthg/java-networking-interview-questions-21.html</link><author>noreply@blogger.com (hita)</author><thr:total>1</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/java-networking-interview-questions-21.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6314003260249840514.post-9184464738032844963</guid><pubDate>Wed, 19 Mar 2008 12:46:00 +0000</pubDate><atom:updated>2008-03-19T05:47:18.565-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java Latest Interview Questions with Solutions</category><title>Java Swings Interview Questions 20</title><description>&lt;h3 style="LINE-HEIGHT: 150%" align="center"&gt;&lt;span style="font-family:Arial;color:#000000;"&gt;Java Swing interview questions&lt;/span&gt;&lt;/h3&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;1) Can a class be it’s own event handler? Explain how to implement this.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;color:#000000;"&gt;Answer: Sure. an example could be a class that extends Jbutton and implements ActionListener. In the actionPerformed method, put the code to perform when the button is pressed.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;a id="more-52"&gt;&lt;/a&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;2) Why does JComponent have add() and remove() methods but Component does not?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Answer: because JComponent is a subclass of Container, and can contain other components and jcomponents.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;3) How would you create a button with rounded edges?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Answer: there’s 2 ways. The first thing is to know that a JButton’s edges are drawn by a Border. so you can override the Button’s paintComponent(Graphics) method and draw a circle or rounded rectangle (whatever), and turn off the border. Or you can create a custom border that draws a circle or rounded rectangle around any component and set the button’s border to it.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;4) If I wanted to use a SolarisUI for just a JTabbedPane, and the Metal UI for everything else, how would I do that?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Answer: in the UIDefaults table, override the entry for tabbed pane and put in the SolarisUI delegate. (I don’t know it offhand, but I think it’s "com.sun.ui.motiflookandfeel.MotifTabbedPaneUI" - anything simiar is a good answer.)&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;5) What is the difference between the ‘Font’ and ‘FontMetrics’ class?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Answer: The Font Class is used to render ‘glyphs’ - the characters you see on the screen. FontMetrics encapsulates information about a specific font on a specific Graphics object. (width of the characters, ascent, descent)&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;6) What class is at the top of the AWT event hierarchy?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Answer: java.awt.AWTEvent. if they say java.awt.Event, they haven’t dealt with swing or AWT in a while. &lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;7) Explain how to render an HTML page using only Swing.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Answer: Use a JEditorPane or JTextPane and set it with an HTMLEditorKit, then load the text into the pane.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;8) How would you detect a keypress in a JComboBox?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;Answer: This is a trick. most people would say ‘add a KeyListener to the JComboBox’ - but the right answer is ‘add a KeyListener to the JComboBox’s editor component.’&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;9) Why should the implementation of any Swing callback (like a listener) execute quickly?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;A: Because callbacks are invoked by the event dispatch thread which will be blocked processing other events for as long as your method takes to execute.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;10) In what context should the value of Swing components be updated directly?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;A: Swing components should be updated directly only in the context of callback methods invoked from the event dispatch thread. Any other context is not thread safe?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;11) Why would you use SwingUtilities.invokeAndWait or SwingUtilities.invokeLater?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;A: I want to update a Swing component but I’m not in a callback. If I want the update to happen immediately (perhaps for a progress bar component) then I’d use invokeAndWait. If I don’t care when the update occurs, I’d use invokeLater.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;12) If your UI seems to freeze periodically, what might be a likely reason?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;A: A callback implementation like ActionListener.actionPerformed or MouseListener.mouseClicked is taking a long time to execute thereby blocking the event dispatch thread from processing other UI events.&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;13) Which Swing methods are thread-safe?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;A: The only thread-safe methods are repaint(), revalidate(), and invalidate() &lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;14) Why won’t the JVM terminate when I close all the application windows?&lt;/span&gt;&lt;/p&gt;&lt;p style="LINE-HEIGHT: 150%" align="justify"&gt;&lt;span style="font-family:Arial;font-size:130%;color:#000000;"&gt;A: The AWT event dispatcher thread is not a daemon thread. You must explicitly call System.exit to terminate the JVM.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6314003260249840514-9184464738032844963?l=questionpapers4u.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/questionpapers4u/~4/vF4EFd7uGmg" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/questionpapers4u/~3/vF4EFd7uGmg/java-swings-interview-questions-20.html</link><author>noreply@blogger.com (hita)</author><thr:total>0</thr:total><feedburner:origLink>http://questionpapers4u.blogspot.com/2008/03/java-swings-interview-questions-20.html</feedburner:origLink></item></channel></rss>

