0% found this document useful (1 vote)
1K views114 pages

CnU 1&2

The document contains a 20 question quiz on code design and structured programming concepts. The questions cover topics like control structures, flowcharts, pseudocode, variables names, and programming tools. Correct answers are provided for some questions, while others are left blank or marked as incorrect. The quiz appears to be testing knowledge of fundamental programming and software engineering principles.

Uploaded by

Chip SIngle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
1K views114 pages

CnU 1&2

The document contains a 20 question quiz on code design and structured programming concepts. The questions cover topics like control structures, flowcharts, pseudocode, variables names, and programming tools. Correct answers are provided for some questions, while others are left blank or marked as incorrect. The quiz appears to be testing knowledge of fundamental programming and software engineering principles.

Uploaded by

Chip SIngle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 114

Part 1 of 1 -

95.0/ 100.0 Points

Code Design

Question 1 of 20

5.0/ 5.0 Points

An IF-THEN-ELSE statement is part of the __________ structure


A.sequence

B.selection

C.conditional

D.loop

Question 2 of 20

5.0/ 5.0 Points

Which of the following statements describes the flowchart symbol shown below?

A.Indicates the start and end of a loop

B.Indicates processing such as an operation

C.Indicates input and output of data

D.Indicates the start and end of a flowchart

Question 3 of 20

Which of the following variable name is the most retable and maintainable

5.0/ 5.0 Points

A.employeeLastName

B.lastNameOfTheEmployeeInQuestion

C.emlstnam

D.last name

Question 4 of 20

5.0/ 5.0 Points

The following figure is one example of binary-selection structure. Is that correct?

True
False

Question 5 of 20

5.0/ 5.0 Points

Which of the following flowcharts illustrates a while repetition structure in the control
structure of programs?

A.Image d)

B.Image c)

C.Image b)

D.Image a)

Question 6 of 20

5.0/ 5.0 Points

As much as __________ percent of the total lifetime cost for an application program is for
maintenance
A.50%

B.75%

C.60%

D.40%

Question 7 of 20

0.0/ 5.0 Points

When a program repeats a portion of software code as long as a certain condition doesnt exist,
its using a(n) _______ structure
A.do until

B.what-if

C.if-then-else

D.do while

Question 8 of 20

5.0/ 5.0 Points

What are the three control structures for creating programs in structured programming?
A.Repetition, sequence, and selection

B.Recursion, sequence, and selection

C.Repetition, recursion and sequence

D.Repetition, recursion, and selection

Question 9 of 20

5.0/ 5.0 Points

When the expression 1-1/x+1/x^2 -1/x^3 +1/x^4 -1/x^n is calculated, which of the following

should be inserted in the process box in the flowchart shown below?

A.a)

B.b)

C.c)

D.d)

Question 10 of 20

What is an example of the information-receiving operation of a computer?


A.Read (information from a file)

B.Write (information to a file)

5.0/ 5.0 Points

C.Use actual mathematical symbols or the words for the symbols (+, -, *, /)

D.Giving data an initial value: Initialize, Set

Question 11 of 20

5.0/ 5.0 Points

Please select the best variable name for an employee's last name
A.empLstNm

B.empLastName

C.emplastname

D.lastNameOfTheEmployeeInQuestion

Question 12 of 20

5.0/ 5.0 Points

Flowcharts and pseudocode are examples of tools used in the program __________ phase.
A.code

B.specification

C.test

D.design

Question 13 of 20

In below definitions on the global data, which one is incorrect?

5.0/ 5.0 Points

A.Variables which are defined within the sub module

B.Every module in the program can access and change data

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 of 20

5.0/ 5.0 Points

In a(n) __________ structure, one statement follows the other with no conditions having to be
met.
A.sequence

B.loop

C.conditional

D.selection

Question 15 of 20

5.0/ 5.0 Points

Which of the following lines of code comes from a first generation computer language?
A.00010 1010 1101 0001 1010

B.this Total=TotalA + TotalC

C.set total to sum of totals

D.ADD255(3,10),02B(4,5)

Question 16 of 20

5.0/ 5.0 Points

The control structure used to perform a series of statements one after the other is called
A.random

B.selection

C.sequential

D.loop

Question 17 of 20

5.0/ 5.0 Points

Which is not one of 3 basic structure when design an algorithm?


A.Sequence

B.Iteration

C.Selection

D.Repetition

Question 18 of 20

5.0/ 5.0 Points

Software that helps programmers prepare reports, draw flowcharts, and generate software code
for prototypes is a(n)
A.CLOC (computer licensed operations code) tool

B.CULP (combined users licensed protocols) tool

C.CAUSE (computer assisted Unix software environment) tool

D.CASE (computer aided software engineering) tool

Question 19 of 20

5.0/ 5.0 Points

Machine language is composed only of


A.0s and 1s

B.memory address toggles

C.keyword statements

D.hexadecimal numbers

Question 20 of 20

5.0/ 5.0 Points

"Which of the following is the appropriate basic structure in a flowchart for working out the sum
from 1 to 10 using the sequence below?
Assign the initial value 0 to x
Assign the initial value 1 to i
End when i is greater that 10
If i is 10 or smaller, add i to x, and substitute that value for x
Add 1 to i, and substitute that value for i
Return to "
A.a) Sequence structure

B.b) Selection structure

C.d) Repetition structure

D.c) Conditional branch

Part 1 of 1 -

65.0/ 100.0 Points

Code Design

Question 1 of 20

5.0/ 5.0 Points

Software that helps programmers prepare reports, draw flowcharts, and generate software code
for prototypes is a(n)
A.CAUSE (computer assisted Unix software environment) tool

B.CASE (computer aided software engineering) tool

C.CLOC (computer licensed operations code) tool

D.CULP (combined users licensed protocols) tool

Question 2 of 20

5.0/ 5.0 Points

The function f(x) has real arguments and returned values. Consider the procedure consisting of
steps 1 ~5 as shown below using this function. After starting execution and repeating the
procedure a sufficient number of times, y in step 3 stops changing. Which of the following
expressions holds at this point?
A.f(y)=0

B.f(y)=y

C.f(a)=y

D.f(y)=a

Question 3 of 20

0.0/ 5.0 Points

Which of the following statements describes the flowchart symbol shown below?

A.Indicates input and output of data

B.Indicates processing such as an operation

C.Indicates the start and end of a flowchart

D.Indicates the start and end of a loop

Question 4 of 20

5.0/ 5.0 Points

