A) What
does Question Mark symbol (?) and hash Symbol (&) means in URL?
1)?
Separates URL and list of parameters
2) &
separates each parameter
B) What
are the different types of web servers?
- Apache web server - the HTTP
web server
- Apache Tomcat
- Microsoft's Internet
Information Services (IIS) Windows Server
- Nginx web server
- Oracle Web Tier
C) What are the different types of Hosting servers?
D) What is the difference between HTTP and HTTPS?
- HTTP: (Hypertext Transfer Protocol): HTTP is not secured and
it operats at application layer and it does not require any certificate to
access data. It uses port no 80 for communication.
- HTTPS: (Hypertext
Transfer Protocol Secure): HTTPS
is secured and operates at transport layer and It requires certificates to
access data. It uses port no 443 for communication
E) What are the below Servers error means?
All (200 To 206) are Successful Status Codes
All (300 To 307) are Redirection Status Codes
All 4xx (400 To 499) are Client Error
400 à Bad Requests
401 à Unauthorized error
403 à Forbidden Error
404 à Not found error
409 à Conflict
All 5xx (500 To 599) are all server side errors
500 à Internal Server Error
502 à Bad Gateway
503à Services Unavailable
504à Gateway Timeout
F) How Domain Name calls server IP?
Every
Domain Name (www.xyz.com) is having its own unique Domain Name System (DNS) and in DNS we have to mention server IP which is
nothing but the path of hosting server where all code and DB is present
G)
Difference between Severity and priority?
Priority:
- High Priority: Key features does not work
- Low Priority: features that is rarely
used does not work
Severity:
- High Severity: Key features does not work
- Low Severity: In company logo company name is
incorrect
H) What is Null Pointer exception?
NullPointerException is a RuntimeException . In Java, a
special null can be assigned to an object reference. NullPointerException is
thrown when an application attempts to use an object reference, having the null
value.
I) HTTP Protocol or HTTP Methods or web GET, POST, PUT, DELETE?
Ans: http://www.w3schools.com/tags/ref_httpmethods.asp
Get:
- GET requests should never be used when dealing with sensitive data
- GET requests have length restrictions
- GET requests should be used only to retrieve data
Post:
- POST requests have no restrictions on data length
- Used to post data on server
Security
|
GET is less
secure compared to POST because data sent is part of the URL
Never use GET
when sending passwords or other sensitive information!
|
POST is a
little safer than GET because the parameters are not stored in browser
history or in web server logs
|
Visibility
|
Data is
visible to everyone in the URL
|
Data is not
displayed in the URL
|
Put Vs Post:
PUT is meant as a a method for "uploading" stuff to a particular URI, or overwriting what is already in that URI.
POST, on the other hand, is a way of submitting data RELATED to a given URI.
Ans:
K) Client Side and Server Side Validation?
Ans: http://net-informations.com/faq/asp/validation.htm