Technology Questions

Q:

How are ip addresses available to the internet classified?

A) Static B) Public
C) Private D) None of the above
 
Answer & Explanation Answer: B) Public

Explanation:

An IP address (internet protocol address) is a numerical representation that uniquely identifies a specific interface on the network. Addresses in IPv4 are 32-bits long. This allows for a maximum of 4,294,967,296 (2^32) unique addresses. Addresses in IPv6 are 128-bits, which allows for 3.4 x 1038 (2^128) unique addresses.

 

IP addresses available to the internet are classified as Public.

Report Error

View Answer Report Error Discuss

2 3520
Q:

With a heredoc syntax, do I get variable substitution inside the heredoc contents?

Answer Yes
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

1 3499
Q:

What is Stop-and-Wait Protocol?

Answer

In Stop and wait protocol, sender sends one frame, waits until it receives confirmation from the receiver (okay to go ahead), and then sends the next frame.


 

Report Error

View answer Workspace Report Error Discuss

0 3493
Q:

What are three ways to reduce page load time?

Answer

There are many answers here: Reduce image sizes, remove unnecessary widgets, HTTP compression, put CSS at the top and script references at the bottom or in external files, reduce lookups, minimize redirects, caching, etc.

Report Error

View answer Workspace Report Error Discuss

4 3487
Q:

What is a template?

A) A template is a formula for creating a generic class B) A template is used to manipulate the class
C) A template is used for creating the attributes D) none of the mentioned
 
Answer & Explanation Answer: A) A template is a formula for creating a generic class

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 3465
Q:

Where does the exception are handled?

A) inside the program B) outside the regular code
C) both a & b D) none of these
 
Answer & Explanation Answer: B) outside the regular code

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 3461
Q:

.What are Stacks? Give an example where they are useful.

Answer

A Stack is a linear structure in which insertions and deletions are always made at one end i.e the top - this is termed as last in, first out (LIFO). Stacks are useful when we need to check some syntex errors like missing parentheses. 

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 3454
Q:

Can a main() method be declared final?

Answer Yes. Any inheriting class will not be able to have it's own default main() method.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 3447