What can we do with the Circle symbol when drawing the flowchart to represent the algorithm?
A.Use it to represent a point at which the flowchart connects with another process. The
name or reference for the other process should appear within the symbol
B.Use it to represent a decision point in the process. Typically, the statement in the symbol
will require a `yes' or `no' response and branch to different parts of the flowchart accordingly
C.Use it to represent an event which is controlled within the process. Typically this will be
a step or action which is taken. In most flowcharts this will be the most frequently used symbol

D.Use it to represent an event which occurs automatically. Such an event will trigger a
subsequent action, for example `receive telephone call, or describe a new state of affairs.
Question 5 of 20

5.0/ 5.0 Points

Please select the best variable name for an employee's last name
A.empLstNm

B.empLastName

C.emplastname

D.lastNameOfTheEmployeeInQuestion

Question 6 of 20

0.0/ 5.0 Points

The flowchart below shows a binary search algorithm to find the index m of the array element
A(m), such that the equation A(m) = k holds, from the array elements A(1), A(2), , A(n)
already sorted in ascending order. In case of m= 0 at the end, there is no element such that the
equation A(m) = k holds. Which of the following is inserted in the process box X in the
flowchart? Here, the slash ( / ) indicates division that truncates all digits after the decimal point.

A.(x+ y) m

B.(x y) / 2 m

C.(y x) / 2 m

D.(x+ y) / 2 m

Question 7 of 20

5.0/ 5.0 Points

Which of the following refers to tools that are used to design, code, and test software?
A.CAD

B.CASE

C.OOP

D.XML

Question 8 of 20

5.0/ 5.0 Points

Which is not one of 3 basic structure when design an algorithm?


A.Repetition

B.Sequence

C.Selection

D.Iteration

Question 9 of 20

5.0/ 5.0 Points

OOP languages use


A.combinations of objects

B.natural and nonprocedural statements

C.abbreviations and mnemonic

D.binary coded instructions

Question 10 of 20

0.0/ 5.0 Points

What is incorrect function of the parameter using in communicating between modules?


A."To pass information from a subordinate module to its calling module

"
B.To store the reference data

C.Tofulfil a two-way communication role

D."To pass information from a calling module to a subordinate module


"
Question 11 of 20

5.0/ 5.0 Points

When the expression 1-1/x+1/x^2 -1/x^3 +1/x^4 -1/x^n is calculated, which of the following
should be inserted in the process box in the flowchart shown below?

A.d)

B.a)

C.c)

D.b)

Question 12 of 20

5.0/ 5.0 Points

An IF-THEN-ELSE statement is part of the __________ structure


A.sequence

B.loop

C.conditional

D.selection

Question 13 of 20

0.0/ 5.0 Points

"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.Selection

B.Sequence

C.Repetition

D.Subprogram

Question 14 of 20

0.0/ 5.0 Points

"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=4, B=0), (A=8, B=0)

C.(A=3, B=2), (A=8, B=0)

D.(A=7, B=0), (A=8, B=2)

Question 15 of 20

5.0/ 5.0 Points

The programming tool that uses linked symbols to show the sequence of steps needed to solve a
programming problem
A.grid table

B.algorithm

C.pseudocode

D.flowchart

Question 16 of 20

What is an example of the information-receiving operation of a computer?


A.Read (information from a file)

B.Giving data an initial value: Initialize, Set

C.Write (information to a file)

D.Use actual mathematical symbols or the words for the symbols (+, -, *, /)

Question 17 of 20

0.0/ 5.0 Points

When a program whose functions are as shown in the flowchart in the Figure 1 was executed
when the contents of array A were as given in Figure 2, array B, whose contents are shown in the
Figure 3, was produced. Which operation should be filled in a of Figure 1? Here, the element of
arrays A and B are represented by A(i, j) and B(i, j), respectively.
A.A (i,j) --> B (7-j, i)

B.A (i,j) --> B (i, 7-j)

C.A (i,j) --> B (7-i, 7-j)

D.A (i,j) --> B (j, 7-i)

Question 18 of 20

5.0/ 5.0 Points

________ language is made up only of binary digits


A.Machine

B.Natural

C.Assembly

D.Procedural

Question 19 of 20

5.0/ 5.0 Points

A program error that violates the grammar rules of the programming language is a(n) _______
error
A.modular

B.logic

C.language

D.syntax

Question 20 of 20

5.0/ 5.0 Points

In a(n) __________ structure, one statement follows the other with no conditions having to be
met.

A.selection

B.loop

C.sequence

D.conditional

Part 1 of 1 -

85.0/ 100.0 Points

Code Design

Question 1 of 20

5.0/ 5.0 Points

As much as __________ percent of the total lifetime cost for an application program is for
maintenance
A.60%

B.75%

C.50%

D.40%

Question 2 of 20

5.0/ 5.0 Points

When a program repeats a portion of software code as long as a certain condition doesnt exist,
its using a(n) _______ structure
A.do while

B.what-if

C.do until

D.if-then-else

Question 3 of 20

5.0/ 5.0 Points

Machine language is composed only of


A.0s and 1s

B.keyword statements

C.hexadecimal numbers

D.memory address toggles

Question 4 of 20

0.0/ 5.0 Points

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 is not in the array, k is set to 1.

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 1.
D.If the same value as X exists in two places of the array, the 1st and N-th elements, k is
set to N.
Question 5 of 20

"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.Selection

5.0/ 5.0 Points

B.Sequence

C.Repetition

D.Subprogram

Question 6 of 20

5.0/ 5.0 Points

What is an example of the information-receiving operation of a computer?


A.Read (information from a file)

B.Giving data an initial value: Initialize, Set

C.Write (information to a file)

D.Use actual mathematical symbols or the words for the symbols (+, -, *, /)

Question 7 of 20

5.0/ 5.0 Points

Which of the following flowcharts illustrates a while repetition structure in the control
structure of programs?

A.Image d)

B.Image c)

C.Image a)

D.Image b)

Question 8 of 20

0.0/ 5.0 Points

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.Variables and expressions that are passed to a submodule in a particular call are called
formal parameters

C.Formal parameters are the one that appear when a submodule is defined

D.Value parameter pass the memory address of a parameter from one module to another

Question 9 of 20

5.0/ 5.0 Points

What can we do with the Circle symbol when drawing the flowchart to represent the algorithm?
A.Use it to represent a point at which the flowchart connects with another process. The
name or reference for the other process should appear within the symbol
B.Use it to represent a decision point in the process. Typically, the statement in the symbol
will require a `yes' or `no' response and branch to different parts of the flowchart accordingly
C.Use it to represent an event which is controlled within the process. Typically this will be
a step or action which is taken. In most flowcharts this will be the most frequently used symbol
D.Use it to represent an event which occurs automatically. Such an event will trigger a
subsequent action, for example `receive telephone call, or describe a new state of affairs.
Question 10 of 20

5.0/ 5.0 Points

An IF-THEN-ELSE statement is part of the __________ structure


A.sequence

B.loop

C.conditional

D.selection

Question 11 of 20

5.0/ 5.0 Points

When the expression 1-1/x+1/x^2 -1/x^3 +1/x^4 -1/x^n is calculated, which of the following
should be inserted in the process box in the flowchart shown below?

A.d)

B.a)

C.c)

D.b)

Question 12 of 20

OOP languages use


A.combinations of objects

5.0/ 5.0 Points

B.natural and nonprocedural statements

C.abbreviations and mnemonic

D.binary coded instructions

Question 13 of 20

0.0/ 5.0 Points

Which of the following is the correct result produced by executing the program shown below?
Here, the parameter x is called by value, and the parameter y is called by reference.
A.a= 7, b= 5

B.a= 2, b= 3

C.a= 2, b= 5

D.a= 7, b= 3

Question 14 of 20

5.0/ 5.0 Points

Flowcharts and pseudocode are examples of tools used in the program __________ phase.
A.design

B.test

C.code

D.specification

Question 15 of 20

5.0/ 5.0 Points

Which of the following is not necessary for a good program?


A.catches common errors

B.well-documented

C.colorful graphics

D.reliability

Question 16 of 20

5.0/ 5.0 Points

________ language is made up only of binary digits


A.Machine

B.Natural

C.Assembly

D.Procedural

Question 17 of 20

5.0/ 5.0 Points

The programming tool that uses linked symbols to show the sequence of steps needed to solve a
programming problem

A.grid table

B.algorithm

C.pseudocode

D.flowchart

Question 18 of 20

5.0/ 5.0 Points

A program error that violates the grammar rules of the programming language is a(n) _______
error
A.modular

B.logic

C.language

D.syntax

Question 19 of 20

Please select the best variable name for an employee's last name
A.empLstNm

B.empLastName

C.emplastname

D.lastNameOfTheEmployeeInQuestion

5.0/ 5.0 Points

5.0/ 5.0 Points

Question 20 of 20

"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=4, B=0), (A=8, B=0)

C.(A=3, B=2), (A=8, B=0)

D.(A=7, B=0), (A=8, B=2)

____HCMUT_013_CSD_02_Quiz1_Code Design
Return to Assessment List
Part 1 of 1 Code Design

95.0/ 100.0 Points

Question 1 of 20

5.0/ 5.0 Points

What can we do with the Circle symbol when drawing the flowchart to represent the algorithm?
A.Use it to represent a decision point in the process. Typically, the statement in the symbol
will require a `yes' or `no' response and branch to different parts of the flowchart accordingly
B.Use it to represent an event which occurs automatically. Such an event will trigger a
subsequent action, for example `receive telephone call, or describe a new state of affairs.
C.Use it to represent a point at which the flowchart connects with another process. The
name or reference for the other process should appear within the symbol
D.Use it to represent an event which is controlled within the process. Typically this will be
a step or action which is taken. In most flowcharts this will be the most frequently used symbol

Question 2 of 20

5.0/ 5.0 Points

"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=4, B=0), (A=8, B=0)

C.(A=3, B=2), (A=8, B=0)

D.(A=7, B=0), (A=8, B=2)

Question 3 of 20

5.0/ 5.0 Points

An IF-THEN-ELSE statement is part of the __________ structure


A.loop

B.selection

C.sequence

D.conditional

Question 4 of 20

5.0/ 5.0 Points

A(n) __________ error could be the result of the programmer making an incorrect calculation
A.syntax

B.logic

C.general protection

D.breakpoint

Question 5 of 20

5.0/ 5.0 Points

When a program repeats a portion of software code as long as a certain condition doesnt exist,
its using a(n) _______ structure
A.do until

B.do while

C.what-if

D.if-then-else

Question 6 of 20

5.0/ 5.0 Points

Which of the following statements describes the flowchart symbol shown below?

A.Indicates the start and end of a flowchart

B.Indicates processing such as an operation

C.Indicates the start and end of a loop

D.Indicates input and output of data

0.0/ 5.0 Points


Question 7 of 20

The control structure used to perform a series of statements one after the other is called
A.random

B.loop

C.sequential

D.selection

Question 8 of 20

5.0/ 5.0 Points

The flowchart below shows a binary search algorithm to find the index m of the array element
A(m), such that the equation A(m) = k holds, from the array elements A(1), A(2), , A(n)
already sorted in ascending order. In case of m= 0 at the end, there is no element such that the
equation A(m) = k holds. Which of the following is inserted in the process box X in the
flowchart? Here, the slash ( / ) indicates division that truncates all digits after the decimal point.

A.(y x) / 2 m

B.(x+ y) / 2 m

C.(x+ y) m

D.(x y) / 2 m

Question 9 of 20

5.0/ 5.0 Points

Flowcharts and pseudocode are examples of tools used in the program __________ phase.
A.code

B.design

C.test

D.specification

Question 10 of 20

5.0/ 5.0 Points

Which of the following is the correct result produced by executing the program shown below?
Here, the parameter x is called by value, and the parameter y is called by reference.
A.a= 2, b= 5

B.a= 7, b= 5

C.a= 2, b= 3

D.a= 7, b= 3

Question 11 of 20

5.0/ 5.0 Points

Which of the following variable name is the most retable and maintainable
A.employeeLastName

B.emlstnam

C.last name

D.lastNameOfTheEmployeeInQuestion

Question 12 of 20

5.0/ 5.0 Points

Which of the following flowcharts illustrates a while repetition structure in the control
structure of programs?

A.Image c)

B.Image b)

C.Image a)

D.Image d)

Question 13 of 20

5.0/ 5.0 Points

There are two important operations on a stack: PUSH and POP. PUSH adds the new data to the
top of the stack leaving previous data below, and POP removes and returns the current top data
of the stack. When the operations shown below are sequentially executed, which of the
following is the correct combination of the values x and y? Here, the size of the stack is big
enough to hold the entire data. PUSH(a) inserts the data a into the stack, and POP(b)
removes the data b from the stack.

[Operations] PUSH (5); PUSH (3); PUSH (6); PUSH (1); x= POP ( ); PUSH (7); y= POP ( );
A.x=1, y=6

B.x=1, y=7

C.x=5, y=7

D.x=5, y=3

Question 14 of 20

5.0/ 5.0 Points

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.Tofulfil a two-way communication role

D."To pass information from a calling module to a subordinate module


"

Question 15 of 20

5.0/ 5.0 Points

Please select one item which is not a guide when writing pseudo code
A.Structural elements might come separately

B.The names of subprograms are underlined

C.Indenting is used to show structure in the algorithm

D.Keywords are written in CAPITALS

Question 16 of 20

5.0/ 5.0 Points

In a(n) __________ structure, one statement follows the other with no conditions having to be
met.
A.sequence

B.loop

C.selection

D.conditional

Question 17 of 20

5.0/ 5.0 Points

"Which of the following is the appropriate basic structure in a flowchart for working out the sum
from 1 to 10 using the sequence below?
Assign the initial value 0 to x
Assign the initial value 1 to i
End when i is greater that 10
If i is 10 or smaller, add i to x, and substitute that value for x
Add 1 to i, and substitute that value for i
Return to "
A.c) Conditional branch

B.a) Sequence structure

C.d) Repetition structure

D.b) Selection structure

Question 18 of 20

5.0/ 5.0 Points

________ language is made up only of binary digits


A.Machine

B.Assembly

C.Procedural

D.Natural

Question 19 of 20

5.0/ 5.0 Points

Which of the following is not necessary for a good program?


A.reliability

B.colorful graphics

C.catches common errors

D.well-documented

Question 20 of 20

5.0/ 5.0 Points

__________ refers to testing by a select group of potential users in the final stage of testing a
program
A.Beta testing

B.Manual testing

C.Desk checking

D.Attempt at translation

Part 1 of 1 -

100.0/ 100.0 Points

Code Design

Question 1 of 20

5.0/ 5.0 Points

The following figure is one example of binary-selection structure. Is that correct?

True

False

Question 2 of 20

5.0/ 5.0 Points

As much as __________ percent of the total lifetime cost for an application program
is for maintenance

A.50%

B.75%

C.60%

D.40%

Question 3 of 20

5.0/ 5.0 Points

Which of the following statements describes the flowchart symbol shown below?

A.Indicates the start and end of a loop

B.Indicates processing such as an operation

C.Indicates input and output of data

D.Indicates the start and end of a flowchart

Question 4 of 20

5.0/ 5.0 Points

The __________ structure involves repeating a sequence until a condition is met.

A.conditional

B.loop

C.sequence

D.selection

Question 5 of 20
In below definitions on the global data, which one is incorrect?

5.0/ 5.0 Points

A.Variables which are defined within the sub module

B.Every module in the program can access and change data

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 6 of 20

5.0/ 5.0 Points

What are the three control structures for creating programs in structured
programming?

A.Repetition, sequence, and selection

B.Recursion, sequence, and selection

C.Repetition, recursion and sequence

D.Repetition, recursion, and selection

Question 7 of 20

5.0/ 5.0 Points

Which item is not a recommendation when writing pseudo codes?

A.Each set of instructions is written from top to bottom, with only one entry
and one exit
B.Try to keep each instruction/step as short as possible

C.Keywords and indentation are used to signify particular control structures

D.Each instruction/step is written on a separate line

Question 8 of 20

5.0/ 5.0 Points

When a program repeats a portion of software code as long as a certain condition


doesnt exist, its using a(n) _______ structure

A.do until

B.what-if

C.if-then-else

D.do while

Question 9 of 20

5.0/ 5.0 Points

Which of the following flowcharts illustrates a while repetition structure in the


control structure of programs?

A.Image d)

B.Image c)

C.Image b)

D.Image a)

Question 10 of 20

5.0/ 5.0 Points

Which of the following lines of code comes from a first generation computer
language?

A.00010 1010 1101 0001 1010

B.this Total=TotalA + TotalC

C.set total to sum of totals

D.ADD255(3,10),02B(4,5)

Question 11 of 20

5.0/ 5.0 Points

The programs processing steps are grouped into logically-related programming

statements called

A.unit

B.object

C.component

D.Module

Question 12 of 20

5.0/ 5.0 Points

A program error that violates the grammar rules of the programming language is
a(n) _______ error

A.language

B.logic

C.modular

D.syntax

Question 13 of 20

5.0/ 5.0 Points

What can we do with the Circle symbol when drawing the flowchart to represent the
algorithm?

A.Use it to represent an event which occurs automatically. Such an event will


trigger a subsequent action, for example `receive telephone call, or describe a
new state of affairs.
B.Use it to represent a point at which the flowchart connects with another
process. The name or reference for the other process should appear within the
symbol
C.Use it to represent a decision point in the process. Typically, the statement
in the symbol will require a `yes' or `no' response and branch to different parts of
the flowchart accordingly
D.Use it to represent an event which is controlled within the process. Typically
this will be a step or action which is taken. In most flowcharts this will be the most
frequently used symbol

