Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Programming Languages Interview Questions
Questions Answers Views Company eMail

How many types of errors in php?

1078

What is the use of curl()?

1081

List some array functions in php?

943

How to make database connection in php?

1053

What is the difference between abstract class and interface in php?

1153

Explain the difference between isset() and empty()?

970

How to remove blank spaces from the string?

1022

Why php is used?

1117

What is the difference between apache and tomcat?

1036

How to get ip address of clients machine?

1003

What the use of var_dump()?

1059

What is the difference between implode() and explode() in php?

1043

Explain the difference between $var and $$var?

987

What is the difference between rest and soap?

1164

Write a query to find the 2nd highest salary of an employee from the employee table?

1054


Un-Answered Questions { Programming Languages }

What are the directory structure of laravel 5.8?

719


How can I implement sets or arrays of bits?

1064


Does std endl flush?

1066


A set of N billiard balls are set on a one-dimensional table. The table is 1 meter long, set north-south with two pockets at either side. Each ball has zero width and there is no friction so it is moving with a fixed velocity of either northward or southward and bounces back in a perfect elastic collision from other balls it encounter on its way (or drop into one of the pockets). Your job is to keep track of the balls movements. Task Please write a program that gets the initial place, speed and direction of all the balls and gives the position of a specific ball after t seconds. Input The first line contains the number of scenarios. Each one of the other lines in the input contains a scenario: The first number, N, is the number of balls; followed by N pairs of numbers: the distance in centimeters from the south end of the table and the speed (positive speed meaning it moves northward); the last two numbers are the number i of the target ball you should track and the time T in seconds. Output The output is a single number for each line which is the place (distance in centimeters from the south end of the table) of the tracked ball after T seconds. Note: There is no new line character at the end of the result. Sample Input 5 1 50 1 1 1000 1 50 1 1 6 1 60 -2 1 6 2 10 1 95 -1 2 30 2 10 1 95 -1 2 60 Sample Output 100 56 48 65 70

2692


What is homestead.yaml?

731


What is the term "positions" used in joomla?

115


Explain the difference between call by value and call by reference in c language?

1128


Explain about default database with python?

909


How many ways are there to read and write files?

132


What are the Color reduction techniques for graphics?

1847


What are the types of abstraction?

1096


If you want to share several functions or variables in several files maitaining the consistency how would you share it?

1007


Is fortran faster than c?

1063


What are the file-related modules we have in python?

934


What is a buffer in c?

1015