Part 4: Java Scope and Recursion use with Example.

Part 4: Java Scope and Recursion use with Example.

Java Scope and Recursion use

Java Scope

In Java, variables are only accessible inside the region they are created. This is called scope.In Method Scope Variables declared directly inside a method.

Example

public class Tree{
public static void main(String[] args) {

// Code here CANNOT use numTree

int numTree = 100;

// Code here can use numTree
System.out.println(numTree );
}
}

output

100

Besides, Block Scope means a block of code refers to all of the code between curly braces {}. Variables declared inside blocks of code are only accessible by the code between the curly braces.

Example

public class Tree{
public static void main(String[] args) {

// Code here CANNOT use numTree

{ // This is a block

// Code here CANNOT use numTree

int numTree = 100;

// Code here CAN use numTree
System.out.println(numTree );

} // The block ends here

// Code here CANNOT use numTree

}
}
output

100

Java Recursion

In, java programming the technique of making a function call itself is Recursion. This technique provides a way to break complicated problems down into simple problems which are easier to solve.
Recursion may be a bit difficult to understand. The best way to figure out how it works is to experiment with it.

Recursion Example

Adding two numbers together is easy to do, but adding a range of numbers is more complicated. In the following example, recursion is used to add a range of numbers together by breaking it down into the simple task of adding two numbers:

Example

//Use recursion to add all of the numbers up to 10.

public class Tree {
public static void main(String[] args) {
int result = sum(5);
System.out.println(result);
}
public static int sum(int k) {
if (k > 0) {
return k + sum(k - 1);
} else {
return 0;
}
}
}

output

15

Example Explained

When the sum() function is called, it adds parameter k to the sum of all numbers smaller than k and returns the result. When k becomes 0, the function just returns 0. When running, the program follows these steps:

5 + sum(4)
5 + ( 4 + sum(3) )
5 + ( 4 + ( 3 + sum(2) ) )

5 + 4 + 3 + 2 + 1 + sum(0)
5 + 4 + 3 + 2 + 1 + 0
Since the function does not call itself when k is 0, the program stops there and returns the result.

Halting Condition

In java, like loops can run into the problem of infinite looping, recursive functions can run into the problem of infinite recursion. Infinite recursion is when the function never stops calling itself. Every recursive function should have a halting condition, which is the condition where the function stops calling itself. In the previous example, the halting condition is when the parameter k becomes 0.

It is helpful to see a variety of different examples to better understand the concept. In this example, the function adds a range of numbers between a start and an end. The halting condition for this recursive function is when end is not greater than start:

Example
Use recursion to add all of the numbers between 5 to 10.

public class Tree {
public static void main(String[] args) {
int result = sumTree(5, 10);
System.out.println(result);
}
public static int sumTree(int start, int end) {
if (end > start)
{
return end + sumTree(start, end - 1);
}
else
{
return end;
}
}
}

output

45

 Factorial of a Number Using Recursion

#Factorial of a Number Using Recursion in java
public class Factorial {

    public static void main(String[] args) {
        int num = 6;
        long factorial = multiplyNumbers(num);
        System.out.println("Factorial of " + num + " = " + factorial);
    }
    public static long multiplyNumbers(int num)
    {
        if (num >= 1)
            return num * multiplyNumbers(num - 1);
        else
            return 1;
    }
}

Output

Factorial of 6 = 720

Initially, the multiplyNumbers() is called from the main() function with 6 passed as an argument.

Since 6 is greater than or equal to 1, 6 is multiplied to the result of multiplyNumbers() where 5 (num -1) is passed. Since, it is called from the same function, it is a recursive call.

In each recursive call, the value of argument num is decreased by 1 until num reaches less than 1.

When the value of num is less than 1, there is no recursive call.

And each recursive calls returns giving us:

6 * 5 * 4 * 3 * 2 * 1 * 1 (for 0) = 720.

Draftsbook is a learning base blog. The blog share Article series based on Subject. For example:

    1. JAVA : JAVA  is a object-oriented programming(OOP) language. This language classes and objects are the two main aspects of OOP. The blog content discuss below principles of OOP:
      1. Encapsulation
      2. Inheritance
      3. Abstraction
      4. Polymorphism
  1. Data Structure: Data structure refers a several way of organizing data in a computer system.
  2. Android : Android software development  apps can be written using Kotlin, Java, and C++ languages” using the Android software development kit (SDK). This blog contains  android feature Navigation drawer implementation and its usage are mention.
  3. IELTS : IELTS  Four module with strategies are written hereby

5.Problem Solving : Problem solution on various online platform tips and solution are given here following platform.

Part 4: Java Scope and Recursion use with Example.

Part 1: Java OOP and its feature with example

What is Java OOP?

OOP stands for Object-Oriented Programming where java is a procedural programming. It is about writing procedures or methods to perform operations on the data. OOP is concerns creating objects that contain both data and methods.

Draftsbook goals For JAVA Teach:

  1. Java OOP 
  2. Classes and objects
  3. Class Attributes
  4. Class Methods
  5. Method Parameters
  6. Method Overloading
  7. Scope
  8. recursion
  9. Constructor
  10. Modifiers
  11. Encapsulation
  12. Packages or API
  13. Inheritance
  14. Polymorphism
  15. Inner class
  16. Abstraction
  17. Interface
  18. Enums
  19. User Input
  20. Date and Time
  21. ArrayList
  22. LinkedList
  23. HashSet
  24. Iterator
  25. Wrapper Class
  26. Exceptions
  27. Threads
  28. Lambda
  29. Create read write file or Java File Handling 
  30. Keyword
  31. string Methods
  32. String, StringBuffer and StringBuilder
  33. Overload vs Override

Object-oriented programming (OOP) has several advantages over procedural programming:

  • is faster method or procedure
  • and easier to execute code
  • provides a clear structure for the programs
  •  helps to keep the Java code  easier to maintain, modify and debug
  •  makes it possible to create full reusable applications with less code and shorter development time.
  • easier to maintain flexibility.

What are Java Classes and Objects?

Classes and objects are the two main aspects of OOP (object-oriented programming). Look at the theoritical illustration to see the following  difference between class and objects:

class

  • Fruits

objects

  • Apple
  • Banana
  • Mango

So, a class is a frame for objects, and an object is an instance of that class. When the individual objects or a single object is created, they inherit all the variables and methods from the class. Actually verything in Java is associated with classes and objects, along with its attributes and methods. For a Everything in Java is associated with classes and objects, along with its attributes and methods. For a real life example , a Tree is an object.  example: leaves, leave_color, fruits_color etc are attributes of Tree.

Create a Class

To create a class, use the keyword”class”:
Tree.java
Create a class named “Tree” with a variable treeNumber:
public class Tree{
int treeNumber= 5;
}

Create an Object

In Java, an object is created from a class. We have already created the class named MyTreeClass, so now we can use this to create objects. To create an object of MyTreeClass, we specify the class name, followed by the object name, and use the keyword new:
Example

Create an object called “treeObj” and print the value of treeNumber:
public class Tree {
int treeNumber = 5;
public static void main(String[] args) {
Tree treeObj= new Tree();
System.out.println(treeObj.treeNumber );
}
}

Multiple Objects

You can create multiple objects of one class:
Example
Create two objects of Tree:
public class Tree {
int treeNumber = 5;
public static void main(String[] args)
{
Tree treeObj1 = new Tree();  // Object 1
Tree treeObj2 = new Tree();  // Object 2
System.out.println(treeObj1.treeNumber );
System.out.println(treeObj2.treeNumber );
}
}

Using Multiple Classes

Multiple Classes  means you can also create an object of a class and access the object in another class. This is frequently used for better decoration of classes. That is one class has all the attributes and methods, while the other class holds the main() method. Actually code to be executed. This is important to name the java file should be matched with the class name. In this example, we have created two files in the same directory/folder:

  1. Tree.java
  2. Treeotherclass.java

Tree.java

public class Tree
{
int treeNumber = 5;
}
Treeotherclass.java

class Treeotherclass {
public static void main(String[] args) {
Tree treeObj = new Tree();
System.out.println(treeObj.treeNumber );
}
}

Java Class Attributes

In the above class Tree.java we used the term “treeNumber ” for treeNumber in the example. It is actually an attribute of the class. Or you could define attribute as  class attributes are variables within a class.

Example
Create a class called “Tree ” with two attributes: treeNumber and treeNumber_2:
public class Main {
int treeNumber= 5;
int treeNumber_2= 3;
}

Another term for class attributes is fields.

Accessing Attributes

You can access attributes by creating an object of the class, and by using the dot syntax (.):
The following example will create an object of the Main class, with the name treeObj. We use the treeNumber attribute on the object to print its value:

Example

Create an object called “treeObj” and print the value of treeNumber :
public class Tree {
int treeNumber = 5;
public static void main(String[] args) {
Tree treeObj = new Tree ();
System.out.println(treeObj .treeNumber );
}
}

Modify Attributes

You can also modify attribute values:

Example
Set the value of treeNumber to 10:
public class Tree {
int treeNumber;
public static void main(String[] args) {
Tree myObj = new Tree();
treeObj.treeNumber = 10;
System.out.println(treeObj.treeNumber);
}
}

Or override existing values:

Example
Change the value of treeNumberto 20:
public class Tree{
int treeNumber = 10;
public static void main(String[] args) {
treeNumber treeObj = new treeNumber();
treeObj.treeNumber = 20; // treeNumber is now 20
System.out.println(treeObj.treeNumber);
}
}

Final keyword

If you don’t want the ability to override existing values, declare the attribute as final:

Example
public class Tree
{
final int treeNumber = 10;
public static void main(String[] args)
{
Tree treeObj = new Tree();
treeObj.treeNumber = 20; // will generate an error: cannot assign a value to a final variable
System.out.println(treeObj.treeNumber);
}
}

Multiple Objects

TO create multiple objects of one class, you can change the attribute values in one object, without changing the attribute values in the other:

Example
Change the value of treeNumber to 20 in treeObj2, and leave Tree in treeObj1 unchanged:
public class Tree
{
int treeNumber = 5;
public static void main(String[] args) {
Tree treeObj1 = new Tree();  // Object 1
Tree treeObj2 = new Tree();  // Object 2
treeObj2.treeNumber = 20;
System.out.println(treeObj1.treeNumber );  // Outputs 5
System.out.println(treeObj2.treeNumber );  // Outputs 20
}
}

Multiple Attributes

You can specify as many attributes as you want:

Example

public class Tree
{
String fname = “John”;
String lname = “Joe”;
int age = 21;
public static void main(String[] args) {
Tree myObj = new Tree();
System.out.println(“Name: ” + myObj.fname + ” ” + myObj.lname);
System.out.println(“Age: ” + myObj.age);
}
}

Java Constructors

In Java, a constructor is a special method that is used to initialize objects. The constructor is called when an object of a class is created. It can be used to set initial values for object attributes:

Example
Create a constructor:
// Create a Main class
public class Tree
{
int treeNumber = 5;  // Create a class attribute
// Create a class constructor for the Main class
public Tree() {
treeNumber = 5;  // Set the initial value for the class attribute x
}
public static void main(String[] args) {
Tree myObj = new Tree(); // Create an object of class Tree. This will call the constructor.
System.out.println(myObj.x); // Print the value of treeNumber
}
}

// Outputs 5

It is keep to mind  that the constructor name must match the class name, and it cannot have a return type (like void). Also note that the constructor is called when the object is created.  Even if, all classes have constructors by default: if you do not create a class constructor yourself, Java creates one for you. But, then you are not able to set initial values for object attributes.

Constructor Parameters

