DirectoryTechnologyBlog Details for "IT Interview Questions"

IT Interview Questions

IT Interview Questions
Tech Interview Questions,.Net Interview Questions,Java Interview questions,Testing Tools Interview questions,Database Interview Questions,Resume Writing,Resume Tips,Testing tools Interview questions,Candidate Interview Questions,IT interview question
Articles: 1, 2, 3

Articles

SCJP Interview Questions
2008-06-04 20:12:00
QUESTION NO 135 Given: 1. public class Foo implements Runnable ( 2. public void run (Thread t) { 3. system.out.printIn(”Running.” ); 4. } 5. public static void main (String[] args) { 6. new thread (new Foo()).start(); 7. ) 8. ) What is the result? A. An exception is thrown. B. The program exists without printing anything. C. An error at line 1 causes compilation to fail. D. An ... SHARETHIS.addEntry({ title: "SCJP Interview Questions ", url: "http://www.itinterviewquestion.com/scjp- interview-questions-11/" });
SCJP Interview Questions
2008-06-04 20:01:00
QUESTION NO 129 Which two create an instance of an array? (Choose Two) A. int[] ia = new int [15]; B. float fa = new float [20]; C. char[] ca = “Some String”; D. Object oa = new float[20]; E. Int ia [][] = (4, 5, 6) (1, 2, 3) Answer: A, D QUESTION NO 130 Given: 1. public class ExceptionTest { 2. ... SHARETHIS.addEntry({ title: "SCJP Interview Questions ", url: "http://www.itinterviewquestion.com/scjp- interview-questions-10/" });
SCJP Interview Questions
2008-06-04 20:00:00
QUESTION NO 122 How can you create a listener class that receives events when the mouse is moved? A. By extending MouseListener. B. By implementing MouseListener. C. By extending MouseMotionListener. D. By implementing MouseMotionListener. E. Either by extending MouseMotionListener or extending MouseListener. F. Either by implementing MouseMotion Listener or implementing MouseListener. Answer: D QUESTION NO 123 Which statement is ... SHARETHIS.addEntry({ title: "SCJP Interview Questions ", url: "http://www.itinterviewquestion.com/scjp- interview-questions-9/" });
SCJP Interview Questions
2008-06-04 19:56:00
QUESTION NO 117 Given: 1. public class Foo { 2. public void main (String [] args) { 3. system.out.printIn(”Hello World.”); 4. } 5. } What is the result? A. An exception is thrown. B. The code does no compile. C. “Hello World.” Is printed to the terminal. D. The program exits without printing anything. Answer: A QUESTION NO 118 Given: 1. //point X 2. public class foo ( 3. ... SHARETHIS.addEntry({ title: "SCJP Interview Questions ", url: "http://www.itinterviewquestion.com/scjp- interview-questions-8/" });
SCJP Interview Questions
2008-06-04 19:50:00
QUESTION NO: 103 Given: 1. switch (i) { 2. default: 3. System.out.printIn(”Hello”); 4. ) What is the acceptable type for the variable i? A. Byte B. Long C. Float D. Double E. Object F. A and B G. C and D Answer: A QUESTION NO: 104 You need to store elements in a collection that guarantees that no duplicates are stored. Which two interfaces provide that capability? (Choose Two) A. Java.util.Map B. Java.util.Set C. ... SHARETHIS.addEntry({ title: "SCJP Interview Questions ", url: "http://www.itinterviewquestion.com/scjp- interview-questions-7/" });
SCJP Interview Questions
2008-06-04 19:48:00
QUESTION NO: 97 Exhibit: 1. public class X { 2. public static void main (String[]args) { 3. int [] a = new int [1] 4. modify(a); 5. System.out.printIn(a[0]); 6. } 7. 8. public static void modify (int[] a) { 9. a[0] ++; 10. } 11. } What is the result? A. The program runs and prints “0″ B. The program runs and prints “1″ C. The program runs ... SHARETHIS.addEntry({ title: "SCJP Interview Questions ", url: "http://www.itinterviewquestion.com/scjp- interview-questions-6/" });
SCJP Interview Questions
2008-06-04 19:45:00
QUESTION NO: 91 Which two valid declarations of a char? (Choose Two) A. Char ch = “a”; B. Char ch = `’ `; C. Char ch = `cafe’; D. Char ch = “cafe”; E. Char ch = `ucafe’; F. Char ch = `u10100′; G. Char ch = (char) true; Answer: B, E QUESTION NO: 92 Given: 1. String foo = “blue”; 2. ... SHARETHIS.addEntry({ title: "SCJP Interview Questions ", url: "http://www.itinterviewquestion.com/scjp- interview-questions-5/" });
SCJP Interview Questions
2008-06-04 19:44:00
QUESTION NO: 80 Given: 1. public abstract class Test { 2. public abstract void methodA(); 3. 4. public abstract void methodB() 5. { 6. System.out.printIn(”Hello”); 7. } 8. } Which three changes (made independently) allow the code to compile? (Choose Three) A. Add a method body to methodA. B. Replace lines 5-7 with a semicolon (”.”) C. Remove the abstract qualifier from the declaration of Test. ... SHARETHIS.addEntry({ title: "SCJP Interview Questions ", url: "http://www.itinterviewquestion.com/scjp- interview-questions-4/" });
Sun Certified Java Interview Questions
2008-06-04 19:41:00
QUESTION NO: 61 Exhibit 1. public class SyncTest{ 2. public static void main(String[] args) { 3. final StringBuffer s1= new StringBuffer(); 4. final StringBuffer s2= new StringBuffer(); 5. new Thread () { 6. public void run() { 7. synchronized(s1) { 8. s2.append(”A”); 9. synchronized(s2) { 10. s2.append(”B”); 11. System.out.print(s1); 12. System.out.print(s2); 13. } 14. } 15. } 16. }.start(); 17. new Thread() { 18. public void run() { 19. synchronized(s2) { 20. s2.append(”C”); 21. synchronized(s1) { 22. s1.append(”D”); 23. ... SHARETHIS.addEntry({ title: "Sun Certified Java Interview Questions ", url: "http://www.itinterviewquestion.com/sun-c ertified-java-interview-questions/" });
SCJP Interview Questions Part8
2008-05-13 11:10:00
QUESTION NO 121 1. import java.awt.*; 2. 3. public class X extends Frame { 4. public static void main (String [] args) { 5. X x = new X(); 6. x.pack(); 7. x.setVisible(true); 8. } 9. 10. public X() { 11. setLayout (new BordrLayout()); 12. Panel p = new Panel (); 13. add(p, BorderLayout.NORTH); 14. Button b = new Button (”North”); 15. p.add(b): 16. Button b = ... SHARETHIS.addEntry({ title: "SCJP Interview Questions Part8", url: "http://www.itinterviewquestion.com/scjp- interview-questions-part8/" });
SCJP Interview Questions Part7
2008-05-13 11:02:00
QUESTION NO: 101 Which statement is true? A. The Error class is a untimeException. B. No exceptions are subclasses of Error. C. Any statement that may throw an Error must be enclosed in a try block. D. Any statement that may throw an Exception must be enclosed in a try block. E. Any statement that may thro a runtimeException must be ... SHARETHIS.addEntry({ title: "SCJP Interview Questions Part7", url: "http://www.itinterviewquestion.com/scjp- interview-questions-part7/" });
SCJP Interview Questions Part6
2008-05-13 10:50:00
QUESTION NO: 81 Which determines if “prefs” is a directory and exists on the file system? A. Boolean exists=Directory.exists (”prefs”); B. Boolean exists=(new File(”prefs”)).isDir(); C. Boolean exists=(new Directory(”prefs”)).exists(); D. Boolean exists=(new File(”prefs”)).isDirectory(); E. Boolean exists=true; Try{ Directory d = new Directory(”prefs”); } catch (FileNotFoundException e) { exists = false; } Answer: D QUESTION NO: 82 Which two create an InputStream and open file the “file.txt” for reading? (Choose ... SHARETHIS.addEntry({ title: "SCJP Interview Questions Part6", url: "http://www.itinterviewquestion.com/scjp- interview-questions-part6/" });
SCJP Interview Questions and Answers
2008-05-13 10:41:00
QUESTION NO: 61 Exhibit 1. public class SyncTest{ 2. public static void main(String[] args) { 3. final StringBuffer s1= new StringBuffer(); 4. final StringBuffer s2= new StringBuffer(); 5. new Thread () { 6. public void run() { 7. synchronized(s1) { 8. s2.append(”A”); 9. synchronized(s2) { 10. s2.append(”B”); 11. System.out.print(s1); 12. System.out.print(s2); 13. } 14. } 15. } 16. }.start(); 17. new Thread() { 18. public void run() { 19. synchronized(s2) { 20. s2.append(”C”); 21. synchronized(s1) { 22. s1.append(”D”); 23. ... SHARETHIS.addEntry({ title: "SCJP Interview Questions and Answers ", url: "http://www.itinterviewquestion.com/scjp- interview-questions-and-answers/" });
More About: Questions and Answers
SCJP Interview Questions Part5
2008-05-13 10:27:00
Question No 46 Given: 1. public class IfTest ( 2. public static void main(string[]args) { 3. int x = 3; 4. int y = 1; 5. if (x = y) 6. system.out.printIn(”Not equal”); 7. else 8. system.out.printIn(”Equal”); 9. } 10. ) What is the result? A. The output is “Equal” B. The output in “Not Equal” C. An error at line 5 causes compilation to fall. D. The program executes ... SHARETHIS.addEntry({ title: "SCJP Interview Questions Part5", url: "http://www.itinterviewquestion.com/scjp- interview-questions-3/" });
SCJP Interview Questions Part4
2008-05-13 10:16:00
Question No 32 Given the ActionEvent, which method allows you to identify the affected component? A. GetClass. B. GetTarget. C. GetSource. D. GetComponent. E. GetTargetComponent. Answer: C Question No 33 Which is a method of the MouseMotionListener interface? A. Public void mouseMoved(MouseEvent) B. Public boolean mouseMoved(MouseEvent) C. Public void mouseMoved(MouseMotionEvent) D. Public boolean MouseMoved(MouseMotionEvent) E. Public boolean mouseMoved(MouseMotionEvent) Answer: A Question No 34 Exhibit: 1. import java.awt*; 2. public class X extends Frame ... SHARETHIS.addEntry({ title: "SCJP Interview Questions Part4", url: "http://www.itinterviewquestion.com/scjp- interview-questions-part4/" });
SCJP Interview Questions Part 3
2008-05-13 10:06:00
Question No 22 Given: 1. public class foo { 2. public static void main (String[]args) { 3. String s; 4. system.out.printIn (”s=” + s); 5. } 6. } What is the result? A. The code compiles and “s=” is printed. B. The code compiles and “s=null” is printed. C. The code does not compile because string s is not initialized. D. The code does not compile because ... SHARETHIS.addEntry({ title: "SCJP Interview Questions Part 3", url: "http://www.itinterviewquestion.com/scjp- interview-questions-part-3/" });
More About: Part 3
SCJP Interview Questions
2008-05-13 09:11:00
Question No: 11 Which two demonstrate an “is a” relationship? (Choose Two) A. public interface Person { } public class Employee extends Person { } B. public interface Shape { } public class Employee extends Shape { } C. public interface Color { } public class Employee extends Color { } D. public class Species { } public class Animal ... SHARETHIS.addEntry({ title: "SCJP Interview Questions ", url: "http://www.itinterviewquestion.com/scjp- interview-questions-2/" });
SCJP Interview Questions
2008-05-13 08:59:00
Question No: 1 Given: 1. public class test ( 2. public static void main (String args[]) { 3. int i = 0xFFFFFFF1; 4. int j = ~i; 5. } 7. ) What is the decimal value of j at line 5? A. 0 B. 1 C. 14 D. ­15 E. An error at line 3 causes compilation to fail. F. An error at line 4 causes compilation to fail. Answer: ... SHARETHIS.addEntry({ title: "SCJP Interview Questions ", url: "http://www.itinterviewquestion.com/scjp- interview-questions/" });
SQL Server architecture Interview Questions
2007-11-26 10:39:00
What is a transaction and what are ACID properties? A transaction is a logical unit of work in which, all the steps must be performed or none. ACID stands for Atomicity, Consistency, Isolation, Durability. These are the properties of a transaction. For more information and explanation of these properties, see SQL Serve r books online or any ... SHARETHIS.addEntry({ title: "SQL Server architecture Interview Questions ", url: "http://www.itinterviewquestion.com/sql-s erver-architecture-interview-questions/" });
More About: Architecture
PHP Interview Questions
2007-11-26 10:34:00
1. How can we repair a MySQL table? 2. What are the advantages of stored procedures, triggers, indexes? 3. What is maximum size of a database in MySQL? 4. Give the syntax of Grant and Revoke commands? 5. Explain Normalization concept? 6. What is the maximum length of a table name, database name, and fieldname in MySQL? 7. How many ways ... SHARETHIS.addEntry({ title: "PHP Interview Questions ", url: "http://www.itinterviewquestion.com/php-i nterview-questions/" });
Important ASP.NET Interview Questions
2007-11-26 10:29:00
What are steps in an asp .net page lifecycle? Init() - when the page is instantiated Load() - when the page is loaded into server memory PreRender() - the brief moment before the page is displayed to the user as HTML Unload() - when page finishes loading. 2.What is the main difference between Response.Write() and Response.Output.Write()? With Response.Outout.Write options are available ... SHARETHIS.addEntry({ title: "Important ASP.NET Interview Questions ", url: "http://www.itinterviewquestion.com/impor tant-aspnet-interview-questions/" });
Core Java Interview Questions
2007-11-26 10:22:00
How could Java classes direct program messages to the system console, but error messages, say to a file? The class System has a variable out that represents the standard output, and the variable err that represents the standard error device. By default, they both point at the system console. This how the standard output could be ... SHARETHIS.addEntry({ title: "Core Java Interview Questions ", url: "http://www.itinterviewquestion.com/core- java-interview-questions/" });
General Programming Interview Questions
2007-11-26 10:14:00
1. John weighs twice as much as Marcia. Marcia?s weight is 60% of Bob?s weight. Dave weighs 50% of Lee?s weighs 190% of John?s wight. Which of these 5 persons wighs the least? A) Bob B) Dave C) John D) Lee E) Marcia? Ans: E 2. A trip takes 6 hours to complete. After traveling 1/4 of ... SHARETHIS.addEntry({ title: "General Programming Interview Questions ", url: "http://www.itinterviewquestion.com/gener al-programming-interview-questions/" });
Puzzles Interview Questions
2007-11-26 10:10:00
A boy multiplied a number with 10 and got 100. If he divided it by 10, what would be the answer? 1 If a 12 shell cupboard requires 18 ft of wall space then how much wall space would a 30 cup shelf require? 45 The average salary of three employee is $950 per week. If one ... SHARETHIS.addEntry({ title: "Puzzles Interview Questions ", url: "http://www.itinterviewquestion.com/puzzl es-interview-questions/" });
Oracle Data Access Interview Questions
2007-11-26 10:04:00
1. Define Transaction ? A Transaction is a logical unit of work that comprises one or more SQL statements executed by a single user. 2. When does a Transaction end ? When it is committed or Rollbacked. 3. What does COMMIT do ? COMMIT makes permanent the changes resulting from all SQL statements in the transaction. The changes made by ... SHARETHIS.addEntry({ title: "Oracle Data Access Interview Questions ", url: "http://www.itinterviewquestion.com/oracl e-data-access-interview-questions/" });
Oracle System Architecture Interview Questions
2007-11-26 09:57:00
1. What constitute an ORACLE Instance ? SGA and ORACLE background processes constitute an ORACLE instance. (or) Combination of memory structure and background process. 2. What is SGA ? The System Global Area (SGA) is a shared memory region allocated by ORACLE that contains data and control information for one ORACLE instance. 3. What are the components of SGA ... SHARETHIS.addEntry({ title: "Oracle System Architecture Interview Questions ", url: "http://www.itinterviewquestion.com/oracl e-system-architecture-interview-questions /" });
Oracle Concepts & Architecture Database Structure Interview Questions
2007-11-26 09:51:00
1. What are the components of Physical database structure of Oracle Database?. ORACLE database is comprised of three types of files. One or more Data files, two are more Redo Log files, and one or more Control files. 2. What are the components of Logical database structure of ORACLE database? Tablespaces and the Database’s Schema Objects. 3. What is ... SHARETHIS.addEntry({ title: "Oracle Concepts & Architecture Database Structure Interview Questions ", url: "http://www.itinterviewquestion.com/oracl e-concepts-architecture-database-structur e-interview-questions/" });
Oracle Interview Questions-6
2007-11-20 19:51:00
111. Difference between Cluster and Non-cluster index? 112. What is a table called, if it does have neither Cluster nor Non-cluster Index? 113. Explain DBMS, RDBMS? 114. Explain basic SQL queries with SELECT from where Order By, Group By-Having? 115. Explain the basic concepts of SQL server architecture? 116. Explain couple pf features of SQL server 2000(Scalability, Availability, Integration with internet, etc.)? 117. Explain fundamentals of Data ware ... SHARETHIS.addEntry({ title: "Oracle Interview Questions -6", url: "http://www.itinterviewquestion.com/oracl e-interview-questions-6/" });
Oracle Interview Questions-7
2007-11-20 19:51:00
131. How do you know which index a table is using? 132. How will you test the stored procedure taking two parameters namely first name and last name returning full name? 133. How do you find the error, how can you know the number of rows effected by last SQL statement? 134. How can you get @@error and @@row count at the ... SHARETHIS.addEntry({ title: "Oracle Interview Questions -7", url: "http://www.itinterviewquestion.com/oracl e-interview-questions-7/" });
Oracle Interview Questions-5
2007-11-20 19:50:00
81. What is the purpose of using COLLATE in a query? 82. What is a trigger? 83. What is one of the first things you would do to increase performance of a query? Example ?a query ran yesterday took 30 seconds, today it takes 6 minutes? 84. What is an execution plan? When would you use it? How would you view the ... SHARETHIS.addEntry({ title: "Oracle Interview Questions -5", url: "http://www.itinterviewquestion.com/oracl e-interview-questions-5/" });
More articles from this author:
1, 2, 3
47283 blogs in the directory.
Statistics resets every week.


Contact | About
© Blog Toplist 2008 - Supported by Web Catalog - SEO by FeWorks
eXTReMe Tracker