NVIDIA Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
0
of 0 vote

|hour clock number- min clock number|/12 * 360

- Leks March 12, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

int angle( int hr, int min)
{
return abs ( min*6 - (hr*30 + min*0.5) )

}

- deepblue April 01, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Because this guy is retorning a long float value. But funtion return type is int

- alok October 11, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

hello deepblue
in your code all o/p are 0.
why?????

- Anonymous April 27, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

1 hr = 30 degree of hour hand
1 min = 6 degree of min hand
no of degree of hr hand in 1 min = 30/360*6=1/2
if((no of hr)*5 > (no of min))
degree = (no of hr)*30 - (no of min)*6 + 1/2*(no of min)
else
degree = (no of min)*6 - (no of hr)*30 - 1/2*(no of min)

- tanalam October 11, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

min angle= min/60*360

hr angle=hr/12*360+min_angle/12

ans=abs(hr_angle-min_angle)

- kim July 16, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Degree=(minutes/hours)*360

Ex:- time is 1'o clock means

small hand is on 1 i.e 5 minutes
Big hand is on 12 i.e 60 minutes
degrees=(5/60)*360

30 degrees

- Anonymous December 10, 2013 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More