Elearning , Interview Questions And Answers

Google

COGNIZANT (CTS) Conducted On -- -2003 There wer 5 section 8 questions each (40 q totally) 60 minute 5 different sets of question papers 1 Mark each 0.25 negative marking CTS BLACK Vocabulary, strings, dominoes, functions, coding (each section 8 ques) CTS BROWN Word series, numerical series, functions, figures, verbal (each section 8 ques) CTS VIOLET Functions, strings, bricks, jigsaw puzzle, cryptic clues (each section 8 ques) CTS RED 1) 8 functions 2) 4 cryptic clues, 4 anagrams 3) 4 Tetris figures, 4 bricks 4) 8 strings 5) 4 jigsaw puzzles 4 number series BROWN 2002 There were different papers for different sessions.The paper had 5 sections, 5 * 8 = 40 Que's. totally Section 1: Functions Q: 1 - 8 Certain functions were given & based upon the rules & the choices had to be made based on recursion. This is time consuming, but u can do it. Try to do it at the end. Start from the last section. L(x) is a function defined. functions can be defined as L(x)=(a,b,ab) or (a,b,(a,b),(a,(b,b)),a,(b,b)).... two functions were given A(x) & B(x) like if l(x)=(a,b,c) then A(x)=(a) & B(x)=(b,c) i.e., A(x) contains the first element of the function only.& B(x) contains the remaining, except the first element. then the other two functions were defined as C(x) = * if L(x) = () A(x) if L(x) = () & B(x) != () & C(B(x)) otherwise D(x) = * if L(x) = () ** if B(x) = () A(x), if L(x) != () & B(x) != () D(D(x)),otherwise ; Now the Questions are, 1 : if L(x) = (a,b,(a,b)) then C(x) is ? (a): a (b): b (c): c (d): none 2 : if L(x) = (a,b,(a,b)) then find D(x) same options as above 3 : if L(x) = (a,b,(a,b),(b,(b))) find C(x) 4 : find D(x) 5 : if L(x) = (a,(a,b),(a,b,(a,(b))),b) then find c(x) 6 : find D(x)