1. Trang chủ
  2. » Tất cả

Question đúng CNU

58 3 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Nội dung

Question Which structure theorem is used n a computer program or algorithm to determine which particular step or set of steps is to be executed? A Sequence B Repetition C Selection D Subprogram Question Please select the best variable name for an employee's last name A emplastname B empLastName C empLstNm D lastNameOfTheEmployeeInQuestion Question When a program makes a true or false decision, it is an example of a(n) _ logic structure A until B while C if-then-else D what-if Question In a(n) structure, one statement follows the other with no conditions having to be met A selection B loop C sequence D conditional Question The structure involves repeating a sequence until a condition is met A sequence B selection C loop D conditional Question What is incorrect function of the parameter using in communicating between modules? A To store the reference data B "To pass information from a subordinate module to its calling module " C "To pass information from a calling module to a subordinate module " D To fulfil a two-way communication role Question "The test data about the part of a program shown in the flowchart is specified by “decision condition coverage” (branch coverage) If this test data is specified by “multiple condition coverage,” which of the following is the appropriate data to add? Here, the part enclosed in parentheses indicates the pair of test data elements The test data used by “decision condition coverage” (branch coverage): (A=4, B=1), (A=5, B=0)" A (A=3, B=0), (A=7, B=2) B (A=7, B=0), (A=8, B=2) C (A=4, B=0), (A=8, B=0) D (A=3, B=2), (A=8, B=0) Question Flowcharts and pseudocode are examples of tools used in the program phase A test B code C specification D design Question A(n) error could be the result of the programmer making an incorrect calculation A syntax B logic C general protection D breakpoint Question 10 language is made up only of binary digits A Natural B Machine C Assembly D Procedural Question 11 Which of the following is not necessary for a good program? A catches common errors B reliability C well-documented D colorful graphics Question 12 Integers are stored in the 1st to N-th elements of an array A(N>1) The flowchart below shows the process to check which element of the array contains the same value as X Which of the following correctly describes the execution result of this process? A If the same value as X exists in two places of the array, the 1st and N-th elements, k is set to N B If the same value as X is not in the array, k is set to N C If the same value as X exists in two places of the array, the 1st and N-th elements, k is set to D If the same value as X is not in the array, k is set to Question 13 In below definitions on the global data, which one is incorrect? A Every module in the program can access and change data B Variables which are defined within the sub module C Data that can be used by all the modules in a program D Lifetime of a global variable spans the execution of the whole program Question 14 refers to testing by a select group of potential users in the final stage of testing a program A Beta testing B Attempt at translation C Manual testing D Desk checking Question 15 Please choose correct definition of the module parameters A Reference parameters pass a copy of the value of a parameter from one module to another B Formal parameters are the one that appear when a submodule is defined C Variables and expressions that are passed to a submodule in a particular call are called formal parameters D Value parameter pass the memory address of a parameter from one module to another Question 16 The function f(x) has real arguments and returned values Consider the procedure consisting of steps ~5 as shown below using this function After starting execution and repeating the procedure a sufficient number of times, y in step stops changing Which of the following expressions holds at this point? A f(y)=y B f(a)=y C f(y)=a D f(y)=0 Question 17 Which of the following lines of code comes from a first generation computer language? A set total to sum of totals B ADD255(3,10),02B(4,5) C 00010 1010 1101 0001 1010 D this Total=TotalA + TotalC Question 18 ... if-then-else D what-if Question In a(n) structure, one statement follows the other with no conditions having to be met A selection B loop C sequence D conditional Question The structure... (A=8, B=0) D (A=3, B=2), (A=8, B=0) Question Flowcharts and pseudocode are examples of tools used in the program phase A test B code C specification D design Question A(n) error could... syntax B logic C general protection D breakpoint Question 10 language is made up only of binary digits A Natural B Machine C Assembly D Procedural Question 11 Which of the following is not necessary

Ngày đăng: 25/10/2016, 22:16

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w