USE THIS SEARCH BOX AND GET MORE QUESTIONS UPDATES

Showing posts with label Technical Questions. Show all posts
Showing posts with label Technical Questions. Show all posts

Saturday, August 10, 2019

Software Testing Interview Questions and Answers

  1. Does automation replace manual testing?
    Automation is the integration of testing tools into the test environment in such a manner that the test execution, logging, and comparison of results are done with little human intervention. A testing tool is a software application which helps automate the testing process. But the testing tool is not the complete answer for automation. One of the huge mistakes done in testing automation is automating the wrong things during development. Many testers learn the hard way that everything cannot be automated. The best components to automate are repetitive tasks. So some companies first start with manual testing and then see which tests are the most repetitive ones and only those are then automated.

    As a rule of thumb do not try to automate:
    • Unstable software: If the software is still under development and undergoing many changes automation testing will not be that effective.
    • Once in a blue moon test scripts: Do not automate test scripts which will be run once in a while.
    • Code and document review: Do not try to automate code and document reviews; they will just cause trouble.

    The following figure shows what should not be automated.

    Software Testing Image

    All repetitive tasks which are frequently used should be automated. For instance, regression tests are prime candidates for automation because they're typically executed many times. Smoke, load, and performance tests are other examples of repetitive tasks that are suitable for automation. White box testing can also be automated using various unit testing tools. Code coverage can also be a good candidate for automation.
  2. How does load testing work for websites?
    Websites have software called a web server installed on the server. The user sends a request to the web server and receives a response. So, for instance, when you type www.google.com the web server senses it and sends you the home page as a response. This happens each time you click on a link, do a submit, etc. So if we want to do load testing you need to just multiply these requests and responses "N" times. This is what an automation tool does. It first captures the request and response and then just multiplies it by "N" times and sends it to the web server, which results in load simulation.

    Software Testing Image

    So once the tool captures the request and response, we just need to multiply the request and response with the virtual user. Virtual users are logical users which actually simulate the actual physical user by sending in the same request and response. If you want to do load testing with 10,000 users on an application it's practically impossible. But by using the load testing tool you only need to create 1000 virtual users.

    Software Testing Image

Sunday, March 24, 2019

Steel Structure Design

1.The effective length of a compression member of length L held in position and restrained in direction at one end and effectively restrained in direction but not held in position at the other end, is
L 0.67 L 0.85 L 2 L

2.The ratio of shearing stress to shearing strain within elastic limit, is known as
modulus of elasticity shear modulus of elasticity bulk modulus of elasticity tangent modulus of elasticity

3.For determination of allowable stress in axial compression, Indian Standard Institution has adopted
Euler's formula Rankine formula Engesser formula Secant formula

4.The method of design of steel framework for greatest rigidity and economy in weight, is known as
simply design semi-rigid design fully rigid design none of these.

5. If the pitch is 6 cm and rivet value is 4 tonnes, the number of rivets required for a riveted connection carrying an eccentric load of 15 tonnes at a distance of 30 cm from the centre line, is
6 8 10 12

Friday, March 1, 2019

Web Services

  1. What are Windows services?
    Windows services, previously known as NT services, are applications that are installed on the system as system services. In other words, Windows services are applications that run in the background with the Windows operating system. The primary use of Windows services is to reduce the consumption of memory required for performing backend operations. Let's take an example to understand this easily. Suppose you want to perform a variety of functions, such as monitor the performance of your computer or application, check the status of an application, and manage various devices, such as printers. 

    In such a case, you can use Windows services to reduce memory consumption. In addition, Windows services can run on your system even if you have not logged on to your computer. In addition, these services do not have any user interface.
  2. Can you share a process between Windows services?
    Yes, you can share a process between Windows services.
  3. In .NET, which is the parent class to create all Windows services?
    The ServiceBase class is the parent class to create all Windows services.

Sunday, February 10, 2019

Management Information Systems

1.Which of the following is(are) true of the EDP auditors?
they should have computer expertise they will be replaced by traditional auditors in the near future two of the above currently, there is a very high demand for them, particularly from firms that use personal computers

2.Controls of data communication deal with
the communication channel the computer terminals All of the above

3.A lockbox service is used for
depositing cash when bank is closed paying bank customer bills automatically storing papers in a bank vault depositing payments to bank customers

4.Critical path of the PERT chart is:
path which takes the longest time to complete the project the shortest path both of the above path which takes the shortest time to complete the project

5. Inventory is also referred to as:
stock warehouse capacity materials materials in hand

Saturday, January 5, 2019

