[SW테스팅] ISTQBⓇ CTFL 2018 실러버스 샘플EXAM C 오답체크!!

ACAI BERRY DEVELOVER·2023년 8월 17일
0
post-thumbnail

✅ 3번

  1. 옆 자리에서 울리는 전화 소리 때문에 개발자가 입력값의 상위 경계값을 확인하는 로직의 프로그램을 잘못 작성한다. 그 후 시스템 테스팅 수행 중에 테스터는 이 입력 필드에 잘못된 값이 입력되는 것을 발견한다.
    상위 경계값 확인을 위해 잘못 코딩된 로직은 다음 중 무엇에 해당하는가?

a) 근본 원인
b) 장애
c) 오류
d) 결함

FL-1.2.4, K2
a) 오답- 근본 원인은 프로그래머가 프로그램을 작성할 때 도출하는 것이다.
b) 오답- 유효하지 않은 입력값을 허용하는 것이 장애이다.
c) 오답- 오류는 코드에 결함을 일으키는 잘못된 사고이다.
d) 정답- 코드에 있는 문제점이 결함이다

a) Is not correct. The root cause is the distraction that the programmer
experienced while programming
b) Is not correct. The accepting of invalid inputs is the failure
c) Is not correct. The error is the mistaken thinking that resulted in putting the defect in the code
d) Is correct. The problem in the code is a defect

✅ 5번

  1. 단위 테스팅을 하는 동안, 개발자는 종종 작성한 코드에 대한 단위 테스트를 만들고 실행한다.
    이렇게 자체 테스팅을 하는 동안, 개발자가 단위 테스팅을 효과적으로 수행하기 위해 채택해야 하는 테스터적 사고방식(mindset)은 무엇인가?

a) 원활한 의사소통 능력
b) 코드 커버리지
c) 코드 결함 평가
d) 세밀한 것에 집중하는 태도

FL-1.5.2. K2
a) 오답- 단위 테스팅은 프로그래머가 자신의 코드에 대해 수행하는 것으로 보여진다.
b) 오답- 코드 커버리지는 단위 테스팅에는 유용하지만 이는 테스터의 사고방식(mindset)은 아니다.
c) 오답- 프로그래머의 사고 방식에 코드에 무슨 문제가 있는지 고려하는 것이 포함되어 있지만 테스터의 사고 방식은 아니다.
d) 정답- 세밀한 것에 집중하는 태도는 테스터의 사고 방식으로 프로그래머가 단위
테스팅을 수행할 때 결함을 찾을 수 있도록 도움을 준다

a) Is not correct. The programmer appears to be performing unit testing on their own code
b) Is not correct. Code coverage is useful for unit testing, but it is not a tester mindset
c) Is not correct. The programmer’s mindset included contemplating what might be wrong with the code, but that is not a tester’s mindset
d) Is correct. This tester mindset, attention to detail, will help programmers find defects during unit testing

✅ 7번

  1. 데이터베이스 구조 제안 관련 논의에 참여한 테스터가 특정한 일반 사용자 검색과 관련된
    잠재적인 성능 문제를 발견했으며, 이를 개발팀에 알렸다.
    테스팅이 성공에 기여한다는 측면에서 다음 중 이 상황을 가장 잘 설명한 것은?

a) 초기 단계에 필요한 테스트를 식별했다.
b) 프로세스가 제대로 수행되는지 확인했다.
c) 기본적 설계 결함의 리스크를 줄였다.
d) 테스트되지 않은 기능의 리스크를 줄였다.

FL-1.2.1, K2
a) 오답- 필요한 테스트를 초기 단계에 식별할 수 있다는 것은 테스트가 (프로젝트) 성공에 어떻게 기여하는지에 대한 내용이지만, 주어진 문제에서 테스터가 그랬다는 내용은 없다.
b) 오답- 프로세스가 적절히 수행되었는지 확인하는 것은 품질 보증 활동의 하나이며, 테스팅이 성공에 기여하는 경우는 아니다.
c) 정답- 기본 설계 결함의 리스크를 줄이는 것은 테스팅이 성공에 기여하는 경우이다. 데이터베이스 구조는 설계와 관련이 있고 성능 문제는 심각한 제품 리스크가 될 수 있다.
d) 오답- 테스트 불가능한 기능의 리스크를 줄이는 것으로 테스팅이 성공에 기여할 수 있지만, 여기서 이 테스터는 테스트 불가능한 것을 식별했다기 보다 성능 테스트가 실패할 수도 있는 요인을 찾아냈다고 볼 수 있다.

