Web Technology Questions

Q:

How E-commerce works?

Answer

=> When a consumer wants to buy a certain product, he go to the website and selects the product he wants to buy. 


=> Once the product is selected, the consumer transaction is moved to the online transaction server where he places an order. 


=> The informations is exchanged over a secure channel through a private gateway to a processing network. 


=> The networked banks accept or reject the transaction.


 All this happens in just a matter of seconds. E-commerce is a very secure due to the SSL (Secure Socket Layer) technology.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1786
Q:

What are the steps involved in uploading the files using FTP client software?

Answer

- FTP is used to upload the files on the server from the client side where it is installed on the computer of clients. 


- FTP client is checked for the installation of the software and according to that the appropriate directory is uploaded on the hosting server. 


- The hosting server uploads the files that is being created by the user and set the permissions for it so that public can access it. 


- Web hosting uses different directories like HTML that is used as var/www/html that is determined using the FTP client. 


- Initial local directory is being set up using FTP client and it is where the website gets stored. 


- The transfer mode is being determined for the files that need to be transferred either in ASCII or BINARY mode.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1778
Q:

What is the purpose of pseudo-elements?

Answer

Pseudo elements allow the use of the part of element and not the element itself. They are applied to block level element, which is used for the complete block for which the CSS is being written. This allow the subpart of an element to be styled like paragraphs and headings. For example:


selector:pseudo-element {property:value;}


p: first-line {text-transform: lowercase;}


It adds the style to the first line of the code in the paragraph.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1776
Q:

How do you create a new object in JavaScript?

Answer

var obj = new Object(); or var obj = {};

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1775
Q:

How does traffic measured in hosting platform?

Answer

- The traffic can be measured using the size of the files that are transferred from one place to another (server-client). 


- It can also be measured by the size of the file that is being requested by the client from the server. 


- The number of visitors arriving on the website also involve in the measurement of the traffic using the web hosting platform. 


- The advertisements of the sites take more bandwidth to allow more number of users to be on the website. 


- More number of users provides higher traffic on the website thus it requires more bandwidth on the web hosting sites.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1772
Q:

What are the principles in providing the security for the computer programs?

Answer

- The principle of least privilege is used to provide more security to the computer programs. 


- The principle allows the designing of the program such that any unauthorized access is not allowed and only the person who owns the program will be able to access it. 


- The services provided should be able to access only those products that need the services. 


- Web servers that are involved in responding the queries of the web users provide only accessing to the HTML files that will serve the purpose of the programs. 


- Computer programs should be made such that it provides secure features of logging into the program with proper authentication.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1772
Q:

Write a program to fix the error being produced by the Infinite file?

Answer

- The infinite file error can be solved when the data will be read continuously from the file. 


- The error can be solved by using the keys that provide only the resources that are required. 


- The following program is as follows:


osw.write ("HTTP/1.0 200 OK\n\n"); 


while (c != -1) { 


sb.append((char)c); 


c = fr.read(); 



osw.write (sb.toString()); 


- This converts the requested file in such a way that if the file exists it shows the messages as ok otherwise it shows an error.


- Limited file access is to be given to the file to remove the error from the infinite file type.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1771
Q:

What is a Web Worker?

Answer

- A web worker is a JavaScript which runs in the background. It exists in external files. 


 - It is independent of other scripts and does not affect the performance of the page. 


 - Web workers are usually used for CPU intensive tasks.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1769