Advanced Java

  1. What is a transient variable?
    A transient variable is a variable that may not be serialized.
  2. Which containers use a border Layout as their default layout?
    The Window, Frame and Dialog classes use a border layout as their default layout.
  3. Why do threads block on I/O?
    Threads block on I/O (that is enters the waiting state) so that other threads may execute while the I/O Operation is performed.

Friday, November 30, 2018

Chemical Engineering Basics

1. Which one of the following is incombustible ?
H2 CCl4 C2H2 S

2. The softness or hardness of a grinding wheel depends upon the type & amount of bonding material used. For general purpose cutter grinding __________ grinding wheel is normally used.
hard soft silicon carbide aluminium oxide

3.Tin based white metals are used, where bearings are subjected to
high pressure & load. low pressure & load. high temperature. large surface wear.

4.Friction factor for fluid flow in pipe does not depend upon the
pipe length. pipe roughness. fluid density & viscosity. mass flow rate of fluid.

5.All of the following alloying elements of steel increases hardness but sacrifice ductility, except
nickel vanadium molybdenum chromium

Friday, October 12, 2018

Interview Questions and Answers

  1. What is a FIFO?
    FIFO are otherwise called as 'named pipes'. FIFO (first-in-first-out) is a special file which is said to be data transient. Once data is read from named pipe, it cannot be read again. Also, data can be read only in the order written. It is used in interprocess communication where a process writes to one end of the pipe (producer) and the other reads from the other end (consumer).
  2. How do you create special files like named pipes and device files?
    The system call mknod creates special files in the following sequence.
    1. kernel assigns new inode,
    2. sets the file type to indicate that the file is a pipe, directory or special file,
    3. If it is a device file, it makes the other entries like major, minor device numbers.
    For example:
    If the device is a disk, major device number refers to the disk controller and minor device number is the disk.
  3. Discuss the mount and unmount system calls.
    The privileged mount system call is used to attach a file system to a directory of another file system; the unmount system call detaches a file system. When you mount another file system on to your directory, you are essentially splicing one directory tree onto a branch in another directory tree. The first argument to mount call is the mount point, that is , a directory in the current file naming system. The second argument is the file system to mount to that point. When you insert a cdrom to your unix system's drive, the file system in the cdrom automatically mounts to "/dev/cdrom" in your system.
  4. How does the inode map to data block of a file?
    Inode has 13 block addresses. The first 10 are direct block addresses of the first 10 data blocks in the file. The 11th address points to a one-level index block. The 12th address points to a two-level (double in-direction) index block. The 13th address points to a three-level(triple in-direction)index block. This provides a very large maximum file size with efficient access to large files, but also small files are accessed directly in one disk read.
  5. What is a shell?
    A shell is an interactive user interface to an operating system services that allows an user to enter commands as character strings or through a graphical user interface. The shell converts them to system calls to the OS or forks off a process to execute the command. System call results and other information from the OS are presented to the user through an interactive interface. Commonly used shells are sh,csh,ks etc.

Friday, September 28, 2018

UNIX File Management

  1. How are devices represented in UNIX?
    All devices are represented by files called special files that are located in /dev directory. Thus, device files and other files are named and accessed in the same way. A 'regular file' is just an ordinary data file in the disk. A 'block special file' represents a device with characteristics similar to a disk (data transfer in terms of blocks). A 'character special file' represents a device with characteristics similar to a keyboard (data transfer is by stream of bits in sequential order).
  2. What is 'inode'?
    All UNIX files have its description stored in a structure called 'inode'. The inode contains info about the file-size, its location, time of last access, time of last modification, permission and so on. Directories are also represented as files and have an associated inode. In addition to descriptions about the file, the inode contains pointers to the data blocks of the file. If the file is large, inode has indirect pointer to a block of pointers to additional data blocks (this further aggregates for larger files). A block is typically 8k.

    Inode consists of the following fields:

    1. File owner identifier
    2. File type
    3. File access permissions
    4. File access times
    5. Number of links
    6. File size
    7. Location of the file data
  3. Brief about the directory representation in UNIX.
    A Unix directory is a file containing a correspondence between filenames and inodes. A directory is a special file that the kernel maintains. Only kernel modifies directories, but processes can read directories. The contents of a directory are a list of filename and inode number pairs. When new directories are created, kernel makes two entries named '.' (refers to the directory itself) and '..' (refers to parent directory). System call for creating directory is mkdir (pathname, mode).

Friday, March 9, 2018

Idioms and Phrases

1.To make clean breast of
To gain prominence To praise oneself To confess without of reserve To destroy before it blooms

2.To keeps one's temper
To become hungry To be in good mood To preserve ones energy To be aloof from

3.To catch a tartar
To trap wanted criminal with great difficulty To catch a dangerous person To meet with disaster To deal with a person who is more than one's match

