Quiz2 tonghop

52
Question 1 of 20 0.0/ 5.0 Points Coding conventions là tài liệu bắt buộc phải có trong tất cả các dự án phần mềm Tru e Fal se Question 2 of 20 3.33/ 5.0 Points Input của giai đoạn Plan cho Coding bao gồm những sản phẩm nào sau đây? A. Project Plan B. Design documents C. Customer requirements D. CM plan Question 3 of 20 3.33/ 5.0 Points Input của giai đoạn Create System Description/User Manual bao gồm những sản phẩm nào sau đây? A. URD B. Design C. SRS D. Software Package Question 4 of 20 3.33/ 5.0 Points Tài liệu Checklist_Code Review của Fsoft đưa ra các trường hợp cần review code và chia làm những phần chính sau đây:

description

savadb gfm hg,gjh

Transcript of Quiz2 tonghop

Page 1: Quiz2 tonghop

Question 1 of 20 0.0/ 5.0 Points

Coding conventions là tài liệu bắt buộc phải có trong tất cả các dự án phần mềm

 True

 False

Question 2 of 20 3.33/ 5.0 Points

Input của giai đoạn Plan cho Coding bao gồm những sản phẩm nào sau đây?

 A. Project Plan 

 B. Design documents 

 C. Customer requirements 

 D. CM plan 

Question 3 of 20 3.33/ 5.0 Points

Input của giai đoạn Create System Description/User Manual bao gồm những sản phẩm nào sau đây?

 A. URD 

 B. Design 

 C. SRS 

 D. Software Package 

Question 4 of 20 3.33/ 5.0 Points

Tài liệu Checklist_Code Review của Fsoft đưa ra các trường hợp cần review code và chia làm những phần chính sau đây:

 A. "Source code (Liên quan đến nội dung các dòng lệnh, hàm...)" 

 B. "General (Liên quan đến các vấn đề thường gặp trong khi reivew code)" 

 C. "Exception (Liên quan đến exception)" 

Page 2: Quiz2 tonghop

 D. "Commenting (Liên quan đến các trường hợp phải comment cho source code)" 

Question 5 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 6 of 20 5.0/ 5.0 Points

"Hãy chọn cách phòng tránh lỗi 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 

Page 3: Quiz2 tonghop

 D.3 

Question 8 of 20 3.33/ 5.0 Points

Benefits của Peer Review Code bao gồm:

 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 

Question 9 of 20 5.0/ 5.0 Points

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 3.75/ 5.0 Points

Code conventions are important to programmers, because:

 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 5.0/ 5.0 Points

Page 4: Quiz2 tonghop

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 12 of 20 0.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-4-3 

 C.2-4-3-1 

 D.1-2-3-4 

Question 13 of 20 3.33/ 5.0 Points

Challenges của Peer Review Code bao gồm

 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 0.0/ 5.0 Points

Output của giai đoạn Plan cho Coding bao gồm những sản phẩm nào sau đây?

Page 5: Quiz2 tonghop

 A. Coding Convention 

 B. Coding Plan 

 C. Review Report 

 D. System Description 

Question 15 of 20 0.0/ 5.0 Points

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

 True

 False

Question 16 of 20 5.0/ 5.0 Points

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

 A.database administrator 

 B.end-user 

 C.software engineer 

 D.systems analyst 

Question 17 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 

Page 6: Quiz2 tonghop

Question 18 of 20 2.5/ 5.0 Points

Benefits của Peer Review Code bao gồm:

 A. Improved communication 

 B. Find many bugs 

 C. Less rework 

 D. Developers have changes to do many works in project 

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. Requirement logics are implemented correctly 

 D. No coding conventions or common defects existed 

Question 20 of 20 5.0/ 5.0 Points

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

 A.flowchart 

 B.output 

 C.objective 

 D.prototype 

____HCMUT_013_CSD_02_Quiz2_Coding Proces

Page 7: Quiz2 tonghop

Return to Assessment List

Part 1 of 1 - 56.67/ 100.0 PointsCoding Process

Question 1 of 200.0/ 5.0 Points

Tất cả các dự án phần mềm trên thế giới phải sử dụng chung các coding conventions cho dự án mình.

True

False

Question 2 of 20 5.0/ 5.0 PointsFollowing Fsoft standard coding conventions, you are recommended to avoid tab characters?

True

