McAfee Placement Papers 2016-2017 - Interview Questions

Advertisements

McAfee Placement Papers
Placement papers of McAfee 2016-2017. Learn and practice the placement papers and interview questions answers of McAfee and find out how much you score before you appear for your next interview and written test.         

McAfee Placement Papers - Interview Questions:

1. If 20% of a = b, then b% of 20 is the same as:

A. 4% of a
B. 5% of a
C. 20% of a
D. None of these

Ans. A

Explanation:

20*a/100=b and b/100*20=? on multiplying 20/100 on eq 1 then it becomes 20*20*a/10000=b*20/100 4*a/100=b*20/100 4% of a=b% of 20

2. Out of 7 consonants and 4 vowels, how many words of 3 consonants and 2 vowels can be formed?

A. 210
B. 1050
C. 25200
D. 21400

Ans. C

Explanation:

Number of ways of selecting (3 consonants out of 7) and (2 vowels out of 4) = (7C3 x 4C2) = ( 7 x 6 x 5 x 4 x 3 ) 3 x 2 x 1 2 x 1 = 210. Number of groups, each having 3 consonants and 2 vowels = 210. Each group contains 5 letters. Number of ways of arranging 5 letters among themselves = 5! = 5 x 4 x 3 x 2 x 1 = 120. Required number of ways = (210 x 120) = 25200.

3. Two pipes A and B can fill a cistern in 37 minutes and 45 minutes respectively. Both pipes are opened. The cistern will be filled in just half an hour, if the B is turned off after:

A. 5 min.
B. 9 min.
C. 10 min.
D. 15 min.

Ans. B

Explanation:

Let B be turned off after x minutes. Then, Part filled by (A + B) in x min. + Part filled by A in (30 -x) min. = 1. x(2/75 + 1/45) + (30 - x). 2/75 = 1 11x/225 + (60 - 2x)/75 = 1 11x + 180 - 6x = 225. x = 9.

4. Pointing to an old man, Kailash said, "His son is my son's uncle." How is the old man related to Kailash?

A. Brother
B. Uncle
C. Father
D. Grandfather

Ans. C

Explanation:

Kailash's son's uncle ----Kailash's brother. So, the old man's son is Kailash's brother i.e, the old man is Kailash's father.

5. A can do a certain work in 12 days. B is 60% more efficient than A. How many days does B alone take to do the same job ?

A. 6 days
B. 7.5 days
C. 9 days
D. 6.3 days

Ans. B

Explanation:

Ratio of time taken by A & B = 160:100 = 8:5 Suppose B alone takes x days to do the job. Then, 8:5::12:x = > 8x = 5*12 = > x = 15/2 days.

6. Worker A takes 8 hours to do a job. Worker B takes 10 hours to do the same job. How long it take both A & B, working together but independently, to do the same job ?

A. 40/9 days
B. 45/11 days
C. 39/7 days
D. 45/9 days

Ans. A

Explanation:

A's one hour work = 1/8. B's one hour work = 1/10. (A+B)'s one hour work = 1/8+1/10 = 9/40. Both A & B can finish the work in 40/9 days.

7. If A takes x days to do a work then B takes 2x days to do the same work then with in how many day's A will alone complete this work ?

A. 28 days
B. 29 days
C. 30 days
D. 27 days

Ans. D

Explanation:

= > 1/x+1/2x = 1/18 = > 3/2x = 1/18 = > x = 27 days. Hence, A alone can finish the work in 27 days.

8. If "football" is "cricket" ,"cricket" is "basketball" ,"basketball" is "volleyball","volleyball" is "khokho" and "khokho" is cricket, which is not a ball game ?

A. cricket
B. football
C. khokho
D. basketball

Ans. A

9. Here are some words translated from an artificial language. daftafoni means advisement imodafta means misadvise imolokti means misconduct Which word could mean "statement"?

A. kratafoni
B. kratadafta
C. loktifoni
D. daftaimo

Ans. A

Explanation:

Dafta means advise; foni is the same as the suffix 'ment'; imo is the same as the prefix 'mis'; lokti means conduct. Since the only word in the answer choices that hasn't been defined is krata, it is reasonable to assume that krata means state. Therefore, kratafoni is the only choice that could mean statement.