Question 14 of 20

5.0/ 5.0 Points

The programming tool that uses linked symbols to show the sequence of steps
needed to solve a programming problem

A.pseudocode

B.algorithm

C.grid table

D.flowchart

Question 15 of 20

5.0/ 5.0 Points

What is an example of the information-receiving operation of a computer?

A.Read (information from a file)

B.Write (information to a file)

C.Use actual mathematical symbols or the words for the symbols (+, -, *, /)

D.Giving data an initial value: Initialize, Set

Question 16 of 20

5.0/ 5.0 Points

Please choose correct definition of the module parameters

A.Value parameter pass the memory address 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.Reference parameters pass a copy of the value of a parameter from one
module to another

Question 17 of 20

5.0/ 5.0 Points

When develop the outline into an algorithm, which tools can we use to represent
the solution algorithm?

A. Flowchart

B. Pseudo code

C. Sequence diagram

Question 18 of 20

5.0/ 5.0 Points

When a program whose functions are as shown in the flowchart in the Figure 1 was
executed when the contents of array A were as given in Figure 2, array B, whose
contents are shown in the Figure 3, was produced. Which operation should be filled
in a of Figure 1? Here, the element of arrays A and B are represented by A(i, j) and
B(i, j), respectively.

A.A (i,j) --> B (i, 7-j)

