NOCTI Computer Programming - Questions &
Comprehensive Solutions
The source document and the input screen design should Correct
Answer - follow the same order
After programmers develop a solution algorithm using a flowchart
or pseudocode, Correct Answer - VALIDATE the program
design for accuracy.
The implementation phase constructs or builds Correct Answer -
a new or modified system and then delivers it to the customer
The analysis phase of the systems development life cycle (SDLC)
includes an investigation to determine a definitive problem or
improvement of a system and decide whether it is worth pursuing.
Correct Answer - This can also be called feasibility study.
A programmer has written a program that would audit all record
changes in a relational database. What would be an appropriate way
for enabling a user to search for this information and manage it
using a system logging tool? Correct Answer - Store the
information inside an SQL database as a related record.
The concatenation function allows a programmer to Correct
Answer - build a string by combining strings together.
The correct time to plan data storage is during the Correct Answer
- implementation phase
A machine language program is Correct Answer - executable
without alteration
,Program documentation provides a means for programmers
Correct Answer - to follow the logic of the program
One example of a text processing (scripting) language is Correct
Answer - Perl
In a structured program environment, a control structure Correct
Answer - is a series of instructions that control the logical order
in which program instructions are executed.
The following BASIC control statement FOR X=15 to 35 will cause:
Correct Answer - (inclusive) 'NEXT X' statement to be executed
21 times
Best practices for comments suggest that programmer includes the
programmer's initials, Correct Answer - descriptions of the
modification, and date
Each module in top -down programming should: Correct Answer -
represent a program function
When performing maintenance on source code its important to
Correct Answer - leave the old comments in place and add new
comments
Compile error can be caused Correct Answer - by bad syntax,
typing data or: illegal function call
If an object can act differently under different parts of the program
Correct Answer - polymorphic
,Which of the following is an example of unit testing Correct
Answer - errors are detected early which results in cost
reductions
Which of the following is used when debugging a program Correct
Answer - error listing
People who analyze new software to bridge the gap between
programmers and potential customers are called Correct Answer
- beta testers
A software package that records users interface activity is useful
when Correct Answer - developing test scripts
A document specifying the details of a testing approach for a
software feature by identifying the associated tests is known as a
Correct Answer - test case
In user acceptance testing it is important to Correct Answer -
have the user run it and evaluate the results
In software testing, a test script is a Correct Answer - program
that exercises the software being tested
A 'divide by zero' error is Correct Answer - runtime error
Runtime errors are produced during source code Correct Answer
- deployment
Testing that ignores the internal mechanisms systems or
components and focuses solely on the outputs generated in
response to selected Correct Answer - external conditions is
known as functional
, During the implementation phase, code is constructed by Correct
Answer - information gathered during the design phase
Data used to verify that programs function properly is called a
Correct Answer - test
When something has changed in a program, online help is
sometimes integrated into a/an floating help bubble in the user
interface. Correct Answer - This can often help users to stay on
task and avoid downtime
A programmer wants data files moved to another location and
renamed according to the date once the file reaches a certain size.
Correct Answer - This function is called documentation logic
Many runtime or exception errors can be prevented by Correct
Answer - providing an error handling trap list
If a change is made to a program, the programmer can upload a
document listing the changed to the company's intranet(companys
space) Correct Answer - or in-house website
A tutorial for new users typically is included with Correct Answer
- user documentation
Use a text editor as one way to Correct Answer - update a web
page document
Code reviews of program modifications should focus on the
Correct Answer - fit the modifications to the rest of the code
Most programming languages provide a Correct Answer - step
mode to execute a program one statement at a time
Comprehensive Solutions
The source document and the input screen design should Correct
Answer - follow the same order
After programmers develop a solution algorithm using a flowchart
or pseudocode, Correct Answer - VALIDATE the program
design for accuracy.
The implementation phase constructs or builds Correct Answer -
a new or modified system and then delivers it to the customer
The analysis phase of the systems development life cycle (SDLC)
includes an investigation to determine a definitive problem or
improvement of a system and decide whether it is worth pursuing.
Correct Answer - This can also be called feasibility study.
A programmer has written a program that would audit all record
changes in a relational database. What would be an appropriate way
for enabling a user to search for this information and manage it
using a system logging tool? Correct Answer - Store the
information inside an SQL database as a related record.
The concatenation function allows a programmer to Correct
Answer - build a string by combining strings together.
The correct time to plan data storage is during the Correct Answer
- implementation phase
A machine language program is Correct Answer - executable
without alteration
,Program documentation provides a means for programmers
Correct Answer - to follow the logic of the program
One example of a text processing (scripting) language is Correct
Answer - Perl
In a structured program environment, a control structure Correct
Answer - is a series of instructions that control the logical order
in which program instructions are executed.
The following BASIC control statement FOR X=15 to 35 will cause:
Correct Answer - (inclusive) 'NEXT X' statement to be executed
21 times
Best practices for comments suggest that programmer includes the
programmer's initials, Correct Answer - descriptions of the
modification, and date
Each module in top -down programming should: Correct Answer -
represent a program function
When performing maintenance on source code its important to
Correct Answer - leave the old comments in place and add new
comments
Compile error can be caused Correct Answer - by bad syntax,
typing data or: illegal function call
If an object can act differently under different parts of the program
Correct Answer - polymorphic
,Which of the following is an example of unit testing Correct
Answer - errors are detected early which results in cost
reductions
Which of the following is used when debugging a program Correct
Answer - error listing
People who analyze new software to bridge the gap between
programmers and potential customers are called Correct Answer
- beta testers
A software package that records users interface activity is useful
when Correct Answer - developing test scripts
A document specifying the details of a testing approach for a
software feature by identifying the associated tests is known as a
Correct Answer - test case
In user acceptance testing it is important to Correct Answer -
have the user run it and evaluate the results
In software testing, a test script is a Correct Answer - program
that exercises the software being tested
A 'divide by zero' error is Correct Answer - runtime error
Runtime errors are produced during source code Correct Answer
- deployment
Testing that ignores the internal mechanisms systems or
components and focuses solely on the outputs generated in
response to selected Correct Answer - external conditions is
known as functional
, During the implementation phase, code is constructed by Correct
Answer - information gathered during the design phase
Data used to verify that programs function properly is called a
Correct Answer - test
When something has changed in a program, online help is
sometimes integrated into a/an floating help bubble in the user
interface. Correct Answer - This can often help users to stay on
task and avoid downtime
A programmer wants data files moved to another location and
renamed according to the date once the file reaches a certain size.
Correct Answer - This function is called documentation logic
Many runtime or exception errors can be prevented by Correct
Answer - providing an error handling trap list
If a change is made to a program, the programmer can upload a
document listing the changed to the company's intranet(companys
space) Correct Answer - or in-house website
A tutorial for new users typically is included with Correct Answer
- user documentation
Use a text editor as one way to Correct Answer - update a web
page document
Code reviews of program modifications should focus on the
Correct Answer - fit the modifications to the rest of the code
Most programming languages provide a Correct Answer - step
mode to execute a program one statement at a time