10. Which of the command is used to remove files in Unix ?

A. erase
B. rm
C. delete
D. dm

Ans. B


You can also practice: SONY Placement Papers

11. Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory ?

A. copy wb collect mon/misc
B. cp wb collect mon ../misc
C. copy wb ../misc collect ../misc mon ../misc
D. tar wb collect mon/misc

Ans. B

12. main()

{

extern int i;

i=20;

printf("%d",sizeof(i));

}


A. Compiler error
B. 20
C. 21
D. Linker error

Ans. D

Explanation: 

Linker error: undefined symbol '_i'. Explanation: extern storage class in the following declaration, extern int i; specifies to the compiler that the memory for i is allocated in some other program and that address will be given to the current program at the time of linking. But linker finds that no other variable of name i is available in any other program with memory space allocated for it. Hence a link error has occurred.

13. When n+l has the same value for two or more orbitals,the new electron enters the orbital where

A. n is maximum
B. n is minimum
C. l is maximum
D. l is minimum

Ans. B

14. Pure water does not conduct electricity because it is


A. Almost not ionized
B. Low boiling
C. Neutral
D. Readily decomposed

Ans. A

15. Identify two level logic gate ?


A. NAND
B. XOR
C. INVERTER
D. AND

Ans. A

16. TCP/IP Protocol is ______.

A. connectionless
B. connection oriented
C. Both A& B
D. none

Ans. B

17.
#include

main()

{

struct xx

{

int x=3;

char name[]="hello";

};

struct xx *s;

printf("%d",s->x);

printf("%s",s->name);

}
 

A. Compiler Error
B. hello
C. Hello hello
D. none

Ans. A

Explanation:

You should not initialize variables in declaration.

18. Using ODL, you can define which of the following ?


A. Attribute
B. Structure
C. Operation
D. All of the above.

Ans. D

19. When an entity instance must be a member of only one subtype, it is which of the following ?

A. Disjoint with total specialization
B. Disjoint with partial specialization
C. Overlap with total specialization
D. Overlap with partial specialization

Ans. A

20. You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective ?

A. public
B. private
C. protected
D. transient

Ans. C

Explanation:

Access modifiers dictate which classes, not which instances, may access features. Methods and variables are collectively known as members. Method and variable members are given access control in exactly the same way. private makes a member accessible only from within its own class protected makes a member accessible only to classes in the same package or subclass of the class default access is very similar to protected (make sure you spot the difference) default access makes a member accessible only to classes in the same package. public means that all other classes regardless of the package that they belong to, can access the member (assuming the class itself is visible) final makes it impossible to extend a class, when applied to a method it prevents a method from being overridden in a subclass, when applied to a variable it makes it impossible to reinitialise a variable once it has been initialised abstract declares a method that has not been implemented. transient indicates that a variable is not part of the persistent state of an object. volatile indicates that a thread must reconcile its working copy of the field with the master copy every time it accesses the variable. After examining the above it should be obvious that the access modifier that provides the most restrictions for methods to be accessed from the subclasses of the class from another package is C - protected. A is also a contender but C is more restrictive, B would be the answer if the constraint was the "same package" instead of "any package" in other words the subclasses clause in the question eliminates default.



You can also see: Wipro Placement Papers

21. Specify the 2 library functions to dynamically allocate memory?

A. malloc() and memalloc()
B. alloc() and memalloc()
C. malloc() and calloc()
D. memalloc() and faralloc()

Ans. C

22. The library function used to reverse a string is _______.

A. strstr()
B. strrev()
C. revstr()
D. strreverse()

Ans. B

Explanation:

strrev(s) Reverses all characters in s Example: #include #include int main(void){ char *str = "India"; printf("Before strrev(): %s\n", str); strrev(str); printf("After strrev(): %s\n", str); return 0;}Output: Before strrev(): India After strrev(): aidnI

23. The memory address of the first element of an array is called

A. floor address
B. foundation address
C. first address
D. base address

Ans. D

24. A data structure where elements can be added or removed at either end but not in the middle is ______.

A. Linked lists
B. Stacks
C. Queues
D. Deque

Ans. D

25. In Ms-Dos what command you will use to display system date ?


A. Date command
B. Ver command
C. Disk command
D. Format command

Ans. A

Explanation:

