Python Interview Questions and Answers

Category : News

Interview Questions
&
Answers

Python Interview questions and Answers

In simple way Meaning of Analogy is “Similarity ” or compassion between one thing and other thing base d on some similarity 

250 + Python interview Question and Answer

1.Explain Python

Python, a programming language that has modules, threads, automatic memory management, objects, and exceptions. Pythons are easy and simple to use, open-source, extensible, transferrable, and build-in data structure.

2) Which Is is the Shortest way to read a file ?

Two memory-efficient ways in ranked order (first
is best) –
use of with – supported from python 2.5 and above
2. use of yield if you really want to have control over how much to read
1.USE OF WITH
with is the nice and efficient pythonic way to read large files.
Advantages:
1) File object is automatically closed after exiting from with execution block.
2) Exception handling inside the with block. 3) memory for loop iterates through the f file object line by line. internally it does buffered IO (to optimized on costly IO operations) and memory management. with open(“x.txt”) as f: for line in f: do something with data.
3)The with statement handles opening and closing the file, including if an exception is raised in the inner block. The for line in f treats the file object f as an iterable, which automatically uses buffered IO and memory management so you don’t have to worry about large files.
USE OF YIELD
Sometimes one might want more fine-grained control over how much to read in each iteration. In that case use iter & yield. Note with this method one explicitly needs close the file at the end.
def readInChunks(fileObj, chunkSize=2048):
“””
Lazy function to read a file piece by piece.
Default chunk size: 2kB.
“””
while True:
data = fileObj.read(chunkSize)
if not data:
break
yield data
f = open(‘bigFile’)
for chuck in readInChunks(f):
do_something(chunk)
f.close()

3) Why is <__init__.py> module used in Python?

he <__init__.py> module can help in fulfilling following objectives.
1. It makes Python interpret directories as containing packages by excluding the ones with a common name such as string.
It grants a programmer with the control to decide which directory is a package and which is not.
However, the <__init__.py> can also be an empty file. It can then help in executing the initialization code for a package or setting the <__all__> variable.

4) What are the different methods Python provides for copying an object?

We can either use a “Shallow Copy” or follow a “Deep Copy” approach.
Shallow Copy method.
The content of an object (say dictionary) doesn’t get copied by value but by creating a new reference.
SHALLOW COPY METHOD.
>>> a = {1: [1,2,3]}
>>> b = a.copy()
>>> a, b
({1: [1, 2, 3]}, {1: [1, 2, 3]})
>>> a[1].append(4)
>>> a, b
({1: [1, 2, 3, 4]}, {1: [1, 2, 3, 4]})
1
2
3
4
5
6
7
>>> a = {1: [1,2,3]}
>>> b = a.copy()
>>> a, b
({1: [1, 2, 3]}, {1: [1, 2, 3]})
>>> a[1].append(4)
>>> a, b
({1: [1, 2, 3, 4]}, {1: [1, 2, 3, 4]})
DEEP COPY METHOD.
It copies all the contents by value.
>>> c = copy.deepcopy(a)
>>> a, c
({1: [1, 2, 3, 4]}, {1: [1, 2, 3, 4]})
>>> a[1].append(5)
>>> a, c
({1: [1, 2, 3, 4, 5]}, {1: [1, 2, 3, 4]})
1
2
3
4
5
6
>>> c = copy.deepcopy(a)
>>> a, c
({1: [1, 2, 3, 4]}, {1: [1, 2, 3, 4]})
>>> a[1].append(5)
>>> a, c
({1: [1, 2, 3, 4, 5]}, {1: [1, 2, 3, 4]})

5)How will you set a global variable inside a function?

You can use a global variable in other functions by declaring it as global in each function that assigns to it:
globvar = 0
def set_globvar_to_one():
global globvar # Needed to modify global
copy of globvar
globvar = 1
def print_globvar():
print globvar # No need for global
declaration to read value of globvar
set_globvar_to_one()
print_globvar() # Prints 1
1
2
3
4
5
6
7
8
I imagine the reason for it is that, since global variables are so dangerous, Python wants to make sure that you really know that’s what you’re playing with by explicitly requiring the global keyword.

6) forelse in python

Python has an interesting for statement which lets you specify an else suite.
In a construct like this one:
for i in foo:
if bar(i):
break
else:
baz()
the else suite is executed after the for, but only if the for terminates normally (not by a break).
Here’s some code written without for…else:
def contains_even_number(l):
“Prints whether or not the list l contains an even number.”
has_even_number = False
for elt in l:
if elt % 2 == 0:
has_even_number = True
break
if has_even_number:
print “list contains an even number”
else:
print “list does not contain an even number”
The equivalent code snippet below illustrates how the use of for…else lets you remove an extraneous flag variable from that loop:
def contains_even_number(l):
“Prints whether or not the list l contains an even number.”
for elt in l:
if elt % 2 == 0:
print “list contains an even number”
break
else:
print “list does not contain an even number”
Use your good judgment when deciding whether to use the for…else construct.
It’s not unequivocally better, but when there’s an asymmetry between the two possibilities, you can make your code more readable by using for…else to keep the “happy path” logic at the top and the exceptional/error case at the bottom

