390 - Computer Programming Concepts (Open) - R - 2019
390 - Computer Programming Concepts (Open) - R - 2019
Page 1 of 8
COMPUTER PROGRAMMING
CONCEPTS
(390)
—OPEN EVENT—
REGIONAL – 2019
COMPUTER PROGRAMMING CONCEPTS-OPEN - REGIONAL 2019
Page 2 of 8
MULTIPLE CHOICE
Identify the choice that best completes the statement or answers the question.
4. What is the unique name of a Web document that a browser needs to find and display?
a. Website
b. HTML
c. URL
d. WWW
6. What is used to help the people who read code understand what the programmer had in
mind?
a. Identifiers
b. Syntax
c. Comments
d. Addresses
7. What is a software tool that loads and formats Web documents for viewing?
a. Text Editor
b. Browser
c. IDE
d. Compiler
COMPUTER PROGRAMMING CONCEPTS-OPEN - REGIONAL 2019
Page 3 of 8
8. Which of the following is the first step in problem solving? Formatted: Font: Italic
a. Designing a solution
b. Testing the solution
c. Implementing the solution
d. Understanding the problem
9. What are identifiers/words that have a special meaning in a programming language and can
only be used in predefined ways?
a. Reserved words
b. Syntax
c. Comments
d. String Literals
10. What type of space can make a program easier to read and understand?
a. Namespace
b. White Space
c. Web Space
d. Black Space
11. Working with a __________ language lets the programmer ignore the details of machine
language.
a. low-level
b. machine
c. high-level
d. assembled-level
12. What is a program that translates code in one language to code in another language all at
once?
a. Interpreter
b. Translator
c. Executor
d. Compiler
13. What is a program that translates code in one language to code in another language one
statement at a time?
a. Interpreter
b. Translator
c. Executor
d. Compiler
14. The __________ rules of a programming language dictate the form of a program.
a. semantics
b. syntax
c. spelling
d. punctuation
COMPUTER PROGRAMMING CONCEPTS-OPEN - REGIONAL 2019
Page 4 of 8
22. When one sequence structure is placed inside another sequence structure, it is called a(n)
__________ structure.
a. internal
b. case
c. nested
d. joined
COMPUTER PROGRAMMING CONCEPTS-OPEN - REGIONAL 2019
Page 5 of 8
25. A __________ variable is only visible in the function or subroutine where it is defined.
a. local
b. global
c. hidden
d. temporary
26. What is the value of x immediately after the following code is executed?
int x = 5
x = x / 6
a. 1
b. 5
c. 3
d. 0
27. Which problem domain might contain the objects (orders, specials, supplier contacts)?
a. building a home
b. managing a restaurant
c. packing a suitcase
d. writing a paper
29. Even though it is a supported statement, using it produces ‘spaghetti’ code. Which
statement is being referred to?
a. end
b. goto
c. exit
d. break
COMPUTER PROGRAMMING CONCEPTS-OPEN - REGIONAL 2019
Page 6 of 8
30. What is the name of the program structure in which a block of statements are repeated?
a. Selection
b. Sequence
c. Iterative
d. Infinite
31. What is the name of the program structure where you perform an action or task and then you
perform the next action or task in order?
a. Selection
b. Sequence
c. Iterative
d. Infinite
32. What is the name of the program structure where you perform an action or task and then you
make a decision of which action or task to perform next?
a. Selection
b. Sequence
c. Iterative
d. Infinite
33. What are sequences of characters that make up a word or sentence called?
a. Variable
b. String
c. Constant
d. Primitive
34. Memory locations whose values can change as the program is running are called?
a. Primitive
b. Global
c. Constant
d. Variable
35. At least one of the conditions connected by the __________ operator must be true for the
compound conditional to be true.
a. AND
b. NOT
c. OR
d. Both A and B
37. Computer Programmers often refer to a memory address using __________ notation or base
a. indirect
b. binary
c. mathematical
d. hexadecimal
39. When a loop control variable is not altered during loop execution, a(n) __________ loop
may result.
a. enlarged
b. broken
c. infinite
d. default
41. In a __________ program, the user sees a screen and can typically make selections using a
mouse or other pointing device.
a. modular
b. GUI
c. reusable
d. command-line
46. __________ is the process where the compiler temporarily changes a variable’s data type to
perform a calculation.
a. Typecasting
b. Advancement
c. Adaption
d. Promotion
50. Which type of build message occurs when you declare a variable but don’t use it in your
program?
a. syntax error message
b. compiler error message
c. warning message
d. logic error message
COMPUTER PROGRAMMING CONCEPTS-OPEN - REGIONAL 2019
ANSWER KEY
Page 1 of 2
COMPUTER PROGRAMMING
CONCEPTS
(390)
—OPEN EVENT—
REGIONAL – 2019
COMPUTER PROGRAMMING CONCEPTS-OPEN - REGIONAL 2019
ANSWER KEY
Page 2 of 2
1. C 26. D
2. C 27. B
3. A 28. D
4. C 29. B
5. B 30. C
6. C 31. B
7. B 32. A
8. D 33. B
9. A 34. D
10. B 35. C
11. C 36. B
12. D 37. D
13. A 38. C
14. B 39. C
15. A 40. B
16. B 41. B
17. C 42. D
18. D 43. B
19. C 44. D
20. D 45. B
21. D 46. D
22. C 47. D
23. D 48. A
24. B 49. A
25. A 50. C