Technology Questions

Q:

What are the operators available in dynamic memory allocation?

A) new B) delete
C) compare D) both a & b
 
Answer & Explanation Answer: D) both a & b

Explanation:

new and delete operators are mainly used to allocate and deallocate
during runtime.

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 2896
Q:

Who calls the main function of app during the app launch cycle?

Answer

During app launching, the system creates a main thread for the app and calls the app’s main function on that main thread. The Xcode project's default main function hands over control to the UIKit framework, which takes care of initializing the app before it is run.

Report Error

View answer Workspace Report Error Discuss

Subject: IOS

2 2891
Q:

What is C++

Answer

C++ is created by Bjarne Stroustrup of AT&T Bell Labs as an extension of C, C++ is an object-oriented computer language used in the development of enterprise and commercial applications. Microsoft’s Visual C++ became the premier language of choice among developers and programmers.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 2889
Q:

How is sign stored in a COMP field?

Answer

It is stored in the most significant bit. Bit is ON if -ve, OFF if +ve.

Report Error

View answer Workspace Report Error Discuss

1 2883
Q:

What is the use of eucalyptus in cloud computing environment?

Answer

Eucalyptus stands for “Elastic Utility Computing Architecture for Linking Your Programs to Useful Systems” and provides an open source software infrastructure to implement clusters in cloud computing platform. It is used to build private, public and hybrid clouds. It can also produce your own datacenter into a private cloud and allow you to extend the functionality to many other organizations. Eucalyptus provides APIs to be used with the web services to cope up with the demand of resources used in the private clouds.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

1 2877
Q:

Which JavaScript objects are not accessible to web worker?

Answer

Following JavaScript objects are not accessible to web worker: 


- The window object


- The document object


- The parent object

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2874
Q:

What is TELNET?

Answer

TELNET is a client-server application that allows a user to log on to a remote machine, giving the user access to the remote system. TELNET is an abbreviation of terminal Network.

Report Error

View answer Workspace Report Error Discuss

1 2873
Q:

How can we increase the execution time of a php script?

Answer

By the use of void set_time_limit(int seconds)


Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini. If seconds is set to zero, no time limit is imposed.


When called, set_time_limit() restarts the timeout counter from zero. In other words, if the timeout is the default 30 seconds, and 25 seconds into script execution a call such as set_time_limit(20) is made, the script will run for a total of 45 seconds before timing out.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2871