9) What is difference between c++ and Java ?

Interface

  •  Java is platform independent
  • There are no pointers in java
  • There is no operator overloading in java
  • There is garbage collection in java
  • Supports multithreading
  • There are no templates in java
  • There are no global variables in java

Abstract Class

  • C++ is platform dependent.
  • There are pointers in C++
  • C ++ has operator overloading.
  • There is no garbage collection
  • Does’nt support multithreading
  • There are templates in java
  • There are global variables in c++

10) What is bytecode in java ?

JIT compiler stands for Just in time compiler. JIT compiler compiles byte code in to executable code . JIT a part of JVM .JIT cannot convert complete java program in to executable code it converts as and when it is needed during execution.

11) What is bytecode in java ?

When a javac compiler compiler compiles a class it generates .class file. This .class file contains set of instructions called byte code. Byte code is a machine independent language and contains set of instructions which are to be executed only by JVM. JVM can understand this byte codes.

12) Difference between this() and super() in java ?

this() is used to access one constructor from another with in the same class while super() is used to access superclass constructor. Either this() or super() exists it must be the first statement in the constructor.

13) What is a class ?

Classes are fundamental or basic unit in Object Oriented Programming .A class is kind of blueprint or template for objects. Class defines variables, methods. A class tells what type of objects we are creating. For example take Department class tells us we can create department type objects. We can create any number of department objects.

All programming constructs in java reside in class. When JVM starts running it first looks for the class when we compile. Every Java application must have atleast one class and one main method. Class starts with class keyword. A class definition must be saved in class file that has same as class name. File name must end with .java extension.

public class FirstClass

{public static void main(String[] args)

{System.out.println(“My First class”);

}

}

If we see the above class when we compile JVM loads the FirstClass and generates a .class file(FirstClass.class). When we run the program we are running the class and then executes the main method.

14) What is an object ?

An Object is instance of class. A class defines type of object. Each object belongs to some class.Every object contains state and behavior. State is determined by value of attributes and behavior is called method. Objects are alos called as an instance.                                 

To instantiate the class we declare with the class type.

public classFirstClass {public static voidmain(String[] args)

{

FirstClass f=new FirstClass();

System.out.println(“My First class”);

}

}

To instantiate the FirstClass we use this statement

FirstClass f=new FirstClass();

f is used to refer FirstClass object              

15) What is an object ?

It contains the executable body that can be applied to the specific object of the class.

Method includes method name, parameters or arguments and return type and a body of executable code.

Syntax : type methodName(Argument List){

}

ex : public float add(int a, int b, int c) methods can have multiple arguments. Separate with commas when we have multiple arguments.

16) What is encapsulation ?

The process of wrapping or putting up of data in to a single unit class and keeps data safe from misuse is called encapsulation .

Through encapsulation we can hide and protect the data stored in java objects.Java supports encapsulation through access control. There are four access control modifiers in java public , private ,protected and default level.

For example take a car class , In car we have many parts which is not required for driver to know what all it consists inside. He is required to know only about how to start and stop the car. So we can expose what all are required and hide the rest by using encapsulation.

17) Why main() method is public, static and void in java ?

public : “public” is an access specifier which can be used outside the class. When main method is declared public it means it can be used outside class.

static : To call a method we require object. Sometimes it may be required to call a method without the help of object. Then we declare that method as static. JVM calls the main() method without creating object by declaring keyword static. 

void : void return type is used when a method does’nt return any value . main() method does’nt return any value, so main() is declared as void.

Signature : public static void main(String[] args) {

18) Explain about main() method in java ?

Main() method is starting point of execution for all java applications.

public static void main(String[] args) {}

String args[] are array of string objects we need to pass from command line arguments.

Every Java application must have atleast one main method.

19)What is constructor in java ?

A constructor is a special method used to initialize objects in java.

we use constructors to initialize all variables in the class when an object is created. As and when an object is created it is initialized automatically with the help of constructor in java. We have two types of constructors
Default Constructor
Parameterized Constructor
Signature : public classname()
{
}
Signature : public classname(parameters list)
{
}

20) What is difference between length and length() method in java ?

length() : In String class we have length() method which is used to return the number of characters in string.
Ex : String str = “Hello World”;
System.out.println(str.length());
Str.length() will return 11 characters including space.
length : we have length instance variable in arrays which will return the number of values or objects in array.
For example :
String days[]={” Sun”,”Mon”,”wed”,”thu”,”fri”,”sat”};
Will return 6 since the number of values in days array is 6.

21) What is ASCII Code?

ASCII stands for American Standard code for Information Interchange. ASCII character range is 0 to 255. We can’t add more characters to the ASCII Character set. ASCII character set supports only English. That is the reason, if we see C language we can write c language only in English we can’t write in other languages because it uses ASCII code.

22) What is Unicode ?

Unicode is a character set developed by Unicode Consortium. To support all languages in the world Java supports Unicode values. Unicode characters were represented by 16 bits and its character range is 0-65,535.