4.To drive home
To find one's roots To return to place of rest Back to original position To emphasise

5.To have an axe to grind
A private end to serve To fail to arouse interest To have no result To work for both sides

Friday, July 21, 2017

World Organisations

1.Which of the following is Human Rights Organisation?
The French community The Organisation of African Unity The Arab League Amnesty International

2.The headquarters of International Atomic Energy Agency is located in
Vienna London Geneva Washington

3.The head quarters of the International Red Cross is situated in
Vienna Paris Hague Geneva

4.Which was the first country to withdraw from CENTO?
Iraq Afghanistan Turkey U.K.

5. Amnesty International has its headquarters at
Berlin New York Washington London

Saturday, July 8, 2017

Technology - GK

1.The NTSC (National Television Standards Committee) is also used in the country of...?
Japan France Germany England

2.What are three types of lasers?
Gas, metal vapor, rock Pointer, diode, CD Diode, inverted, pointer Gas, solid state, diode

3. 'DTP' computer abbreviation usually means ?
Digital Transmission Protocol DeskTop Publishing Data Type Programming Document Type Processing

4.Where is the headquarters of Intel located?
Redmond, Washington Tucson, Arizona Santa Clara, California Richmond, Virginia

5.The input used by an antenna or cable to a TV set uses frequencies called...?
IF RF AF SAP

Friday, June 16, 2017

Indian History

1.Visakhadatta sketches the event after the death of Samudragupta in his work
Mudrarakasam Devi Chand Guptam Mrichekakatika Malavikagnimitra

2.The Vedas contain all the truth was interpreted by
Swami Vivekananda Swami Dayananda Raja Rammohan Roy None of the above

3.To evolve a peaceful settlement of the conflict between India and China, which of the following non-aligned Afro-Asian nations participated in a conference held in December 1962?
Burma (now Myanmar), Combodia, Indonesia and UAR Burma, Sri Lanka, Combodia and Indonesia Burma, Indonesia, Ghana and Sri Lanka All of the above

4.The text of the document called Mahzar, by which Akbar assumed the role of supreme arbiter in the matters of religion is found in
Nizamuddin's Tabaqat-I-Akbari Arif Quandahari's Tarikh-I-Alfi Abul Fazl's Akbarnama Badauni's Muntakahab-ut-Tawarikh

5.To meet the educational needs of the people, the Madarasa-I Nasiri was built in the region of
Qutub-ud-din Aibak Iltutmish Ruknuddin Firoz Shah Jalal-id-din Khilji

Saturday, June 10, 2017

World Organisations

1.The international township built near Pondicherry in India in coloration with UNESCO is called
Elbaville Auroville Gayaville Broadway

2. The non-permanent members of the Security Council of the UN elected by the General Assembly for two years term at present include (2-year term which begins on the January 1, 2011)
Japan, India, Hungary, Venezuela Morocco, Cape, Verde, Belgium, Russia Zimbabwe, Venezuela, India, France Colombia, Germany, India, Portugal, South Africa

3.Which of the following countries is not a member of G-15?
Jamaica Indonesia Colombia Peru

4.The Economic and Social Commission for Asia and Pacific (ESCAP) is located at
Manila Singapore Kuala lumpur Bangkok

5.The International Court of Justice is located at
Geneva Hague Amsterdam Vienna

Friday, June 9, 2017

Indian Culture

1.Thillana is a format of
Kuchipudi Odissi Baharatanatyam Kathak

2.'Madhubani', a style of folk paintings, is popular in which of the following states in India?
Uttar Pradesh Rajasthan Madhya Pradesh Bihar

3.Kathak is a classical dance of
North India Tamilnadu Manipur Kerala

4.The dance encouraged and performance from the temple of Tanjore was
Kathakali Odissi Kathak Bharatanatyam

5.Which of the following places is famous for Chikankari work, which is a traditional art of embroidery?
Lucknow Hyderabad Jaipur Mysore

Friday, March 17, 2017

Biology - GK

1.Movement of cell against concentration gradient is called
osmosis active transport diffusion passive transport

2.Photosynthesis generally takes place in which parts of the plant?
Leaf and other chloroplast bearing parts stem and leaf Roots and chloroplast bearing parts Bark and leaf

3.Plants synthesis protein from
starch sugar amino acids fatty acids

4.Plants absorb dissolved nitrates from soil and convert them into
free nitrogen urea ammonia proteins

5.One of the following is not a function of bones.
Place for muscle attachment Protection of vital organs Secretion of hormones for calcium regulation in blood and bones Production of blood corpuscles

Friday, March 10, 2017

Inventions

1.Who among the following invented the small pox vaccine?
Robert Koch Edward Jenner Robert Hooke Louis Pasteur

