You are on page 1of 6

Akademik Birim / Academic Unit Faculty of Engineering and Architechture

Akademik Yıl Eğitim Dönemi


Academic Year Education Semester
2022-2023(SPRING Semester) 2nd Semester
Bölüm-Program Dersin Adı Course
Department-Program Software Engineering Name
Software Verification, Validation
and Testing
Sınav Türü Exam Sınav Tarihi - Süresi
Type Course Date - Duration 24/04/2023
Midterm 09.00-10.15
(Classic Exam) Monday (TR time)

* Sınav kâğıdınızın değerlendirilmesi için cevap kâğıtlarındaki kişisel bilgilerinizin (Ad, Soyad, Öğrenci No, Bölüm/
Program) tam olması gerekmektedir. İmzası olmayan sınav kâğıtları geçersizdir.
Your personal information (Name, Surname, Student Number, Department/Program) on the answer sheets must be completed for
your answers to be evaluated. Exam papers without signature are invalid.

* Cevaplarınız İngilizce olmalıdır. Your answers must be in English.

* Cevap kâğıdınız pdf formatında olmalıdır. Your answer sheets must be in pdf format.

* Size verilen zamandan başka herhangi bir ilave zaman için talepte bulunmayınız. Lütfen cevap kağıtlarınızı sınav
süresinde sanal kampuse yükleyin.
Do not request any additional time other than the time given to you. Please upload your answer sheets to sanal kampus system during
the midterm exam period. Otherwise, the system will shut down as soon as midterm exam is over.

* Sınavınız esnasında herhangi bir teknik desteğe ihtiyaç duyarsanız, lütfen aşağıdaki bağlantıyı kullanın:
https://www.nisantasi.edu.tr/duyuru/20222023-akademik-yili-bahar-donemi-sanal-kampus-vize-sinavlari-hakkindateknik-
destek-390950
If you need any technical support during your exam, please use the following link: https://www.nisantasi.edu.tr/duyuru/technical-
support-for-20222023-academic-year-spring-semester-online-midterm-examssanal-kampus-138546

Yukarıda yazan sınav kurallarını OKUDUM ve ANLADIM. / I READ and UNDERSTAND THE EXAM Rules
Written Above.

İmza / Signature
Öğrencinin Adı-Soyadı / Student's name and surname OSAMA ABD ELGHANI

Öğrenci Kimlik No / Student ID No 20222022689

1/6
Öğrencinin Adı-Soyadı / Student's name and surname OSAMA ABD ELGHANI

Öğrenci Kimlik No / Student ID No 20222022689


İmza / Signature OSAMA
GOOD LUCK!
Asst. Prof. Dr. SİBEL BORAN
Question 1. [20/100 point] About verification and validation.
As you know, verification and validation are the main elements of software testing workflow.

Question 1.a [16/100 point] Please write down their definitions and differences as seen in the Table
below.

Definition of Verification [3/100 point]: Verification is the process of ensuring that a product,
service, or system meets the requirements and specifications set out for it.
Definition of Validation [3/100 point]: Validation is the process of ensuring that a product, service, or
system meets the needs of the stakeholders and solves the intended problem.
Verification Validation

Its tests/checks what for [2/100 point] whether a product or system


Checks whether the
meets the requirements and
product or system meets
specifications set out for it
the needs of the
stakeholder
Coding requirement [2/100 point] Testability and readability User-centric and
functionality
Activities include [2/100 point] Design review and code review Business validation and
security testing
Types of testing methods [2/100 point] Unit testing Security testing

Target of test [2/100 point] Product under development Final product

Question 1.b [4/100 point] Please write down the four software quality attributes (do NOT explain
them).
Answer 1.

2/6
1. Completeness
2. Correctness
3. Consistency
4. Clarity

Question 2. [20/100 point] About software testing methods.


Please compare the properties of software testing methods for Black Box Testing, Grey Box
Testing, and White Box Testing. Please write down at least five properties.
Answer 2.
Black box testing:
1. Preformed by end users
2. Not suited for algorithm testing
3. Focuses on testing the functionality
4. Can only be done by trail and error method
5. Least time consuming

Grey box testing:

1. Not suited for algorithm testing


2. Data domains can be tested if known
3. Preformed by end users
4. Tester has limited knowledge of the application
5. Somewhat partly time consuming

White box testing:

1. Suited for algorithm testing


2. Data domains can be better tested
3. Preformed by testers and developers
4. Workers have full knowledge about the application
5. The most time consuming and exhausting data

3/6
Question 3. [20/100 point] About the Functional Testing.
Question 3.a [10/100 point] Please write down the definition of Functional Testing.
Functional Testing is a type of software testing that evaluates the system or application against its
functional requirements and specifications.
Question 3.b [10/100 point] Please write down the five steps of the Functional Testing process.
Answer 3.

Öğrencinin Adı-Soyadı / Student's name and surname OSAMA ABD ELGHANI


Öğrenci Kimlik No / Student ID No 20222022689

İmza / Signature OSAMA


Requirements analysis, Test planning, Test design, Test execution and Test reporting

Question 4. [20/100 point] About the Combinatorial Testing.


Question 4.a [10/100 point] Please write down the definition of Combinatorial Testing.
Combinatorial Testing is a testing technique that involves testing different combinations of input
parameters and values to uncover defects and errors that may occur when different inputs are
combined
Question 4.b [10/100 point] Please write down three main techniques of the Combinatorial Testing
and explain each in one-sentence.
Answer 4.

4/6
Pairwise testing: Tests all the possible combinations or two parameters

Orthogonal array testing: it selects a subset of combinations from a large set of input
parameters to ensure that each combination is tested

Combinatorial test design: it uses mathematical algorithms and optimization method to


generate a set of test cases

Question 5. [20/100 point] About the Structural Testing.


Question 5.a [10/100 point] Please write down the definition of Structural Testing.
Structural Testing is a type of software testing that examines the internal structure and design of
the software to ensure that it works as intended
Question 5.b [10/100 point] Please write down the four types of the Structural Testing and explain
each in one-sentence.
Answer 5.
Statement coverage testing: it tests each statement in the code to ensure that the statement is
executed at least once
Branch coverage testing: it tests every possible decision point in the code to ensure that each
decision is executed at least once

5/6
Path coverage testing: it tests every possible execution path through the code to ensure that
each path is executed at least once
Condition coverage testing: it tests every possible Boolean expression in the code to ensure that
each expression evaluates to both true and false at least once

6/6

You might also like