Technology Questions

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 3421
Q:

What does the sequence adaptor provide?

A) Insertion B) Deletion
C) Interface to sequence container D) None of thse
 
Answer & Explanation Answer: C) Interface to sequence container

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 3418
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 3409
Q:

What are static and dynamic type checking?

Answer

Type checking is the operation on which the arguments that can only be applied for.


Static type checking performs the type checking operation before the execution of the program. To perform this operation, the arguments, expressions, variables must be given a data type.


Dynamic type checking performs the type checking operation at the time of the program execution. To perform this operation, the arguments, expressions, variables must be given a data type.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

2 3409
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 3405
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 3405
Q:

How do you fix the problem associated with VSAM out of space condition?

Answer

Define new VSAM dataset allocated with more space.


Use IDCAMS to REPRO the old VSAM file to new VSAM dataset.


Use IDCAMS to ALTER / RENAME the old VSAM dataset to DELETE the old VSAM datset.


Use IDCAMS to ALTER / RENAME the new VSAM dataset to the name of the original VSAM dataset.

Report Error

View answer Workspace Report Error Discuss

0 3400
Q:

What is Apache configuration file typically called?

Answer

The Apache configuration file is called httpd.conf.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 3399