Docsity

NOCTI Computer Programming Practice Test 2026/2027, Exams of Information and Computer Technology

Toggle sidebar
bg1
NOCTI Computer Programming Practice
Exam 2026/2027: 90 Questions with
Answers & Explanations for Certification
Success
Description:
Prepare for the NOCTI Computer Programming certification with this comprehensive
2026/2027 practice exam. Features 90 multiple-choice questions, detailed answer
explanations, and covers software development, programming concepts, testing, and
modern development practices.
Download now and ace your certification!
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20

Partial preview of the text

Download NOCTI Computer Programming Practice Test 2026/2027 and more Exams Information and Computer Technology in PDF only on Docsity!

NOCTI Computer Programming Practice

Exam 2026/2027: 90 Questions with

Answers & Explanations for Certification

Success

Description: Prepare for the NOCTI Computer Programming certification with this comprehensive 2026/2027 practice exam. Features 90 multiple-choice questions, detailed answer explanations, and covers software development, programming concepts, testing, and modern development practices. Download now and ace your certification!

NOCTI Computer Programming Practice Test 2026/

SECTION 1: SOFTWARE DEVELOPMENT LIFECYCLE

Questions 1- 12

1. Which document serves as the foundational source that specifies what the user expects the software to accomplish? A. Design document B. Technical specification C. User requirements D. Functional requirements Answer: C. User requirements Explanation: User requirements are the source document that establishes what the user expects the software to be able to do. 2. When a change occurs in which document does it typically motivate the existence and purpose of a given code set? A. User requirements B. Design document C. Test plan D. Deployment guide Answer: B. Design document Explanation: The design document lays out the general requirements that, when changed, motivate the existence and purpose of a given code set. 3. Business rules, authentication requirements, and audit tracking are examples of: A. Non-functional requirements B. Performance metrics C. Functional requirements D. Quality attributes

C. Implementation D. Testing Answer: B. Software design Explanation: Software design involves planning a software solution in a sequence of steps that enables the designer to describe all aspects of the software to be built.

7. Computer networking, enterprise application integration, business process management, and programming are techniques utilized during which phase? A. Design B. Testing C. Implementation and integration D. Maintenance Answer: C. Implementation and integration Explanation: Implementation and integration brings together systems utilizing many techniques including computer networking, enterprise application integration, business process management, and programming. 8. The process of validating and verifying that a computer program meets the requirements that guided its design and development is called: A. Deployment B. Maintenance C. Testing D. Implementation Answer: C. Testing Explanation: Testing can be stated as the process of validating and verifying that a computer program, application, or product meets the requirements that guided its design and development and works as expected.

9. Release, install, activate, deactivate, adapt, update, and uninstall are all activities associated with: A. Testing B. Deployment C. Design D. Maintenance Answer: B. Deployment Explanation: Deployment includes all activities that make a software system available for use. 10. Correcting faults, improving performance, and modifying attributes after delivery describes which phase? A. Deployment B. Implementation C. Testing D. Maintenance Answer: D. Maintenance Explanation: Maintenance refers to the modification of a software product after delivery to correct faults, to improve performance or other attributes. 11. Error corrections, performance improvements, changes in business environment, and functional enhancements are all reasons for: A. Initial development B. Software maintenance C. Requirements gathering D. System testing Answer: B. Software maintenance

C. Register D. Heap Answer: D. Heap Explanation: The heap is a region of memory used for dynamic memory allocation where objects and data structures are created and destroyed during program execution.

15. The number of characters a database field can hold is referred to as: A. Record length B. Field length C. Byte count D. Data size Answer: B. Field length Explanation: Data storage field length refers to the amount of characters the field can hold. 16. Record length in a data set refers to: A. The number of fields in each record B. The total length in bytes of each record C. The number of characters in the primary key D. The storage capacity of the data set Answer: B. The total length in bytes of each record Explanation: Data storage record length refers to the total length, in bytes, of each record in the data set. 17. In data formats, when a character such as a comma or tab is used to separate values, this is known as: A. Fixed length format B. Binary format C. Delimited format D. Structured format

Answer: C. Delimited format Explanation: Data formats delimited use a character such as a comma, tab, or colon to separate values.

18. Data organization involving characters, fields, records, and files represents: A. Data encryption B. Data hierarchies C. Data normalization D. Data compression Answer: B. Data hierarchies Explanation: Data hierarchies are the systematic organization of data in a hierarchical form. 19. Methods used to retrieve data from external storage devices are called: A. Manipulation methods B. Access methods C. Storage methods D. Processing methods Answer: B. Access methods Explanation: Access methods are techniques used to access data on external devices. 20. A data dictionary contains information describing: A. Only the data values B. The contents, format, and structure of a database and relationships between elements C. User passwords and security credentials D. Performance metrics and usage statistics Answer: B. The contents, format, and structure of a database and relationships between elements Explanation: A data dictionary is a set of information describing the contents, format, and structure of a database and the relationship between its elements.

24. A model in which components communicate and coordinate by passing messages is characteristic of: A. Mainframe systems B. Distributed systems C. Embedded systems D. Batch processing systems Answer: B. Distributed systems Explanation: Distributed systems are models in which components located on networked computers communicate and coordinate their actions by passing messages. **SECTION 3: PROGRAMMING CONCEPTS AND CONVENTIONS Questions 25- 36

  1. Which naming convention is commonly recommended for variables, using no spaces, no reserved words, and descriptive names?** A. PascalCase B. snake_case C. camelCase D. kebab-case Answer: C. camelCase Explanation: Appropriate variable naming conventions include using camelCase, avoiding reserved words, not using spaces, excluding reserved symbols, and being descriptive. 26. Variables should follow which of these best practices? A. Use single letters for speed B. Use descriptive names and avoid reserved words C. Use random names for uniqueness D. Use uppercase only for all variables

