Technology Questions

Q:

What is the user-defined header file extension in c++?

A) cpp B) h
C) hf D) none of these
 
Answer & Explanation Answer: B) h

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 6410
Q:

What is the data structures used to perform recursion?

Answer

Stack. Because of its LIFO (Last In First Out) property it remembers its ‘caller’ so knows whom to return when the function has to return. Recursion makes use of system stack for storing the return addresses of the function calls. Every recursive function has its equivalent iterative (non-recursive) function. Even when such equivalent iterative procedures are written, explicit stack is to be used.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

3 6389
Q:

How to read and write a file using javascript?

Answer

Files can be read and written by using java script functions – fopen(),fread() and fwrite().


The function fopen() takes two parameters – 1. Path and 2. Mode (0 for reading and 3 for writing). The fopen() function returns -1, if the file is successfully opened.


Ex: file=fopen(getScriptPath(),0);


 


The function fread() is used for reading the file content.


Ex: str = fread(file,flength(file));


 


The function fwrite() is used to write the contents to the file.


Ex(): file = fopen("c:\MyFile.txt", 3);// opens the file for writing


fwrite(file, str);// str is the content that is to be written into the file.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 6332
Q:

How does cloud architecture overcome the difficulties faced by traditional architecture?

Answer

Cloud architecture provide large pool of dynamic resources that can be accessed any time whenever there is a requirement, which is not being given by the traditional architecture. In traditional architecture it is not possible to dynamically associate a machine with the rising demand of infrastructure and the services. Cloud architecture provides scalable properties to meet the high demand of infrastructure and provide on-demand access to the user.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

1 6291
Q:

What will happen when introduce the interface of classes in a run-time polymorphic hierarchy?

A) Separation of interface from implementation B) Merging of interface from implementation
C) Separation of interface from debugging D) None of the mentioned
 
Answer & Explanation Answer: A) Separation of interface from implementation

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 6286
Q:

What is the code-behind feature in ASP.NET?

Answer

The code-behind feature of ASP.NET enables you to divide an ASP.NET page into two files - one consisting of the presentation data, and the second, which is also called the code-behind file, consisting of all the business logic. The presentation data contains the interface elements, such as HTML controls and Web server controls, and the code-behind contains the event-handling process to handle the events that are fired by these controls. The file that contains the presentation data has the .aspx extension. The code behind file has either the .cs extension (if you are using the programming language C#) or the .vb (if you are using the programming language Visual Basic .NET) extension.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 6219
Q:

What are the Web Form Events available in ASP.NET?

Answer

Page_Init


Page_Load


Page_PreRender


Page_Unload


Page_Disposed


Page_Error


Page_AbortTransaction


Page_CommitTransaction 


Page_DataBinding

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

1 6155
Q:

What is the meaning of VSAM RETURN-CODE 28?

Answer

Out of space condition is raised.

Report Error

View answer Workspace Report Error Discuss

1 6154