Interview Questions

Q:

What is autoboxing and unboxing ?

Answer

Autoboxing is the automatic conversion that the Java compiler makes between the primitive types and their corresponding object wrapper classes. For example, converting an int to an Integer, a double to a Double, and so on. If the conversion goes the other way, this is called unboxing. 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 3362
Q:

What is GUI testing? What elements will we cover in GUI testing?

Answer

In GUI testing, need to cover the customer requirement if don't have to validate  Font size, colors, spellings(labels) etc.


Every application should follow Microsoft rules like


- Controls should be Initcap (i.e every label should start with Capital letter )Can observe that in Win applications every label starts with Caps


- OK or Cancel button should exist


- Controls should not be overlapped


- Controls should be alligned properly (left side alignment is mandatory but the right side is optional)


- Controls should be visible


- Short cut keys should be provided


- System menu should exist (i.e if u press Alt key + Space bar a menu will appear at the left most corner )


- Mouse pointer events 


Colors, Label Names, Tab Order, Alignment, graphs , Navigation of the software to test in GUI Testing.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

1 3360
Q:

What is the DataContext class and how is it related to LINQ?

Answer

After you add a LINQ to SQL Classes item to a project and open the O/R Designer, the empty design surface represents an empty DataContext class ready to be configured. The DataContext class is a LINQ to SQL class that acts as a conduit between a SQL Server database and the LINQ to SQL entity classes mapped to that database. This class contains the connection string information and the methods for connecting to a database and manipulating the data in the database. It is configured with connection information provided by the first item that is dragged onto the design surface.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 3359
Q:

Can You Describe Typical IRS Forms Such as Form W-2 and W-4?

Answer

Payroll administrators process payroll tax information. IRS forms W-2 and W-4 provide employers with the information needed to withhold income taxes from employees' wages. Familiarity with these forms ensure the candidate understands how to properly prepare these documents.

Report Error

View answer Workspace Report Error Discuss

0 3358
Q:

How would you choose the best media to promote your advertisement?

Answer

It depends on the following factors:



  •        Reach

  •        Geographical spread

  •        Nature of target audience/clusters

  •        Previous successful track records

  •        Low budget; high returns etc. 

Report Error

View answer Workspace Report Error Discuss

2 3357
Q:

What is difference between Path and Classpath?

Answer

PATH and CLASSPATH are operating system level environment variables. PATH is used to define where the system can find the executables (.exe) files whereas CLASSPATH is used to specify the location of .class files.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 3355
Q:

A distinguishing feature of managerial accounting is

A) general-purpose reports B) very detailed reports
C) quarterly and annual reports D) external users
 
Answer & Explanation Answer: B) very detailed reports

Explanation:

Managerial accounting is the process of identifying, measuring, analyzing, interpreting and communicating information for the pursuit of an organization's goals. This branch of accounting is also known as cost accounting.

 

Hence, the distinguishing feature of managerial accounting is very detailed reports.

Report Error

View Answer Report Error Discuss

Filed Under: Accounts Payable
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 3350
Q:

Why cannot you run standard Java bytecode on Android?

Answer

Android uses Dalvik Virtual Machine (DVM) which requires a special bytecode. We need to convert Java class files into Dalvik Executable files using an Android tool called "dx". In normal circumstances, developers will not be using this tool directly and build tools will care for the generation of DVM compatible files.

Report Error

View answer Workspace Report Error Discuss

0 3344