Answer: B. Use descriptive names and avoid reserved words Explanation: Appropriate variable names should use camelCase, contain no reserved words, have no spaces, avoid reserved symbols, and be descriptive.

27. The fundamental data types that specify what type of data a variable can hold are called: A. Access specifiers B. Data types C. Modifiers D. Operators Answer: B. Data types Explanation: Data types define what type of data a variable can hold. 28. In data storage, the maximum number of characters a field can contain is its: A. Field type B. Field length C. Field name D. Field constraint Answer: B. Field length Explanation: Data storage field length specifies the amount of characters the field can hold. 29. What is the recommended approach for writing program documentation? A. Use complex technical jargon to demonstrate expertise B. Use language that is clear and at the level of the end user C. Focus primarily on code complexity and optimization D. Document only the most critical functions Answer: B. Use language that is clear and at the level of the end user Explanation: To develop effective documentation narrative, use language that is clear and at the level of the end user.

33. A programming language that uses plain English queries and is designed for database management is: A. Python B. Java C. SQL D. C++ Answer: C. SQL Explanation: SQL uses plain English queries and is specifically designed for database management. 34. Which language features the syntax "DO UNTIL" as part of its control structure? A. Python B. Java C. C++ D. Perl Answer: D. Perl Explanation: Perl is a scripting language that includes "DO UNTIL" as part of its syntax. 35. FORTRAN was designed primarily to: A. Facilitate artificial intelligence applications B. Allow easy translation of math formulas into code C. Support mobile application development D. Provide web-based programming capabilities Answer: B. Allow easy translation of math formulas into code Explanation: FORTRAN was designed to allow easy translation of math formulas into code.

36. Which scripting language uses capital reserved words and includes a "FOR TO" statement? A. Python B. JavaScript C. Ruby D. BASIC Answer: D. BASIC Explanation: BASIC uses capital reserved words and includes a "FOR TO" statement that specifies the number of iterations. **SECTION 4: LOGIC AND CONTROL STRUCTURES Questions 37- 48

  1. The logical patterns that form the foundation of program control flow include:** A. Input, output, and processing B. Simple sequence, selection, loop, and branch C. Variables, constants, and operators D. Functions, procedures, and modules Answer: B. Simple sequence, selection, loop, and branch Explanation: The fundamental logic patterns in programming include simple sequence, selection, loop, and branch. 38. In flowcharting, the terminal symbol used to represent start and end points is a: A. Diamond B. Rectangle C. Parallelogram D. Oval Answer: D. Oval

42. In flowcharting, circles are used as: A. Terminators B. Decision points C. Connectors D. Process steps Answer: C. Connectors Explanation: Circles in flowcharts serve as connectors, linking different parts of the flowchart. 43. What does the term "boundary error" refer to in programming? A. An error in the user interface design B. Data that has accidentally stepped out of bounds C. An error in the program's documentation D. A syntax error in the code Answer: B. Data that has accidentally stepped out of bounds Explanation: A boundary error occurs when data has accidentally stepped out of bounds. 44. When data has been accidentally truncated, this is known as a: A. Rounding error B. Boundary error C. Truncation error D. Logical error Answer: C. Truncation error Explanation: A truncation error occurs when data has been accidentally truncated. 45. A runtime error is defined as: A. An error that occurs during compilation B. An error that occurs during the execution of a program

C. An error in the program's requirements D. An error in the program's documentation Answer: B. An error that occurs during the execution of a program Explanation: A runtime error is an error that occurs during the execution of a program.

46. When a program produces unintended behavior due to issues with logic statements, this is called: A. Syntax error B. Compile error C. Logical error D. Runtime error Answer: C. Logical error Explanation: A logical error occurs when the program produces unintended behavior due to issues with logic statements. 47. Valid syntax that does not do what the programmer intended is known as: A. Semantic error B. Syntax error C. Compile error D. Linker error Answer: A. Semantic error Explanation: A semantic error occurs when the code has valid syntax but does not do what the programmer intended. 48. A problem with source code syntax is classified as: A. Semantic error B. Linker error C. Syntax error D. Logical error

C. Compilation D. Deployment Answer: B. Testing Explanation: Testing is the process of validating and verifying that a computer program works as expected.

52. Errors that occur during the linking phase of compilation are called: A. Syntax errors B. Semantic errors C. Linker errors D. Runtime errors Answer: C. Linker errors Explanation: Linker errors occur during the linking process, which combines compiled object files into an executable program. 53. Which type of error is caused by bad syntax in the source code? A. Runtime error B. Logic error C. Compile error D. Semantic error Answer: C. Compile error Explanation: Compile errors are caused by bad syntax in the source code. 54. When data has been accidentally rounded, this produces a: A. Truncation error B. Rounding error C. Boundary error D. Arithmetic error Answer: B. Rounding error

Explanation: A rounding error occurs when data has been accidentally rounded.

55. A calculation error in data processing is known as: A. Logical error B. Arithmetic error C. Semantic error D. Boundary error Answer: B. Arithmetic error Explanation: An arithmetic error occurs when there has been a calculation error in data processing. 56. A program with valid syntax but unintended behavior contains: A. Syntax error B. Compile error C. Linker error D. Semantic error Answer: D. Semantic error Explanation: A semantic error occurs when the program has valid syntax but unintended behavior. 57. Which testing approach focuses on verifying that the system meets the requirements that guided its design? A. Validation testing B. Verification testing C. Unit testing D. Performance testing Answer: A. Validation testing Explanation: Testing is the process of validating and verifying that a computer program meets the requirements that guided its design and development.