Constructors can also take parameters, which is used to initialize attributes. The following example adds an int y parameter to the constructor. Inside the constructor we set x to y (x=y). When we call the constructor, we pass a parameter to the constructor (5), which will set the value of x to 5:

Example
public class Tree{
int x;
public Tree(int y) {
x = y;
}

public static void main(String[] args) {
Tree myObj = new Tree(5);
System.out.println(myObj.x);
}
}

// Outputs 5

Java Modifiers

Modifiers  are quite familiar with the public keyword that appears in almost all of our examples:

public class Main

The public keyword is an access modifier, meaning that it is used to set the access level for classes, attributes, methods and constructors. We divide modifiers into two groups:

  1. Access Modifiers – controls the access level
  2. Non-Access Modifiers – do not control access level, but provides other functionality Access Modifiers

For classes, you can use either public or default:

Modifier       Description
public The class is accessible by any other class
default The class is only accessible by classes in the same package. This is used when you don’t specify a modifier.

For attributes, methods and constructors, you can use the one of the following:

Modifier       Description
public The code is accessible for all classes
private The code is only accessible within the declared class
default The code is only accessible in the same package. This is used when you don’t specify a modifier.
protected The code is accessible in the same package and subclasses and superclasses in the Inheritance.

Non-Access Modifiers

For classes, you can use either final or abstract:

Modifier       Description
final The class cannot be inherited by other classes
abstract The class cannot be used to create objects . To access an abstract class, it must be inherited from another class.

For attributes and methods, you can use the one of the following:

Modifier       Description
final Attributes and methods cannot be overridden/modified
static Attributes and methods belongs to the class, rather than an object
final Attributes and methods cannot be overridden/modified
static Attributes and methods belongs to the class, rather than an object
abstract Can only be used in an abstract class, and can only be used on methods. The method does not have a body, for example abstract void run();. The body is provided by the subclass or inherited from other class.
transient Attributes and methods are skipped when serializing the object containing them
synchronized Methods can only be accessed by one thread at a time
volatile The value of an attribute is not cached thread-locally, and is always read from the “main memory” final.

If you don’t want the ability to override existing attribute values, declare attributes as final:
Example
public class Main {
final int x = 10;
final double PI = 3.14;
public static void main(String[] args) {
Main myObj = new Main();
myObj.x = 50; // will generate an error: cannot assign a value to a final variable
myObj.PI = 25; // will generate an error: cannot assign a value to a final variable
System.out.println(myObj.x);
}
}

Static

A static method means that it can be accessed without creating an object of the class, unlike public:

Example
An example to demonstrate the differences between static and public methods:

public class Main {
// Static method
static void myStaticMethod() {
System.out.println(“Static methods can be called without creating objects”);
}

// Public method
public void myPublicMethod() {
System.out.println(“Public methods must be called by creating objects”);
}

// Main method
public static void main(String[ ] args) {
myStaticMethod(); // Call the static method
// myPublicMethod(); This would output an error
Main myObj = new Main(); // Create an object of Main
myObj.myPublicMethod(); // Call the public method
}
}

Abstract

An abstract method belongs to an abstract class, and it does not have a body. The body is provided by the subclass:

Example
// abstract class
abstract class Tree {
public String fname = “Leaves”;
public int age = 24;
public abstract void study(); // abstract method
}

// Subclass (inherit from Tree )
class Green extends Tree{
public int plantYear = 2018;
public void plant() { // the body of the abstract method is provided here
System.out.println(“Planting all the year long”);
}
}
// End code from filename: Tree .java
// Code from filename: TreeSecond.java

class TreeSecond {
public static void main(String[] args) {
// create an object of the Student class (which inherits attributes and methods from Tree )
Green  myObj = new Green ();
System.out.println(“Name: ” + myObj.fname);
System.out.println(“Age: ” + myObj.age);
System.out.println(“Plantation Year: ” + myObj.plantYear );
myObj.plant(); // call abstract method
}
}

See more Topic on Java OOP with real-time example

Nested class in JAVA with EXAMPLES

What is the defference between String, StringBuffer and StringBuilder.

Java Interface tutorials with Example.

JAVA abstract class with EXAMPLES

What Does Method Signature Mean in Java?

Concept of web design and development Part 2

Concept of web design and development Part 2

Back-end development

Back-end web development by converting static web pages into dynamic web pages. Back-end web development is the first step in web development. A web developer that converts a static web page into a dynamic web page is called a back-end web developer or back-end developer. If you want to read the full article please see previous one to easily understand content.

Back-end web developers create dynamic web pages using server-side languages ​​PSP, Python, ASP.net, etc.) and RDBMS (MySQL, mongoDB, etc.). Back-end web developer converts static web pages created by front-end web developers or static web pages created by web designers into dynamic web pages.

Back-end web developer, who controls the server’s data and requests. Many services are needed or work in the back-end of a dynamic website. After inputting any information on the website, a database is required to save it. Through database connection the server automatically saves the data and outputs the data as required.

Back-end developers use

  • PHP,
  • NodeJS,
  • Python or
  • Ruby

Languages ​​to develop server side and use SQL or NoSQL (MySQL, MongoDB) language to write database queries.

 

Web Design and Development: Full-stack developer

A full-stack developer is one who has full knowledge and skills in all of the developments discussed above. Someone who is a full-stack developer can build a website from start to finish.

Generally, full-stack developers have a basic idea about design and user experience. To be a full-stack developer you need to be an expert in all languages; Of course not. Being an expert or professional in many languages ​​at once is not an easy task. Moreover, web technology is changing in a very short time.

Definitely a plus point for a full-stack developer who has all the basic knowledge about the web. Yet it is more important to focus on any one of them than to be an expert on everything. In web development, front-end or back-end should be practiced with more time on the subject that would be better to work on.

Web Development is the process of making every tool of web design functional and dynamic. A web site can be divided into three parts such as design or template, content management system and database. A web developer combines these three things to make the whole process active and changeable. The job of the web developer is to process data, control the database, build security, control the user and admin capabilities, make all the features of the application functional and dynamic, and control the functionality and usability of the entire system. To be a good web developer you need to have detailed knowledge and

skills about:

  • PHP,
  • Python,
  • MySQL as well as
  • HTML,
  • CSS,
  • JAVASCRIPT,
  • JQUERY,

 

Practice web design and development?

 

You can design or develop a website on a local server. You can use xampp or wampserver for that. If you want to practice on a web server directly or make your website open to everyone in the world, you can take a server or web hosting from sharewebhost. It is a very good company in Bangladesh, you can take any kind of hosting here. You can use Amazon server, Bluehost server if you want.

 

Where and how to work?

 

Outsourcing marketplaces such as upwork.com, freelancer.com, fiverr.com are in great demand among web page designers and web developers. In these markets you can earn a minimum of 5 to 100 per hour. Apart from that, you can earn money by selling your web applications in marketplaces like themeforest.net, codecanyon.net. You can work in thousands of software and web development companies in our country. The big advantage in this sector is that you can get a well-paid job in software companies without having to study computer science.

 

If you want to learn web design and development on your own:

You must take help from the internet. In this case Google, Youtube is the best platform. The following is a list of some of the sites to learn from the Internet:

  1. Alison
  2. W3School
  3. Web Professionals
  4. Dreamweaver
  5. Treehouse
  6. Udemy
  7. Alistapart
  8. Pluralsight
  9. CreativeBloq
  10. Mockplus
  11. Sass Extensions
  12. LinkedIn Learning

 

What is the monthly income of a Web Developer?

A web developer can be established as a software architect in any company starting from junior web developer or junior software engineer. In the initial stage of this profession, a very small salary of 15 to 25 thousand Taka is available. If you do well in entry level jobs, after 2/5 years, the salary as a software engineer and software architect can be 50 thousand to one lakh rupees. Later it may increase to 2 to 3 lakh rupees. If you have skills and qualifications, there are opportunities for remote jobs outside the country. Many are also earning Tk 8-10 lakh through remote jobs outside the country.

Concept of web design and development Part 2

Concept of web design and development Part 1

What is web design and development? Concept How to Develop them?

 

Websites are web content stored on a web server that can be viewed via the Internet.

Web development is the process of making information stored on a web server viewable in a web browser connected to the Internet.

 

A web page is basically an HTML (Hypertext Markup Language) document, which is transferred from the web server to the Internet user’s web browser via the HTTP (Hypertext Transfer Protocol) protocol. All published websites are collectively referred to as the “world wide web”.

 

How to create a website on the Internet?

Curiosity-loving people have such an interest in knowing it; Similarly, many people want to sell web design and development as a profession. If you are interested in learning about web design and development;

Then this article is for you.

 

A person who sets up or develops a website is called a web developer.

Client-side language following the design or image of the web developer website. He decorated the website using server-side languages.

Web development can be defined in many ways from creating a website. All the work that has to be done from the beginning to the end of the Internet Together it is called web development.

Or creating software to make the information stored on the web server viewable over an Internet connection is called web development.

The world has become a village for the benefit of the net. One click treatment from anywhere, Information on every part of the basic needs including education is known instantly.

Beyond the boundaries of knowledge, curious people are running towards strangers at an endless pace. The internet is an integral part of entertainment as it has become a basic tool of education. With the development of social civilization, people have made the world comfortable with their innovative energy, Has made life dynamic. And all this has been possible because of the millions of websites on the Internet.

 

Web Design is the visual representation of the website. Determining what the website will look like. A complete template for a web site steps are:

 

  • Created web design work. Website Layout, Header, Menu, Sidebar,
  • Designing / planning how the images will develop.
  • In a nutshell, web design is about determining how the web will display information.
  • Some tools (PHOTOSHOP, GIMP, notepad ++) are used to design the web.
  • Also, markup language and scripting language (HTML, CSS, JavaScript) etc.
  • A visually pleasing webpage can be created using.
  • Web designers are called front-end developers.

 

Web development

The process of making information stored on a web server viewable in a web browser connected to the Internet is called web development. A person who sets up or develops a website is called a web developer. The web developer decorates the website using client-side languages ​​and server-side languages ​​following the design or image of the website.

Web development can be defined in many ways. All the work that needs to be done, from creating a website to making it visible on the Internet, is called web development.

Or the development of software to make the information stored on the web server viewable over the Internet is called web development.

 

 

Steps to Web Design and Development

Web development is usually divided into three stages-

 

  1. Front end web development
  2. Back-end web development
  3. Web mastering
  4. Front end web development

Front end web development is the creation of a static static web page of a pre-planned or illustrated image website. Front end web development is the first step of web development.

A web developer who creates a static web page according to a fictional image or according to a web designer’s plan is called a front-end web developer or front-end developer. A front end web developer needs to have a deep knowledge of the technique of creating static web pages.

 

Hypertext Markup Language (HTML), Cascading Style Sheets (CSS) and JavaScript (JS) are the three languages ​​that can be used to create any kind of professional and modern webpage. From design layouts to images, typography – using font families, animations or motion graphics, it is the job of the front-end developer to create new and awesome webpages in many interfaces.

Next Tutorial content about back-end and process to become full stack developer process.

Computer Network Subnetting with real time example

Computer Network Subnetting with real time example

Subnetting in a Computer Network

Subnetting: Refers break large networks into smaller which provides security, low collision.

IPV4 address tips:

It is 32 bit address

Total address space = 2^32

Example: 192.168.0.0;

Here all the separated dot (.) are consist of 8 bits.

167.199.170.82/27 here /27 slash notation or CIDR(classless interdomain routing); 27 is prefix length.

Example: If a IP contain  slash notation that ip provide us three information

Total number of address, n = 2^(32-n)

First address by letting ‘0’ (32-n) rightmost bit.

Last address by letting ‘1’ (32-n) rightmost bit.