B.A (i,j) --> B (7-j, i)

C.A (i,j) --> B (j, 7-i)

D.A (i,j) --> B (7-i, 7-j)

Question 19 of 20

5.0/ 5.0 Points

Please select the best variable name for an employee's last name

A.empLstNm

B.empLastName

C.emplastname

D.lastNameOfTheEmployeeInQuestion

Question 20 of 20

5.0/ 5.0 Points

What is incorrect function of the parameter using in communicating between


modules?

A.Tofulfil a two-way communication role

B."To pass information from a calling module to a subordinate module


"

C.To store the reference data

D."To pass information from a subordinate module to its calling module


"

Question 16 of 20

5.0/ 5.0 Points

As much as __________ percent of the total lifetime cost for an application program is for maintenance

A.75%

B.60%

C.40%

D.50%

Question 1 of 20
Coding conventions l ti liu bt buc phi c trong tt c cc d n phn mm

True

0.0/ 5.0 Points

False

Question 2 of 20
Input ca giai on Plan cho Coding bao gm nhng sn phm no sau y?

3.33/ 5.0 Points

A. Project Plan

B. Design documents

C. Customer requirements

D. CM plan

3.33/ 5.0 Points

Question 3 of 20
Input ca giai on Create System Description/User Manual bao gm nhng sn phm no sau y?