Java uses ASCII code for all input elements except for Strings,identifiers, and comments. If we want to use Punjabi we can use Punjabi characters for identifiers.We can enter comments in Punjabi

23) What is Unicode ?

Character constant is enclosed in single quotes. String constants are enclosed in double quotes. Character constants are single digit or character. String Constants are collection of characters.

Ex :’2’, ‘A’

Ex : “Hello World”

24) What are constants and how to create constants in java?

Constants are fixed values whose values cannot be changed during the execution of program. We create constants in java using final keyword.

Ex : final int number =10;

final String str=”java-interview –questions”

25) Difference between ‘>>’ and ‘>>>’ operators in java?

>> is a right shift operator shifts all of the bits in a value to the right to a specified number of times.

int a =15;

a= a >> 3;

The above line of code moves 15 three characters right.

>>> is an unsigned shift operator used to shift right. The places which were vacated by shift are filled

with zeroes.


java interview question and answers

Category : News

Interview Questions
&
Answers

Java Interview questions and Answers

In simple way Meaning of Analogy is “Similarity ” or compassion between one thing and other thing base d on some similarity 

250 + Java Question and Answer

1.what are static blocks and static initalizers in Java ?

Static blocks or static initializers are used to initalize static fields in java. we declare static blocks when we want to intialize static fields in our class. Static blocks gets executed exactly once when the class is loaded . Static blocks are executed even before the constructors are executed.

2) How to call one constructor from the other constructor ?

With in the same class if we want to call one constructor from other we use this() method. Based on the number of parameters we pass appropriate this() method is called.

Restrictions for using this method :

1) this must be the first statement in the constructor

2)we cannot use two this() methods in the constructor

3) What is method overriding in java ?

If we have methods with same signature (same name, same signature, same return type) in super class and subclass then we say subclass method is overridden by superclass.

When to use overriding in java If we want same method with different behaviour in superclass and subclass then we go for overriding. When we call overridden method with subclass reference subclass method is called hiding the superclass method.

4) What is super keyword in java ?

Variables and methods of super class can be overridden in subclass . In case of overriding , a subclass object call its own variables and methods. Subclass cannot access the variables and methods of superclass because the overridden variables or methods hides the methods and variables of super class. But still java provides a way to access super class members even if its members are overridden. Super is used to access superclass variables, methods, constructors.

Super can be used in two forms :

1) First form is for calling super class constructor.

2) Second one is to call super class variables,methods.

Super if present must be the first statement.

5) Difference between method overloading and method overriding in java ?

Method Overloading

  •  Method Overloading occurs with in the same class
  • Since it involves with only one class inheritance is not involved.                                        
  • In overloading return type need not be the same
  • Parameters must be different when we do overloading
  • Static polymorphism can be acheived using method overloading
  • In overloading one method can’t hide the another

Method Overriding​

  • Method Overriding occurs between two classes superclass and subclass
  • Since method overriding occurs between superclass and subclass inheritance is involved.
  • In overriding return type must be same.          
  • Parameters must be same.                              
  • Dynamic polymorphism can be acheived using method overriding
  • In overriding subclass method hides that of the superclass method.

6) Difference between abstract class and interface ?

Interface

  • Interface contains only abstract methods       
  • Access Specifiers for methods in interface must be public
  • Variables defined must be public , static final
  • Multiple Inheritance in java is implemented using interface
  • To implement an interface we use implements keyword

Abstract Class

  • Abstract class can contain abstract methods, concrete methods or both
  • Except private we can have any access specifier for methods in abstract class.
  • Except private variables can have any access specifiers
  • We cannot achieve multiple inheritance using abstract class
  • To implement an interface we use implement keyword

7) Why java is platform independent?

The most unique feature of java is platform independent. In any programming language soruce code is compiled in to executable code . This cannot be run across all platforms. When javac compiles a java program it generates an executable file called .class file.

class file contains byte codes. Byte codes are interpreted only by JVM’s . Since these JVM’s are made available across all platforms by Sun Microsystems, we can execute this byte code in any platform. Byte code generated in windows environment can also be executed in linux environment. This makes java platform independent.

8) What is method overloading in java ?

A class having two or more methods with same name but with different arguments then we say that those methods are overloaded. Static polymorphism is achieved in java using method overloading. Method overloading is used when we want the methods to perform similar tasks but with different inputs or values. When an overloaded method is invoked java first checks the method name, and the number of arguments ,type of arguments; based on this compiler executes this method. Compiler decides which method to call at compile time. By using overloading static polymorphism or static

binding can be achieved in java.

Note : Return type is not part of method signature. we may have methods with different return types but return type alone is not sufficient to call a method in java.

9) What is difference between c++ and Java ?

Interface

  •  Java is platform independent
  • There are no pointers in java
  • There is no operator overloading in java
  • There is garbage collection in java
  • Supports multithreading
  • There are no templates in java
  • There are no global variables in java

Abstract Class

  • C++ is platform dependent.
  • There are pointers in C++
  • C ++ has operator overloading.
  • There is no garbage collection
  • Does’nt support multithreading
  • There are templates in java
  • There are global variables in c++

