Tuesday, 29 March 2016

Difference between Syntax and Semantic

Syntax Symantic
Syntax is related to language grammar, i.e. in C language every statement is terminated by semicolon (;) if you missed it, then compiler will generate a syntax error (statement is missing) Semantic is related to meaning which cannot be detected by the compiler. Wrong implementation of a logic will not produce expected output. For example, we know when the product of a number has to calculate then we must use (*) if by mistake or any other reason (+) are there then it is semantic bug.

Next Topic

Sunday, 27 March 2016

XML VS Json


Fetch Data From Server With Json

data.json file code :


{"Roll":"101","name": "Sona", "city": "Australia"}

HTML Code


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Girfa : Json Tutorial Read Data From Server File</title>
<script language="javascript">
function readData(){

Tuesday, 22 March 2016

Data Communication and Networking MCQ Question Answer

1. Network of networks is known as _________
A. intranet.
B. internet.
C. Local Area Network
D. WAN.
ANSWER: B
2. A computer networks can provide a powerful _________ among employees.
A. communication medium.
B. community development.
C. relationship development.
D. relationship development.