A. URD

B. Design

C. SRS

D. Software Package

3.33/ 5.0 Points

Question 4 of 20
Ti liu Checklist_Code Review ca Fsoft a ra cc trng hp cn review code v chia lm nhng
phn chnh sau y:

A. "Source code
(Lin quan n ni dung cc dng lnh, hm...)"
B. "General

(Lin quan n cc vn thng gp trong khi reivew code)"


C. "Exception
(Lin quan n exception)"
D. "Commenting
(Lin quan n cc trng hp phi comment cho source code)"
Question 5 of 20
The actual writing of a program in a programming language is called

5.0/ 5.0 Points

A.logic structure

B.program design

C.coding

D.language translation

5.0/ 5.0 Points

Question 6 of 20
"Hy chn cch phng trnh li sau y:
The logic of date is not checked, user can type Start date greater than End date, or From date is greater
than To date"

A.Use CSS Style Sheet and GUI template

B.Optimize design, code

C.Use checklist

D.Use tool to test

Question 7 of 20

5.0/ 5.0 Points

"Given below code block:


if (x == 0)
if (y == 0) error();
else {
z = x + y;
}
With the input value of [x, y, z] = [1, 2, 4], which value the variable z would be after executing above
codes?"

A.2

B.4

C.5

D.3

Question 8 of 20
Benefits ca Peer Review Code bao gm:

3.33/ 5.0 Points

A. Fewer bugs

B. Team cohesiveness

C. Peer reviews provide the distance needed to solve every problems

D. Peer reviews provide the distance needed to recognize problems

5.0/ 5.0 Points

Question 9 of 20
Program objectives, desired outputs, needed inputs, and processing requirements are all recorded in the

A.program tracking log

B.project management database

C.program specifications document

D.management information system

Question 10 of 20
Code conventions are important to programmers, because:

3.75/ 5.0 Points

A. Hardly any software is maintained for its whole life by the original author.

B. Code conventions improve the readability of the software, allowing engineers to


understand new code more quickly and thoroughly
C. 80% of the lifetime cost of a piece of software goes to maintenance

D. If you ship your source code as a product, you need to make sure it is as well packaged
and clean as any other product you create
Question 11 of 20
Following Fsoft standard coding conventions, which naming convention is not correct?

5.0/ 5.0 Points

A.Avoid names that are similar or differ only in case

B.Method name must start with upper case letter and use an 'active verb'

C.Use a noun or noun phrase to name a class or code module

D.Variables names must start with lowercase

Question 12 of 20
"Please choose correct order of the following activities in coding process:
(1) Create System Description
(2) Code Planning
(3) Code Library Modules

0.0/ 5.0 Points

(4) Code Functional Modules"

A.2-3-4-1

B.1-2-4-3

C.2-4-3-1

D.1-2-3-4

Question 13 of 20
Challenges ca Peer Review Code bao gm

3.33/ 5.0 Points

A. It is hard to improve peer review code process after many time reviewing

B. Some peer reviews take a long time

C. Reading unfamiliar code and correlating that code to unfamiliar documentation takes
programmers away from coding
D. If team members are not familiar with peer reviews, the experience can be frustrating
for all participants
Question 14 of 20
Output ca giai on Plan cho Coding bao gm nhng sn phm no sau y?

A. Coding Convention

B. Coding Plan

C. Review Report

0.0/ 5.0 Points

D. System Description

0.0/ 5.0 Points

Question 15 of 20
Following Fsoft standard coding conventions, you are recommended to avoid tab characters?

True
False

Question 16 of 20
The actual coding of a program is done by a(n)

5.0/ 5.0 Points

A.database administrator

B.end-user

C.software engineer

D.systems analyst

Question 17 of 20
"Please choose correct order of the following code review activities
(1) Prepare for review
(2) Conduct Review
(3) Rework and Follow up
(4) Evaluate review results"

A.1-3-4-2

B.1-2-3-4

C.1-2-4-3

D.1-3-2-4

5.0/ 5.0 Points

Question 18 of 20
Benefits ca Peer Review Code bao gm:

2.5/ 5.0 Points

A. Improved communication

B. Find many bugs

C. Less rework

D. Developers have changes to do many works in project

5.0/ 5.0 Points

Question 19 of 20
Developer to perform the self review while s/he is coding to reach which of the following targets?

A. The application input data is correct

B. General programming practices are applied

C. Requirement logics are implemented correctly

D. No coding conventions or common defects existed

Question 20 of 20
The information software produces after it has processed the input is called

A.flowchart

B.output

C.objective

5.0/ 5.0 Points

D.prototype

____HCMUT_013_CSD_02_Quiz2_Coding Proces
Return to Assessment List
Part 1 of 1 Coding Process

56.67/ 100.0 Points

Question 1 of 20

0.0/ 5.0 Points

Tt c cc d n phn mm trn th gii phi s dng chung cc coding conventions cho d n


mnh.
True
False

Question 2 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, you are recommended to avoid tab characters?
True
False

Question 3 of 20

Benefits ca Peer Review Code bao gm:


A. Less rework

0.0/ 5.0 Points

B. Developers have changes to do many works in project

C. Find many bugs

D. Improved communication

Question 4 of 20

1.25/ 5.0 Points

Input ca giai on Coding Library Modules bao gm nhng sn phm no sau y?


A. Coding Plan

B. Coding Infrastructure has been setup

C. Coding Conventions

D. Designs

Question 5 of 20

5.0/ 5.0 Points

"Hy chn cch phng trnh li sau y:


The logic of date is not checked, user can type Start date greater than End date, or From date is
greater than To date"
A.Optimize design, code

B.Use tool to test

C.Use CSS Style Sheet and GUI template

D.Use checklist

5.0/ 5.0 Points

Question 6 of 20

Ti liu Checklist_Code Review ca Fsoft a ra cc trng hp cn review code v chia lm


nhng phn chnh sau y:
A. "Source code
(Lin quan n ni dung cc dng lnh, hm...)"
B. "Exception
(Lin quan n exception)"
C. "General
(Lin quan n cc vn thng gp trong khi reivew code)"
D. "Commenting
(Lin quan n cc trng hp phi comment cho source code)"

