0% found this document useful (0 votes)
59 views

390 - Computer Programming Concepts (Open) - R - 2019

The document is a test for a computer programming concepts competition. It contains 42 multiple choice questions covering topics like flowcharts, functions, variables, data types, problem solving steps, programming languages, loops, conditional statements, and object oriented programming.

Uploaded by

avfg gfavd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views

390 - Computer Programming Concepts (Open) - R - 2019

The document is a test for a computer programming concepts competition. It contains 42 multiple choice questions covering topics like flowcharts, functions, variables, data types, problem solving steps, programming languages, loops, conditional statements, and object oriented programming.

Uploaded by

avfg gfavd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

COMPUTER PROGRAMMING CONCEPTS-OPEN - REGIONAL 2019

Page 1 of 8

COMPUTER PROGRAMMING
CONCEPTS
(390)

—OPEN EVENT—

REGIONAL – 2019

DO NOT WRITE ON TEST BOOKLET

TOTAL POINTS ______________ (100 points)

Failure to adhere to any of the following rules will result in disqualification:


1.   Contestant must hand in this test booklet and all printouts. Failure to do so will result in
disqualification.
2.   No equipment, supplies, or materials other than those specified for this event are
allowed in the testing area. No previous BPA tests and/or sample tests or facsimile
(handwritten, photocopied, or keyed) are allowed in the testing area.
3.   Electronic devices will be monitored according to ACT standards.

No more than sixty (60) minutes testing time

Property of Business Professionals of America.


May be reproduced only for use in the Business Professionals of America
Workplace Skills Assessment Program competition.

 
COMPUTER PROGRAMMING CONCEPTS-OPEN - REGIONAL 2019
Page 2 of 8

MULTIPLE CHOICE
Identify the choice that best completes the statement or answers the question.

1.   A terminating node in a flowchart is represented by which shape?


a.   Rectangle
b.   Parallelogram
c.   Oval
d.   Diamond

2.   A void function will return __________.


a.   a void data type
b.   a string data type
c.   nothing
d.   an integer data type

3.   What symbol is used to represent a decision in a flowchart?


a.   Diamond
b.   Circle
c.   Triangle
d.   Square

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

5.   What is the purpose of writing a program?


a.   Make a game
b.   Solve a problem
c.   Make a calculator
d.   Communicate with a friend

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

15.  The __________ dictate the meaning of the program statements.


a.   semantics
b.   syntax
c.   spelling
d.   punctuation

16.  Computers carry out lists of instructions called __________.


a.   bytecode
b.   programs
c.   networks
d.   applets

17.  Which of the following is not an example of a loop?


a.   For
b.   Do While
c.   If Else
d.   While

18.  Define I/O.


a.   Interdependent Operations
b.   Interactive Operations
c.   Independent Operations
d.   Input and Output

19.  Who is considered to be the first computer programmer?


a.   Bill Gates
b.   Tim Berners-Lee
c.   Ada Lovelace
d.   Alan Turing

20.  What language consists of 1s and 0s?


a.   Java
b.   Visual Basic
c.   C++
d.   Binary

21.  Which of the following could be a machine language instruction?


a.   goto 200
b.   printf(“hello”)
c.   mov ax, 0002
d.   011001 101100 001010 011010 111000 111000

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

23.  A __________ is a single item of information about a person, place or thing.


a.   database
b.   record
c.   key
d.   field

24.  A __________ variable is visible to all parts of a program.


a.   local
b.   global
c.   hidden
d.   temporary

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

28.  What does OOP stand for?


a.   Objective Object Programming
b.   Optional Object Programming
c.   Obtuse Oriented Programming
d.   Object Oriented Programming

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

36.  What symbol is used to represent output in a flowchart?


a.   Square
b.   Parallelogram
c.   Circle
d.   Triangle
COMPUTER PROGRAMMING CONCEPTS-OPEN - REGIONAL 2019
Page 7 of 8

37.  Computer Programmers often refer to a memory address using __________ notation or base
a.   indirect
b.   binary
c.   mathematical
d.   hexadecimal

38.  Which of the following is true of naming variables?


a.   Variable names can have spaces
b.   Variable names can begin with numbers
c.   Variable names may contain an underscore
d.   Variable names may also be language keywords

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

40.  People who use computer programs are called __________?


a.   stakeholders
b.   end users
c.   programmers
d.   managers

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

42.  Desk-checking is also called __________.


a.   prototyping
b.   beta checking
c.   alpha checking
d.   hand-tracing

43.  A post-test loop will always __________


a.   execute the code block at least twice
b.   execute the code block at least once
c.   run until its counter reaches zero
d.   run until its counter becomes a negative value
COMPUTER PROGRAMMING CONCEPTS-OPEN - REGIONAL 2019
Page 8 of 8

44.  Some programming languages do not allow you to divide __________


a.   floating-point numbers
b.   by 1
c.   an integer by a floating-point number
d.   by zero

45.  Operators that have two operands are called __________


a.   unary operators
b.   binary operators
c.   operators
d.   expressions

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

47.  A program with a(n) __________ never ends.


a.   decision symbol
b.   nonterminated condition
c.   variable
d.   infinite loop

48.  An overflow condition occurs when __________


a.   a value is too large for its data type
b.   a decimal value is stored into an integer field
c.   too many variables are defined in one program
d.   an integer is divided by a floating-point number

49.  Infinite loops are examples of __________ errors.


a.   logic
b.   run-time
c.   syntax
d.   none of the above

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

TOTAL POINTS (100 points)

Graders: Please double check and verify all scores and


answer keys!

Property of Business Professionals of America.


May be reproduced only for use in the Business Professionals of America
Workplace Skills Assessment Program competition.

 
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

You might also like