Technology Questions

Q:

How would you reverse a doubly-linked list?

Answer

This problem isn't too hard. You just need to start at the head of the list, and iterate to the end. At each node, swap the values of pNext and pPrev. Finally, set pHead to the last node in the list.


Node * pCurrent = pHead, *pTemp;


while (pCurrent)


{


  pTemp = pCurrent->pNext;


  pCurrent->pNext = pCurrent->pPrev;


  pCurrent->pPrev = temp;  


  pHead = pCurrent;


  pCurrent = temp;


}

Report Error

View answer Workspace Report Error Discuss

0 2774
Q:

What is PEAR in php?

Answer

PEAR(PHP Extension and Application Repository) is a framework and repository for reusable PHP components. PEAR is a code repository containing all kinds of php code snippets and libraries. 


PEAR also offers a command-line interface that can be used to automatically install "packages".

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2773
Q:

What is ASP.NET AJAX?

Answer

ASP.NET AJAX, mostly called AJAX, is a set of extensions of ASP.NET. It is developed by Microsoft to implement AJAX functionalities in Web applications. ASP.NET AJAX provides a set of components that enable the developers to develop applications that can update only a specified portion of data without refreshing the entire page. The ASP.NET AJAX works with the AJAX Library that uses object-oriented programming (OOP) to develop rich Web applications that communicate with the server using asynchronous postback.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2772
Q:

What is 3G?

Answer

Definition: 3G, known as 3rd Generation, is a standard for mobile / cellular phones. It provides the services that fulfill the International Telecommunication Union specifications.

The application services of 3G include wireless voice telephone, mobile internet access, video calls and mobile television – all in a mobile environment.

3G allows simultaneous use of speech and data services
3G provides peak data rates of at least 200 KBits according to the IMT-2000 specification.
Mobile broadband access of several MBits to laptop computer systems, smart phones is provided by latest 3.5G, 3.75G versions.

3G standards:

UMTS:

  -  Universal Mobile Telecommunications System – One of the 3G mobile telecommunications technologies, also being developed into a 4G technology.
  -  Most common form of UMTS uses W-CDMA as an underlying air interface.
  - UMTS also covers Radio Access Network – UMTS Terrestrial Radio Access Network (UTRAN), and Mobile Application Part (MAP).
  -  Users are authenticated via USIM cards (Universal Subscriber Identity Module).

CDMA2000

   -  Also known as IMT Multi-Carrier (IMT-MC), uses CDMA channel access for sending voice, data and signaling data between mobile phones and cell sites.
   -  The standards are CDMA2000 IX, CDMA2000 EV-DOR Rev.0, CDMA2000 EV-DO Rev.A and CDMA2000 EV-Rev.B. They are approved radio interfaces for the ITU’s IMT-2000.

Report Error

View answer Workspace Report Error Discuss

1 2769
Q:

What is the functionality of the function strstr and stristr?

Answer

strstr() returns part of a given string from the first occurrence of a given substring to the end of the string.
For example:
strstr("user@example.com","@") will return "@example.com".

stristr() is idential to strstr() except that it is case insensitive.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2766
Q:

An algorithm written once which can be used in many places is called

A) Block B) Function
C) Datatype D) None
 
Answer & Explanation Answer: B) Function

Explanation:

Function is an algorithm which can be used any where in the program when required

Report Error

View Answer Report Error Discuss

Filed Under: Java

0 2765
Q:

What is Silk Test and what is the use of it ?

Answer

ilk Test is a Functional testing tool product of Seague software. It uses the language called 4GL(fourth Generation Language).


It has 2 components,
Silk Test Agent - Run on remote machine
Silk Test Host - Creating, Modifying, Viewing the scripts


Uses of Silk Test tool:


1. It’s a tool developed for performing the regression and functionality testing of the application.
2. It benefits when we are testing Window based, Java, the web, and the traditional client/server applications.
3. Silk Test help in preparing the test plan and managing them to provide the direct accessing of the database and validation of the field.

Report Error

View answer Workspace Report Error Discuss

3 2759
Q:

What is the primary function of the Web browsers?

Answer

- Web browser functions are to provide the resources or information to the user when asked by them. 


- It processes the user inputs in the form of URL like https://www.google.com in the browser and allows the access to that page. 


- URL is used to identify the resources and fetch them from the server and displays it to the client. 


- It allows the user to interact with the web pages and dynamic content like surveys, forms, etc. 


- It also allows the user to navigate through the complete web page and see its source code in the HTML format. 


- It provides security to the data and the resources that are available on the web that is by using the secure methods.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2755