10) What is bytecode in java ?

JIT compiler stands for Just in time compiler. JIT compiler compiles byte code in to executable code . JIT a part of JVM .JIT cannot convert complete java program in to executable code it converts as and when it is needed during execution.

11) What is bytecode in java ?

When a javac compiler compiler compiles a class it generates .class file. This .class file contains set of instructions called byte code. Byte code is a machine independent language and contains set of instructions which are to be executed only by JVM. JVM can understand this byte codes.

12) Difference between this() and super() in java ?

this() is used to access one constructor from another with in the same class while super() is used to access superclass constructor. Either this() or super() exists it must be the first statement in the constructor.

13) What is a class ?

Classes are fundamental or basic unit in Object Oriented Programming .A class is kind of blueprint or template for objects. Class defines variables, methods. A class tells what type of objects we are creating. For example take Department class tells us we can create department type objects. We can create any number of department objects.

All programming constructs in java reside in class. When JVM starts running it first looks for the class when we compile. Every Java application must have atleast one class and one main method. Class starts with class keyword. A class definition must be saved in class file that has same as class name. File name must end with .java extension.

public class FirstClass

{public static void main(String[] args)

{System.out.println(“My First class”);

}

}

If we see the above class when we compile JVM loads the FirstClass and generates a .class file(FirstClass.class). When we run the program we are running the class and then executes the main method.

14) What is an object ?

An Object is instance of class. A class defines type of object. Each object belongs to some class.Every object contains state and behavior. State is determined by value of attributes and behavior is called method. Objects are alos called as an instance.                                 

To instantiate the class we declare with the class type.

public classFirstClass {public static voidmain(String[] args)

{

FirstClass f=new FirstClass();

System.out.println(“My First class”);

}

}

To instantiate the FirstClass we use this statement

FirstClass f=new FirstClass();

f is used to refer FirstClass object              

15) What is an object ?

It contains the executable body that can be applied to the specific object of the class.

Method includes method name, parameters or arguments and return type and a body of executable code.

Syntax : type methodName(Argument List){

}

ex : public float add(int a, int b, int c) methods can have multiple arguments. Separate with commas when we have multiple arguments.

16) What is encapsulation ?

The process of wrapping or putting up of data in to a single unit class and keeps data safe from misuse is called encapsulation .

Through encapsulation we can hide and protect the data stored in java objects.Java supports encapsulation through access control. There are four access control modifiers in java public , private ,protected and default level.

For example take a car class , In car we have many parts which is not required for driver to know what all it consists inside. He is required to know only about how to start and stop the car. So we can expose what all are required and hide the rest by using encapsulation.

17) Why main() method is public, static and void in java ?

public : “public” is an access specifier which can be used outside the class. When main method is declared public it means it can be used outside class.

static : To call a method we require object. Sometimes it may be required to call a method without the help of object. Then we declare that method as static. JVM calls the main() method without creating object by declaring keyword static. 

void : void return type is used when a method does’nt return any value . main() method does’nt return any value, so main() is declared as void.

Signature : public static void main(String[] args) {

18) Explain about main() method in java ?

Main() method is starting point of execution for all java applications.

public static void main(String[] args) {}

String args[] are array of string objects we need to pass from command line arguments.

Every Java application must have atleast one main method.

19)What is constructor in java ?

A constructor is a special method used to initialize objects in java.

we use constructors to initialize all variables in the class when an object is created. As and when an object is created it is initialized automatically with the help of constructor in java. We have two types of constructors
Default Constructor
Parameterized Constructor
Signature : public classname()
{
}
Signature : public classname(parameters list)
{
}

20) What is difference between length and length() method in java ?

length() : In String class we have length() method which is used to return the number of characters in string.
Ex : String str = “Hello World”;
System.out.println(str.length());
Str.length() will return 11 characters including space.
length : we have length instance variable in arrays which will return the number of values or objects in array.
For example :
String days[]={” Sun”,”Mon”,”wed”,”thu”,”fri”,”sat”};
Will return 6 since the number of values in days array is 6.

21) What is ASCII Code?

ASCII stands for American Standard code for Information Interchange. ASCII character range is 0 to 255. We can’t add more characters to the ASCII Character set. ASCII character set supports only English. That is the reason, if we see C language we can write c language only in English we can’t write in other languages because it uses ASCII code.

22) What is Unicode ?

Unicode is a character set developed by Unicode Consortium. To support all languages in the world Java supports Unicode values. Unicode characters were represented by 16 bits and its character range is 0-65,535.

Java uses ASCII code for all input elements except for Strings,identifiers, and comments. If we want to use Punjabi we can use Punjabi characters for identifiers.We can enter comments in Punjabi

23) What is Unicode ?

Character constant is enclosed in single quotes. String constants are enclosed in double quotes. Character constants are single digit or character. String Constants are collection of characters.

Ex :’2’, ‘A’

Ex : “Hello World”

24) What are constants and how to create constants in java?

Constants are fixed values whose values cannot be changed during the execution of program. We create constants in java using final keyword.

Ex : final int number =10;

