↳
Well, assuming the equation is 2*pi*(R+1)-2*pi(R), I think the correct answer should be 2*pi Less
↳
Yeah, it is 2*pi...
↳
There is no increase in length. Rather there will be decrease in lenght as equator had the largest radius on the ellipsoid of earth. Less
↳
import java.util.Scanner; class Factorial { public static void main(String args[]) { int n, c, fact = 1; System.out.println("Enter an integer to calculate it's factorial"); Scanner in = new Scanner(System.in); n = in.nextInt(); if ( n < 0 ) System.out.println("Number should be non-negative."); else { for ( c = 1 ; c <= n ; c++ ) fact = fact*c; System.out.println("Factorial of "+n+" is = "+fact); } } } Less
↳
Fortran program fact integer ans,num print*, 'Enter an integer to find its factorial' read(*,*)num if(num.lt.0) stop ans = rec(num) write(*,*)ans end program recursive function rec(n) result(f) integer,intent(in):: n integer f if(n.eq.0) then f=1 else f = n*rec(n-1) endif end function Less
↳
My example was not great. I suggested looking online for more sophisticated answers Less
↳
Basic architecture: 1) Web and Mobile users 2) Web, App and DB instances 3) File storage 4) Notification services 5) Archiving Solution 6) Big data analytics Solution for user preference and understanding user mentality to target ads. Less
↳
1. For Mobile users to access, you can use services like Cognito. 2. Web, App - you can have EBS or Docker (ECS) since AWS is going to maintain them and it's extremely scalable and no need to patch or worry about anti-virus. 3. Database: You can use Aurora/RDS as it's fantastic and AWS manages it. 4. When users sign-in or the app wants to send notifications, you can use SNS coupled with Lambda (Event Based) 5. All photos and videos can be stored in S3 bucked and after certain period of time, you can archive to Glacier. 6. Now to the big stuff, where you want to learn about user behavior and their preference etc, and to process all those big data, you can have setup like EMR (Hadoop) and use Redshift (Data warehouse) and use Amazon Quicksight for showing the trends, graphs. Or you can use Microsoft BI or Tableau. Less
↳
You can replace everything I said above (AWS) with GCP services.
↳
2*pi*(r+1) - 2*pi*r = 2*pi
↳
2pi additional feet of track
↳
remember that r should be in meters for this to hold true. If r is in feet then the correct answer is 2*pi * 0.3048 Less
↳
So, basically in selenium who will be asked to any website, track a path, and print the required data asked in the question. During my test, it was to print the name, price, and URL for all the Samsung phones available in Flipkart in ascending order using selenium. In the server coding round, we had to print 10 characters(be it numbers or letters) in the log file and print those print 10 numbers on the client-side webpage without reloading or updating the client-side. One restriction which I can recall was to display only the last 10 characters, should not display more than that. You can find similar questions in glassdoor and geeksforgeeks for browserstack past questions. Less
↳
Edit - you will be asked to visit any website *
↳
I didnt know much networking and OS.
↳
For this situation, the customer on phone is the highest priority, because if this customer is not on hurry and want an urgent support, he will not call the support team to ask for help, then will check the manager and the mail for the customer, and see which one is the highest priority. Less
↳
The customer on phone is first priority. I would also let the manager know that i have a customer on phone. If the customer email is urgent, i would take care of that next and keep manager informed of situation. If the customer email doesn't have a timeline, i would handle the manager need 2nd. Less
↳
nonblocking assignment a<=b; b<=a;
↳
Another way: a = a + b b = a - b a = a - b
↳
Put 3 each on both sides, if they weigh the same than put the other 2, one on each and see what is different. Done in 2 steps Less
↳
3. You also have to determine if it weights more or less than others