MCQs > IT & Programming > Programming Fundamental And Principle MCQs > Basic Programming Fundamental and Principle MCQs

Basic Programming Fundamental and Principle MCQ

1. One advantage to using a named constant is that the statement becomes ____.

Answer

Correct Answer: Self-documenting

Note: This Question is unanswered, help us to find answer for this one

2. All modern programming languages support ____ types of relational comparison operators.

Answer

Correct Answer: Six

Note: This Question is unanswered, help us to find answer for this one

3. In most programming languages, before an application can use a data file, it must ____.

Answer

Correct Answer: Open the file

Note: This Question is unanswered, help us to find answer for this one

4. ____ occurs when methods excessively depend on each other and makes programs more prone to errors.

Answer

Correct Answer: Tight coupling

Note: This Question is unanswered, help us to find answer for this one

5. Besides making your code easier to modify, using a ____ makes the code easier to understand.

Answer

Correct Answer: Named constant

Note: This Question is unanswered, help us to find answer for this one

6. When you store data records, they exist in ____.

Answer

Correct Answer: In some type of order.

Note: This Question is unanswered, help us to find answer for this one

7. In all languages, subscript values must be sequential ____.

Answer

Correct Answer: Integers

Note: This Question is unanswered, help us to find answer for this one

8. String constants and _____ refer to the same concept.

Answer

Correct Answer: String literals

Note: This Question is unanswered, help us to find answer for this one

9. The throw of the dice or the drawing of a card is known as ____ behavior.

Answer

Correct Answer: Random

Note: This Question is unanswered, help us to find answer for this one

10. _____ can process many pieces of data at the same time and learn to recognize patterns.

Answer

Correct Answer: Neural Networks

Note: This Question is unanswered, help us to find answer for this one

11. A ____ relates parallel arrays.

Answer

Correct Answer: Subscript

Note: This Question is unanswered, help us to find answer for this one

12. In many languages the case structure is called a ____________ statement.

Answer

Correct Answer: Branch

Note: This Question is unanswered, help us to find answer for this one

13. A calling method sends a(n) ____ to a called method.

Answer

Correct Answer: Argument

Note: This Question is unanswered, help us to find answer for this one

14. When you write a program that stores a value in a variable, you are using ____ storage.

Answer

Correct Answer: Temporary

Note: This Question is unanswered, help us to find answer for this one

15. Parallel arrays are most useful when value pairs have a(n) ____ relationship.

Answer

Correct Answer: Indirect

Note: This Question is unanswered, help us to find answer for this one

16. The number of elements in an array is called the ____ of the array.

Answer

Correct Answer: Size

Note: This Question is unanswered, help us to find answer for this one

17. Every array has a(n) ____ size

Answer

Correct Answer: Finite

Note: This Question is unanswered, help us to find answer for this one

18. A case structure is a ____ decision structure

Answer

Correct Answer: Multiple

Note: This Question is unanswered, help us to find answer for this one

19. A called method accepts the value of an argument passed to it as its ____.

Answer

Correct Answer: Parameter

Note: This Question is unanswered, help us to find answer for this one