MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

ALGORITHMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
An identifier is the ‘name’ given to a variable. For example:distanceToSchool = 10What is the value of the variable?
A
10
B
=
C
distanceToSchool
D
None of the above
Explanation: 

Detailed explanation-1: -An identifier is a name that identifies (that is, labels the identity of) either a unique object or a unique class of objects, where the “object” or class may be an idea, physical countable object (or class thereof), or physical noncountable substance (or class thereof).

Detailed explanation-2: -"Identifiers” or “symbols” are the names you supply for variables, types, functions, and labels in your program. Identifier names must differ in spelling and case from any keywords. You can’t use keywords (either C or Microsoft) as identifiers; they’re reserved for special use.

Detailed explanation-3: -Hardware includes the physical component, which you can either see or touch, for example: monitor, case, keyboard, mouse, and printer. Q.

Detailed explanation-4: -Compiler. A compiler is a computer program that translates a program written in a high-level language to the machine language of a computer. The high-level program is referred to as ‘the source code. ‘ A typical computer program processes some type of input data to produce output data.

There is 1 question to complete.