In this post I will describe Cyclomatic complexity in Software Testing and how to calculate code complexity using Cyclomatic complexity. I have included few examples to understand how the code complexity is calculated. Also, I have mentioned advantages of using Cyclomatic Complexity. Definition: Cyclomatic complexity (or conditional complexity) is a … [Read more...]
Bug Life Cycle and Severity Definitions In Software Testing
In this post, I will discuss about bugs, defects or deviations from expected functionality in software testing. I will describe Bug Life Cycle along with a flow chart and Bug Severity Definitions with different severity levels like Critical, High, Medium and Low with examples. I will also discuss on how to find bugs while testing. What is Bug? Bug is a … [Read more...]
Types of Static and Dynamic Software Testing Techniques
In this post, I will describe different types of Static and Dynamic Software testing techniques. Static testing techniques include Walkthrough, Technical Reviews, Inspection and Static Code Analysis. Dynamic testing techniques include Equivalence partitioning, Boundary Value Analysis, Error guessing, State Transition Testing … [Read more...]
One’s Complement, Bitwise AND, OR, XOR Operators In C
In this post, I will describe about One's Complement Operator in C programming, Right Shift Operator in C programming, Bitwise AND Operator, Bitwise OR Operator, What is Bitwise XOR Operator in C programming, and showbits( ) Function in C programming. One's Complement Operator in C programming: One’s compliment mean that all the 1’s present in number will be changed to … [Read more...]
Low Level Disk I/O, Opening A File, Bitwise Operators In C
In this post, I will discuss about Low Level Disk I/O in C Programming, Low level disk I/O function has the below mentioned advantages, Using argc and argv, Standard I / O Devices in C programming, What is I/O functions Redirection and Bitwise Operators in C Programming. Low Level Disk I/O in C Programming: Using low level disk I/O data cannot be written as individual … [Read more...]
File Opening Modes, Text And Binary Files In C Programming
In this post, I will discuss about Writing to a File in C using a function, File Opening Modes in C, String (line) I / O in Files: in C programming, Record Input-Output Files using C program, Text Files and Binary Files in C programming, Text versus Binary Mode files- Newlines in C programming, End of File read in Text Mode and Binary mode files and Time versus Binary Mode- … [Read more...]
Unformatted Console I/O Functions, Gets, Puts In C Language
In this post, I will discuss about Unformatted Console I/O Functions, Using gets( ) and puts( ) in C programming, File Operations: A program to display content of file, Opening a File using function in C, File handling and File allocation concepts and Reading from a File in C programming language. Unformatted Console I/O Functions: Unformatted console I/O are the function … [Read more...]
Structure Declaration, Console Input Output Functions In C
In this post, I will discuss about Important Points for Declaring a Structure, How Structure Elements are Stored, Array of Structures, Types of Input / Output, Console Input-Output Functions, Formatted Console Input / Output Functions, Format Specification, Optional Format Specifiers, and Escape Sequences in C language. Important Points for Declaring a Structure: Below … [Read more...]
Strings, scanf, Standard Library Functions In C Language
In this post, I will discuss about strings, Program to Demonstrate Printing of a String, %s Format Specifier, scanf( ), Standard Library String Functions in C, strlen( ) function, strcpy( ) function, Function to concatenate a string, Function of comparison of two stings in C, Structure (Grouping of data type together in C), and Declaring a Structure in C programming. What … [Read more...]
Array Initialization, Two And Three Dimensional Arrays in C
In this post, I will discuss Array Initialization, Array Elements in Memory, Bounds Checking, Passing Array Elements to a Function, Passing an Entire Array to a Function, Two Dimensional Array, Array of Pointers, Arrangement of the Array of Pointers in Memory and Three-Dimensional Array in C language. Array Initialization: We will be discussing in this article about … [Read more...]