a) Is not correct. While enabling required tests to be identified in an early stage is a testing contribution to success, there is no indication in the question that the tester did so
b) Is not correct. Ensuring processes are carried out properly is part of
quality assurance, not a testing contribution to success
c) Is correct. Reducing the risk of fundamental design defects is a testing contribution to success. Database structure is related to design, and performance problems can be a significant product risk
d) Is not correct. While reducing the risk of untestable functionality is a testing contribution to success, the tester here has not identified something untestable, but rather something that would result in performance tests failing

✅ 14번

  1. 공식적 리뷰에서 인스펙션 회의를 운영하는 참가자는 누구인가?
    a) 촉진자 (Facilitator)
    b) 프로그래머 (Programmer)
    c) 작성자 (Author)
    d) 프로젝트 관리자 (Project manager)

FL-3.2.2, K1
a) 정답- 촉진자 또는 중재자가 리뷰 회의를 운영한다.
b) 오답- 프로그래머는 공식 리뷰 참가자의 역할명이 아니다.
c) 오답- 촉진자 또는 중재자가 리뷰 회의를 운영한다.
d) 오답- 촉진자 또는 중재자가 리뷰 회의를 운영한다.

a) Is correct. The facilitator or moderator runs the review meetings
b) Is not correct. This is not a role name for a formal review participant
c) Is not correct. The facilitator or moderator runs the review meetings
d) Is not correct. The facilitator or moderator runs the review meetings

✅ 18번

  1. 애자일 방법론을 사용하는 비디오 게임 개발 프로젝트에 참여하고 있다. 이 게임은 그리스 신화와 역사를 배경으로 하며, 플레이어는 그리스와 트로이 간 전투 등과 같은 시나리오에서 중요한 역할을 할 수 있다. 다음은 사용자 스토리와 관련된 인수 조건이다:
    플레이어는,
    마이다스의 막대(새로운 마법 도구)를 획득하려고 한다.
    이 도구로 물건이나 다른 플레이어를 금으로 바꿀 수 있다.
    AC1: 막대는 이것을 잡고 있는 플레이어가 사이즈에 상관없이 터치 가능한 모든 대상 또는 플레이어를 건드렸을 때 작동해야 한다.
    AC2: 막대를 잡고 있는 플레이어는 금으로 변하지 않는다.
    AC3: 막대에 닿은 물건이나 플레이어는 1밀리초 내로 금으로 변한다.
    AC4: 막대는 O.W.RoM 프로토타입에 표시된 것처럼 나타난다.
    AC5: 변환은 막대와의 접촉점에서 시작하여 1밀리초 당 1미터의 속도로 움직인다.
    당신은 이 사용자 스토리의 체크리스트 기반 리뷰에 참가하고 있다.
    이 사용자 스토리와 연관된 인수 기준은 이러한 산출물 유형의 정적 테스트로 식별할 수 있는 일반적인 결함 중 무엇을 포함하고 있는가?

a) 표준과의 편차 (Deviation from standards)
b) 모순 (Contradiction)
c) 보안 취약성 (Security vulnerability)
d) 커버리지 차이 (Coverage gaps)

FL-3.2.4, K3
a) 오답- 표준과 차이가 나는 것은 일반적으로 결함이지만 사용자 스토리 작성 시에 적용 필수인 표준은 없다.
b) 정답- 모순은 일반적인 요구사항 결함의 하나이다. AC3과 AC5는 막대로 만진 지점에서 반경 1m 내의 물체를 만지면 충돌한다. AC1은 접촉할 물체의 크기를 제한하지 않기 때문이다.
c) 오답- 보안 취약성을 일반적인 결함이지만 이 사용자 스토리에는 보안과 관련된 내용이 없다.
d) 오답- 인수 조건에 테스트를 누락하는 것을 포함하여 테스트 커버리지 차이는 일반적인 결함이지만, 어떤 테스트를 수행했고 어떤 테스트를 수행하지 않았는지에 대한 정보는 주어지지 않았다.