If you do not have basics on subnet please read my previous articles https://draftsbook.com/ip-and-its-properties-address-space-subnetting-with-real-time-example/

Example 1: The above example Given IP address: 167.199.170.82/27 find total number of address What is first address? What is last address?

 

Solution:

Given address: 167.199.170.82/27; prefix length, CIDR, n=27

total number of address 2^(32-n) =2^5 = 32 address

Find First Address

Given address, Its binary form 10100111.11000111.10101010.01010010

As (32-n) = 32-27 = 5; So, the last octet right last 5 bits will let ‘0’

That is the now the binary form 10100111.11000111.10101010.01000000 which decimal form is

167.199.170.64

So, first address 167.199.170.64/27.

OR,

Address: 167.199.170.82= 10100111.11000111.10101010.010 10010(as range 128-191 so Class B)
Netmask: 255.255.255.224 = 27 11111111.11111111.11111111.111 00000(as default mask Class B)
Wildcard: 0.0.0.31 =00000000.00000000.00000000.000 11111
=>
Network Address: 167.199.170.64/27 =10100111.11000111.10101010.010 00000 (Class B ‘AND ‘ operation on given address and mask)

Find Last Address

Given IP binary form 10100111.11000111.10101010.01010010

As (32-n) = 32-27 = 5; So, the last octet right last 5 bits 1

That is the now the binary form 10100111.11000111.10101010.01011111 which decimal form is

167.199.170.95

Broadcast Address: 167.199.170.95 =10100111.11000111.10101010.010 11111( ‘OR ‘ operation on given address and mask)

So, Last address 167.199.170.95/27.

 

Example 2: An address several prefix lengths can place on a address block 230.8.24.56/16.

As (32-16)=16 so first bit address right 16 bit will 0

SO binary form 230.8.24.56 = 011100110.00000100.00011000.00111000

First address = 230.8.0.0

To find last address last rightmost 16 bit will 1

SO binary form 230.8.24.56= 011100110.00000100.11111111.11111111

=230.8.255.255

 

A rule: Number of requested address N need to be power of 2

N= 2^32-n

Or, n= 32- log2^N

 

Example 3: A company start adreess 14.24.74.0/24 they need subblock. Each subblock 10 address, 6 subblock 60 and 3rd subblock 120 adress?

Solution:

Subblock address always power of 2. For 1st block address has 2^(32-24)=256, which need to divided.

32-24=8 that is rightmost 8 bit will 0; so 1st address 14.24.74.0/24;

32-24=8 that is rightmost 8 bit will 1; so last address 14.24.74.255/24;

As question 120 is not a power of 2 so immediate power 128(2^7)

So, n=32-log2^128=32-7=25; therefore so 1st address 14.24.74.0/25 and so 1st address 14.24.74.127/25;

 

(b) as 60 blocks not power of 2 immediate large 64 n=32-log2^64 =32-4=26

so 1st address 14.24.74.128/26; last address 14.24.74.191/26;

 

© 10 also not power of  2 immediate large 16; n=32-log2^16=32-4=28

so 1st address 14.24.74.192/28; last address 14.24.74.207/28;

 

Total 208 address used rest 48 for reserve.

 

Example 4: Find the subnet mask and number of host on each subnet mask at a class B. IP= 172.16.2.1/23(pally sancay bank 2018)

Solution:

Here 32-23=9  that is rightmost 9 bit will 1; Given IP binary form 11111111. 11111111. 11111110.00000000.subnet mask= 255.255.254.0

Valid network = 2^n =23-16=7; 2^7

Valid Host = 2^n – 2

N= 32-23=9=2^9 -2=510

Find first address

Binary form on Given IP and mask

10101100.00010000.00000010.00000001

11111111.11111111.11111110.00000000

11111111.11111111.11111110.00000001(Doing ‘OR’ operation )

So, 172.16.2.0/23 first IP address

 

OR,

Address:   172.16.2.1            10101100.00010000.0000001 0.00000001

Netmask:   255.255.254.0 = 23(32-23)=9    11111111.11111111.1111111 0.00000000

Wildcard:  0.0.1.255             00000000.00000000.0000000 1.11111111

=>

Network Address:   172.16.2.0/23         10101100.00010000.0000001 0.00000000 (IP and mask and operation)(Class B)

Broadcast Address: 172.16.3.255          10101100.00010000.0000001 1.11111111

HostMin:   172.16.2.1            10101100.00010000.0000001 0.00000001

HostMax:   172.16.3.254          10101100.00010000.0000001 1.11111110

Hosts/Net: 510                  (Private Internet)

 

 

Example 5: Find Network Address, Broadcast Address, Network, valid host ip= 192.16.13.0/30. [NESCO -2018]

Solution:

Given ip = 192.16.13.0 [32-30=2] binary form 11000000.00010000.00001101.00000000

As it is 192 so class C and ask 255.255.255.0 binary form 11111111.11111111.11111111.11111100(rightmost 2 ‘0’ bits);

Now apply ‘And’ operation to find first address:192.16.13.0/30

1st address or Network address = 192.16.13.0/30

Or, See the full operation sequentially:

Given IP Address:   192.16.13.0           11000000.00010000.00001101.000000 00(range 192-223 so Class C )

Netmask:   255.255.255.252 = 30  11111111.11111111.11111111.111111 00(default mask Class C )

Wildcard:  0.0.0.3               00000000.00000000.00000000.000000 11(apply ‘AND’ between IP and mask)

=>

Network:   192.16.13.0/30        11000000.00010000.00001101.000000 00 (Class C)

 

Last address/ Broadcast address need mask last 2 bits are 1 and apply OR operation:

Given IP Address:   192.16.13.0           11000000.00010000.00001101.000000 00

Netmask:   255.255.255.252 = 30  11111111.11111111.11111111.111111 00

Broadcast: 192.16.13.3           11000000.00010000.00001101.000000 11 (apply OR operation)

HostMin:   192.16.13.1           11000000.00010000.00001101.000000 01

HostMax:   192.16.13.2           11000000.00010000.00001101.000000 10

Hosts/Net: 2

So, last address 192.16.13.3           /30

Find valid host = 2^n -2 =2^2-2 = 4-2 =2

 

Example 6: A block address is granted to a small organization. If one of the address is 205.16.37.39/28. What is the first and last address of the block? [ministry (AP)-2017]

 

Given IP Address:   205.16.37.39          11001101.00010000.00100101.0010 0111

Netmask:   255.255.255.240 = 28  11111111.11111111.11111111.1111 0000

Wildcard:  0.0.0.15              00000000.00000000.00000000.0000 1111

=>

Network:   205.16.37.32/28       11001101.00010000.00100101.0010 0000 (Class C)

Broadcast: 205.16.37.47          11001101.00010000.00100101.0010 1111

HostMin:   205.16.37.33          11001101.00010000.00100101.0010 0001

HostMax:   205.16.37.46          11001101.00010000.00100101.0010 1110

Hosts/Net: 14

 

 

 

 

 

 

 

Computer Network Subnetting with real time example

IP and its properties address space subnetting with real time example

What is IP and its properties

“IP” stands for Internet Protocol where data is sent by which the method or protocol from one computer to another.  Actually, each computer on the Internet has at least one IP address that uniquely identifies it from all other computers on the Internet. An IP address is a unique global address for a network interface.

IP is an real life example of the postal system. It allows you to address a package and drop it in the system, but there’s no direct link between you and the recipient. TCP/IP, in contrast, creates a connection between two hosts, so that they can send messages back and forth for a period of time.

TCP is one of the main protocols in TCP/IP networks. Whereas the IP protocol deals only with packets, TCP enables two hosts to establish a connection and exchange streams of data. TCP guarantees delivery of data and also guarantees that packets will be delivered in the same order in which they were sent.

Two (2) IP addressing standards are in use today. The IPv4 standard is most familiar to people and supported everywhere on the Internet, but the newer IPv6 standard is gradually replacing it.

  • IPv4 addresses consist of four (4) bytes (32 bits)
  • IPv6 addresses are sixteen (16) bytes (128 bits) long.

IP Address space

An IPv4 address is a 32-bit or  4 byte address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.

An IPv4 address consists of four numbers, with a single dot (.) separating each number or set of digits.

Each of the four numbers can range from 0 to 255.

An address space is the total number of addresses used by the protocol. If a protocol uses N bits to define an address, the address space is  2N  because each bit can have two different values (0 or 1) and N bits can have 2N  values.

IPv4 uses 32-bit addresses, which means that the address space is 232  or 4,294,967,296 (more than 4 billion).

  • There are two prevalent notations to show an IPv4 address:

(1) Binary notation and

(2) Dotted decimal notation.

Binary Notation:

01110101   10010101   00011101   00000010

Dotted-Decimal Notation:   117.  149.  29.  2

Classful Addressing

IPv4 addressing, at its inception, used the concept of classes. This architecture is called classful addressing. In classful addressing, the address space is divided into five classes: A, B, C, D, and E.

Class Binary Decimal
A 0 0-127
B 1o 128-191
C 110 192-223
D 1110 224-239
E 1111 240-255

 

 

Class Start address End Address
A  0.0.0.0 127.255.255.255
B 128.0.0.0 191.255.255.255
C 192.0.0.0 223.255.255.255
D 224.0.0.0 239.255.255.255
E 240.0.0.0 255.255.255.255

 

Exercise

  1. 193.14.56.22

The first byte is 193 (between 192 and 223); the class is C.

  1. 14.23.120.8

The first byte is 14 (between 0 and 127); the class is A.

In classful addressing, an IP address of class A, B and C is divided into two parts : Netid and Hostid.

The netid and hostid are of varying lengths that is varies on depending on the class of the address.

Netid(n): The part of an IP address that identifies the network.

Hostid(32-n): The part of an IP address that identifies a host in a network.

Class Net Id Host Id Start address End Address
A 8 24 0.0.0.0 127.255.255.255
B 16 16 128.0.0.0 191. 255.255.255
C 24 8 192.0.0.0 223. 255.255.255
D Not define 224.0.0.0 239. 255.255.255
E Not define 240.0.0.0 255. 255.255.255

Class A address

  • If the first decimal number in IP address is 0 to 127, then it is a class A address.
  • Class A IP addresses use the 1st 8 bits (1st Octet) to designate the Network address.
  • The 1st bit which is always a 0, is used to indicate the address as a Class A address & the remaining 7 bits are used to designate the Network.
  • The other 3 octets contain the Host address.
  • There are 128 (27) Class A Network Addresses, but because addresses with all zeros aren’t used & address 127 is a special purpose address, 126 Class A Networks are available.
  • formula to compute the number of hosts available in any of the class addresses, where “n” represents the number of bits in the host portion:
  • (2n – 2) = Number of available hosts
  • For a Class A network, there are:
  • 224 – 2 or 16,777,214 hosts.
  • Half of all IP addresses are Class A addresses.
  • You can use the same formula to determine the number of Networks in an address class.
  • , a Class A address uses 7 bits to designate the network, so (27 – 2) = 126 or there can be 126 Class A Networks.

Class B IP Addresses

 

  • If the first decimal number in IP address is 128 to 191, then it is a class B address.
  • Class B addresses use the 1st 16 bits (two octets) for the Network address.
  • The last 2 octets are used for the Host address.
  • The 1st 2 bit, which are always 10, designate the address as a Class B address & 14 bits are used to designate the Network. This leaves 16 bits (two octets) to designate the Hosts.
  • So how many Class B Networks can there be?

Using our formula, (214 – 2), there can be 16,382 Class B Networks & each Network can have (216 – 2) Hosts, or 65,534 Hosts

 

 