Question 7 of 20

5.0/ 5.0 Points

Eliminating errors in a program is also called ______ the program


A.debugging

B.clarifying

C.modularizing

D.coding

Question 8 of 20

1.25/ 5.0 Points

Input ca giai on Coding Functional Modules bao gm nhng sn phm no sau y?

A. Coding Plan

B. Coding Conventions

C. Coding Infrastructure has been setup

D. Designs

Question 9 of 20

5.0/ 5.0 Points

Challenges ca Peer Review Code bao gm


A. It is hard to improve peer review code process after many time reviewing

B. Some peer reviews take a long time

C. If team members are not familiar with peer reviews, the experience can be frustrating
for all participants
D. Reading unfamiliar code and correlating that code to unfamiliar documentation takes
programmers away from coding

Question 10 of 20

0.0/ 5.0 Points

"Given below code block:


if (x == 0)
if (y == 0) error();
else {
z = x + y;
}
With the input value of [x, y, z] = [1, 2, 4], which value the variable z would be after executing
above codes?"

A.2

B.3

C.4

D.5

Question 11 of 20

0.0/ 5.0 Points

A(n) __________ is a list of instructions detailing the steps needed to perform a task.
A.punch card

B.program

C.agenda

D.plan

Question 12 of 20

2.5/ 5.0 Points

Output ca giai on Plan cho Coding bao gm nhng sn phm no sau y?


A. Coding Plan

B. System Description

C. Coding Convention

D. Review Report

Question 13 of 20

5.0/ 5.0 Points

The actual writing of a program in a programming language is called


A.language translation

B.coding

C.program design

D.logic structure

Question 14 of 20

3.33/ 5.0 Points

Benefits ca Peer Review Code bao gm:


A. Peer reviews provide the distance needed to recognize problems

B. Fewer bugs

C. Team cohesiveness

D. Peer reviews provide the distance needed to solve every problems

Question 15 of 20

0.0/ 5.0 Points

Coding conventions l ti liu bt buc phi c trong tt c cc d n phn mm


True

False

Question 16 of 20

1.67/ 5.0 Points

Common coding conventions may cover the following areas:


A. Error conventions

B. Naming conventions

C. Programming practices

D. Comment conventions

Question 17 of 20

1.67/ 5.0 Points

Input ca giai on Plan cho Coding bao gm nhng sn phm no sau y?


A. Design documents

B. Project Plan

C. Customer requirements

D. CM plan

Question 18 of 20

5.0/ 5.0 Points

Nu khng coding theo ng coding conventions, phn mm to ra c th c nhiu li


True

False

Question 19 of 20

5.0/ 5.0 Points

Developer to perform the self review while s/he is coding to reach which of the following
targets?
A. The application input data is correct

B. General programming practices are applied

C. No coding conventions or common defects existed

D. Requirement logics are implemented correctly

Question 20 of 20

5.0/ 5.0 Points

"Please choose correct order of the following activities in coding process:


(1) Create System Description
(2) Code Planning
(3) Code Library Modules
(4) Code Functional Modules"
A.2-3-4-1

B.1-2-3-4

C.2-4-3-1

D.1-2-4-3

Part 1 of 1 -

95.83/ 100.0 Points

Coding Process

Question 1 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, how many space should be used as
the unit of identation?

A.4

B.3

C.1

D.2

Question 2 of 20

5.0/ 5.0 Points

Coding conventions l ti liu bt buc phi c trong tt c cc d n phn mm

True

False

Question 3 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, two blank lines should be used in
which case(s) among following cases?

A.Before a block or single-line comment

B.Between methods

C.Between logical sections inside a method

D.Between sections of a source file

Question 4 of 20

2.5/ 5.0 Points

Input ca giai on Coding Library Modules bao gm nhng sn phm no sau


y?

A. Coding Infrastructure has been setup

B. Coding Conventions

C. Coding Plan

D. Designs

Question 5 of 20

5.0/ 5.0 Points

"Given below code block:


if (x == 0)
if (y == 0) error();
else {
z = x + y;
}
With the input value of [x, y, z] = [1, 2, 4], which value the variable z would be after
executing above codes?"

A.2

B.4

C.5

D.3

Question 6 of 20

5.0/ 5.0 Points

"Hy chn cch phng trnh li sau y:


The logic of date is not checked, user can type Start date greater than End date, or
From date is greater than To date"

A.Use CSS Style Sheet and GUI template

B.Optimize design, code

C.Use checklist

D.Use tool to test

Question 7 of 20

5.0/ 5.0 Points

Developer to perform the self review while s/he is coding to reach which of the
following targets?

A. The application input data is correct

B. General programming practices are applied

C. Requirement logics are implemented correctly

D. No coding conventions or common defects existed

Question 8 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, you are recommended to avoid tab
characters?

True

False

Question 9 of 20

5.0/ 5.0 Points

The actual writing of a program in a programming language is called

A.logic structure

B.program design

C.coding

D.language translation

Question 10 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, which naming convention is not

correct?

A.Avoid names that are similar or differ only in case

B.Method name must start with upper case letter and use an 'active verb'

C.Use a noun or noun phrase to name a class or code module

D.Variables names must start with lowercase

Question 11 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, when an expression will not fit on a
single line, break it according to which of below principles?

A. Break after a comma

B. Break after a logical operator.

C. Break after a number

D. Break after an operator

Question 12 of 20

5.0/ 5.0 Points

Benefits ca Peer Review Code bao gm:

A. Improved communication

B. Find many bugs

C. Less rework

D. Developers have changes to do many works in project

Question 13 of 20
Common coding conventions may cover the following areas:

A. Error conventions

B. Comment conventions

5.0/ 5.0 Points

C. Programming practices

D. Naming conventions

Question 14 of 20

5.0/ 5.0 Points

Output ca giai on Integrate Software Modules bao gm nhng sn phm no sau


y?

A.User Manual

B.Coding Summary Report

C.System Description

D.Integrated Software Package

Question 15 of 20

5.0/ 5.0 Points

A(n) __________ is a list of instructions detailing the steps needed to perform a task.

A.plan

B.program

C.agenda

D.punch card

Question 16 of 20

3.33/ 5.0 Points

Input ca giai on Create System Description/User Manual bao gm nhng sn


phm no sau y?

A. URD

B. Design

C. SRS

D. Software Package

Question 17 of 20

5.0/ 5.0 Points

Eliminating errors in a program is also called ______ the program

A.modularizing

B.debugging

C.clarifying

D.coding

Question 18 of 20

5.0/ 5.0 Points

Challenges ca Peer Review Code bao gm

A. It is hard to improve peer review code process after many time reviewing

