Technology Questions

Q:

What is an assembly?

Answer

Assemblies are the basic building blocks required for any application to function in the .NET realm. They are partially compiled code libraries that form the fundamental unit of deployment, versioning, activation scoping, reuse, and security. Typically, assemblies provide a collection of types and resources that work together to form a logical unit of functionality. They are the smallest deployable units of code in .NET. Compared to the executable files assemblies are far more reliable, more secure, and easy to manage. An assembly contains a lot more than the Microsoft Intermediate Language (MSIL) code that is compiled and run by the Common Language Runtime (CLR). In other words, you can say that an assembly is a set of one or more modules and classes compiled in MSIL, and metadata that describes the assembly itself, as well as the functionalities of the assembly classes.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 3467
Q:

What do you mean by platform independence?

Answer

Platform independence means that we can write and compile the java code in one platform (Eg Windows) and can execute the class in any other supported platform (Eg Linux,Solaris,etc).

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 3462
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 3460
Q:

What are meta tags used for?

A) To store information usually relevant to browsers and search engines B) To only store information usually relevant to browsers
C) To only store information about search engines D) To store information about external links
 
Answer & Explanation Answer: A) To store information usually relevant to browsers and search engines

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

0 3456
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 3452
Q:

Describe how to step through code in .NET.

Answer

Steps to step through the code in .NET:



  1. Start the program in debug mode.

  2. When the first breakpoint is reached then step through can be done in one of the two ways:



  •  Press F10 to move to next line.

  •  Select debug menu and click on step over. This would step over the breakpoint to next level.


       3. Other options are: “Step Into” and “Step Out”.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 3447
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 3446
Q:

Would you initialize your strings with single quotes or double quotes?

Answer Since the data inside the single-quoted string is not parsed for variable substitution, it’s always a better idea speed-wise to initialize a string with single quotes, unless you specifically need variable substitution.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 3446