Class C IP address

  • If the first three bits of the address are 1 1 0, it is a class C network address.
  • The first three (3) bits are class identifiers.
  • The next 21 bits are for the network address.
  • The last eight (8) bits  identify the host.
  • There are millions of class C network numbers.
  • However, each class C network can have 254 hosts.
Class Number of Blocks/ Networks Block size/ Address per block Start address End Address Application
A 128(27) 16,777,216(224) 0.0.0.0 127.255.255.255 Unicast
B 16384(214) 65536(216) 128.0.0.0 191. 255.255.255 Unicast
C 2097152(221) 256(28) 192.0.0.0 223. 255.255.255 Unicast
D 224.0.0.0 239. 255.255.255 Multicast
E 240.0.0.0 255. 255.255.255 Multicast

 

Mask

the form /n where n can be 8, 16, or 24 in classful addressing. This notation is also called slash notation or Classless Interdomain Routing (CIDR) notation.

  • the length of the netid and hostid (in bits) is predetermined in classful addressing, we can also use a mask.
  • Default Mask:
Class  Dotted-Decimal Mask
A 255.0.0.0 /8

Example: 10.25.11.27/8

B 255.255.0.0 /16

Example: 192.25.11.27/16

C 255.255.255.0 /24

Example: 224.25.11.27/24

 

The next article give example of subnetting, Now do practice with blog Subnetting with real time example

IELTS Synonyms LIST PART 2

IELTS Synonyms LIST PART 2

Synonyms for IELTS

Synonyms or IELTS synonyms  are words which are related each other or have a similar in meaning. IELTS Students just need to know this vocabulary list for test to be able to practice Speaking and Writing a lot. Because learning synonyms words is a basic and very important part of learning English. Specially discover a selected List of IELTS Vocabulary Words guaranteed increase Score in test.  They can be lifesavers Make Writing Shine and Plagiarism Detection. Here are some of the most useful synonyms words for IELTS.  Synonyms Words List for IELTS share in the blog. Read more on the IELTS Synonyms LIST PART 1 for first list of synonyms.

Word

 Synonyms

Worthy

Noteworthy, great , distinguished, remarkable, grand, considerable, powerful, much, mighty

Improper

Rude, coarse, indecent, crude, vulgar, outrageous, extreme, grievous, shameful, uncouth, obscene, low, gross

Satisfied

Happy , pleased, contented, delighted, elated, joyful, cheerful, ecstatic, jubilant, gay, tickled, gratified, glad, blissful, overjoyed

Dislike

despise, loathe, detest, abhor, disfavor, hate, disapprove, abominate

Enjoy

Have , hold, possess, own, contain, acquire, gain, maintain, believe, bear, beget, occupy, absorb, fill

Support

Help, aid, assist, encourage, back, wait on, attend, serve, relieve, succor, benefit, befriend, abet

Mask

Hide , conceal, cover, cloak, camouflage, screen, shroud, veil

Hurry

Rush, run, speed, race, hasten, urge, accelerate, bustle

Injure

Hurt ,damage, harm, wound, distress, afflict, pain

Plan

Thought, concept, conception, notion, idea, understanding, opinion, view, belief

Essential

Indispensable, valuable, significant, primary, principal, considerable, famous, distinguished, notable, well-known, important, necessary, vital, critical

Challenging

Piquant, lively, racy, spicy, engrossing, absorbing, consuming, gripping, arresting, enthralling, spellbinding, curious, fascinating, engaging, sharp, keen, bright, intelligent, animated, spirited, attractive, inviting, intriguing, provocative, though-provoking, inspiring, involving, moving, titillating, tantalizing, exciting, entertaining,  captivating, enchanting, bewitching, appealing, interesting

 maintain

Withhold, preserve, sustain, support, keep, hold, retain

Destroy

Assassinate, murder, kill, slay, execute, cancel, abolish

 idle

Inactive, lazy, indolent, slothful, sluggish

Small

Puny, exiguous, dinky, slight, petite, minute, little, tiny, diminutive, , cramped, limited, itsy-bitsy, microscopic, shrimp, runt, miniature

Look

Seek, search for, peek, peep, glimpse, stare, contemplate, examine, peruse, explore, gape, ogle, scrutinize, inspect, gaze, see, glance, watch, survey, study, leer, behold, observe, view, witness, perceive, spy, sight, discover, notice, recognize, peer, eye, gawk

Admire

Love,  like , esteem, fancy, care for, cherish, adore, treasure, worship, appreciate, savor

Create

Make, originate, develop, do, effect, execute, invent, compose, perform, accomplish, earn, gain, obtain, acquire, get, beget, form, construct, design, fabricate, manufacture, produce, build

Naughty

Mischievous, impish, prankish, playful, , roguish, waggish, sportive

Sign

Mark, label, tag, price, designate, ticket, impress, effect, trace, imprint, stamp, brand, note, heed, notice

Clean

Neat , desirable, spruce, orderly, tidy, trim, dapper, natty, smart, elegant, well-organized, super, shipshape, well-kept, shapely

Short-tempered

Moody, temperamental,  glum, morose, sullen, mopish, irritable, testy, peevish, fretful, spiteful, sulky, touchy, changeable

Recent

Original, unusual, new, fresh, unique, novel, modern, current

Ancient

Worn, dilapidated, ragged, faded, broken-down, former, old-fashioned, outmoded, passé, veteran, mature, venerable, primitive, traditional, old, feeble, frail, , weak, aged, used, archaic, conventional, customary, stale, musty, obsolete, extinct

Piece

Section, fraction, fragment, part, portion, share, allotment

Location

Area, spot, plot, region, , situation, position, residence, dwelling, set, site, station, status, state , place, space

Design

Arrangement, intention, device, contrivance, plan, plot, scheme, draw, map, diagram, procedure, method, way, blueprint

Common

Well-liked, approved, accepted, popular ,favorite, celebrated, current

Problem

Pickle, plight, spot, scrape, predicament ,quandary, dilemma

Set

Keep, save, set aside, effect, achieve, do, build, put ,place, , attach, establish, assign

Silent

Tranquil, peaceful, calm, restful, quiet, still, soundless, mute,

Proper

Accurate, factual, true, good, right, correct, just, honest, upright, lawful, moral, , suitable, apt, legal, fair

Escape

Speed, hurry, hasten, sprint, run ,race, dash, rush,  elope, flee

Tell

Declare, command, order, bid, enlighten, instruct, insist, teach, train, direct, issue, remark, converse, speak, affirm, suppose, utter, negate, express, verbalize, voice, articulate, pronounce, deliver, convey, impart, assert, state, allege, mutter, grunt, snort, roar, bellow, thunder, boom, scream, shriek, screech, squawk, whine, philosophize, stammer, stutter, lisp, drawl, jabber, protest, announce, swear, vow, content, assure, deny, dispute mumble, whisper, sigh, exclaim, yell, say, inform, notify, advise, relate, recount, narrate, explain, reveal, disclose, divulge, sing, yelp, snarl, hiss

Afraid

Timorous, scared , frightened, jumpy, disquieted, worried, vexed, troubled, disturbed, horrified, terrorized, alarmed, terrified, panicked, fearful, unnerved, insecure, timid, shy, skittish, shocked, petrified, haunted, shrinking, tremulous, stupefied, paralyzed, stunned, apprehensive

Present

Display, exhibit, note, point to, indicate, explain, reveal, show, prove, demonstrate, expose

End

Conclude,  finish, quit , pause, discontinue, stop, cease, halt, stay

Late

Behind, tedious, slack ,slow, unhurried, gradual, leisurely

Record

Account, narrative, chronicle, epic, sage, anecdote, memoir , story, tale, myth, legend, fable, yarn

Weird

Unfamiliar, uncommon, queer, , outlandish, curious, unique, exclusive, irregular , strange ,odd, peculiar, unusual

Pick

Lift, rob, engage, bewitch, purchase, buy, retract, recall, assume, occupy, consume, take , hold, catch, seize, grasp, win, capture, acquire, choose, select, prefer, remove, steal

Inform

Relate, narrate, , advise, explain, divulge, declare, command, order, bid, show, expose, uncover, recount, repeat , tell ,disclose, reveal

Consider

Believe, contemplate, reflect, think , judge, deem, assume,  mediate

Pain

Difficulty, concern, trouble ,distress, anguish, anxiety, worry, wretchedness, , danger, peril, disaster, grief, misfortune, pains, inconvenience, exertion, effort

Exact

True, accurate, right, staunch, proper, precise,  valid, genuine, real, actual, trusty, steady, loyal, dependable, sincere

Horrible

Unpleasant ,ugly, hideous, frightful, frightening, shocking, mons

Move

Journey, trek, ride, spin, slip, glide, slide, slither, coast, flow, sail, saunter, hobble, amble, stagger, paddle, plod, go, creep, crawl, inch, poke, drag, toddle, shuffle, trot, dawdle, walk, traipse, mosey, hump, gallop, lope, accelerate, stir, budge, travel, wander, roam,  slouch, prance, straggle, meander, perambulate, waddle, wobble, pace, swagger, promenade, lunge , jog, plug, trudge, slump, lumber, trail, lag, run, sprint, trip, bound, hotfoot, high-tail, streak, stride, tear, breeze, whisk, rush, dash, dart, bolt, fling, scamper, scurry, skedaddle, scoot, scuttle, scramble, race, chase, hasten, hurry, Jam

More articles find in the blog for IELTS are

  1.  IELTS writing different sentence in Similar meaning.
  2.  IELTS formal informal word uses.
  3.  Say and don’t say sentence structure practice for IELTS speaking
  4.  IELTS Speaking band scores scheme and how they are calculated
  5.  IELTS Speaking publicly use band descriptors.
  6.  IELTS reading module vocabulary list
  7. IELTS Synonyms LIST PART 1
IELTS Synonyms LIST PART 2

IELTS Synonyms LIST PART 1

Synonyms

Synonyms are words which are related each other or have a similar in meaning. IELTS Students just need to know this vocabulary list for test to be able to practice Speaking and Writing a lot. Because learning synonyms words is a basic and very important part of learning English. Specially discover a selected List of IELTS Vocabulary Words guaranteed increase Score in test.  They can be lifesavers Make Writing Shine and Plagiarism Detection. Here are some of the most useful synonyms words for IELTS.  Synonyms Words List for IELTS share in the blog.

Word Synonyms
Incredible

Unbelievable, improbable, fabulous, wonderful, fantastic, astonishing, astounding, extraordinary Anger- enrage, infuriate, arouse, nettle, exasperate, inflame, madden, Amazing

Mad

Furious, enraged, excited, wrathful, indignant, exasperated, aroused, angry, inflamed Answer- reply, respond, retort, acknowledge

Inquire

Ask, inquire of, seek information from, put a question to, demand, request, question ,expect, inquire, query, interrogate, examine, quiz

Bad

Dreadful, terrible, abominable, bad, poor, unpleasant, awful

Evil

Immoral, wicked, corrupt, sinful, depraved, rotten, contaminated, spoiled, tainted, harmful, injurious, unfavorable, defective, inferior, imperfect, substandard, faulty, improper, inappropriate, unsuitable, disagreeable, unpleasant, cross, nasty, unfriendly, irascible, horrible, atrocious, outrageous, scandalous, infamous, wrong, noxious, sinister, putrid, snide, deplorable, dismal, gross, heinous, nefarious, base, obnoxious, detestable, despicable, contemptible, foul, rank, ghastly, execrable

Pretty

Lovely, handsome, attractive, gorgeous, dazzling, Beautiful ,splendid, magnificent, comely, fair, ravishing, graceful, elegant, fine, exquisite, aesthetic, pleasing, shapely, delicate, stunning, glorious, heavenly, resplendent, radiant, glowing, blooming, sparkling

Start

Open, launch, initiate, commence, inaugurate, Begin, originate