final String str=”java-interview –questions”

25) Difference between ‘>>’ and ‘>>>’ operators in java?

>> is a right shift operator shifts all of the bits in a value to the right to a specified number of times.

int a =15;

a= a >> 3;

The above line of code moves 15 three characters right.

>>> is an unsigned shift operator used to shift right. The places which were vacated by shift are filled

with zeroes.


Reasoning Classification

Category : News

Verbal Reasoning

  • Coding-Decoding
  • Analogy
  • Classification
  • Alphabet Test
  • Word Formation
  • Sitting Arrangement
  • Direction Sense Test
  • Number Ranking And Time Sequence Test
  • Puzzles
  • Number Series
  • Inserting the missing Character

Reasoning Classification

‘Classification’ means ‘to assort the items of a given group on the basis of certain common quality they possess and then spot the stranger out’. In this test, you are given a group of certain items, out of which all except one are similar to one another in some manner. The candidate is required to choose this one item which does not fit into the given group.

5 types of question Can Be Asked In Exam

Type 1 :- Chossing the odd Word

Direction: Choose the word which is least Like the other word in the group 

1. (a) Curd  (b) Butter  (c) Oil     (d) Cheese    (e) Cream

       Sol. Here, all except Oil are products obtained from milk. Hence, the answer is (c).

2. (a) Rose   (b) Lotus    (c) Marigold    (d) Lily    (e) Tylip

    Sol. Here, all except Lotus are flowers, which grow on land while lotus is a water flovyer. Hence,      the answer is 

3. (a) Pistol  (b) Sword  (c) Gun  (d) Rifle  (e) Cannon

         Sol. Here, all except Swoid are fire arms. Hence, the answer is (b).

4. (a) Cathedral (b) Mosque  (c) Church   (d) Monastery (e) Temple

          Sol. All except Monastery are places of worship, while monaster* is a place where monks                        stay.    Hence, the answer is (d).

 5. (a) Book   (b) Paper  (c) Pencil   (d) Pen   (e) Sharpener

           Sol. Here, all except Book are stationery items.

                  Hence, the answer is (a).

6. (a) Geometry   (6) Algebra   (c) Trigonometry .   (d) Mathematics   (e) Arithmetic

         Sol. Here, all except Mathematics are branches of Mathematics. 

               Hence, the answer is (d)

Type 2: Choosing the odd pair of group

 

 examples:

Ex. 1. (a) Blacksmith : Anvil                     (b) Carpenter : Saw      (c) Barber : Scissor

          (d) Goldsmith : Ornaments           (e) Sculptor : Chisel

           Sol. Clearly, the answer is (d). In all other pairs, second is the tool used by the first.

       2. (a) Painter : Gallery                        (b) Actor : Stage                     (c) Mason : Wall

          (d) Farmer : Field                             (e) Worker : Factory

         Sol. Clearly, the answer is (c). In all other pairs, second is the place where the first works.

       3. (a) Cow : Calf                                  (b) Dog : Bitch                         (c) Lion : Cub

           (d) Tortoise : Turtle                       (e) Insect : Larva

           Sol. Clearly, the answer is  (b). In all other pairs, second is the young one of the first while in                    (b), second is the female of the first.

       4. (a) Volume : Litre   (b)   Resistance : Ohm      (c ) Time : Seconds          (d) Length : Metre

            (e) Pressure : Barometer

           Sol. Clearly, the answer is (e). In all other pairs, second is the unit to measure the

                first. On the other hand, barometer is an instrument.

   

Type 3: Choosing the odd numeral

Ex. Sailors : Crew [a group of sailor is called crew]

other examples:

1. (a) 43             (b) 53                    (c) 63             (d)10   . (a) 51 (b) 26

(6) 144 <c)24

(c) 64 (d)

4. (6) 21 (c) 24 (d)

(a)

15

73

21

(d) 121

28

(e) 83

(Bank P.O. 1996)

(e) 18

(e) 256

(B.8.RJ*. 1995)

(e) 30 

4. Animal and Young one :

Ex. Cow  : Calf [Calf is young one of cow ]

other examples:

  • Dog : Puppy
  • hen : Chicken
  • Cat : Kitten
  • Horse : Pony 
  • Butterfly : Caterpillar 
  • Duck : Duckling 
  • inspect : Larva
  • Man : Child 

5. Male and Female :

Ex. Horse  : Mare [Mare is female of horse ]

other examples:

  • Dog : Bitch
  • stag : doe 
  • son : Daughter
  • Lion : Lioness
  • Drone : Bee
  • Tiger : Tigress

6. Indvidual and class :

Ex. Lizard  : Reptile [lizard belong to the class of reptile ]

other examples:

  •  Man : Bird
  • ostrich : Bird 
  • Snake : Reptile 
  • Rat :rodent 
  • Whale : mammal 
  • Butterfly insect

7. Individual and Dwelling Place :

Ex. Dog : Kennel [A dogs Live In Kennel ]

other examples:

  •  Bee : Apiary
  • cattle : Shed
  • Lion : Den
  • Poultry  : Farm
  • Horse : Stable 
  • Bird : Aviary
  • Fish : Aquarium
  • monk : Monastery

