Technology Questions

Q:

What is synchronization and why is it important ?

Answer

With respect to multithreading, synchronization is the capability to control 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 significant errors.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 3390
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 3389
Q:

What is the (default) class type of 195.152.12.1?

Answer

CLASS B with NET ID 195.152.0.0

Report Error

View answer Workspace Report Error Discuss

1 3389
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 3377
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 3376
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 3367
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 3364
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 3364