Large

Begin, start, open, launch, initiate, commence, inaugurate, originate

Peaceful

Calm, quiet, still, tranquil, mild, serene, smooth, composed, collected, unruffled, level-headed, unexcited, detached, aloof

Near

Come, approach, advance, arrive, reach

Cold

Cool, chilly, frosty, wintry, icy, frigid,
Crooked, twisted, curved, hooked, zigzag, bent

Shout

Cry, yell, yowl, scream, roar, bellow, weep, wail, sob, bawl

Crop

Cut, gash, slash, prick, nick, sever, slice, carve, cleave, slit, chop, crop, lop, reduce

Fearless

Courageous, dauntless, intrepid, plucky, daring, heroic, valorous, audacious, bold, gallant, valiant, doughty, mettlesome, Brave

Crash

Break, fracture, rupture, shatter, smash, wreck, crash, demolish, atomize

Shiny

Bright, shining, gleaming, brilliant, sparkling, shimmering, radiant, vivid, colorful, lustrous, luminous, incandescent, intelligent, knowing, quick-witted, smart, intellectual

Risky

Dangerous, perilous, hazardous, uncertain, unsafe

Sad

Dark, shadowy, unlit, murky, gloomy, dim, dusky, shaded, sunless, black, dismal

Choose

Decide, determine, settle, choose, resolve Definite – certain, sure, positive, determined, clear, distinct, obvious

Appetizing

Delicious, savory, delectable,  luscious, scrumptious, palatable, delightful, enjoyable, toothsome, exquisite

Report

Describe, portray, characterize, picture, narrate, relate, recount, represent, report, record

Ruin

Destroy, demolish, raze, waste, kill, slay, end, extinguish

Contrast

Difference , disagreement, inequity,  dissimilarity, incompatibility

Do

Execute, enact, carry out, finish, conclude, effect, accomplish, achieve, attain

Boring

Dull, tiring,, tiresome, uninteresting, slow, dumb, stupid, unimaginative, lifeless, dead, insensible, tedious, wearisome, listless, expressionless, plain, monotonous, humdrum, dreary

Interested

Keen, fervent, enthusiastic, involved , alive to, eager

Stop

End, finish, terminate, conclude, close, halt, cessation, discontinuance

Like

Appreciate, delight in, be pleased, enjoy, indulge in, luxuriate in, bask in, relish, devour, savor

Define

Explain – elaborate, clarify, interpret, justify, account for

Honest

Just, impartial, unbiased, objective, unprejudiced, fair

Drop

Fall, descend, plunge, topple, tumble

False

Erroneous, deceptive, groundless, fake, fraudulent, counterfeit, spurious, untrue, unfounded, fallacious

Well-known

Famous, renowned, celebrated, famed, eminent, illustrious, distinguished, noted, notorious

Fleet

Swiftly, fast, rapidly, quickly, snappily, speedily, lickety-split, posthaste, quick, rapid, speedy, hasty, snappy, ercurial, hastily, expeditiously, like a flash

Fat

Full, rotund, tubby, pudgy, stout, corpulent, fleshy, beefy, paunchy, plump, chubby, chunky, burly, bulky, elephantine

Alarm

Fear, fright, dread, terror, dismay, anxiety, scare, awe, horror, panic, apprehension

 Amusing

Humorous, droll, comic, comical, laughable, silly, funny

Obtain

Acquire, secure, procure, gain, fetch, find, score, accumulate, win, earn, rep, catch, net, bag, derive, collect, gather, glean, pick up, accept, come by, regain, salvage, get

 Disappear

Recede, depart, fade, move, travel, proceed, go

Helpful

Excellent, fine, superior, wonderful, marvelous, qualified, suited, suitable, apt, proper, trustworthy, safe, favorable, profitable, advantageous, righteous, expedient, valid, genuine, ample, salubrious, estimable, beneficial, splendid, great, noble, worthy, first-rate, top-notch, grand, sterling, superb, respectable, capable, generous, kindly, friendly, gracious, obliging, good, pleasant, agreeable, pleasurable, satisfactory, well-behaved, obedient, honorable, reliable,  edifying

Learn more article on IELTS

 

IELTS Synonyms LIST PART 2

IELTS reading module vocabulary list

IELTS reading module vocabulary

In IELTS reading module, a number of sentences will be given with gaps in them and asked to complete the sentences with words from the reading text.

This is actually your vocabulary tests as they are reading tests. They require you to be aware of paraphrasing and synonyms. More on these reading vocabulary are given below.

  1. Range
  2. Direct
  3. Physical
  4. Adopt
  5. Particular
  6. Technical
  7. Individual
  8. Theory
  9. Access
  10. Potential
  11. Responsible
  12. Period
  13. Major
  14. Influence
  15. Facilities
  16. Establish
  17. Occur
  18. Feature
  19. Essential
  20. Factor
  21. Source
  22. Focus
  1. Experiment
  2. Efficient
  3. Project
  4. Accurate
  5. Innovate
  6. Demand
  7. Aim
  8. Material
  9. Adapt
  10. Compete
  11. Average
  12. Evolve
  13. Institute
  14. Positive
  15. Crucial
  16. Method
  17. Provide
  18. Arrange
  19. Relevant
  20. Vital
  21. Survive
  22. Alternative
  1. Unique
  2. Stage
  3. Original
  4. Create
  5. Evidence
  6. Revolution
  7. Several
  8. Respond
  9. Strategy
  10. Diverse
  11. Require
  12. Area
  13. Risk
  14. Role
  15. Combine
  16. Observe
  17. Resource
  18. Network
  19. Context
  20. Experience
  21. System
  22. Avoid
  1. Despite
  2. Apply
  3. Key
  4. Generation
  5. Expert
  6. Ensure
  7. Research
  8. Structure
  9. Connect
  10. Vary
  11. Identify
  12. Involve
  13. Region
  14. Policy
  15. Series
  16. Process
  17. Previous
  18. Achieve
  19. Organisation
  20. Extend
  21. Inevitable
  22. Site
  1. Technique
  2. Behavior
  3. Absorb
  4. Adjust
  5. Annual
  6. Consequence
  7. Current
  8. Enable
  9. Enormous
  10. Expand
  11. Identify
  12. Majority
  13. Measure
  14. Numerous
  15. Permanent
  16. Practical
  17. Visual
  18. Shrink
  19. Tool
  20. Broad
  21. Figure
  22. Narrow
  23. Sharp
  1. Scale
  2. Branch
  3. Emphasis
  4. Decline
  5. Detect
  6. Legislation
  7. Supplement
  8. Commerce
  9. Foundation
  10. Sophisticated
  11. Integrate
  12. Visible
  13. Inevitable
  14. Regular
  15. Mechanism
  16. Relatively
  17. Superior
  18. Perspective
  19. Interpret
  20. Contribute
  21. Therapy
  22. Substance
  23. Minor
  1. Undertake
  2. Campaign
  3. Facilitate
  4. Independent
  5. Practical
  6. Primary
  7. Skip
  8. Subsidise
  9. Distribute
  10. Imitate
  11. Attribute
  12. Rate
  13. Threaten
  14. Operate
  15. Consult
  16. Priority
  17. Outcome
  18. Pioneer
  19. Sufficient
  20. Favorable
  21. Sector
  22. Status
  23. Primitive
  1. Innovation
  2. Section
  3. Reflect
  4. Boundary
  5. Administration
  6. Principle
  7. Theoretical
  8. Budget
  9. Accelerate
  10. Modify
  11. Subsequent
  12. Anxiety
  13. Define
  14. Reject
  15. Funding
  16. Gradual
  17. Inferior
  18. Property
  19. Maintain
  20. Estimate
  21. Vegetation
  22. Probability
  23. Halt
  1. Reverse
  2. Exhibition
  3. Transmit
  4. Authority
  5. Contradict
  6. Prohibit
  7. Perceive
  8. Conflict
  9. Transform
  10. Volume
  11. Approach
  12. Durable
  13. Identical
  14. Explore
  15. Obligation
  16. Duty
  17. Specific
  18. Exterior
  19. Restrict
  20. Alter
  21. Shift
  22. Inspire
  23. Ultimately
  24. Marine
  1. Jackson
  2. Release
  3. Discriminate
  4. Proof
  5. Prior
  6. Category
  7. Labour
  8. Mature
  9. Distinguish
  10. Acquire
  11. Pattern
  12. Attempt
  13. Shape
  14. Account for
  15. Spread
  16. Sole
  17. Initial
  18. Immigrate
  19. Instance
  20. Exaggerate
  21. Consistent
  22. Weigh
  23. Challenging
  24. Gene
  1. Numerous
  2. Justify
  3. Doubt
  4. Debate
  5. Dominate
  6. Represent
  7. Context
  8. Classify
  9. Concept
  10. Surround
  11. Planet
  12. React
  13. Target
  14. Sense
  15. Reveal
  16. Seed
  17. Determine
  18. Originate
  19. Element
  20. Reproduce
  21. Assess
  22. Emerge
  23. Duration
  24. Controversial
  1. Impress
  2. Comprehensive
  3. Milestone
  4. Hostile
  5. Disintegrate
  6. Joint
  7. Avoid
  8. Circulate
  9. Synthetic
  10. Invade
  11. Coincidence
  12. Consensus
  13. Accessory
  14. Superficial
  15. Abandon
  16. Compromise
  17. Puzzle
  18. Melt
  19. Tide
  20. Demand
  21. Frame
  22. Prehistoric 
  23. Creature
  24. Criteria
  1. Route
  2. Nerve
  3. Matter
  4. Terrain
  5. Skeptical
  6. Campaign
  7. Catastrophe
  8. Pedestrian
  9. Ancestor
  10. Ignore
  11. Expose
  12. Privileged
  13. Influence
  14. Auditory
  15. Assign
  16. Deduce
  17. Tolerate
  18. Equivalent
  19. Capacity
  20. Grant
  21. Dissolve
  22. Pour
  23. Predator
  24. Senior
  25. Cultivate
  26. Biography
  27. Reef
  1. Ripe
  2. Peer
  3. Agency
  4. Moral
  5. Sediment
  6. Navigate
  7. Universal
  8. Terrestrial
  9. Straightforward
  10. Colony
  11. Guarantee
  12. Linguistic
  13. Collapse
  14. Counselling
  15. Simultaneous
  16. Inherent
  17. Frequency
  18. Degree
  19. Ethical
  20. Evaluate
  21. Incidence
  22. Bury
  23. Apparatus
  24. Coordinate
  25. Deliberately
  26. Craft
  27. Laboratory
  1. Classic
  2. Manipulate
  3. Application
  4. Descend
  5. Cognitive
  6. Limbs
  7. Manual
  8. Instrument
  9. Concrete
  10. Judge
  11. Optimise
  12. Revolution
  13. Link
  14. Dynamic
  15. Trace
  16. Reverse
  17. Compatible
  18. Mineral
  19. Component
  20. Interior
  21. Indigenous
  22. Trait
  23. Military
  24. Decorate
  25. Indicate
  26. Mode
  27. Constitute
  1. Continent
  2. Imply
  3. Consensus
  4. Refer to
  5. Assume
  6. Primitive
  7. Dual
  8. Passage
  9. Apparent
  10. Implications
  11. Ascend
  12. Automobile
  13. Pace
  14. Investigate
  15. Algae
  16. Conscious
  17. Overwhelming
  18. Emigrate
  19. Model
  20. Monitor
  21. Cover
  22. Surface
  23. Motion
  24. Court
  25. Aggressive
  26. Witness
  27. Vulnerable

To know more tips and information on speaking module see blog

5 IELTS writing different sentence in Similar meaning. 

4 IELTS formal informal word uses.