8.study and Topic:

Ex. ornithology : Bird   [Ornithology is study of bird ]

other examples:

  •  seismology : Earthquakes 
  • Zoology : Animals
  • Entomology : Insects 
  • Ontology : Reality 
  • Oology : Eggs
  • Virology : virus
  • occultism : Supernatural 

9.Worker and Tools:

Ex. Blacksmith : Anvil [Anvil is tool used by black smith ]

other examples:

  •  Chef : Knife 
  • Doctor : Stethoscope 
  • Farmer : Plough
  • Tailor : Needle 
  • Woodcutter : Axe 
  • Author : Pen 
  • Soldier : Gun
  • Gardener : Harrow

10.Tools and action :

Ex. Needle : Sew  [A needle is used to sewing ]

other examples:

  •  Knife : cut 
  • Gun : shoot 
  •  Pen : Write 
  • Spoon : Feed 
  • Shield : Guard 
  • Spoon : Feed

11.worker and wworking place :

Ex. Chef : Kitchen  [A Chef Work in Kitchen ]

other examples:

  •  Farmer : Field 
  • Warrior : Battlefield
  • Servant : House
  • Sailor : Ship

12.Worker and Product:

Ex. mason  : wall  [A Chef Work in Kitchen ]

other examples:

  • Farmer : Field 
  • Warrior : Battlefield
  • Servant : House

13. Product and Raw Material:

Ex. Prism : Glass [prism of made of Glass ]

other examples:

  • Wall : Bricks 
  • Furniture : Wood 
  • Shoes : Leather 
  • Pullover : Wool
  • Metal : Ore 
  • Cloth : Fiber
  • Road : Asphalt
  • Book : Paper
  • Sack : Jute
  • Omelette : Egg

14. Part and Whole Relationship:

Ex. Pen  : Nib[Nib Is part of pen]

other examples:

  • Pencil : Lead 
  • House : Kitchen 
  • Fan : Blade 
  • Class : Student
  • Room : Window 
  • Aeroplane  : Cockpit
  • Book : Chapter

15. Word and intensity :

Ex. Anger  : Range [range is higher intensity than anger]

other examples:

  • wish : Desire 
  • Famous : Renowned
  • unhappy : Sad
  • kindle : Burn
  • sink : Drown
  • crime : sin
  • moist : drench

16. Word Synonym :

Ex. Abode : Dwelling [Abode mean almo the same as Dwelling]

other examples:

  • Blend : Mix 
  • Ban : Prohibition
  • vacant : Empty 
  • Abduct : Kidnap
  •  Flaw : Defect 
  • Solicit : request
  • Fierce : Violent 

17 Word and Antonym:

Ex. Attack : Defend [Defend Mean Opposite of Attack]

other examples:

  • Advance : Retreat 
  • Sink : Float
  • Cruel : Kind 
  • Robust : Weak 
  • Best : Worst
  • Fresh : Stale 
  • ignore : Notice 
  • Deep : Shallow 
  • Cordial : Hostile 
  • Mourn : Rejoice 
  • Lend : Borrow 

Reasoning:analogy

Category : News

Verbal Reasoning

  • Coding-Decoding
  • Analogy
  • Classification
  • Alphabet Test
  • Word Formation
  • Sitting Arrangement
  • Direction Sense Test
  • Number Ranking And Time Sequence Test
  • Puzzles
  • Number Series
  • Inserting the missing Character

Reasoning: Analogy

In simple way Meaning of Analogy is “Similarity ” or compassion between one thing and other thing base d on some similarity 

Kind Of Relationships:

1. Instrument and Measurement

Ex. Barometer : Pressure [barometer is an instrument used to measure pressure]

other examples:

  • Thermometer : Temperature
  • Anemometer : Wind vane
  • Odometer : Speed 
  • Scale : Length
  •  Balance : Mass

 

2. Quantity and Unit

Ex. Length : Unit [Meter is the unit of Length]

other examples:

  • Mass : Kilogram
  • Force : Newton 
  • Energy : Joule 
  • Resistance : Ohm
  • Volume : Liter 
  • Pressure : Pascals 
  • Temperature : Degrees
  • Conductivity : Mho
  • Current : Ampere 
  • Time : Second 
  • Angle : Radians 
  • Power : Watt
  • Area : Hectare 

3. Indvidual and Group:​

Ex. Sailors : Crew [a group of sailor is called crew]

other examples:

  • cattle : Herd 
  • Flowers : Bouquet 
  • Grapes : Bunch
  • Singer : Chorus 
  • Artist : Troupe 
  • Fish : Shoal

4. Animal and Young one :

Ex. Cow  : Calf [Calf is young one of cow ]

other examples:

  • Dog : Puppy
  • hen : Chicken
  • Cat : Kitten
  • Horse : Pony 
  • Butterfly : Caterpillar 
  • Duck : Duckling 
  • inspect : Larva
  • Man : Child 

5. Male and Female :

Ex. Horse  : Mare [Mare is female of horse ]