False

Question 3 of 20 0.0/ 5.0 PointsBenefits của Peer Review Code bao gồm:

A. Less rework

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 PointsInput của giai đoạn Coding Library Modules bao gồm những sản phẩm nào sau đây?

A. Coding Plan

B. Coding Infrastructure has been setup

C. Coding Conventions

D. Designs

Page 8: Quiz2 tonghop

Question 5 of 20 5.0/ 5.0 Points"Hãy chọn cách phòng tránh lỗi 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

Question 6 of 20 5.0/ 5.0 PointsTài liệu Checklist_Code Review của Fsoft đưa ra các trường hợp cần review code và chia làm những phần chính sau đây:

A. "Source code (Liên quan đến nội dung các dòng lệnh, hàm...)"

B. "Exception (Liên quan đến exception)"

C. "General (Liên quan đến các vấn đề thường gặp trong khi reivew code)"

D. "Commenting (Liên quan đến các trường hợp phải comment cho source code)"

Question 7 of 20 5.0/ 5.0 PointsEliminating errors in a program is also called ______ the program

A.debugging

B.clarifying

C.modularizing

D.coding

Page 9: Quiz2 tonghop

Question 8 of 20 1.25/ 5.0 PointsInput của giai đoạn Coding Functional Modules bao gồm những sản phẩm nào sau đây?

A. Coding Plan

B. Coding Conventions

C. Coding Infrastructure has been setup

D. Designs

Question 9 of 20 5.0/ 5.0 PointsChallenges của Peer Review Code bao gồm

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

Page 10: Quiz2 tonghop

C.4

D.5