3 Say and don’t say sentence structure practice for IELTS speaking

2 IELTS Speaking band scores scheme and how they are calculated

1 IELTS Speaking publicly use band descriptors.

IELTS Synonyms LIST PART 2

IELTS Speaking publicly use band descriptors.

IELTS Speaking

IELTS Speaking band descriptors that are public version across the world. The blog is provide most important resources for IELTS speaking module. One can take as a opportunity of the huge amount of information to get ready for IELTS test.

An IELTS examiner check examinee speaking band score with these properties and information, such as IELTS Speaking band scores scheme and how they are calculated:

  1. Pronunciation
  2. Grammar
  3. Vocabulary or Lexical Resource (LR)
  4. Fluency and Coherence.

In this blog we discuss about speaking band description available here. For the first time we details all the four form band score 0-9 and their detail description criteria depend on score.

Band Fluency and coherence
9
  • Always speaks confidently with only self-correction and avoid repetition.
  • Don not any hesitation is content related to find words or grammar.
  • Fully speaks coherently with appropriate structures.
  • Appropriately develops subjects.
8
  • Speaks smoothly with only occasional repetition or self-correction.
  • Usually hesitation is content-related and only rarely to search for language.
  • Frequently develops themes coherently and appropriately
7 ·

  • Speaks at length without noticeable loss of coherence
  • May demonstrate language related uncertainty at times, or some repetition or self-correction
  • Uses a variety of connectives and dialogue markers with some flexibility.
6
  • Willing to speak at length, though may lose coherence at times as an occasional repetition or self-correction or hesitation
  • Not always suitably uses a range of connectives and speech markers.
5
  • Frequently maintains flow of speech but uses repetition, self-correction / slow speech to keep going
  • May overuse definite connectives and dialog markers.
  • Produces simple speech fluently, but more complex communication causes fluency problems
4
  • Cannot respond without noticeable pauses and may speak slowly, with frequent repetition and self-correction
  • Links basic sentences but with repetitious use of simple connectives and some breakdowns in coherence
3
  • Speaks with long pauses
  • Has limited ability to link simple sentences
  • Provides only simple responses and is frequently unable to convey basic message
2
  • Often pauses lengthily before the most words and little communication possible.
1
  • No communication possible
0
  • Does not attend.

The next table concern with the band score 0-9 and their detail description criteria depend on score of vocabulary.

Band Lexical resources (Vocabulary )
9
  • All the topics uses vocabulary with occupied flexibility and accuracy.
  • Precisely practices idiomatic language.
8
  • To convey precise meaning a wide range of vocabulary resources readily and flexibly.
  • To uses less common and idiomatic vocabulary skillfully, with occasional inaccuracies
  • Effectively paraphrase.
7
  • Vocabulary resources flexibility discuss a wide range of topics
  • Less common and idiomatic vocabulary uses.
  • Awareness of style and collocation, with some incorrect choosing.
  • Efficiently uses paraphrase
6
  • Enough vocabulary to discuss topics at length and make meaning clear instead of inappropriateness paraphrases successfully
5
  • Generally manages to talk about familiar and unfamiliar topics but uses vocabulary with limited flexibility.
  • Need attempts to use paraphrase but with mixed success.
4
  • Able to speak with familiar topics but can only convey basic meaning on unfamiliar topics and makes common.
  • Mistakes in term choice.
  • rarely attempts paraphrase
3
  • Simple vocabulary uses to convey personal information.
  • Less familiar topics has insufficient vocabulary.
2
  • only products inaccessible words or memorized utterances
1
0

The next table concern with the band score 0-9 and their detail description criteria depend on score of Grammatical range and accuracy(GRA). This type mainly focus how a examinee use grammar and its accuracy.

Band Grammatical range and accuracy(GRA)
9
  • Full range of structures uses  naturally and appropriately
  • Regularly structures separately from ‘slips’
  • Distinguishing of native speaker speech
8
  • A series of structures uses flexibly
  • A majority of sentences without error with inappropriacies or basic or non-systematic errors
7
  • A range of complex structures uses with some flexibility
  • Frequently produces without error sentences, yet some grammatical mistakes carry on
6
  • A mixture of simple and complex structures uses, but with limited flexibility
  • Recurrent mistakes with complex structures
  • Although these rarely cause problems
5
  • Basic sentence yields forms with practical accuracy
  • A limited range of more complex structures practices, but these contain errors and may cause some comprehension problems
  • Positive features of Band 4 and some, but not all, of the positive features of Band 6.
4
  •  Basic sentence produces forms and a few correct simple sentences but secondary structures are rare errors are frequent and may lead to misunderstanding
3
  • Tries basic sentence forms but with limited success, or depends on speciously memorised utterances.
  • Makes several errors except in memorised expressions
2
  •  Basic sentence forms cannot  produce
1
0

The last table contain information with the band score 0-9 and their detail criteria depend on score of Pronunciation. This kind of speaking part  focus how a examinee pronunciation with the accuracy or pauses or lengthily.

Band Pronunciation
9
  •  A full range of pronunciation features uses with precision and subtlety  sustains flexible use of features throughout is easy to understand
8
  •  A extensive range of pronunciation uses features
  • Sustains flexible use of features, with only occasional lapses is easy to understand throughout; accent has minimal effect on intelligibility.
7
  •  All the positive features shows Band 6 and some, but not all, of the positive features of Band 8
6
  • A range of pronunciation uses features with varied control
  • Some effective use of features but this is not sustained can generally be understood throughout, though
  • Mispronunciation of individual words or sounds decreases clearness at times
5
  • Often produces basic sentence forms with reasonable accuracy
  •  A limited series of more complex structures uses, but these usually contain mistakes and may reason some comprehension problems
  •  The positive features shows all of Band 4 and some, but not all, of the positive features of Band 6
4
  • A incomplete range of pronunciation usages features
  • Attempts to control features but lapses are frequent mispronunciations are frequent and cause some difficulty for the listener
3
  • Shows some of the features of Band 2 and some, but not all, of the positive features of Band 4
2
  • Speech is often unintelligible
1
0

More of the article about:

IELTS Synonyms LIST PART 2

IELTS Speaking band scores scheme and how they are calculated

IELTS SPEAKING GRADING TIPS AND INFORMATION:

Examiners look at five different things to determine an examinee’s score:

  1. Pronunciation -mean in how naturally you sound
  2. Grammar – refers how good is your grammar
  3. Vocabulary or Lexical Resource (LR) –  how much enrich is your vocabulary
  4. Fluency and Coherence –  refers how clear and structured is your speech.

Grade Distributions:
IELTS Speaking score calculation Pronunciation: 7.0, Grammatical Range and Accuracy – 7.5, , Lexical Resources(Vocabulary ): 7.0 and Fluency and Cohesion: 7.5.

Now have a look on Scoring: If the average score is not a whole number or a 0.5 number, for example, 6.5, the examiner goes down to the next whole number or 0.5 number.

Example 1

1. Pronunciation

5

2.Grammer

4
3. Vocabulary (LR)

5

4. Fluency and Coherence

5

 

Average = 19/4 = 4.75 = Band =4.5

Example 2

1. Pronunciation

6

2.Grammer

5

3. Vocabulary (LR)

6

4. Fluency and Coherence

5

 

Average = 22/4 = 5.5 Band =4.5

Example 2

1. Pronunciation

7

2.Grammer

7

3. Vocabulary (LR)

8

4. Fluency and Coherence

7

Average = 29/4 = 7.25 Band =7.0.

SOME PRONUNCIATION ADVICE

Firstly, Overall, clear and understandable pronunciation is one of the vital thing. Secondly, the correct use of the following features will determine the pronunciation grade:

  1. Use basic word pronunciation.
  2. Practice with linked speech sounds.
  3. Use correct and appropriate sentence stress that is record your speech and work on the words that you spell incorrectly.
  4. Appropriate use of intonation or rising and falling to emphasize.
  5. See speaking test simulator in IELTS.

SOME GRAMMATICAL RANGE AND ACCURACY ADVICE

  • Basic grammar, especially the verb tenses. Know how to make the tenses and use them correctly.
  • Do not use simple sentences all the time. Often try to use sentences consist of parts that are joined together with conjunctions and other linking words. This rule is necessary for those who are wish to have Band above or 6.
  • Focus on complex structures so that you can show that you have some higher level grammar knowledge. Use more advanced grammatical structures such as passive voice, direct speech, tenses and conditional etc.

SOME ADVICES for FLUENCY

  • You should speed yourself to speak a little faster if your pronunciation is good.
  • Keep in continuity with proper pauses and avoid long pauses. This is must applicable in speaking Part 2 also.
  • Use linked pronunciation and use contractions to ensure smoothness in speaking.

COHERENCE ADVICE

  • Enlarge your answers with a suitable amount of relevant information in details.
  • Connectives to link sentences especially when using more complex ideas. This rule is must be followed examiner who want to a Band 6 or above.
  • Directly answer all the questions.
  • Extra relevant information should be added after first answering the key point of the question.
  • When link answers to the questions by the same verb
  • In every sentence keep on eye either answers to questions for the real meaning of the questions.
  • Express knowledge of the short form of answer for yes or no questions.

IELTS other important resouces are IELTS writing different sentence in Similar meaning.  and for word IELTS formal informal word uses. Also for speaking available at Say and dont say sentence structure practice for IELTS speaking

IELTS Synonyms LIST PART 2

Say and don’t say sentence structure practice for IELTS speaking

IELTS speaking proper use sentence structure.

In IELTS preparation, one would be able to feel own progress in speaking and writing, mainly when they will keenly use grammar structures to express their ideas. Though, properly knowing grammar will also help one understand language, both in reading and in listening. They will become more used to with grammar structures and will understand what others want to say right away. Therefore, the best way to progress grammar is to study each rule one by one, read related examples. Try to  make own examples and then practice each rule by doing exercises.

Here This blog concerns with some sentence structure use during speaking practices. As it is need to be remember to the learner the more you read the more you learn.

Don’t say

say

I like Apple I like Apples
I saw a dream last night I had a dream last night
I have got many works for this week I have got a massive quantity of works for this week

Or, I have got an impressive amount of works for this week.

Or, I have got a lot of works for this week.

You can use informal word instead of a lot of such as:

loads/tons (informal): I have got as loads/ton of works for this week.

A whole bunch (informal): I have got a whole bunch of works for this week.

Galore(informal): I have got a galore of works for this week.

I get my salary twice a month I get paid twice a month
She made a world record She set a world record
It is still bright outside It is still light outside
I felt good mood today I am in a good mood today
I forgot my hat in the house I left my hat in the house
Please persuade him don’t do that Please persuade him not to do that
Don’t step in the grass Keep off the grass
Would you like to drink? Would you like something to drink?
I need hundred dollars I need a hundred dollars
The black is my favorite color black is my favorite color
They study in the England They study in England
Why don’t you stay more time here? Why don’t you stay a little longer?
You did a request for some water You made a request for some water
Tell me why did you do that? Tell me why you did that?
I have a good news for you I have  good news for you
Don’t go in the sun Don’t go out in the sun
There is no place in the hall There is no room in the hall
You can’t set a foot in the house You can’t set  foot in the house

IELTS another articles in the site available at : IELTS formal informal word use

available at IELTS writing different sentence in similar meaning   

Testing Levels or Testing Documentation  or different types of testing in software Engineering.

Testing Levels or Testing Documentation or different types of testing in software Engineering.

Testing Levels Testing itself may be clear at several levels of Software Development Life Cycle. The testing process runs equivalent to software development. Testing distinctly is done just to make sure that there are no hidden bugs or issues left in the software. Software is tested on various levels –

Unit Testing

