question paper3

Upload: divya-kakumanu

Post on 28-Oct-2015

207 views

Category:

Documents


0 download

DESCRIPTION

exam on aptitude

TRANSCRIPT

Name:Date: Degree: Branch:Aggregate:Passing Year:College:Registration Number:Phone:Mobile:Landline:Email:Complete Postal Address (with city and pin code):

Instructions: 1. Time to answer: 55 minutes (+ 5 minutes to review the question paper and filling up details above before start)2. Mark all correct answers for a given question.3. When not sure about a question either skip it or write your assumptions with the answer.4. Please ensure that you attach your resume at the end with this answer sheet.5. For every correct answer (+1) is allotted and every wrong answer (-1) will be applicable.6. Please do not scribble around the questions. Please use rough sheets or the page at the end of this booklet.About SuccessFactors SuccessFactors is the global leader in Business Execution Software. Our integrated suite of cloud-based applications is relied upon by over 3,200 customers in 168 countries to bridge the gap between business strategy and business results with improved execution. SuccessFactors solutions improve execution by optimizing people performance in three key areas: Aligning the workforce with the business strategy Attracting and retaining top talent Developing that talent to meet the current business challenge We also deliver a comprehensive view of the workforce through robust analytics, planning and core HR applications. SuccessFactors solutions help companies execute faster and smarter, with greater insight delivering better business results than ever before. SuccessFactors has a unique culture. We are highly innovative and our products are defining new frontiers of software-as-a-service. We have extraordinary leadership and an aggressive, sales-driven culture. Founded in 2001 with offices around the world, the company employs more than 1200 people, all passionately focused on revolutionizing the future of work.SuccessFactors has just become part of SAP - a company within the company. SuccessFactors will drive all Cloud Business globally, for all SAP - a reverse integration - and maintain our own culture, management, yet leverage all the resources, branding, and history that SAP has to offer. Truly an exciting time. SuccessFactors was acquired for $3.4Bn USD with a premium price of 52% from their then current stock price. SuccessFactors will continue to remain a stand-alone company and will now be responsible and lead the cloud HRMS applications for the SuccessFactors-SAP combined offering.

Aptitude based QuestionsQ1. Find k:a/7 = b/3 = (3a-2b)/kAns:Q2. Find x2+y2 if x-y=5, xy=66

Ans:Q3. A began business with Rs.4200. If profits were divided equally at the end of year, after how many months did B join if his contribution was Rs. 7200?

Ans:Q4. At what time after 3 the angle between the hands of a clock will be 30 degrees?

Ans:Q5. In an election 261 votes are cast. If there are 5 contestants then find the least number of votes a candidate requires to win?

Ans:Q6. If A gives B Rs.4, B will have twice as much as A. If B gives Rs.15 to A, he will have 10 times as much as B. Find the amounts with each of them.

Ans:

Q7. An outlet empties a tank which is full in 10 hrs. If inlet is open which lets water in at 8litres/minute, the outlet will take 6hours longer. Find the capacity of the tank. Ans:

Q8. Find the proportion in which two kinds of tea costing Rs.3 (A)and Rs.3.30 (B) per kg are mixed up to produce a mixture of cost 3.20 per pound

Ans:

