Technology Questions

Q:

$message vs $$message in PHP?

Answer

$message is a variable with a fixed name. $$message is a variable whose name is stored in $message. 


If $message contains "var", $$message is the same as $var.


 

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 5372
Q:

Which among the following is a scope resolution operator?

A) : B) ::
C) :? D) None
 
Answer & Explanation Answer: B) ::

Explanation:

:: is the scope resolution operator

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: Software Architect

0 5372
Q:

Which of the following statements about inheritance is false?

A) Inheritance allows you to minimize the amount of duplicate code in an application by sharing common code among several subclasses. B) A subclass inherits all the members (fields, methods, and nested classes) from its superclass.
C) Through inheritance, a parent class is a more specialized form of the child class. D) Inheritance allows you to reuse the fields and methods of the super class without having to write them yourself.
 
Answer & Explanation Answer: C) Through inheritance, a parent class is a more specialized form of the child class.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: Analyst , Database Administration , IT Trainer

6 5294
Q:

What are the 4 key phases of business development?

Answer

The 4 key phases of business development are: Forming, Storming, Norming and Performing.

Report Error

View answer Workspace Report Error Discuss

0 5287
Q:

HTML language is a set of markup

A) Groups B) Attributes
C) Tags D) Sets
 
Answer & Explanation Answer: C) Tags

Explanation:

HTML language is a set of markup tags. The code used to specify the formatting are called tags. Markup languages are designed for the processing, definition and presentation of text. The language specifies code for formatting, both the layout and style, within a text file. 

 

HTML is an example of a markup language to improve the appearance of, and link text with data on the internet.

Report Error

View Answer Report Error Discuss

1 5287
Q:

How would apply date range filter?

Answer

One can use simple conditions like >= and <=, or use between/and but the trick here is to know your exact data type.


 


- Sometimes date fields contain time and that is where the query can go wrong so it is recommended to use some date related functions to remove the time issue. In SQL Server common function for accomplishing the task datediff () function.


- Interviewees also have to be aware of different time zones and server time zone.


-To increase query performance you may still want to use between however you should be aware of proper format you should use if not it might misbehave during filtering.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

1 5284
Q:

How does cloud computing provides on-demand functionality?

Answer

Cloud computing is a metaphor used for internet. It provides on-demand access to virtualized IT resources that can be shared by others or subscribed by you. It provides an easy way to provide configurable resources by taking it from a shared pool. The pool consists of networks, servers, storage, applications and services.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

1 5241
Q:

What is the business benefits involved in cloud architecture?

Answer

1. Zero infrastructure investment : Cloud architecture provide user to build large scale system with full hardware, machines, routers, backup and other components. So, it reduces the startup cost of the business. 


2. Just-in-time Infrastructure : It is very important to scale the infrastructure as the demand rises. This can be done by taking cloud architecture and developing the application in the cloud with dynamic capacity management. 


3. More efficient resource utilization : Cloud architecture provides users to use their hardware and resource more efficiently and utilize it in a better way. This can be done only by applications request and relinquish resources only when it is needed (on-demand).

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

2 5238