Ver command displays the version number of Dos. There is no command as Disk. Format command prepares a disk to be used with DOS. Thus Date is the command that lets you to display and/or change the system date.

26. If you don’t know the current time, which command will you use to display ?

A. Copy
B. Verify
C. 2(3/4 ) Time
D. Format

Ans. C

Explanation:

Time command displays and allows you to change system time. TIME only displays the system time and TIME is used to set new time as system time.

27. Which bitwise operator is suitable for turning on a particular bit in a number?

A. && operator
B. & operator
C. || operator
D. | operator

Ans. D

28. Which command is used to list out all the hidden files along with the other files ?

A. Is-1
B. Is-F
C. Is-x
D. Is-a

Ans. D

30.

#define DIM( array, type) sizeof(array)/sizeof(type)

main()

{

int arr[10];

printf("The dimension of the array is %d", DIM(arr, int));

}


A. 10
B. 9
C. 11
D. Compiler error

Ans. A

Explanation:

The size of integer array of 10 elements is 10 * sizeof(int). The macro expands to sizeof(arr)/sizeof(int) => 10 * sizeof(int) / sizeof(int) => 10.


McAfee Placement Paper Syllabus:

Quantitative Aptitude Syllabus:

  • Probability
  • Permutations & Combinations
  • Algebra
  • Averages
  • Time Speed & Distance
  • Time & Work
  • Profit & Loss
  • Ratio & Proportion
  • Simple & Compound Interest
  • Percentage
  • Number Series
  • Mixtures & Alligations
  • Simplification
  • Number System
  • Heights and Distances
  • Geometry & Mensuration
  • Data Sufficiency
  • Logarithms
  • Progressions
  • LCM and HCL
  • Pipes and Cisterns
  • Partnership
  • Boats and Streams
  • Areas, Volumes

Reasoning Syllabus:

  • Number Series
  • Letter Series
  • Anologies
  • Puzzles
  • Syllogisms
  • Binary Logic
  • Clocks & Calendars
  • Cubes & Dice
  • Classification 
  • Blood Relations
  • Coding-Decoding
  • Data Sufficiency
  • Seating Arrangement
  • Venn Diagrams
  • Problem Solving
  • Coded Inequalities
  • Double Lineup
  • Logical Deductions
  • Routes & Networks
  • Grouping & Selections
  • Evaluating Course of Action
  • Statements and Conclusions
  • Mathematical and Computer Operations
  • Critical Reasoning
  • Inferences
  • Situation Reaction Test
  • Decision Making
  • Symbols and Notations
  • Direction Sense Test
  • Logical Sequence Of Words
  • Assertion and Reason
  • Verification of Truth of the Statement
  • Statements and Assumptions
  • Data Interpretation

Verbal Ability Syllabus:

  • Synonyms
  • Antonyms
  • Sentence Completion
  • Spelling Test
  • Passage Completion
  • Sentence Arrangement
  • Idioms and Phrases
  • Para Completion
  • Error Correction (Underlined Part)
  • Fill in the blanks
  • Synonyms
  • Prepositions
  • Active and Passive Voice
  • Spotting Errors
  • Substitution
  • Transformation
  • Sentence Improvement
  • Joining Sentences
  • Error Correction (Phrase in Bold)
  • Articles
  • Gerunds
  • Identify the Errors
  • Plural Forms
  • Odd Words
  • Prepositions
  • Suffix
  • Tense
  • Adjectives
  • Homophones
  • Identify the Sentences
  • Nouns
  • Prefix
  • Sentence Pattern
  • Tag Questions

Dear readers, the syllabus and McAfee placement papers provided here are just for information purpose only. Sometimes companies may change their syllabus and exam pattern. So Please check official company website for latest syllabus.



Share This Job Opening...!!





About www.allindiajobs.in

All India Jobs is one of the top fresher job sites in India with over 1000 companies listing jobs online. If you are looking for best careers in India then you are at right place. You can find IT software jobs, bank jobs, bpo jobs, mba jobs, govt jobs, walkin for fresher, engineering jobs, railway jobs, medical or pharma jobs, internship jobs etc. Also we provide latest placement papers for freshers to practice for mnc company written online exams. www.allindiajobs.in is one of the the best recruitment websites in india.