other examples:

  • Dog : Bitch
  • stag : doe 
  • son : Daughter
  • Lion : Lioness
  • Drone : Bee
  • Tiger : Tigress

6. Indvidual and class :

Ex. Lizard  : Reptile [lizard belong to the class of reptile ]

other examples:

  •  Man : Bird
  • ostrich : Bird 
  • Snake : Reptile 
  • Rat :rodent 
  • Whale : mammal 
  • Butterfly insect

7. Individual and Dwelling Place :

Ex. Dog : Kennel [A dogs Live In Kennel ]

other examples:

  •  Bee : Apiary
  • cattle : Shed
  • Lion : Den
  • Poultry  : Farm
  • Horse : Stable 
  • Bird : Aviary
  • Fish : Aquarium
  • monk : Monastery

8.study and Topic:

Ex. ornithology : Bird   [Ornithology is study of bird ]

other examples:

  •  seismology : Earthquakes 
  • Zoology : Animals
  • Entomology : Insects 
  • Ontology : Reality 
  • Oology : Eggs
  • Virology : virus
  • occultism : Supernatural 

9.Worker and Tools:

Ex. Blacksmith : Anvil [Anvil is tool used by black smith ]

other examples:

  •  Chef : Knife 
  • Doctor : Stethoscope 
  • Farmer : Plough
  • Tailor : Needle 
  • Woodcutter : Axe 
  • Author : Pen 
  • Soldier : Gun
  • Gardener : Harrow

10.Tools and action :

Ex. Needle : Sew  [A needle is used to sewing ]

other examples:

  •  Knife : cut 
  • Gun : shoot 
  •  Pen : Write 
  • Spoon : Feed 
  • Shield : Guard 
  • Spoon : Feed

11.worker and wworking place :

Ex. Chef : Kitchen  [A Chef Work in Kitchen ]

other examples:

  •  Farmer : Field 
  • Warrior : Battlefield
  • Servant : House
  • Sailor : Ship

12.Worker and Product:

Ex. mason  : wall  [A Chef Work in Kitchen ]

other examples:

  • Farmer : Field 
  • Warrior : Battlefield
  • Servant : House

13. Product and Raw Material:

Ex. Prism : Glass [prism of made of Glass ]

other examples:

  • Wall : Bricks 
  • Furniture : Wood 
  • Shoes : Leather 
  • Pullover : Wool
  • Metal : Ore 
  • Cloth : Fiber
  • Road : Asphalt
  • Book : Paper
  • Sack : Jute
  • Omelette : Egg

14. Part and Whole Relationship:

Ex. Pen  : Nib[Nib Is part of pen]

other examples:

  • Pencil : Lead 
  • House : Kitchen 
  • Fan : Blade 
  • Class : Student
  • Room : Window 
  • Aeroplane  : Cockpit
  • Book : Chapter

15. Word and intensity :

Ex. Anger  : Range [range is higher intensity than anger]

other examples:

  • wish : Desire 
  • Famous : Renowned
  • unhappy : Sad
  • kindle : Burn
  • sink : Drown
  • crime : sin
  • moist : drench

16. Word Synonym :

Ex. Abode : Dwelling [Abode mean almo the same as Dwelling]

other examples:

  • Blend : Mix 
  • Ban : Prohibition
  • vacant : Empty 
  • Abduct : Kidnap
  •  Flaw : Defect 
  • Solicit : request
  • Fierce : Violent 

17 Word and Antonym:

Ex. Attack : Defend [Defend Mean Opposite of Attack]

other examples:

  • Advance : Retreat 
  • Sink : Float
  • Cruel : Kind 
  • Robust : Weak 
  • Best : Worst
  • Fresh : Stale 
  • ignore : Notice 
  • Deep : Shallow 
  • Cordial : Hostile 
  • Mourn : Rejoice 
  • Lend : Borrow 

Reasoning

Category : News

Verbal Reasoning

  • Coding-Decoding
  • Analogy
  • Classification
  • Alphabet Test
  • Word Formation
  • Sitting Arrangement
  • Direction Sense Test
  • Number Ranking And Time Sequence Test
  • Puzzles
  • Number Series
  • Inserting the missing Character

Coding-Decoding

Coding is System of signals.This is a method of transmitting information in the form of codes or signals without it being known by third person

Mock Test Reasoning: Coding And Decoding

Q1. If A = 1, PAT = 37, then TAP = ?

(1) 73

(2) 37

(3) 36

(4) 38                              ( SSC Combined Graduate Level  Prelim Exam. 04.07.1999)

2) A = 1 ® The position num-

ber in English alphabet.

P

A

T

 ̄

16 +1 +

 ̄  ̄

20 = 37

 ̄

Sum of Position Numbers of the

letters in English alphabet.

Q2.If D = 4, BAD = 7, then what is the value of ANT = ?

(1) 8
(2) 17
(3) 35
(4) 37   ( SSC Combined Graduate Level Prelim Exam. 04.07.1999

2) A = 1 ® The position num-

ber in English alphabet.

P

A

T

 ̄

16 +1 +

 ̄  ̄