B. Some peer reviews take a long time

C. Reading unfamiliar code and correlating that code to unfamiliar


documentation takes programmers away from coding

D. If team members are not familiar with peer reviews, the experience can be
frustrating for all participants

Question 19 of 20

5.0/ 5.0 Points

"Please choose correct order of the following code review activities


(1) Prepare for review
(2) Conduct Review
(3) Rework and Follow up
(4) Evaluate review results"

A.1-3-4-2

B.1-2-3-4

C.1-2-4-3

D.1-3-2-4

Question 20 of 20

5.0/ 5.0 Points

Tt c cc d n phn mm trn th gii phi s dng chung cc coding


conventions cho d n mnh.

True

False

Question 1 of 20

5.0/ 5.0 Points

The information software produces after it has processed the input is called

A.prototype

B.flowchart

C.output

D.objective

Question 2 of 20

5.0/ 5.0 Points

Developer to perform the self review while s/he is coding to reach which of the following targets?

A. General programming practices are applied

B. Requirement logics are implemented correctly

C. The application input data is correct

D. No coding conventions or common defects existed

Question 3 of 20

5.0/ 5.0 Points

Challenges ca Peer Review Code bao gm

A. It is hard to improve peer review code process after many time reviewing

B. If team members are not familiar with peer reviews, the experience can be
frustrating for all participants
C. Some peer reviews take a long time

D. Reading unfamiliar code and correlating that code to unfamiliar


documentation takes programmers away from coding

Question 4 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, two blank lines should be used in which case(s) among

following cases?

A.Between logical sections inside a method

B.Between sections of a source file

C.Before a block or single-line comment

D.Between methods

Question 5 of 20
A(n) __________ is a list of instructions detailing the steps needed to perform a task.

A.punch card

B.agenda

C.plan

D.program

5.0/ 5.0 Points

Question 6 of 20

5.0/ 5.0 Points

Tt c cc d n phn mm trn th gii phi s dng chung cc coding conventions cho d n mnh.

True

False

Question 7 of 20

5.0/ 5.0 Points

The information that a program requires in order to accomplish its objective is called the

A.Data

B.effort

C.input

D.contribution

Question 8 of 20
Eliminating errors in a program is also called ______ the program

5.0/ 5.0 Points

A.modularizing

B.coding

C.debugging

D.clarifying

Question 9 of 20

5.0/ 5.0 Points

Nu khng coding theo ng coding conventions, phn mm to ra c th c nhiu li

True

False

Question 10 of 20
Following Fsoft standard coding conventions, which naming convention is not correct?

A.Avoid names that are similar or differ only in case

5.0/ 5.0 Points

B.Method name must start with upper case letter and use an 'active verb'

C.Variables names must start with lowercase

D.Use a noun or noun phrase to name a class or code module

Question 11 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, how many space should be used as the unit of identation?

A.1

B.2

C.4

D.3

Question 12 of 20

5.0/ 5.0 Points

In programming, _______ are explanations that tell other programmers whats happening in the software
code

A.table

B.documentation

C.selections

D.restrictions

Question 13 of 20
"Please choose correct order of the following code review activities
(1) Prepare for review
(2) Conduct Review
(3) Rework and Follow up
(4) Evaluate review results"

A.1-2-4-3

B.1-3-4-2

C.1-2-3-4

5.0/ 5.0 Points

D.1-3-2-4

Question 14 of 20

5.0/ 5.0 Points

Ti liu Checklist_Code Review ca Fsoft a ra cc trng hp cn review code v chia lm nhng


phn chnh sau y:

A. "General
(Lin quan n cc vn thng gp trong khi reivew code)"
B. "Commenting
(Lin quan n cc trng hp phi comment cho source code)"
C. "Source code
(Lin quan n ni dung cc dng lnh, hm...)"
D. "Exception
(Lin quan n exception)"

Question 15 of 20

5.0/ 5.0 Points

Program objectives, desired outputs, needed inputs, and processing requirements are all recorded in the

A.program specifications document

B.program tracking log

C.management information system

D.project management database

Question 16 of 20

5.0/ 5.0 Points

Nhng iu g nn lm t chc peer review code c tt hn?

A. Be careful with the scope of the review

B. Write everything down, especially decisions and action items

C. "Ask yourself these question: Which review comments must be


addressed before proceeding in the life cycle? What are valid reasons
for missing a review? Who can cancel a review? "
D. Dont take the criticism personally and offer only technical advice that will
improve the code. Respect others opinions, comments, and suggestions

Question 17 of 20
Common coding conventions may cover the following areas:

5.0/ 5.0 Points

A. Error conventions

B. Comment conventions

C. Naming conventions

D. Programming practices

Question 18 of 20

5.0/ 5.0 Points

The actual coding of a program is done by a(n)

Part 1 of 1 Coding Process

87.08/ 100.0 Points

Question 1 of 20

5.0/ 5.0 Points

Coding conventions l ti liu bt buc phi c trong tt c cc d n phn mm

True

False

Question 2 of 20

5.0/ 5.0 Points

"Please choose correct order of the following activities in coding process:


(1) Create System Description
(2) Code Planning
(3) Code Library Modules
(4) Code Functional Modules"

A.1-2-3-4

B.1-2-4-3

C.2-4-3-1

D.2-3-4-1

Question 3 of 20

5.0/ 5.0 Points

"Please choose correct order of the following code review activities


(1) Prepare for review
(2) Conduct Review
(3) Rework and Follow up
(4) Evaluate review results"

A.1-2-4-3

B.1-3-4-2

C.1-2-3-4

D.1-3-2-4

Question 4 of 20

1.67/ 5.0 Points

Input ca giai on Create System Description/User Manual bao gm nhng sn


phm no sau y?

A. URD

B. SRS

C. Design

D. Software Package

Question 5 of 20

5.0/ 5.0 Points

The information software produces after it has processed the input is called

A.prototype

B.flowchart

C.output

D.objective

Question 6 of 20

5.0/ 5.0 Points

Nu khng coding theo ng coding conventions, phn mm to ra c th c nhiu


li

True

False

Question 7 of 20

5.0/ 5.0 Points

The actual writing of a program in a programming language is called

A.logic structure

B.program design

C.coding

D.language translation

Question 8 of 20

5.0/ 5.0 Points

Developer to perform the self review while s/he is coding to reach which of the
following targets?

A. General programming practices are applied

B. Requirement logics are implemented correctly

C. The application input data is correct

D. No coding conventions or common defects existed

Question 9 of 20

5.0/ 5.0 Points

In programming, _______ are explanations that tell other programmers whats


happening in the software code

A.table

B.documentation

C.selections

D.restrictions