a) Is not correct. While deviation from standards is a typical, we are not given any standard with which the user stories should comply.
b) Is correct. Contradiction is a typical requirements defect. AC3 and AC5 conflict if the Rod is touched to an object that extends more than 1 meter in any direction from the point at which touched, since AC1 does not limit the size of the objects to be touched.
c) Is not correct. While security vulnerabilities are typical defects, there is nothing here related to security.
d) Is not correct. While test coverage gaps are typical defects, including missing tests for acceptance criteria, we are not provided with any information about which tests do and do not exist.

✅ 19번

  1. 다음 중 결정 커버리지를 올바르게 설명한 것은?
    a) 조건 결과(condition outcomes)의 커버리지
    b) 결정 커버리지는 구문(statement) 커버리지와 동의어이다.
    c) 실행 가능한 구문의 커버리지
    d) 결정문 결과(decision outcomes)의 커버리지

용어, K1
a) 오답- 조건 커버리지의 용어 정의이다.
b) 오답- 결정 커버리지는 상위 수준의 커버리지이며 두 용어는 용어사전에서 동의어로 정의되지 않았다.
c) 오답- 구문 커버리지의 용어 정의이다.
d) 정답- 결정 값에 적용되는 커버리지의 용어 정의이다.

a) Is not correct. This is the Glossary definition of condition coverage
b) Is not correct. Decision coverage is a higher level of coverage and the two terms are not defined as synonyms in the Glossary.
c) Is not correct. This is the Glossary definition of statement coverage.
d) Is correct. This is the Glossary definition of coverage as applied to decisions.

✅ 22번

  1. 당신은 고객이 은행 계좌에 접근해 관리할 수 있는 모바일 앱을 테스트하고 있다. 이러한 앱들의 사용자 관심 극대화, 사용 편의성, 접근성 같은 주제를 다룬 유명한 책에 나온 사용자 인터페이스 모범 사례의 일반적인 목록들과 비교해 각 페이지와 페이지 내의 필드를 평가하는 테스트 스위트를 수행하고 있다.
    다음 중 이 테스트 기법에 가장 적합한 것은?

a) 명세 기반 기법 (Specification-based)
b) 탐색적 기법 (Exploratory)
c) 체크리스트 기반 기법 (Checklist-based)
d) 오류 추정 (Error guessing)

FL-4.4.3, K2
a) 오답- 책은 일반적인 지침을 제공하지만 공식적 요구사항 문서나 명세, 유스 케이스 집합, 사용자 스토리나 비즈니스 프로세스는 아니다.
b) 오답- 이 목록을 테스트 차터 세트로 생각할 수 있지만 테스트 컨디션(conditions) 목록과 더 유사하다.
c) 정답- 사용자 인터페이스 모범 사례(best practices) 목록은 테스트 컨디션 목록이다.
d) 오답- 이 테스트는 일어날 수 있는 장애에 집중하기보다 사용성 측면에서 사용자에게 중요한 것에 대한 지식에 초점을 맞춘다.

a) Is not correct. The book provides general guidance, and is not a formal requirements document, a specification, or a set of use cases, user stories, or business processes
b) Is not correct. While you could consider the list as a set of test charters, it more closely resembles the list of test conditions
c) Is correct. The list of user interface best practices is the list of test conditions
d) Is not correct. The tests are not focused on failures that could occur, but rather on knowledge about what is important for the user, in terms of usability

✅ 23번

  1. 고객이 은행 계좌에 접근해 관리할 수 있는 모바일 앱이 있다. 고객의 생일이나 다른 일정에 맞춰 개별화된 인사말을 보내기 위해 고객의 SNS 계정과 은행 기록을 확인하는 기능 집합이 방금 전 사용자 스토리에 추가됐다. 다음 중 인사말을 보내야 하는 상황과 보내지 않아야 하는 상황을 확인하는 코드의 단위
    테스트 진행 시 개발자가 사용할 수 있는 테스트 기법은?