20 = 37

 ̄

Sum of Position Numbers of the

letters in English alphabet.

Q3.If C = 3 and FEAR is coded as 30, then what will be the code number for HAIR ?

(1) 35
(2) 36
(3) 30
(4) 33             ( SSC Combined Graduate Level   Prelim Exam. 04.07.1999)

2) A = 1 ® The position num-

ber in English alphabet.

P

A

T

 ̄

16 +1 +

 ̄  ̄

20 = 37

 ̄

Sum of Position Numbers of the

letters in English alphabet.

Q4.If Z = 26, NET = 39, then NUT = ?

(1) 50
(2) 53
(3) 55
(4) 56      ( SSC Combined Graduate Level  Prelim Exam.04.07.1999

2) A = 1 ® The position num-

ber in English alphabet.

P

A

T

 ̄

16 +1 +

 ̄  ̄

20 = 37

 ̄

Sum of Position Numbers of the

letters in English alphabet.

Q5. If F = 6, MAT = 34, then how much is CAR ?

(1) 21
(2) 22
(3) 25
(4) 28    ( SSC Combined Graduate Level Prelim Exam.04.07.1999

2) A = 1 ® The position num-

ber in English alphabet.

P

A

T

 ̄

16 +1 +

 ̄  ̄

20 = 37

 ̄

Sum of Position Numbers of the

letters in English alphabet.

Q6. If RAMAN is written 12325 and DINESH as 675489, how will HAMAM be written ?

(1) 92233
(2) 92323
(3) 93322
(4) 93232 (SSC Combined Matric Level (PRE) Exam. 24.10.1999

2) A = 1 ® The position num-

ber in English alphabet.

P

A

T

 ̄

16 +1 +

 ̄  ̄

20 = 37

 ̄

Sum of Position Numbers of the

letters in English alphabet.

Q7. If ‘A’ = 26, SUN = 27, then CAT = ?

(1) 24
(2) 57
(3) 58
(4) 27

2) A = 1 ® The position num-

ber in English alphabet.

P

A

T

 ̄

16 +1 +

 ̄  ̄

20 = 37

 ̄

Sum of Position Numbers of the

letters in English alphabet.

Q8. If A = 2, M = 26 and Z = 52, then BET = ?

(1) 44
(2) 54
(3) 64
(4) 72

2) A = 1 ® The position num-

ber in English alphabet.

P

A

T

 ̄

16 +1 +

 ̄  ̄

20 = 37

 ̄

Sum of Position Numbers of the

letters in English alphabet.

Q9. If RED is coded as 6720, then how GREEN would be coded? (

(1) 9207716
(2) 1677199
(3) 1677209
(4)16717209

2) A = 1 ® The position num-

ber in English alphabet.

P

A

T

 ̄

16 +1 +

 ̄  ̄

20 = 37

 ̄

Sum of Position Numbers of the

letters in English alphabet.

Q.10 If KASHMIR is written as 8142753, how RIMSHAK can be written in that code?

(1) 3574218
(2) 3571842
(3) 3521478
(4) 3574812

2) A = 1 ® The position num-

ber in English alphabet.

P

A

T

 ̄

16 +1 +

 ̄  ̄

20 = 37

 ̄

Sum of Position Numbers of the

letters in English alphabet.


JNVU Jodhpur Bsc 3rd Year Question Paper

Category : News

JNVU Jodhpur Bsc 3rd year Question paper


JNVU Jodhpur Bsc 2nd year Question paper

Category : News

JNVU Jodhpur Bsc 2nd Year Question Paper


Blood Relationship

Category : News

Verbal Reasoning

  • Coding-Decoding
  • Analogy
  • Classification
  • Alphabet Test
  • Word Formation
  • Sitting Arrangement
  • Direction Sense Test
  • Number Ranking And Time Sequence Test
  • Puzzles
  • Number Series
  • Inserting the missing Character

Reasoning: Blood Relationship

Blood Relationship is an important topic for any gov job competition Exam Under Reasoning Section.Simple Meaning Of Blood Relationship is relationship between family Members.Based On given Information You have to find Out relationship between particular member.Scoring marks under this topic is very easy as compare to other topics of reasoning.

blood relation ship

Some important relationship terms you should before you start blood relationship problems:

Blood Relationship Chart

Relationship Term used
Father's son or mother's son
Brother
Father's daughter or mother's daughter
Sister
mother's Brother
Maternal Uncle
Father's Brother
Uncle
Father's Sister
Aunt
mother's sister
Aunt
Son's wife
Daughter-in-law
Daughter's Husband
Son-in-law
Sister's Husband
Brother-in-law
Husband's brother or wife's brother
Brother-in-law
Brother's Wife
Sister-in-law

Q1. Capital Of india???

Add Your Heading Text Here

Add Your Heading Text Here

Add Your Heading Text Here

Add Your Heading Text Here

Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

JNVU jodhpur BSC question paper

Category : News

Download Previous year Question paper and Syllabus


JNVU jodhpur BSC 1st year question paper

Category : News

JNVU Jodhpur Bsc 1st year Question paper