While coding, the programmer performs some tests on that unit of program to know if it is error free. Testing is performed under white-box testing approach. Unit testing helps developers decide that individual units of the program are working as per requirement and are error free.

Integration Testing

Even if the units of software are working fine individually, there is a need to find out if the units if integrated together would also work without errors. For example, argument passing and data updating etc.

System Testing

The software is compiled as product and then it is tested as a whole. This can be accomplished using one or more of the following tests:

  • Functionality testing: Tests all functionalities of the software against the requirement.
  • Performance testing: This test proves how efficient the software is. It tests the effectiveness and average time taken by the software to do desired task. Performance testing is done by means of load testing and stress testing where the software is put under high user and data load under various environment conditions.
  • Security & Portability :These tests are done when the software is meant to work on various platforms and accessed by number of persons.

Acceptance Testing

When the software is ready to hand over to the customer it has to go through last phase of testing where it is tested for user-interaction and response. This is important because even if the software matches all user requirements and if user does not like the way it appears or works, it may be rejected.

  • Alpha testing: The team of developer themselves perform alpha testing by using the system as if it is being used in work environment. They try to find out how user would react to some action in software and how the system should respond to inputs.
  • Beta testing: After the software is tested internally, it is handed over to the users to use it under their production environment only for testing purpose. This is not as yet the delivered product. Developers expect that users at this stage will bring minute problems, which were skipped to attend.

Regression Testing

Whenever a software product is updated with new code, feature or functionality, it is tested thoroughly to detect if there is any negative impact of the added code. This is known as regression testing.

Testing Documentation Testing documents are prepared at different stages –

Before Testing

Testing starts with test cases generation. Following documents are needed for reference –

  • SRS document: Functional Requirements document
  • Test Policy document : This describes how far testing should take place before releasing the product.
  • Test Strategy document : This mentions detail aspects of test team, responsibility matrix and rights/responsibility of test manager and test engineer.
  • Traceability Matrix document : This is SDLC document, which is related to requirement gathering process. As new requirements come, they are added to this matrix. These matrices help testers know the source of requirement. They can be traced forward and backward.

While Being Tested

The following documents may be required while testing is started and is being done:

  • Test Case document: This document contains list of tests required to be conducted. It includes Unit test plan, Integration test plan, System test plan and Acceptance test plan.
  • Test description: This document is a detailed description of all test cases and procedures to execute them.
  • Test case report: This document contains test case report as a result of the test.
  • Test logs: This document contains test logs for every test case report.

After Testing

The following documents may be generated after testing :

  • Test summary: This test summary is collective analysis of all test reports and logs. It summarizes and concludes if the software is ready to be launched. The software is released under version control system if it is ready to launch.

Testing vs. Quality Control, Quality Assurance and Audit

Software testing is different from software quality assurance, software quality control and software auditing.

  • Software quality assurance: Software quality assurance are software development process monitoring means, by which it is assured that all the measures are taken as per the standards of organization. This monitoring is done to make sure that proper software development methods were followed.
  • Software quality control: Software quality control is a system to maintain the quality of software product. It may include functional and non-functional aspects of software product, which enhance the goodwill of the organization. This system makes sure that the customer is receiving quality product for their requirement and the product certified as ‘fit for use’.
  • Software audit : Software audit is a review of procedure used by the organization to develop the software. A team of auditors, independent of development team examines the software process, procedure, requirements and other aspects of SDLC. The purpose of software audit is to check that software and its development process, both conform standards, rules and regulations.
Testing Levels or Testing Documentation  or different types of testing in software Engineering.

Testing Approaches and Levels in Software Engineering

A test needs to check if a webpage can be opened in Internet Explorer. This can be easily done with manual testing. But to check if the web-server can take the load of 1 million users, it is quite impossible to test manually. There are software and hardware tools which helps tester in conducting load testing, stress testing, regression testing.

Testing Approaches

Tests can be conducted based on two approaches –

  • Functionality testing
  • Implementation testing

When functionality is being tested without taking the actual implementation in concern it is known as black-box testing. The other side is known as white-box testing where not only functionality is tested but the way it is implemented is also analyzed. Exhaustive tests are the best-desired method for a perfect testing. Every single possible value in the range of the input and output values is tested. It is not possible to test each and every value in real world scenario if the range of values is large.

Black-box testing

It is a software testing method in which the internal structure or design or implementation of the item being tested is known to the tester. It is carried out to  the internal structure or design or implementation of the item being tested is not known to the tester that is test functionality of the program. It is also called ‘Behavioral’ testing. The tester in this case, has a set of input values and respective desired results. On providing input, if the output matches with the desired results, the program is tested ‘ok’, and problematic otherwise. In this testing method, the design and structure of the code are not known to the tester, and testing engineers and end users conduct this test on the software.

Black-box testing techniques:

  • Equivalence class – The input is divided into similar classes. If one element of a class passes the test, it is assumed that all the class is passed.
  • Boundary values – The input is divided into higher and lower end values. If these values pass the test, it is assumed that all values in between may pass too.
  • Cause-effect graphing – In both previous methods, only one input value at a time is tested. Cause (input) – Effect (output) is a testing technique where combinations of input values are tested in a systematic way.
  • Pair-wise Testing – The behavior of software depends on multiple parameters. In pairwise testing, the multiple parameters are tested pair-wise for their different values.
  • State-based testing – The system changes state on provision of input. These systems are tested based on their states and input.

White-box testing

It is conducted to test program and its implementation, in order to improve code efficiency or structure. It is also known as ‘Structural’ testing. In this testing method, the design and structure of the code are known to the tester. Programmers of the code conduct this test on the code. The below are some White-box testing techniques:

  • Control-flow testing – The purpose of the control-flow testing to set up test cases which covers all statements and branch conditions. The branch conditions are tested for both being true and false, so that all statements can be covered.
  • Data-flow testing – This testing technique emphasis to cover all the data variables included in the program. It tests where the variables were declared and defined and where they were used or changed.

Q Distinguish or deference between Black Box Testing and White Box Testing

Black Box TestingWhite Box Testing
In this software testing in which the internal structure or the program or the code is hidden and nothing is known about it.In this testing the software in which the tester has knowledge about the internal structure or the code or the program of the software.
It is mostly done by software testers.It is mostly done by software developers.
No knowledge of implementation is needed.Knowledge of implementation is required.
It can be referred as outer or external software testing.It is the inner or the internal software testing.
It is functional test of the software.It is structural test of the software.
This testing can be initiated on the basis of requirement specifications document.This type of testing of software is started after detail design document.
No knowledge of programming is required.It is mandatory to have knowledge of programming.
It is the behavior testing of the software.It is the logic testing of the software.
It is applicable to the higher levels of testing of software.It is generally applicable to the lower levels of software testing.
It is also called closed testing.It is also called as clear box testing.
It is least time consuming.It is most time consuming.
It is not suitable or preferred for algorithm testing.It is suitable for algorithm testing.
Can be done by trial and error ways and methods.Data domains along with inner or internal boundaries can be better tested.
Example: search something on google by using keywordsExample: by input to check and verify loops
Types of Black Box Testing: 
 A. Functional Testing 
 B. Non-functional testing 
 C. Regression Testing 
Types of White Box Testing: 
 A. Path Testing 
 B. Loop Testing 
 C. Condition testing
Testing Levels or Testing Documentation  or different types of testing in software Engineering.

Q: Transform software analysis model into software design model.

Design principles and Strategies

Software design is an iterative process through which requirements are interpreted into a blueprint for creating the software. The design is represented at a high level of abstraction due to design iterations arise. Here subsequent refinement principals to design representation at much lower levels of abstraction. A set of principles for software design are mention below,

  • The design should be structured to accommodate change.
  • The design should be structured to degrade gently.
  • The design process should not suffer from “tunnel vision”.
  • The design should be traceable to the analysis model.
  • The design should “minimize the intellectual distance” between the software and the problem in the real world.
  • The design should exhibit uniformity and integration.
  • The design should not reinvent the wheel.
  • Design is not coding.
  • The design should be assessed for quality.
  • The design should reviewed to minimize conceptual errors.

Q Describe test strategy testing techniques and strategy in software engineering.

Software testing techniques and strategy in software engineering. Software Testing is comprises of Validation and Verification appraisal of the software contrary to requirements gathered from users and system specifications. This is conducted at the phase level in software development life cycle either module level in program code.

Software Validation:

Software Testing Validation is process of investigative satisfies the user requirements which is carried out at the end of the SDLC. If the software matches supplies for which it was made, it is validated.

  • Validation safeguards the product under development is as per the user requirements.
  • Validation answers the question Are we developing the product which attempts all that user needs from this software?
  • Validation highlights on user requirements.

Software Verification:

Software Verification is the process of confirming if the software is meeting the business requirements, and is developed following to the proper specifications and methodologies.

  • Verification guarantees the product being developed is according to design specifications.
  • Verification answers the question Are we developing this product by firmly following all design specifications?
  • Verifications focusses on the design and system specifications. Target of the test are errors. These errors are actual coding mistakes made by developers. Additionally, there is a variance in output of software and desired output, is considered as an error. Fault refers when error exists fault occurs. A fault, also known as a bug, is a result of an error which can cause system to fail. Failure is thought to be the inability of the system to perform the desired task. Failure occurs when fault exists in the system.

Manual testing is testing of the software where tests are executed manually by a QA Analyst to discover bugs in software under development. Automation software testing tools where classical method of all testing types and helps find bugs in software systems. It is generally conducted by an experienced tester to accomplish the software testing process.

  • Manual – This testing is performed without taking help of automated testing tools. The software tester prepares test cases for different sections and levels of the code, executes the tests and reports the result to the manager. Manual testing is time and resource consuming. The tester needs to confirm whether or not right test cases are used. Major portion of testing involves manual testing.
  • Automated This testing is a testing procedure done with aid of automated testing tools. The limitations with manual testing can be overcome using automated test tools.
Testing Levels or Testing Documentation  or different types of testing in software Engineering.

Spiral Model with its Usage? Advantages and Disadvantages

What is Spiral Model?

Spiral Model is a risk-driven software development process model with the amalgamation of waterfall model and iterative model. Spiral Model helps to implement software development elements of several process models for the software project based on unique risk patterns ensuring efficient development process.

Spiral model each phase in software engineering initiates with a design goal and ends with the client reviewing the progress. The development process in Spiral model in SDLC, starts with a small set of necessity and goes through each development phase for those set of requirements. The software engineering team enhances functionality for the additional requirement in every-increasing spirals until the application is ready for the production phase. The below figure very well explain Spiral Model:

Spiral Model Diagram

Spiral Model Phases

Spiral Model PhasesActivities corresponding each  phase
PlanningThis phase includes guessing the cost, schedule and resources for the iteration. It also involves understanding the system requirements for continuous communication between the system analyst and the customer
Risk AnalysisRisk Analysis is the Identification of potential risk is done while risk mitigation strategy is planned and finalized
EngineeringThe phase includes testing, coding and deploying software at the customer site
EvaluationThis phase concern Evaluation of software by the customer. Similarly, take account of identifying and monitoring risks such as schedule slippage and cost overrun
phase activities

Spiral Model Usage:

  1. Spiral methodology is useful for medium to high-risk projects
  2. When necessities are undecided and complex, Spiral model in SDLC is useful
  3. Where modifications may require at any time
  4. When risk and costs evaluation is important
  5. Where long term project commitment is not feasible due to changes in economic priorities
  6. For a large project spiral model in software engineering is used.
  7. When releases are required to be frequent, spiral methodology is used
  8. When creation of a prototype is applicable
  9. When there is a budget constraint and risk evaluation is important.
  10. For medium to high-risk projects.

Advantages and Disadvantages of Spiral Model