a) 구문 테스팅 (Statement testing)
b) 탐색적 테스팅 (Exploratory testing)
c) 상태 전이 테스팅 (State transition testing)
d) 결정 테스팅 (Decision testing)

FL-4.3.2, K2
a) 오답- 구문 테스팅은 코드에서 실행 가능한 구문을 수행하므로 테스트되지 않는 특정 인사말이 없을 수 있다.
b) 오답- 테스트 차터에 각 인사말 유형의 존재 여부에 대한 테스트를 구체적으로 언급하지 않는 한, 탐색적 테스트의 커버리지 측정은 어려울 수 있다.
c) 오답- 상태 전이 테스팅은 테스트 대상이 현재 조건이나 이전 이력에 따른 입력값에 다르게 반응하는 경우에 유용하지만, 이 경우 테스트 대상은 현재 날짜가 특정 마일스톤과 일치하는지 여부와 관련 인사말을 보여줄지를 결정해야 한다.
d) 정답- 결정 테스팅은 결정 지점에서 발생하는 제어 흐름을 따르는 테스트 케이스를 포함한다. 이 경우 인사말을 보내야 하는지 여부를 결정한다.

a) Is not correct. Statement testing exercises the executable statements in the code, which might result in the absence of certain greetings not being tested.
b) Is not correct. Unless the test charter specifically mentioned testing both the presence and the absence of each type of greeting, coverage can be difficult to assess for an exploratory test.
c) Is not correct. State transition testing is useful for situations where the test object responds differently to an input depending on current conditions or previous history, but in this case the test object must decide whether the current date matches a particular milestone and thus whether to display the relevant greeting
d) Is correct. Decision testing involves test cases that follow the control flows that occur from a decision point, which in this case would be deciding whether a greeting should or should not be given.

✅ 26번

  1. 당신은 향신료, 밀가루 및 기타 품목을 대량으로 판매하는 전자 상거래 시스템을 테스트하고 있다. 품목 판매 단위는 그램(향료 및 기타 고가 품목의 경우) 또는 킬로그램(밀가루 및 기타 저가 품목의 경우) 중 하나이다. 단위에 상관없이 최소 유효 단위는 0.5 단위(예, 강황 0.5g), 최대 유효 단위는 25 단위(예, 설탕 25kg)이다. 단위의 정밀도는 0.1이다. 다음 중 이 입력값에 대한 2-포인트 경계값을 커버하는 입력값의 묶음은?

a) 0.3, 10.0, 28.0
b) 0.4, 0.5, 0.6, 24,9,25,0, 25.1
c) 0.4, 0.5, 25.0 25.1
d) 0.5, 0.6, 24.9, 25.0

FL-4.2.2, K3
다음과 같은 경계값을 갖는 세 개의 동등 파티션으로 구분할 수 있다:

  • 비유효/너무 낮음 (0.4 이하)
  • 유효 (0.5 ~ 25)
  • 비유효/너무 높음 (25.1이상)
    따라서, 다음과 같이 설명할 수 있다:
    a) 오답- 4개의 경계값 중 어떤 값도 이 테스트 세트에 포함되지 않는다. 이 테스트들은 동등 파티션을 커버한다.
    b) 오답- 4개의 값 모두 테스트 세트에 포함되지만 두 개의 값이 추가되어 있고 이는 3-포인트 경계값 분석과 관련된다.
    c) 정답- 4가지 2-포인트 경계값 각각이 이 테스트 세트에 포함된다.
    d) 오답- 4개의 값 모두 유효 파티션에만 포함된다.

There are three equivalence partitions, with the boundaries as shown:
• Invalid too low (0.4 and below)
• Valid (0.5 to 25.0)
• Invalid too high (25.1 and above)
Thus:
a) Is not correct. None of those four boundary values are included in this
set of tests. These tests do cover the equivalence partitions
b) Is not correct. All these four boundary values are included in this set of
tests, but two additional values are included, one for each boundary.
These are the values associated with three-point boundary value
analysis
c) Is correct. Each of those four two-point boundary values are included in
this set of tests
d) Is not correct. These four values are all included in the valid partition

profile
쓸때 대충 쓰지 말고! 공부하면서 써!

0개의 댓글