Question 10 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, which naming convention is not


correct?

A.Avoid names that are similar or differ only in case

B.Method name must start with upper case letter and use an 'active verb'

C.Variables names must start with lowercase

D.Use a noun or noun phrase to name a class or code module

Question 11 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, when an expression will not fit on a
single line, break it according to which of below principles?

A. Break after an operator

B. Break after a number

C. Break after a logical operator.

D. Break after a comma

Question 12 of 20

5.0/ 5.0 Points

Benefits ca Peer Review Code bao gm:

A. Peer reviews provide the distance needed to solve every problems

B. Fewer bugs

C. Peer reviews provide the distance needed to recognize problems

D. Team cohesiveness

Question 13 of 20

1.67/ 5.0 Points

Input ca giai on Plan cho Coding bao gm nhng sn phm no sau y?

A. Customer requirements

B. CM plan

C. Design documents

D. Project Plan

Question 14 of 20

5.0/ 5.0 Points

Common coding conventions may cover the following areas:

A. Error conventions

B. Comment conventions

C. Naming conventions

D. Programming practices

Question 15 of 20
Benefits ca Peer Review Code bao gm:

A. Improved communication

B. Find many bugs

C. Less rework

5.0/ 5.0 Points

D. Developers have changes to do many works in project

Question 16 of 20

3.75/ 5.0 Points

Input ca giai on Coding Functional Modules bao gm nhng sn phm no sau


y?

A. Coding Infrastructure has been setup

B. Coding Conventions

C. Coding Plan

D. Designs

Question 17 of 20
The actual coding of a program is done by a(n)

A.systems analyst

5.0/ 5.0 Points

B.software engineer

C.end-user

D.database administrator

Question 18 of 20

0.0/ 5.0 Points

Output ca giai on Plan cho Coding bao gm nhng sn phm no sau y?

A. System Description

B. Coding Convention

C. Review Report

D. Coding Plan

Question 19 of 20

5.0/ 5.0 Points

A(n) __________ is a list of instructions detailing the steps needed to perform a task.

A.punch card

B.agenda

C.plan

D.program

Question 20 of 20

5.0/ 5.0 Points

The information that a program requires in order to accomplish its objective is


called the

A.Data

B.effort

C.input

D.contribution

Part 1 of 1 -

100.0/ 100.0 Points

Coding Process

Question 1 of 20

5.0/ 5.0 Points

"Given below code block:


if (x == 0)
if (y == 0) error();
else {
z = x + y;
}
With the input value of [x, y, z] = [1, 2, 4], which value the variable z would be after
executing above codes?"

A.2

B.4

C.5

D.3

Question 2 of 20
Common coding conventions may cover the following areas:

5.0/ 5.0 Points

A. Error conventions

B. Comment conventions

C. Naming conventions

D. Programming practices

Question 3 of 20

5.0/ 5.0 Points

Input ca giai on Create System Description/User Manual bao gm nhng sn


phm no sau y?

A. SRS

B. URD

C. Software Package

D. Design

Question 4 of 20

5.0/ 5.0 Points

Output ca giai on Plan cho Coding bao gm nhng sn phm no sau y?

A. Coding Convention

B. Coding Plan

C. System Description

D. Review Report

Question 5 of 20

5.0/ 5.0 Points

The information that a program requires in order to accomplish its objective is


called the

A.input

B.effort

C.Data

D.contribution

Question 6 of 20

5.0/ 5.0 Points

"Please choose correct order of the following code review activities


(1) Prepare for review
(2) Conduct Review
(3) Rework and Follow up
(4) Evaluate review results"

A.1-3-4-2

B.1-2-3-4

C.1-2-4-3

D.1-3-2-4

Question 7 of 20
Benefits ca Peer Review Code bao gm:

A. Team cohesiveness

5.0/ 5.0 Points

B. Fewer bugs

C. Peer reviews provide the distance needed to recognize problems

D. Peer reviews provide the distance needed to solve every problems

Question 8 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, you are recommended to avoid tab
characters?

True

False

Question 9 of 20

5.0/ 5.0 Points

Input ca giai on Coding Functional Modules bao gm nhng sn phm no sau


y?

A. Coding Conventions

B. Coding Plan

C. Coding Infrastructure has been setup

D. Designs

Question 10 of 20

5.0/ 5.0 Points

Output ca giai on Integrate Software Modules bao gm nhng sn phm no sau


y?

A.Integrated Software Package

B.System Description

C.User Manual

D.Coding Summary Report

Question 11 of 20

5.0/ 5.0 Points

Code conventions are important to programmers, because:

A. If you ship your source code as a product, you need to make sure it is as
well packaged and clean as any other product you create

B. Hardly any software is maintained for its whole life by the original author.

C. Code conventions improve the readability of the software, allowing


engineers to understand new code more quickly and thoroughly
D. 80% of the lifetime cost of a piece of software goes to maintenance

Question 12 of 20

5.0/ 5.0 Points

Following Fsoft standard coding conventions, how many space should be used as
the unit of identation?

A.3

B.1

C.4

D.2

Question 13 of 20

5.0/ 5.0 Points

Input ca giai on Coding Library Modules bao gm nhng sn phm no sau


y?

A. Coding Infrastructure has been setup

B. Designs

C. Coding Plan

D. Coding Conventions

Question 14 of 20
The actual coding of a program is done by a(n)

A.systems analyst

B.software engineer

C.end-user

5.0/ 5.0 Points

D.database administrator

Question 15 of 20

5.0/ 5.0 Points

Tt c cc d n phn mm trn th gii phi s dng chung cc coding


conventions cho d n mnh.

True

False

Question 16 of 20

5.0/ 5.0 Points

Eliminating errors in a program is also called ______ the program

A.modularizing

B.clarifying

C.debugging

D.coding

Question 17 of 20

5.0/ 5.0 Points

Benefits ca Peer Review Code bao gm:

A. Find many bugs

B. Improved communication

C. Less rework

D. Developers have changes to do many works in project

Question 18 of 20

5.0/ 5.0 Points

Challenges ca Peer Review Code bao gm

A. If team members are not familiar with peer reviews, the experience can be
frustrating for all participants
B. Reading unfamiliar code and correlating that code to unfamiliar
documentation takes programmers away from coding
C. It is hard to improve peer review code process after many time reviewing

D. Some peer reviews take a long time

Question 19 of 20

5.0/ 5.0 Points

Coding conventions l ti liu bt buc phi c trong tt c cc d n phn mm

True

False

Question 20 of 20

5.0/ 5.0 Points

A(n) __________ is a list of instructions detailing the steps needed to perform a task.

A.agenda

B.plan

C.punch card

D.program

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy