Computer Programming Exam Questions and Solutions, Exams of Computer Security

Questions and answers on computer programming, covering functional requirements, data storage, programming techniques, and software testing, including debugging and user acceptance testing. It touches on software design, implementation, and maintenance, providing insights into the software development life cycle and best practices. Topics include the SDLC phases, data storage, input/output, programming concepts like control structures and error handling. It also covers software testing methodologies, code reviews, online help systems, and data dictionaries. It serves as a study guide for computer programming students.

Typology: Exams

2024/2025

Available from 06/23/2025

SmartPapersPro
SmartPapersPro 🇺🇸

5

(3)

5.3K documents

1 / 55

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
NOCTI - COMPUTER PROGRAMMING EXAM QUESTIONS
WITH COMPLETE SOLUTIONS GUARANTEED PASS BRAND
NEW 2025
One of the main goals in analyzing functional requirements is to -
ANSWER
>>>define the problem from the user's point of view
In programming interface data files, if the length of the fields is not
known, a common format for the data is: -
ANSWER
>>>delimited
(if you have a "name" , an "address", a "SSN", , "telephone"
When analyzing user requirements it is important -
ANSWER
>>>to think in terms of the user's needs
If a user states that he/she needs to distribute a report to many
people, -
>>>The management of changed to
documents programs and other info stored as version control.
The particular method of data storage should be the one that -
ANSWER
>>>best meets the program requirements and cost
restraint.
Good programming technique incorporated which of the following
principles? -
ANSWER
>>>Adequate and concise comments
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37

Partial preview of the text

Download Computer Programming Exam Questions and Solutions and more Exams Computer Security in PDF only on Docsity!

NOCTI - COMPUTER PROGRAMMING EXAM QUESTIONS

WITH COMPLETE SOLUTIONS GUARANTEED PASS BRAND

NEW 2025

One of the main goals in analyzing functional requirements is to - ANSWER>>>define the problem from the user's point of view In programming interface data files, if the length of the fields is not known, a common format for the data is: - ANSWER>>>delimited (if you have a "name" , an "address", a "SSN", , "telephone" When analyzing user requirements it is important - ANSWER>>>to think in terms of the user's needs If a user states that he/she needs to distribute a report to many people, - ANSWER>>>The management of changed to documents programs and other info stored as version control. The particular method of data storage should be the one that - ANSWER>>>best meets the program requirements and cost restraint. Good programming technique incorporated which of the following principles? - ANSWER>>>Adequate and concise comments

A structured code walkthrough - ANSWER>>>ensues the code follows in house rules Depending on the size of the organization systems analysts are - ANSWER>>>employed to be a liaison between non technical users and IT professionals When conducting a design review, allow - ANSWER>>>the programming team to define the most important parts of their code themselves The source document and the input screen design should - ANSWER>>>follow the same order After programmers develop a solution algorithm using a flowchart or pseudocode, - ANSWER>>>VALIDATE the program design for accuracy. The implementation phase constructs or builds - 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.

  • ANSWER>>>This can also be called feasibility study.

Best practices for comments suggest that programmer includes the programmer's initials, - ANSWER>>>descriptions of the modification, and date Each module in top - down programming should: - ANSWER>>>represent a program function When performing maintenance on source code its important to - ANSWER>>>leave the old comments in place and add new comments Compile error can be caused - ANSWER>>>by bad syntax, typing data or: illegal function call If an object can act differently under different parts of the program

  • ANSWER>>>polymorphic Which of the following is an example of unit testing - ANSWER>>>errors are detected early which results in cost reductions Which of the following is used when debugging a program - ANSWER>>>error listing People who analyze new software to bridge the gap between programmers and potential customers are called -

ANSWER>>>beta testers A software package that records users interface activity is useful when - 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

  • ANSWER>>>test case In user acceptance testing it is important to - ANSWER>>>have the user run it and evaluate the results In software testing, a test script is a - ANSWER>>>program that exercises the software being tested A 'divide by zero' error is - ANSWER>>>runtime error Runtime errors are produced during source code - ANSWER>>>deployment Testing that ignores the internal mechanisms systems or components and focuses solely on the outputs generated in response to selected - ANSWER>>>external conditions is known as functional During the implementation phase, code is constructed by - ANSWER>>>information gathered during the design phase

Most programming languages provide a - ANSWER>>>step mode to execute a program one statement at a time When developing an online help system - ANSWER>>>screenshots allow users to follow along step by step A place in a sequence of instructions where processing can be stopped, allowing the process to be resumed without loss of information is a - ANSWER>>>breakpoint A data dictionary - ANSWER>>>defines where the data will be stored specifies what the user expects the software to be able to do. This is the source document. The input screen design should follow the same order. - ANSWER>>>User requirements lays out the general requirements that when changed, motivate the existence and purpose of a given code set. - ANSWER>>>Design document will specify a behavior or function. Business Rules, Transaction corrections, adjustments and cancellations, Administrative functions, Authentication, Authorization levels, Audit Tracking, External Interfaces, Certification Requirements, Reporting Requirements, Historical Data, Legal or Regulatory Requirements

  • ANSWER>>>Functional requirements Quality characteristics or quality attributes. Other definition parts - specify how the system should behave. The operation of a system. Constraint on system behavior. - ANSWER>>>Non functional requirements for example Response Time, Throughput, Utilization, Static Volumetric, Scalability, Capacity, Availability, Reliability, Recoverability, Maintainability, Serviceability, Security, Regulatory, Manageability, Environmental, Data Integrity, Usability, Interoperability - ANSWER>>>Performance how to interpret the contents of an input field as a number or a string. - ANSWER>>>Input format print and write formats. Automatically generated from the input formats. - ANSWER>>>Output format terminator. start/end - ANSWER>>>Oval process. Either single step or an entire sub-process. - ANSWER>>>Rectangle decision. - ANSWER>>>Diamond connectors. - ANSWER>>>Circle

the amount of characters the field can hold. - ANSWER>>>Data Storage Field length the length, in bytes, of each record in the data set. Of all the fields. - ANSWER>>>Data Storage Record length a character is used to separate the values (comma, tab, colon). - ANSWER>>>Data formats Delimited a software development methodology that uses minimal planning in favor of rapid prototyping. The process of writing the software itself involves the planning required for developing the product. Follows an iterative and incremental model. Makes reusable prototypes. - ANSWER>>>Rapid application development It is very quick and easy to create an application. It is paired with an IDE. C++, Java, Delphi - ANSWER>>>RAD language systematic examination (sometimes referred to as peer review) of computer source code. It is intended to find mistakes overlooked in the initial development phase, improving the overall quality of software. - ANSWER>>>A code review a milestone within a product development process whereby a design is evaluated against its requirements in order to verify the outcomes of previous activities and identify issues before committing to - and if need to be re-prioritize - further work. - ANSWER>>>A design review

camelCase, No reserved words, No spaces, No reserved symbols, Be descriptive. - ANSWER>>>Appropriate variable names three basic control structures to form highly structured units of code. Subroutines, Block structures, Loops - ANSWER>>>Structured programming Scripting languages. Syntax: Has DO UNTIL. - ANSWER>>>Perl One of the oldest programming languages, the FORTRAN was developed by a team of programmers at IBM led by John Backus, and was first published in 1957. The name FORTRAN is an acronym for Formula Translation, because it was designed to allow easy translation of math formulas into code. - ANSWER>>>Fortran CAPITAL reserved words, FOR TO: the TO is included in how many times it runs. - ANSWER>>>BASIC point: (# x, y: @integer #) - ANSWER>>>Beta a software testing method by which individual units of source code, sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures, are tested to determine whether they are fit for use. - ANSWER>>>Unit testing a sequence of events to follow so they can be repeated.

problem during linking process - ANSWER>>>Linker error One method of ensuring that updates to documentation are efficiently distributed is to make changes in an online help system rather than print sources. - ANSWER>>>How to provide user instructions on program modifications Use language that is clear and at the level of the end user. - ANSWER>>>How to develop a documentation narrative (e.g., writing program documentation) a set of information describing the contents, format, and structure of a database and the relationship between its elements, used to control access to and manipulation of the database. - ANSWER>>>data dictionary takes in the entire program, checks for errors, compiles it, and then executes it. - ANSWER>>>Compiler takes the program line by line, checks for errors, and executes it. - ANSWER>>>Interpreter bursitis, tendon injuries, osteoarthritis, carpal tunnel syndrome. - ANSWER>>>Injuries adjust chair so feet are flat on floor, support lower back, top of computer monitor should be ~eye level, wrists should be in a straight neutral position in line with forearms. - ANSWER>>>To

prevent injuries a group of two or more computers. - ANSWER>>>Network passes data. - ANSWER>>>Bus Central Processing Unit. Processes instructions - ANSWER>>>CPU Random Access Memory. Information is loaded onto the RAM for faster run time. - ANSWER>>>RAM the systematic organization of data, often in a hierarchical form. Data organization involves characters, fields, records, files and so on. - ANSWER>>>Data hierarchies methods to access data on external devices. - ANSWER>>>Access methods methods to manipulate data. - ANSWER>>>Manipulation methods an example of a predefined process is a/an A. connector B. annotation C. pseudocode D. subroutine - ANSWER>>>

B. using "goto" statements C. using functions or modules D. avoiding the use of "if" statements - ANSWER>>> Sharing a workload with other systems, either locally or remotely, is called: A. virtual computing B. downloading C. multitasking D. distributed computing - ANSWER>>>D. Distributed computing When developing program comments, the programmer should use terms that are: A. familiar to other programmers B. familiar to the general public C. relevant to the Boolean Logic D. relevant to the business environment - ANSWER>>> When creating online help, the writer should: A. keep the graphics to a minimum in order to reduce file size B. print hard copies and distribute them to all users C. take advantage of features unique to that medium, such as hyperlinks D. write the documentation as traditional printed material and then convert it to PDF - ANSWER>>>

A graphic used in the design phase of programming to work out the logical process of a program is a: A. Gantt chart B. flowchart C. dataflow diagram D. pseudocode - ANSWER>>> A structured code walk-through... A. should only be performed by the original programmer B. ensures that there are sufficient lines of code C. ensures that the code follows in-house quality standards D. increases the user friendliness of the program - ANSWER>>> Which of the following is a US government health information computer data security standard? A. SAFEDATA B. HACKSTOP C. NIST D. PEBKAC - ANSWER>>> A variable's _____ determines where the variable can be seen in a program by limiting access and separating program parts, such as functions. apart from each other. A. memory

When considering the output or input of a variable in a computer program, what will define the variable as text versus a number? A. string B. Boolean C. integer D. float - ANSWER>>> Which loop structure has its test for termination placed at the beginning of the loop? A. REPEAT/UNTIL B. ROUTINE/CALL C. DO/WHILE D. IF/THEN - ANSWER>>> The goal of system design is to map out an IT solution based on both the current and the _____ model of a business process. A. best B. old C. exact D. future - ANSWER>>>

A/An _____ is an injury or disorder of the muscles, nerves, tendons, ligaments, and joints brought on by long-term overuse of the area. A. stomach ulcer B. repetitive strain injury C. attention deficit D. concussion - ANSWER>>> Structured programming uses... A. pseudocode as the basic structure design tool B. sequence, decision, and loop control structures to form highly structured units of code C. flowchart techniques that provide for one entry and multiple exits D. a single control structure as the basis of program design - The process of laying out a web page on poster board is called... A. processing B. copying C. outlining D. storyboarding - ANSWER>>> An example of an integer variable is... A. 3/ B. 0.

ANSWER>>>