COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The structure of programs. (tokens, keywords, statements etc.)
A
Semantics
B
Syntax
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -C Tokens are of 6 types, and they are classified as: Identifiers, Keywords, Constants, Operators, Special Characters and Strings.

Detailed explanation-2: -A token is the smallest unit in programs. Keywords are predefined or reserved words that have their own importance. The main purpose of constant is to make the value fix. In C, identifiers are user defined words.

Detailed explanation-3: -Tokens in java include identifiers, keywords, literals, operators and, separators.

Detailed explanation-4: -Keywords. Identifiers. Literals. Operators. Separators. Comments.

There is 1 question to complete.