Question 11 of 20 0.0/ 5.0 PointsA(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 PointsOutput của giai đoạn Plan cho Coding bao gồm những sản phẩm nào sau đây?

A. Coding Plan

B. System Description

C. Coding Convention

D. Review Report

Question 13 of 20 5.0/ 5.0 PointsThe actual writing of a program in a programming language is called

A.language translation

B.coding

C.program design

Page 11: Quiz2 tonghop

D.logic structure

Question 14 of 20 3.33/ 5.0 PointsBenefits của Peer Review Code bao gồm:

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 PointsCoding conventions là tài liệu bắt buộc phải có trong tất cả các dự án phần mềm

True

False

Question 16 of 20 1.67/ 5.0 PointsCommon 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 PointsInput của giai đoạn Plan cho Coding bao gồm những sản phẩm nào sau đây?

A. Design documents

B. Project Plan

C. Customer requirements

Page 12: Quiz2 tonghop

D. CM plan

Question 18 of 20 5.0/ 5.0 PointsNếu không coding theo đúng coding conventions, phần mềm tạo ra có thể có nhiều lỗi

True

False

Question 19 of 20 5.0/ 5.0 PointsDeveloper 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

Page 13: Quiz2 tonghop

Coding Process

Question 1 of 205.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 205.0/ 5.0 Points

Coding conventions là tài liệu bắt buộc phải có trong tất cả các dự án phần mềm

True

False

Question 3 of 205.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

Page 14: Quiz2 tonghop

Question 4 of 202.5/ 5.0 Points

Input của giai đoạn Coding Library Modules bao gồm những sản phẩm nào sau đây?

A. Coding Infrastructure has been setup

B. Coding Conventions

C. Coding Plan

D. Designs

Question 5 of 205.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 205.0/ 5.0 Points

"Hãy chọn cách phòng tránh lỗi 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…"

Page 15: Quiz2 tonghop

A.Use CSS Style Sheet and GUI template

B.Optimize design, code

C.Use checklist

D.Use tool to test

Question 7 of 205.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 205.0/ 5.0 Points

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

True

False

Question 9 of 205.0/ 5.0 Points

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

A.logic structure

Page 16: Quiz2 tonghop

B.program design

C.coding

D.language translation

Question 10 of 205.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 205.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 205.0/ 5.0 Points

Page 17: Quiz2 tonghop

Benefits của Peer Review Code bao gồm:

A. Improved communication

B. Find many bugs

C. Less rework

D. Developers have changes to do many works in project

Question 13 of 205.0/ 5.0 Points

Common coding conventions may cover the following areas:

A. Error conventions

B. Comment conventions

C. Programming practices

D. Naming conventions

Question 14 of 205.0/ 5.0 Points

Output của giai đoạn Integrate Software Modules bao gồm những sản phẩm nào sau đây?

A.User Manual

B.Coding Summary Report

C.System Description

Page 18: Quiz2 tonghop

D.Integrated Software Package

Question 15 of 205.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 203.33/ 5.0 Points

Input của giai đoạn Create System Description/User Manual bao gồm những sản phẩm nào sau đây?

A. URD

B. Design

C. SRS

D. Software Package

Question 17 of 205.0/ 5.0 Points

Eliminating errors in a program is also called ______ the program

A.modularizing

Page 19: Quiz2 tonghop

B.debugging

C.clarifying

D.coding

Question 18 of 205.0/ 5.0 Points

Challenges của Peer Review Code bao gồm

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 205.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

Page 20: Quiz2 tonghop

D.1-3-2-4

Question 20 of 205.0/ 5.0 Points

Tất cả các dự án phần mềm trên thế giới phải sử dụng chung các coding conventions cho dự án mình.

True

False

Question 1 of 205.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 205.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

Page 21: Quiz2 tonghop

Question 3 of 205.0/ 5.0 Points

Challenges của Peer Review Code bao gồm

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 205.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 205.0/ 5.0 Points

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

A.punch card

B.agenda

Page 22: Quiz2 tonghop

C.plan

D.program

Question 6 of 205.0/ 5.0 Points

Tất cả các dự án phần mềm trên thế giới phải sử dụng chung các coding conventions cho dự án mình.

True

False

Question 7 of 205.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 205.0/ 5.0 Points

Eliminating errors in a program is also called ______ the program

A.modularizing

B.coding

C.debugging

Page 23: Quiz2 tonghop

D.clarifying

Question 9 of 205.0/ 5.0 Points

Nếu không coding theo đúng coding conventions, phần mềm tạo ra có thể có nhiều lỗi

True

False

Question 10 of 205.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 205.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 205.0/ 5.0 Points

Page 24: Quiz2 tonghop

In programming, _______ are explanations that tell other programmers what’s happening in the software code

A.table

B.documentation

C.selections

D.restrictions

Question 13 of 205.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 14 of 205.0/ 5.0 Points

Tài liệu Checklist_Code Review của Fsoft đưa ra các trường hợp cần review code và chia làm những phần chính sau đây:

A. "General (Liên quan đến các vấn đề thường gặp trong khi reivew code)"

B. "Commenting

Page 25: Quiz2 tonghop

(Liên quan đến các trường hợp phải comment cho source code)"

C. "Source code (Liên quan đến nội dung các dòng lệnh, hàm...)"

D. "Exception (Liên quan đến exception)"

Question 15 of 205.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 205.0/ 5.0 Points

Những điều gì nên làm để tổ chức peer review code được tốt hơn?

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. Don’t take the criticism personally and offer only technical advice that will improve the code. Respect others’ opinions, comments, and suggestions

Page 26: Quiz2 tonghop

Question 17 of 205.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 18 of 205.0/ 5.0 Points

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

Part 1 of 1 - 87.08/ 100.0 Points

Coding Process

Question 1 of 205.0/ 5.0 Points

Coding conventions là tài liệu bắt buộc phải có trong tất cả các dự án phần mềm

True

False

Question 2 of 205.0/ 5.0 Points

Page 27: Quiz2 tonghop

"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 205.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 201.67/ 5.0 Points

Input của giai đoạn Create System Description/User Manual bao gồm những sản phẩm nào sau đây?

Page 28: Quiz2 tonghop

A. URD

B. SRS

C. Design

D. Software Package

Question 5 of 205.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 205.0/ 5.0 Points

Nếu không coding theo đúng coding conventions, phần mềm tạo ra có thể có nhiều lỗi

True

False

Question 7 of 205.0/ 5.0 Points

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

A.logic structure

Page 29: Quiz2 tonghop

B.program design

C.coding

D.language translation

Question 8 of 205.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 205.0/ 5.0 Points

In programming, _______ are explanations that tell other programmers what’s happening in the software code

A.table

B.documentation

C.selections

D.restrictions

Question 10 of 205.0/ 5.0 Points

Page 30: Quiz2 tonghop

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 205.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 205.0/ 5.0 Points

Benefits của Peer Review Code bao gồm:

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

B. Fewer bugs

C. Peer reviews provide the distance needed to recognize problems

Page 31: Quiz2 tonghop

D. Team cohesiveness

Question 13 of 201.67/ 5.0 Points

Input của giai đoạn Plan cho Coding bao gồm những sản phẩm nào sau đây?

A. Customer requirements

B. CM plan

C. Design documents

D. Project Plan

Question 14 of 205.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 205.0/ 5.0 Points

Benefits của Peer Review Code bao gồm:

A. Improved communication

Page 32: Quiz2 tonghop

B. Find many bugs

C. Less rework

D. Developers have changes to do many works in project

Question 16 of 203.75/ 5.0 Points

Input của giai đoạn Coding Functional Modules bao gồm những sản phẩm nào sau đây?

A. Coding Infrastructure has been setup

B. Coding Conventions

C. Coding Plan

D. Designs

Question 17 of 205.0/ 5.0 Points

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

A.systems analyst

B.software engineer

C.end-user

D.database administrator

Question 18 of 200.0/ 5.0 Points

Page 33: Quiz2 tonghop

Output của giai đoạn Plan cho Coding bao gồm những sản phẩm nào sau đây?

A. System Description

B. Coding Convention

C. Review Report

D. Coding Plan

Question 19 of 205.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 205.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

Page 34: Quiz2 tonghop

D.contribution

Part 1 of 1 - 100.0/ 100.0 Points

Coding Process

Question 1 of 205.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 205.0/ 5.0 Points

Common coding conventions may cover the following areas:

A. Error conventions

B. Comment conventions

C. Naming conventions

Page 35: Quiz2 tonghop

D. Programming practices

Question 3 of 205.0/ 5.0 Points

Input của giai đoạn Create System Description/User Manual bao gồm những sản phẩm nào sau đây?

A. SRS

B. URD

C. Software Package

D. Design

Question 4 of 205.0/ 5.0 Points

Output của giai đoạn Plan cho Coding bao gồm những sản phẩm nào sau đây?

A. Coding Convention

B. Coding Plan

C. System Description

D. Review Report

Question 5 of 205.0/ 5.0 Points

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

A.input

Page 36: Quiz2 tonghop

B.effort

C.Data

D.contribution

Question 6 of 205.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 205.0/ 5.0 Points

Benefits của Peer Review Code bao gồm:

A. Team cohesiveness

B. Fewer bugs

C. Peer reviews provide the distance needed to recognize problems

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

Page 37: Quiz2 tonghop

Question 8 of 205.0/ 5.0 Points

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

True

False

Question 9 of 205.0/ 5.0 Points

Input của giai đoạn Coding Functional Modules bao gồm những sản phẩm nào sau đây?

A. Coding Conventions

B. Coding Plan

C. Coding Infrastructure has been setup

D. Designs

Question 10 of 205.0/ 5.0 Points

Output của giai đoạn Integrate Software Modules bao gồm những sản phẩm nào sau đây?

A.Integrated Software Package

B.System Description

C.User Manual

D.Coding Summary Report

Question 11 of 205.0/ 5.0 Points

Page 38: Quiz2 tonghop

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 205.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 205.0/ 5.0 Points

Input của giai đoạn Coding Library Modules bao gồm những sản phẩm nào sau đây?

A. Coding Infrastructure has been setup

B. Designs

Page 39: Quiz2 tonghop

C. Coding Plan

D. Coding Conventions

Question 14 of 205.0/ 5.0 Points

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

A.systems analyst

B.software engineer

C.end-user

D.database administrator

Question 15 of 205.0/ 5.0 Points

Tất cả các dự án phần mềm trên thế giới phải sử dụng chung các coding conventions cho dự án mình.

True

False

Question 16 of 205.0/ 5.0 Points

Eliminating errors in a program is also called ______ the program

A.modularizing

B.clarifying

C.debugging

Page 40: Quiz2 tonghop

D.coding

Question 17 of 205.0/ 5.0 Points

Benefits của Peer Review Code bao gồm:

A. Find many bugs

B. Improved communication

C. Less rework

D. Developers have changes to do many works in project

Question 18 of 205.0/ 5.0 Points

Challenges của Peer Review Code bao gồm

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 205.0/ 5.0 Points

Coding conventions là tài liệu bắt buộc phải có trong tất cả các dự án phần mềm

True

False

Page 41: Quiz2 tonghop

Question 20 of 205.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