390 - Computer Programming Concepts (Open) - R - 2021
390 - Computer Programming Concepts (Open) - R - 2021
COMPUTER
PROGRAMMING
CONCEPTS
~OPEN EVENT~
(390)
REGIONAL 2021
Choose the best answer to the following questions. Mark A if the statement is true. Mark B
if the statement is false.
1. What is the maximum value of the data type byte?
A. 127
B. 65,535
C. 255
D. 0
3. What do you call a variable that can be recognized from anywhere in the program?
A. local variable
B. global variable
C. popular variable
D. initial variable
4. ________ are words that make up a high-level programming language that cannot be
used as variable names.
A. pseudocode
B. constant
C. syntax
D. keywords
5. A mistake in coding that produces incorrect results during program execution is called
________.
A. Logic error
B. Run-Time error
C. Syntax error
D. Fatal error
7. Coding rules that are followed when developing a program are called ________.
A. syntax
B. pseudocode
C. keywords
D. procedure
COMPUTER PROGRAMMING CONCEPTS
REGIONAL 2021
Page 3 of 8
9. What is considered the ‘brain’ of a digital system that also handles most of the data
manipulation?
A. RAM
B. SSD
C. CPU
D. ROM
15. A variable that is only visible in the function or subroutine in which it is declared is
________.
A. hidden
B. temporary
C. local
D. global
A. 3
B. 4
C. 0
D. 1
24. Peripherals used to display information, in human-readable form, from a computer are
called ________.
A. input devices
B. storage devices
C. output devices
D. programmers
26. A type of array with rows and columns, similar to a spreadsheet is called ________.
A. parallel array
B. linear array
C. two-dimensional array
D. one-dimensional array
34. An IF… statement that appears inside of another IF… statement is known as a(n) _____.
A. nested if statement
B. compound if statement
C. multiple if statement
D. shared if statement
35. A variable that controls the amount of times a loop is executed is called ________.
A. constant variable
B. local variable
C. loop control variable
D. global variable
COMPUTER PROGRAMMING CONCEPTS
REGIONAL 2021
Page 7 of 8
36. The name of a value that can be passed into a called method is called a ________.
A. variable
B. argument
C. conversation
D. level
37. In a “for loop”, the variable may be defined in the initialization expression.
A. True
B. False
46. When a value is too large for its data type, a(n) ________ condition occurs.
A. fatal
B. exceptional
C. fillable
D. overflow
48. Commenting helps people who read code understand what the programmer had in mind
when they were writing the program.
A. True
B. False
49. The type of space that can make a program easier to read and understand is known as
________.
A. Grey space
B. Black space
C. White space
D. Clear space
50. The program that translates code in one coding language to another coding language, one
statement at a time, is known as ________.
A. Compiler
B. Translator
C. Interpreter
D. Executor
COMPUTER
PROGRAMMING
CONCEPTS
~OPEN EVENT~
(390)
REGIONAL 2021
1. A 26. C
2. A 27. D
3. B 28. A
4. D 29. B
5. A 30. B
6. D 31. C
7. A 32. D
8. C 33. A
9. C 34. A
10. B 35. C
11. B 36. B
12. D 37. A
13. A 38. C
14. A 39. A
15. C 40. D
16. C 41. B
17. A 42. A
18. B 43. C
19. D 44. A
20. B 45. A
21. B 46. D
22. A 47. B
23. B 48. A
24. C 49. C
25. C 50. C