Web Technology Questions

Q:

What is JSON ?

Answer

* JSON full form is JavaScript Object Notation.
* JSON is a lightweight text-based open standard designed for human-readable data interchange.
* It is derived from the JavaScript programming language for representing simple data structures and associative arrays, called objects.
* And JSON is language-independent, with parsers available for virtually every programming language.
* Uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python,php
* The JSON format is often used for serializing and transmitting structured data over a network connection.
* When third party data interchane(REST Services) then JSON may used there LIKE SHOP.
* It is primarily used to transmit data between a server and web application, serving as an alternative to XML.


 

Report Error

View answer Workspace Report Error Discuss

2 3936
Q:

Where are cookies actually stored on the hard disk?

Answer

This depends on the user's browser and OS.
In the case of Netscape with Windows OS,all the cookies are stored in a single file called

cookies.txt
c:\Program Files\Netscape\Users\username\cookies.txt
In the case of IE,each cookie is stored in a separate file namely username@website.txt.
c:\Windows\Cookies\username@Website.txt

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 3933
Q:

DOM stands for

A) Document object model B) Data object model
C) Document Oriented model D) Data oriented model
 
Answer & Explanation Answer: A) Document object model

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

0 3841
Q:

What is a data binding in AngularJS?

Answer

Data binding is an automatic synchronization of data between model and view components. ng-model directive is used in Data binding.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

1 3819
Q:

What is the difference between Tags and HTML Elements ?

Answer

* HTML elements communicate with the Browser how to represent the text.


* HTML elements become HTML tags when enclosed within the angular brackets as "<>".

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

9 3752
Q:

How JavaScript timers work? What is a drawback of JavaScript timers?

Answer

Timers allow you to execute code at a set time or repeatedly using an interval. This is accomplished with the setTimeout, setInterval, and clearInterval functions. The setTimeout(function, delay) function initiates a timer that calls a specific function after the delay; it returns an id value that can be used to access it later. The setInterval(function, delay) function is similar to the setTimeout function except that it executes repeatedly on the delay and only stops when cancelled. The clearInterval(id) function is used to stop a timer. Timers can be tricky to use since they operate within a single thread, thus events queue up waiting to execute.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 3739
Q:

Explain what is injector ?

Answer

1.  An injector is a service locator.
2.  It is used to retrieve object instances as defined by provider, instantiate types, invoke methods and load modules.
3. There is a single injector per Angular application, it helps to look up an object instance by its name.

Report Error

View answer Workspace Report Error Discuss

3 3569
Q:

How would you automatically transfer your visitors to a new web page?

Answer

- You can do it with the help of meta tag mentioned below: 


<META HTTP-EQUIV="Refresh" CONTENT="2"; URL="https://www.yourname.com"> 


- Place this tag between <HEAD></HEAD> . 


- It will load yousite.com in 2 seconds.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

1 3509