You are on page 1of 3

CITY OF MALOLOS SENIOR HIGH SCHOOL

Barangay Guinhawa, City of Malolos, Bulacan

Midterm Examination
Computer Programming 12

Direction: Read and analyze each item carefully. Choose the letter of the best answer. Shade the
letter that corresponds to your answer.

1. It refers to the key characteristics that successful entrepreneurs should have in order to be successful.
a. Entrepreneurial competencies c. Entrepreneurial market
b. Entrepreneurship d. Business minded
2. Which of the following is defined as the combination of knowledge, abilities and attitudes needed to
accomplish a role efficiently?
a. smart c. Competencies
b. expertise d. Skills
3. Which of the following characteristic of a good entrepreneur that accepts full responsibility of everything in
his/her business and give solid dedication to make the business successful?
a. hardworking c. discipline
b. committed d. creative
4. This means habitually working diligently for a long period of time.
a. hardworking c. discipline
b. committed d. creative
5. Which of the following characteristics can be observed when successful entrepreneurs always stick on the
plan and fight for the temptation to do what is unimportant?
a. hardworking c. discipline
b. committed d. creative
6. An entrepreneur should have this to stay in the business and in order to have edge over the other
competitors.
a. hardworking c. discipline
b. committed d. creative
7. It includes the actors and forces outside marketing that affect marketing management’s ability to build and
maintain successful relationships with target customers
a. Marketing environment c. Political environment
b. Generational marketing d. Economic environment
8. It consists of the actors close to the company that affect its ability to serve its customers.
a. microenvironment c. macroenvironment
b. business environment d. economic environment
9. Which of the following is important in segmenting people by lifestyle of life state instead of age?
a. Marketing environment c. Political environment
b. Generation marketing d. Economic environment
10. It consists of factors that affect consumer purchasing power and spending patterns.
a. Marketing environment c. Political environment
b. Generation marketing d. Economic environment
11. _____________ consists of laws, government agencies, and pressure groups that influence or limit various
organizations and individuals in a given society.
a. Marketing environment c. Political environment
b. Generation marketing d. Economic environment
12. Which of the following is consisting of institutions and other forces that affect a society’s basic values,
perceptions, and behaviors?
a. Cultural environment c. Natural environment
b. Economic environment d. Political environment
13. It involves the natural resources that are needed as inputs by marketers or that are affected by marketing
activities.
a. Cultural environment c. Natural environment
b. Economic environment d. Political environment
14. A ___________ is a concept that can be used for financial gain that is usually centered on a product or service
that can be offered for money.
a. branding b. marketing c. profitability d. business idea
15. Which of the following is a business's ability to generate earnings compared to its costs over a certain
period of time?
a. branding b. marketing c. profitability d. business idea
16. Which is not a characteristic of a promising business idea?
a. innovative b. unique c. problem solving d. hardworking
17. Which of the following has a modern meaning of having a new idea, creative thoughts, and new
imaginations in form of device or method?
A. innovation b. creating c. problem solving d. handworking
18. It is a marketing practice of creating name, symbol or designs that identify and differentiates product or
services from the rest.
a. branding b. marketing c. servicing d. business idea

19. Which of the following is a form or structure of the expressions, statements, and program units?
a. Syntax b. semantic c. sentence d. language
20. These are the meaning of the expressions, statements, and program units.
a. Syntax b. semantic c. sentence d. language
21. Which of the following is the user of a language definition?
a. other language designers b. Implementers c. programmers d. all of the
choices
22. It is a string of characters over some alphabet.
a. Syntax b. semantic c. sentence d. language
23. It is a set of sentence
a. Syntax b. semantic c. sentence d. language
24. A category of lexeme and example of this is “identifier”.
a. Token b. recognizer c. lexeme d. generators
25. Which of the following reads input strings over the alphabet of the language and decides whether the input
strings belong to the language?
a. Token b. recognizer c. lexeme d. generators
26. A device that generates sentences of a language.
a. Token b. recognizer c. lexeme d. generators
27. It is the lowest level syntactic unit of a language (*, sum, begin).
a. Token b. recognizer c. lexeme d. generators
28. Which of the following often referred to as a notation for Context-Free-Grammar?
a. Backus-Naur Form b. Context-Free-Grammar c. Regular expression d. Grammar
29. The function of this is to define a class of languages.
a. Backus-Naur Form b. Context-Free-Grammar c. Regular expression d. Grammar
30. It is the description of a language and can be used for generation or given grammar
a. Backus-Naur Form b. Context-Free-Grammar c. Regular expression d. Grammar
31. A hierarchical structure displaying the derivation of an expression in some grammar
a. parse trees b. parser c. grammar d. semantic
32. Process which takes a sentence and breaks it into its component parts, deriving a parse tree
a. parse trees b. parser c. grammar d. semantic
33. Which of the following where the information passed up the parse tree?
a. Synthesized attributes b. Inherited attributes c. Semantic function d. Intrinsic attributes
34. Which of the following where the information passed down the parse tree
a. Synthesized attributes b. Inherited attributes c. Semantic function d. Intrinsic attributes
35. Rules or predicates associated with grammar rules that compare synthesized attributes to inherited
attributes
a. Synthesized attributes b. Inherited attributes c. Semantic function d. Intrinsic attributes
36. Using this statement, we can leave a loop even if the condition for its end is not fulfilled and it can be used
to end an infinite loop, or to force it to end before its natural end.
a. continue b. go to c. break d. exit
37. The ___________ statement causes the program to skip the rest of the loop in the current iteration as if the end
of the statement block had been reached, causing it to jump to the start of the following iteration.
a. continue b. go to c. break d. exit
38. It allows making an absolute jump to another point in the program.
a. continue b. go to c. break d. exit
39. The purpose of this is to terminate the current program with a specific exit code.
a. exit b. break c. switch d. exitcode
40. This is used by some operating systems and may be used by calling programs.
a. exit b. break c. switch d. exitcode
41. By convention, an exit code of ________ means that the program finished normally and any other value means
that some error or unexpected results happened.
a. 1 b. 0 c. 10 d. 11
42. Which of the following allocates a memory space for variable?
a. compiler b. editor c. breaker d. composer
43. Its objective is to check several possible constant values for an expression.
a. exit b. break c. switch d. exitcode
44. Which of the following is a name assigned by the user and to represent programming entities such as
variable, function and constants.
a. identifier b.variable c. char data type d. constant
45. A location in computer memory to store data but can only store 1 value at a time.
a. identifier b.variable c. char data type d. constant
46. Values that are fixed and do not change throughout program execution.
a. identifier b.variable c. char data type d. constant
47. The smallest type of integral data and used for character such as letters, digits and special symbols.
a. identifier b.variable c. char data type d. constant
48. A symbol that tells the complier to perform specific mathematical or logical manipulation.
a. operators b. generators c. evaluators d. editors
49. Which is not a type of operators?
a. arithmetic b. assignment c. relational d. variable
50. Which type of operator require to operands.
a. arithmetic b. assignment c. relational d. logical

GOOD LUCK!!!

You might also like