Algorithms based Questions (Multiple Choice)Q9. Give the time complexity for the given code snippet for(i=0;i65 AND Passenger.pid = Reservation.pi(D)(A) 1, 0 (B) 1, 2 (C) 1, 3 (D) 1, 5

Q35. Choose the correct remark(A) An alternate key is a candidate key, that is not a primary key.(B) An alternate key is primary key, that is not a candidate key.(C) An alternate key is a candidate key, that is also a primary key.(D) None of the above

Q36. If we move or delete a record to which another record contains a pointer, then that pointer is called as(A) Pinned pointer(B) Dangling pointer(C)Pointless pointer(D) Meaningless pointer

Q37. Consider the following set of functional dependencies on the schema(A, B, (C)A -> BCB -> CA -> BAB -> CThe canonical cover for this set is(A) A -> BC and B -> C(B) A -> BC and AB -> C(C) A -> BC and A -> B(D) A -> B and B -> C(E) None of the above.

Programming Questions(Multiple Choice)Q38.What will be the output of the program

#includevoid fun(int*, int*);int main(){ int i=5, j=2; fun(&i, &j); printf("%d, %d", i, j); return 0;}void fun(int *i, int *j){ *i = *i**i; *j = *j**j;}

(A) 5, 2(B) 10, 4(C) 2, 5(D) 25, 4

Q39. What will be the output of the program

#includeint reverse(int);

int main(){ int no=5; reverse(no); return 0;}int reverse(int no){ if(no == 0) return 0; else printf("%d,", no); reverse (no--);}

(A) Print 5, 4, 3, 2, 1 (B) Print 1, 2, 3, 4, 5 (C) Print 5, 4, 3, 2, 1, 0 (D) Infinite loop

Q40. What will be the output of the program

#include int main() { int i=3, j=4, k, l; k = addmult(i, j); l = addmult(i, j); printf("%d %d\n", k, l); return 0;}int addmult(int ii, int jj);{ int kk, ll; kk = ii + jj; ll = ii * jj; return (kk, ll);}

(A) 12, 12(B) 7, 7(C) 7, 12(D) 12, 7

Q41. What will be the output of the program

#includevoid fun(int);typedef int (*pf) (int, int);int proc(pf, int, int);

int main(){ int a=3; fun(a); return 0;}void fun(int n){ if(n > 0) { fun(--n); printf("%d,", n); fun(--n); }}

(A) 0, 2, 1, 0(B) 1, 1, 2, 0(C) 0, 1, 0, 2(D) 0, 1, 2, 0

Q42. If int is 2 bytes wide. What will be the output of the program?

#include void fun(char**);

int main(){ char *argv[] = {"ab", "cd", "ef", "gh"}; fun(argv); return 0;}void fun(char **p){ char *t; t = (p+= sizeof(int))[-1]; printf("%s\n", t);}(A) ab(B) cd(C) ef(D) gh

Q43. In a Stack the command to access nth element from the top of the stack s will be (A) S[Top-n](B) S [Top+n](C) S [top-n-1](D) None of the above

Q44. The result of evaluating prefix expression */b+-dacd, where a = 3, b = 6, c = 1, d = 5 is (A) 0(B) 5(C) 10(D) 15

Q45. In an array representation of binary tree the right child of root will be at location of (A) 2(B) 5(C) 3(D) 0

Operating System Based Questions (Multiple Choice)Q46. Number of CPU registers in a system depends on ____________. (A) Operating system (B) Computer Architecture (C) Computer Organization (D) None of the above

Q47. ___________ begins at the root and follows a path down to the specified file (A) Relative path name (B) Absolute path name (C) Standalone name (D) None of the above

Q48. Consider a logical address space of 64 pages of 2048 words each. How many bits are there in logical address? (A) 14 bits(B) 15 bits(C) 16 bits(D) 17 bits

Q49. _________ is a high speed cache used to hold recently referenced page table entries a part of paged virtual memory (A) Translation Lookaside buffer (B) Inverse page table (C) Segmented page table (D) All the above

Q50. When does the process enters the zombie state___________(A) If the process is waiting for some special I/O event.(B) If the process is dead but have not been removed from the process table.(C) Both (A) & (B)(D) None of these.

Q51. _______ OS pays more attention on the meeting of the time limits. (A) Distributed (B) Network (C) Real time (D) Online

Q52. Which of the following statements (one or more) are true in the context of Bankers algorithm:(A) It detects deadlock(B) It prevents deadlock(C) It detects deadlock but cannot prevent deadlock from happening(D) It requires prior knowledge of the requirements of all the currently executing processes.(E) Bankers algorithm caters to dynamic needs of executing processes

******* Thank you*****

Rough Work Section:

8