Advanced Search
Search Results
362 total results found
Statement testing with MS Copilot
Task 1 (student 1) Using MS Copilot identify statements for the insertSort function. Assign a tag to for each identified statement. Present the list of statements with tags. Write the prompt and the chatbot answer. Discuss the result. Does it properly reco...
Statement testing with Chat GPT
You can use any other Chat Bot. If you do so, change the page title. Task 1 (student 1) Using a Chat Bot identify statements for the insertSort function. Assign a tag to for each identified statement. Present the list of statements with tags. Write the p...
Description of the method
9.2.1. Description of the Method The branch coverage criterion (also called edge coverage) requires that tests cover all possible control flows between basic blocks. In the terminology of the Control Flow Graph (CFG), this simply means covering all the edges ...
Branch coverage and unreachable branches
Task 1 For each example from the section "Statement coverage and unreachable code" (Task 1) of this book, create a Control Flow Graph and identify branches that are unreachable. Return Statement Before Print Statement #include <stdio.h> int main() ...
Example - insert sort
Let's reconsider the BubbleSort function from the previous chapter and create test cases for it that satisfy the branch coverage criterion. Step 1. Define the subject and test elements. The test element is the BubbleSort function. ET1: BubbleSort. Ste...
Test cases
Task 1 section [krok4] of the 9.2.2 without table 9.4 Defining test cases. We must provide such input data that all branches are covered. Lets consider the input case T = [5, 3]. For this array, the program will follow the patch p = B1 - B2 - B4 - B5 - B6 ...
Branch testing with MS Copilot
Task 1 (student 1) Using MS Copilot identify branches for the insertSort function. Assign a tag to for each identified branch. Present the list of statements with tags. Write the prompt and the chatbot answer. Discuss the result - compare it with the prev...
Branch testing with Chat GPT
You can use any other Chat Bot. If you do so, change the page title. Task 1 (student 1) Using a Chat Bot identify branches for the insertSort function. Assign a tag to for each identified branch. Present the list of branches with tags. Write the prompt and...
Description of the method
Decision testing belongs to the family of logical coverages, as it's concerned with the values of logical predicates in deciding instructions. The other name for the technique comes from there: predicate coverage. A decision is simply a logical statement that ...
Example - Regula Falsi method
Task 1 The Regula Falsi method is a numerical technique for finding zeros of a continuous function on a given interval. It combines the advantages of the bisection method and the secant method, offering both convergence and the use of information about the s...
Test conditions and coverage items
Sections [krok1] [krok2] [krok3] of the section 9.3.3 from the Textbook Step 1. Identifying the subject and test elements. We have one test element – the Bisection function. ET1: Bisection Step 2. Deriving test conditions. Test conditions are basic ...
Test cases
Defining Test Cases.There are three independent exit points from the module (at B2, B5, and B11), so at least three test cases are needed.When configuring the test environment, we should specify a concrete form of the function f(x), since its values affect the...
Decision testing with MS Copilot
Task 1 (student 1) Using MS Copilot identify statements for the RegulaFalsi function. Assign a tag to for each identified statement. Present the list of statements with tags. Write the prompt and the chatbot answer. Discuss the result. Does it properly ...
Decision testing with Chat GPT
You can use any other Chat Bot. If you do so, change the page title. Task 1 (student 1) Using a Chat Bot identify statements for the RegulaFalsi function. Assign a tag to for each identified statement. Present the list of statements with tags. Write the...
Network transformations
Modern organizations operate in increasingly complex environments, where relationships between individuals, teams, and departments are crucial for effective knowledge management, innovation, and operational flexibility. Formal structures, although important, d...
Centrality of eigenvectors
Definition Eigenvector centrality is one measure of centrality in network analysis. It determines how important (central) a node (e.g., a person, an organization) is in a network, taking into account not only the number of its connections, but also the qualit...
Network data
Network data refers to information that describes relationships and interactions between entities, which can be represented using the concepts of graph theory. A graph (in this context) is a mathematical structure consisting of vertices (also called nodes) and...
Exam questions 2023
Bridges
A bridge is a line, the removal of which would cause the network to "fall apart" into smaller parts called coherent network components. The figure below shows two bridges: between nodes 1 and 2 and 3 and 4. Breaking any of them would reduce the network's coher...