AdvantagesDisadvantages
At a later stage Additional functionality or changes can be done.Risk of not meeting the schedule or budget
Cost estimation becomes easy due to prototype building is done in small fragmentsSpiral development works best for large projects only also demands risk assessment expertise
It is Continuous or repeated development helps in risk managementFor its smooth operation spiral model protocol needs to be followed strictly
The Development is fast and features are added in a systematic way in Spiral developmentIn This model the Documentation is more as it has intermediate phases
There is always a space for customer feedback

Spiral software development is not advisable for smaller project, it might cost them a lot.

 
Changing requirements can be accommodated.Management is more complex

Users see the system early.

Spiral model process is complex.  


The risky parts can be developed earlier which helps in better risk management.

Spiral may go on indefinitely.
Large number of intermediate stages requires excessive documentation.

Testing Levels or Testing Documentation  or different types of testing in software Engineering.

Q1 What is Software Engineering? Write attribute of software quality?

The Basics of Software Quality Attributes: Software Quality Attributes are features that facilitate the measurement of performance of a software product by Software Testing professionals and include attributes such as availability, interoperability, correctness, reliability, learnability, robustness, maintainability, readability, extensibility, testability, efficiency, and portability. High scores in Software Quality Attributes enable software architects to guarantee that a software application will perform as the specifications provided by the client.

Availability
This attribute is indicative as to whether an application will execute the tasks it is assigned to perform. Availability also includes certain concepts that relate to software security, performance, integrity, reliability, dependability, and confidentiality. In addition, top-notch availability indicates that a software-driven system will repair any operating faults so that service outage periods would not exceed a specific time value.

Interoperability
Software-driven systems could be required to communicate and act in tandem to solve certain tasks. Interoperability describes the ability of two systems to engage in the exchange of information via certain interfaces. Therefore, Software Quality Assurance engineers must examine the interoperability attribute in terms of both syntactic and semantic interoperability.

Performance
This attribute pertains to the ability of a software-driven system to conform to timing requirements. From a testing point of view, it implies that Software Testing engineers must check whether the system responds to various events within defined time limits. These events may occur in the form of clock events, process interruptions, messages, and requests from different users, and others.


Testability
Software testability indicates how well a software-driven system allows Software Testing professionals to conduct tests in line with predefined criteria. This attribute also assesses the ease with which Software Quality Assurance engineers can develop test criteria for a said system and its various components. Engineers can assess the testability of a system by using various techniques such as encapsulation, interfaces, patterns, low coupling, and more.

Security
This attribute measures the ability of a system to arrest and block malicious or unauthorized actions that could potentially destroy the system. The attribute assumes importance because security denotes the ability of the system to protect data and defend information from unauthorized access. Security also includes authorization and authentication techniques, protection against network attacks, data encryption, and such other risks. It is imperative for Software Testing professionals to regularly conduct updated security checks on systems.

Usability
Every software-driven system is designed for ease of use to accomplish certain tasks. The attribute of usability denotes the ease with which users are able to execute tasks on the system; it also indicates the kind of user support provided by the system. The most well-known principle for this property is KISS (Keep It Simple Stupid). In addition, Software Quality Assurance engineers must test software to check whether it supports different accessibility types of control for people with disabilities. Usability has a critical and long standing bearing on the commercial fortunes of a software application or package.


Functionality
This attribute determines the conformity of a software-driven system with actual requirements and specifications. Most Software Testing professionals view this attribute as crucial and a foremost requirement of a modern application, and would therefore advocate the performance of tests that assess the desired functionality of a system in the initial stages of Software Testing initiatives.

Navigation Drawer and its Usage in Android.

Navigation Drawer and its Usage in Android.

 

Navigation drawers comes with mesmerizing access to destinations, functionality, switching collapsing tabs. Tabs can either be permanently on-screen or controlled by a navigation menu icon.

 

Navigation drawers are consumed for:

  • Apps with five or more top-level targets,
  • Apps with two or more levels of navigation hierarchy
  • and Fast navigation between unrelated target.

Tab navigation:

Tabs are a good usage ” navigation” between sibling views.
ViewPager is a layout manager which allows to flip left and right through pages of data. ViewPager is most often used in utilization with Fragment.

Primary class used for tabs is TabLayout in the Android Design with Support Library.

One of the two standard adapters for using ViewPager: FragmentPagerAdapter or FragmentStatePagerAdapter. If a ViewPager together with this layout, you can call setupWithViewPager(ViewPager) to link the two together. This layout will be automatically populated from the PagerAdapter‘s page titles.

 

app_bar_main.xml

The app bar or action bar, is one of the most important design elements because it provides a attractive structure and interactive elements that are user friendly. Using the app bar allowing users to quickly understand how to operate your app. The key functions of the app bar are as follows:

indicating and Identity the user’s location in the app.
Access to important actions in navigating and view switching with tabs or drop-down lists.

This class describes to use the v7 appcompat support library’s Toolbar widget as an app bar. There are other ways to implement an app bar—for example, some themes set up an ActionBar as an app bar by default—but using the appcompat Toolbar makes it easy to set up an app bar that works on the widest range of devices which can also be customized.

Some other Feature with app bar:

Set up the app bar: Allow add a Toolbar widget to activity, and set it as the activity’s app bar.
Add and handle actions:Allow add actions to the app bar and its overflow menu, and how to respond when users choose those actions.
Add an up action: Allow add an Up button to your app bar, so users can navigate back to the app’s home screen.
Use action views and action providers:Allow to use these widgets to provide advanced functionality in app bar.

Toolbar add TabLayout:

TabLayout provides a horizontal layout to display tabs.Population of the tabs to display is done through TabLayout.Tab instances. Creating tabs via newTab() can change the tab’s label or icon via setText(int) and setIcon(int) respectively. To add it to the layout via one of the addTabvia tab methods. Example App,

tabLayout.addTab(tabLayout.newTab().setText("Tab one")); 

FloatingActionButton:
A material design floating action button. A floating action button is a circular icon button to promote a primary action in the application.

 

IELTS Synonyms LIST PART 2

IELTS formal informal word uses.

IELTS formal informal word

Vocabulary is important for practicing English. IELTS Formal and informal word Knowing and using  is essential for higher scores. In Speaking and Writing, for both General and Academic students. Speaking part, talking to a office is different from talking with family’s members. Besides in writing, writing an academic essay is different from writing a letter to a close friend.

 

Using the correct form of language is essential for getting a high score in the writing section. Let’s take a look at the FREQUENT situations and several main differences of formal and informal WORD writing in the IELTS.

Informal Formal
Sorry Apologize
Tell Inform
Need Require
Ask Request
Check Verify
Get Receive
So Therefore
Choose Select
Look for Seek/Search
Maybe Perhaps
Say no Reject
Buy purchase
Start Commence
Check Verify
Help Assist
Use Consume
Kids Children
Call off Cancel
I think In my opinion
To sum up In conclusion
But however
Point out indicate
Think about consider
Empty Vacant
Worse Inferior
Hurt Damage
Want Desire
Build Construct
Seem Appear
mad Insane
Go up increase
tough difficult
book reserve
In the end finally
What’s up? How do you do?
Nice to meet you It is a pleasure to meet you?
As soon as you can At your earliest convenience
Worried about you Concerned about you
To start with/ For a start Firstly
Say hello to Give my regards to
Heard from her lately Have you heard from her lately
Seen her? Have you seen her?
She’s right I agree with her,that..
Don’t forget I would like to remind you that…
Thanks a lot! I appreciate your assistance!
Because In light of the fact that
I think.. In my opinion that…
I need to.. It is necessary for me
You don’t hafta It is not necessary for yo to..
We recommend It is recommended
Sorry… Please accept our apologies for…
Another good thing is Secondly..
What’s more Besides
Not only that Furthermore
And one of the best things is…/The most important thing is../And best of all.. Lastly,
She can She has the ability
They put the plan into action The plan was implemented/carried out
The place where you want to go Our destination
I’m sorry to tell you that.. I regret to inform you of..
Could you? I was hoping that you could
It wasn’t be a problem anymore It will cease to be a problem
When you get here, Your arrival
I’m getting tired of this junk. One grows waery in these matters.
This seemed to fix the problem This appeared to rectify the problem
Can I help you? Please State your business
Please get back to me ASAP I would be grateful if you could reply early
Could you..? I’d really appreciate it if you could..
We want to We would like to
Shall I? Would you like me to.?
To think about To consider
This shows that.. This demonstrates.
To tell the difference To distinguish
We’ve received We are in receipt of
You should revise Revision should be done
It will do you good This will be of great benefit to you
What’s going on? How are you doing?
Just a note to say.. I am writing to inform you..
As we discussed this morning As per our telephone conversation on today’s date
It would be great if you could attend this event We would be honored if you would attend this event
Your kid is making trouble I am afraid your child is experiencing difficulty
See you next week I look forward to meeting you next week.
People use a huge amount of People consume a tremendous amount of
 

 See more articles about IELTS study and strategy:

  1. IELTS writing different sentence in Similar meaning.
  2. IELTS reading module vocabulary list
  3. IELTS reading module vocabulary list
  4. IELTS Speaking band scores scheme and how they are calculated
IELTS Synonyms LIST PART 2

IELTS writing different sentence in Similar meaning.

Hello can be rewrite as:

  • Hi there
  • Howdy
  • How are things?
  • Greetings,
  • Hey what’s up?
  • Morning/afternoon/evening,
  • What’s going on?

How are you? can be rewrite as:

  • How are you doing?
  • What is going?
  • How are things?
  • What’s up?
  • What’s new?
  • How is it going?
  • How have you been?

This Shows can be rewrite as:

  • This demonstrate
  • this displays
  • this portrays
  • this illustrates
  • this indicates
  • this proves
  • this describes

I will support you can be rewrite as:

  • I’m here for you
  • Lean on me if you need to
  • I’m still cheering for you
  • I’m behind you 100%
  • You can always count on me
  • I’ve got your back
  • Count on my support

I’m sorry can be rewrite as:

  • I owe you an apology,
  • Ever so sorry
  • I had that wrong
  • Excuse me
  • I sincerely apologize,
  • It’s all my fault
  • Pardon me

It’s Difficult can be rewrite as:

  • it seems arduous
  • It’s a bit tricky
  • It’s challenging
  • It isn’t a walk in the park
  • It’s quite hard going
  • It’s daunting
  • It’s tough

Hurry up can be rewrite as:

  1. Scoot
  2. Chop Chop
  3. Snap it up!
  4. Step on it!
  5. Shake a leg!
  6. Get a move on
  7. Put your skates on

I’m busy can be rewrite as:

  1. I’m swamped
  2. I’m tied up
  3. My agenda is full
  4. Buried with work
  5. I’m up to my ears.
  6. I’m up to my neck
  7. I’ve lots to do

It’s boring can be rewrite as:

  1. it’s dull
  2. it’s not my cup of tea
  3. it’s like watching grass grow
  4. it’s bore me to tears
  5. I was dying of boredom
  6. I dislike it
  7. That’s not for me

You’re beautiful can be rewrite as:

  1. You look so radiant!
  2. You’re beyond gorgeous!
  3. Your beauty is incomparable!
  4. You look like an angel!
  5. You look gorgeous!
  6. You’re so adorable!
  7. You’re  stunning!

It’s important can be rewrite as:

  1. It’s Meaningful
  2. It’s Substantial
  3. It’s Remarkable
  4. It’s Essential
  5. It’s Considerable
  6. It’s Notable
  7. It’s Significant.

Because can be rewrite as:

  1. Due to
  2. In as much as
  3. Considering that
  4. As long as
  5. Being as
  6. As a result of
  7. Now that