MCQs > IT & Programming > Programming Logic And Design MCQs > Basic Programming Logic and Design MCQs

Basic Programming Logic and Design MCQ

1. The ________ operator could be used, in some situations, to simplify nested selection structures.

Answer

Correct Answer: AND

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

2. Structures can be stacked or connected to one another at their ____.

Answer

Correct Answer: Entry or exit points

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

3. Directories and ____ are organization units on storage devices.

Answer

Correct Answer: Folders

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

4. Cartoonists create animated films by drawing a sequence of ____ or cells.

Answer

Correct Answer: Frames

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

5. A(n) ____ shows the relationship between screens in an interactive gui program.

Answer

Correct Answer: Interactivity diagram

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

6. ____ are groups of fields that go together for some logical reason.

Answer

Correct Answer: Tables

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

7. The process of naming program variables and assigning a type to them is called ____ variables.

Answer

Correct Answer: Declaring

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

8. Each array element occupies an area in memory next to, or ____, the others.

Answer

Correct Answer: Contiguous to

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

9. The assessment of the external and internal environments is called _______ analysis

Answer

Correct Answer: SWOT analysis

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

10. The _____ frame of the organization is the one that is usually depicted in an organizational chart.

Answer

Correct Answer: Structural

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

11. A student group that is working on a project is considered to be a collaboration if the ________.

Answer

Correct Answer: Members provide feedback on each other’s work

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

12. In a(n) _____ organizational structure, project managers have little or no authority.

Answer

Correct Answer: Functional

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

13. A(n) ________ budget that can be adjusted over time for changing environmental conditions.

Answer

Correct Answer: Variable

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

14. A(n) _____ stakeholder is aware of the project and supportive of change.

Answer

Correct Answer: Supportive

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

15. A(n) _____ must include suggested methods or technologies for conveying the information.

Answer

Correct Answer: Communications management plan

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

16. A(n) _____ is any instance where the product or service fails to meet customer requirements.

Answer

Correct Answer: Defect

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

17. _____ involves deciding how to approach and plan the risk management activities for the project.

Answer

Correct Answer: Planning risk management

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

18. Project managers typically perform the tasks of _____.

Answer

Correct Answer: Option A, B & D

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

19. In a pert/cpm chart, each task has all of the following except a(n) ____.

Answer

Correct Answer: Reference to successor tasks

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

20. A risk management plan includes a review of all of the following except ____.

Answer

Correct Answer: Employees.

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

21. Placing a structure within another structure is called ____ structures

Answer

Correct Answer: Nesting

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

22. A(n) ____ is a program that you use to create simple text files.

Answer

Correct Answer: Text editor

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

23. A ____ is a collection of data stored on a nonvolatile device in a computer system.

Answer

Correct Answer: Computer file

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

24. A ____ allows users to interact with a program in a graphical environment.

Answer

Correct Answer: GUI

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

25. If a is true and b is false, then ______________.

Answer

Correct Answer: A AND b is false

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

26. When you write programs, you work with data in three different forms: ____.

Answer

Correct Answer: Variables; literals, or unnamed constants; and named constants

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

27. A(n) ____ is a repeating flow of logic with no end.

Answer

Correct Answer: Infinite loop

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

28. To __________ data means to ensure that the data are in the proper range.

Answer

Correct Answer: Validate

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

29. A variable’s unknown value is commonly called ____.

Answer

Correct Answer: Garbage

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

30. A subscript is a(n) _____.

Answer

Correct Answer: Number that indicates the position of an array element

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

31. A(n) ____ in a class diagram indicates public access.

Answer

Correct Answer: Plus sign.

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

32. The following is an example of a module ________.

Answer

Correct Answer: Execution

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

33. When you use a range check, you always compare a variable to ______________ value in the range.

Answer

Correct Answer: An end-of-range value

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

34. Using logical operators, 1 and 0 = _____.

Answer

Correct Answer: 1

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

35. Depending on the programming language being used, modules are also known as ____ .

Answer

Correct Answer: All of these

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

36. ____ is where a variable’s data type or other information is stored as part of the name.

Answer

Correct Answer: Hungarian notation

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

37. ____ variables and constants are known to the entire program.

Answer

Correct Answer: Global

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

38. Using ____ involves writing down all the steps you will use in a program.

Answer

Correct Answer: Pseudocode

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

39. The major difference between the two main programming styles in use today is the ____.

Answer

Correct Answer: Focus the programmer takes during the earliest planning stages of a project

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

40. Some people call the selection structure a(n) ____________________ statement.

Answer

Correct Answer: If-then-else if then else

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

41. Before a programmer plans the logic of the program, he or she must ____.

Answer

Correct Answer: Understand the problem

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

42. Declaring a starting value for a variable is known as ____ the variable.

Answer

Correct Answer: Initializing

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

43. In a flowchart, the ____ is used to represent processing.

Answer

Correct Answer: Rectangle

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

44. You can use an ____ statement to clearly show where the actions that depend on a decision end.

Answer

Correct Answer: Endif

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

45. The do loop is a variation of the ____ loop.

Answer

Correct Answer: While

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

46. A structured program includes only combinations of the three basic structures: ____.

Answer

Correct Answer: Sequence, selection, and loop

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

47. Variables and constants declared within a method are ____ only within that method.

Answer

Correct Answer: In scope

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

48. You usually use the for loop with ____ loops.

Answer

Correct Answer: Definite

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

49. When a data field within a class is ____, no outside class can use it—including a child class.

Answer

Correct Answer: Private

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

50. The three structures of structured programming are _____.

Answer

Correct Answer: Sequence, selection, and loop

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

51. The statements that appear between the while and the end while clauses are called the ________.

Answer

Correct Answer: Body of the loop

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

52. The ____ variable is initialized before entering the loop.

Answer

Correct Answer: Loop control.

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

53. When you think in an object-oriented manner, every object is a member of a ____.

Answer

Correct Answer: An end-of-range value

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