2.What George Westinghouse invented?
Light bulb Electric razor Refrigerator Railway air brakes

3.Who is the only U.S. President to invent and patent something?
Abraham Lincoln Theodore Roosevelt Thomas Jefferson Rutherford B. Hayes

4.What invention is credited to the Russian born American inventor Vladimir Kosma Zworykin?
Telegraph Radio Television Dishwasher

5. What Thomas Davenport invented?
Screw propellor Electric streetcar Chesterfield Sleeping (railway) car

Saturday, June 11, 2016

Mechanical Engineering interview questions and answers

What are the different types of fits? Explain?

On the basis of Indian standards fits can mainly be categorized into three groups:

> Clearance Fit: These types of fits are characterized by the occurrence of a clearance between the two mating parts. The difference between the minimum size of the hole and the maximum size of the shaft is called the minimum clearance, the difference between the maximum size of the hole and the minimum size of the shaft is known as maximum clearance.
> Interference Fit: In these types of fits the size of the mating parts are predefined so that interference between them always occurs. The tolerance zone of the hole is completely below the tolerance zone of the shaft.
> Transition Fit: As the name suggests these type of fit has its mating parts sized limited to allow either clearance or interference. The tolerance zone of the hole and the shaft overlaps in case of such fits.

For a shaft designated as 40 H8/f7, calculate the tolerances.
Given: Shaft designation = 40 H8/f7

The shaft designation 40 H8/f 7 means that the basic size is 40 mm and the tolerance grade for
the hole is 8 ( i. e. I T 8) and for the shaft is 7 ( i. e. I T 7).
Since 40 mm lies in the diameter steps of 30 to 50 mm, therefore the geometric mean diameter,
D = Square root of (30 x 50) = 38.73 mm
We know that standard tolerance unit,
i = 0.45 x Cube root of (D) + 0.001 D
i = 0.45 × 3.38 + 0.03873 = 1.559 73 or 1.56 microns
i = 1.56 × 0.001 = 0.001 56 mm ...(1 micron = 0.001 mm)
The standard tolerance for the hole of grade 8 (IT8)
= 25 i = 25 × 0.001 56 = 0.039 mm 
The standard tolerance for the shaft of grade 7 (IT7)
= 16 i = 16 × 0.001 56 = 0.025 mm

What are the factors that can affect the Factor of safety selection?

The factor of safety is used in designing a machine component. Prior to selecting the correct factor of safety certain points must be taken into consideration such as:

> The properties of the material used for the machine and the changes in its intrinsic properties over the time period of service.
> The accuracy and authenticity of test results to the actual machine parts.
> The applied load reliability.
> The limit of stresses (localized).
> The loss of property and life in case of failures.
> The limit of initial stresses at the time period of manufacture.
> The extent to which the assumptions can be simplified.

The factor of safety also depends on numerous other considerations such as the material, the method of manufacturing , the various types of stress, the part shapes etc.

What is heat treatment and why is it done?

Heat treatment can be defined as a combination of processes or operations in which the heating and cooling of a metal or alloy is done in order to obtain desirable characteristics without changing the compositions. Some of the motives or purpose of heat treatment are as follows:

> In order to improve the hardness of metals.
> For the softening of the metal.
> In order to improve the machinability of the metal.
> To change the grain size.
> To provide better resistance to heat, corrosion, wear etc.

Heat treatment is generally performed in the following ways:

> Normalizing
> Annealing
> Spheroidising
> Hardening
> Tempering
> Surface or case hardening

What are the rules that must be kept in mind while designing castings?

Some of the points that must be kept in mind during the process of cast designing are as follows:

> To avoid the concentration of stresses sharp corners and frequent use of fillets should be avoided.
> Section thicknesses should be uniform as much as possible. For variations it must be done gradually.
> Abrupt changes in the thickness should be avoided at all costs.
> Simplicity is the key, the casting should be designed as simple as possible.
> It is difficult to create true large spaces and henceforth large flat surfaces must be avoided.
> Webs and ribs used for stiffening in castings should as minimal as possible.
> Curved shapes can be used in order to improve the stress handling of the cast.

What are the points that should be kept in mind during forging design?

Some of the points that should be followed while forging design are:

> A radial flow of grains or fibers must be achieved in the forged components.
> The forged items such as drop and press forgings should have a parting line that should divide the forging into two equal halves.
> The ribs in a forging should not be high or thin.
> In order to avoid increased die wear the pockets and recesses in forgings should be minimum.
> In forgings the parting line of it should lie as far as possible in a single plane.
> For ease of forging and easy removal of forgings the surfaces of the metal should contain sufficient drafts.