Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. In a computer programming language, syntax is... a. The formal statement of t

ID: 656404 • Letter: 1

Question

1. In a computer programming language, syntax is...

a. The formal statement of the original problem.

b. The set of steps by which a problem is to be solved.

c. The sequence of steps by which source code is translated into machine code.

d. The rules of grammar of the language.

e. The output of the compiler.

f. The meaning of the statements in the program.

g. None of the above.

2. If your source code has a syntax error...

a. An executable program will not be generated.

b. The resulting executable will crash (stop executing) when the error is reached.

c. The resulting executable will not complete its task correctly.

d. None of the above.

3. How many bits are in a byte?

a.1 d. 16

b.4 e. 32

c.8 f. 64

4. Boolean variables can only have two values

a.true b. false

Explanation / Answer

1) The syntax of a programming language is the set of rules that defines the correctly structured programs in that language. Simply, rules of grammar of the programming language.

So, the correct option is (d) The rules of grammar of the language.

2) If there no syntax errors in source code, then program will executed, otherswise executable program will not be generated.

So, the correct option is (a) An executable program will not be generated.

3) Byte is a group of bits. One byte is equal to 8 bits.

So, the correct option is (c) 8.

4) Boolean variables represents one of two values: value 1 if true or 0 if false.

So, the correct option is (a) true.