Technology Questions

Q:

Which containers use a FlowLayout as their default layout ?

Answer

The Panel and Applet classes use the FlowLayout as their default layout.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

3 5620
Q:

Explain about AngularJS boot process.

Answer

When the page is loaded in the browser, following action takes place:


HTML document is loaded into the browser, and evaluated by the browser. AngularJS JavaScript file is loaded; the angular global object is created. Next, JavaScript which registers controller functions is executed.


AngularJS scans through the HTML to look for AngularJS applications and views. Once view is located, it then connects that view to the corresponding controller function.


Then, AngularJS executes the controller functions. It then renders the views with data from the model populated by the controller. The page is ready.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 5609
Q:

What happens if the list-style-type property is used on a non-list element like a paragraph?

Answer

Here the property will be ignored without having any effect on the paragraph.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

3 5593
Q:

What are different data types used in cloud computing?

Answer

Cloud computing is going all together for a different look as it now includes different data types like emails, contracts, images, blogs, etc. The amount of data increasing day by day and cloud computing is requiring new and efficient data types to store them. For example if you want to save video then you need a data type to save that. Latency requirements are increasing as the demand is increasing. Companies are going for lower latency for many applications.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

0 5540
Q:

which keyword is used to define the macros in c++?

A) macro B) define
C) #define D) none of these
 
Answer & Explanation Answer: C) #define

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 5536
Q:

Why do you use the App_Code folder in ASP.NET?

Answer

The App_Code folder is automatically present in the project. It stores the files, such as classes, typed data set, text files, and reports. If this folder is not available in the application, you can add this folder. One of the important features of the App_Code folder is that only one dll is created for the complete folder, irrespective of how many files it contains.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 5519
Q:

What is meant by pure virtual function?

A) Function which does not have definition of its own. B) Function which does have definition of its own.
C) Function which does not have any return type. D) None of the mentioned
 
Answer & Explanation Answer: A) Function which does not have definition of its own.

Explanation:

As the name itself implies, it have to depend on other class only.

Report Error

View Answer Report Error Discuss

Filed Under: C++

2 5506
Q:

How do we create a DHTML drop-down menu?

Answer

- In order to create a DHTML drop down menu we need JavaScript API. The API (Application Programming Interface) consists of core set of cross-browser JavaScript functions to make DHTML programming easy and quick. This API enables moving and hiding page elements as well as acts as getter and setter of page elements attributes.


- Second we define on image object and off image object and string containing the URL of the "off" version.


- Then we create the menu items, label items and sub-menu items. If we wish we can use images also.


- Then we need to define our own global variables that will be used by the menu. Using global goes against oops design but makes sharing data easier.


- Create the menubar object, adding the menu labels and writing menubars.


- Create menu object, adding menu items and writing menus.


- Hiding and displaying the menus and attaching stylesheet.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

5 5474