Fonantrix Online Quiz

100 Questions | Attempts: 316
Share

SettingsSettingsSettings
Fonantrix Online Quiz - Quiz

Questions and Answers
  • 1. 

    The sum of the ages of Neelima and her father is 62 years. After four years, the age of the father will be four times that of the Neelima.Then the difference between their ages is

    • A.

      30

    • B.

      34

    • C.

      42

    • D.

      41

    Correct Answer
    C. 42
  • 2. 

    A batsman has a certain average of runs for 25 innings. In the next innings, he scores 156 runs thereby increasing his average by 2 runs. His new average is 

    • A.

      100 runs

    • B.

      102 runs

    • C.

      104 runs

    • D.

      106 runs

    Correct Answer
    D. 106 runs
  • 3. 

    A man spends Rs. 750 on an average during first 8 months. During the next 4 months he spends Rs. 680 per month. He took loan of Rs. 320 during the year and paid Rs. 600 for LIC premium. Find his monthly average income?

    • A.

      Rs. 650

    • B.

      Rs. 750

    • C.

      Rs. 850

    • D.

      Rs. 900

    Correct Answer
    B. Rs. 750
  • 4. 

    Running at the same constant rate, 6 identical machines can produce a total of 270 bottles per minute. At this rate, how many bottles could 10 such machines produce in 4 minutes?

    • A.

      648

    • B.

      1800

    • C.

      2700

    • D.

      10800

    Correct Answer
    B. 1800
  • 5. 

    Susan can type 10 pages in 5 minutes. Mary can type 5 pages in 10 minutes. Working together, how many pages can they type in 30 minutes?

    • A.

      15

    • B.

      20

    • C.

      25

    • D.

      75

    Correct Answer
    D. 75
  • 6. 

    1 monkey takes 3 min to eat 1 banana. How much time will 10 monkeys take to eat 10 bananas?

    • A.

      3 minutes

    • B.

      30 minutes

    • C.

      33 minutes

    • D.

      None Of These

    Correct Answer
    A. 3 minutes
  • 7. 

    A tank is filled in 5 hours by three pipes A, B and C. The pipe C is twice as fast as B and B is twice as fast as A. How much time will pipe A alone take to fill the tank?

    • A.

      20 hours

    • B.

      25 hours

    • C.

      35 hours

    • D.

      None Of These

    Correct Answer
    C. 35 hours
  • 8. 

    Vishal goes to a shop to buy a radio costing Rs 2568. The rate of sales tax is 7%. He tells the shopkeeper to reduce the price of the radio to such an extent that he has to pay Rs 2568, inclusive of all sales tax. Find the reduction needed in the price of the radio.

    • A.

      Rs 168

    • B.

      Rs 169

    • C.

      Rs 170

    • D.

      Rs 172

    Correct Answer
    A. Rs 168
  • 9. 

    What will be the next seriesCBA, WVU, IHG, TSR, ?

    • A.

      NOM

    • B.

      MON

    • C.

      ONM

    • D.

      NMO

    Correct Answer
    C. ONM
  • 10. 

    Anil wants to go the university. He starts from his house which is in the East and comes to a crossing. The road to his left ends in a theatre, straight ahead is the hospital. In which direction is the University?

    • A.

      East

    • B.

      West

    • C.

      North

    • D.

      South

    Correct Answer
    C. North
  • 11. 

    Each side of a rectangle is increased by 100% .By what percentage does the area increase?

    • A.

      200

    • B.

      300

    • C.

      250

    • D.

      350

    Correct Answer
    B. 300
  • 12. 

    If South-East becomes North, North-East becomes West and so on, what will West become?

    • A.

      North

    • B.

      East

    • C.

      South-East

    • D.

      North-West

    Correct Answer
    C. South-East
  • 13. 

    A box contains 3 white balls, 4 black balls and 5 yellow balls. In how many ways can 4 balls be drawn from the box, if at least one yellow ball is to be included in the draw?

    • A.

      652

    • B.

      547

    • C.

      425

    • D.

      356

    Correct Answer
    C. 425
  • 14. 

    A walks 10 m in front and 10m to the right. Then every time turning to his left he walks 5, 15 and 15m respectively. How for is he now from his starting point?

    • A.

      10m

    • B.

      20m

    • C.

      5m

    • D.

      15m

    Correct Answer
    C. 5m
  • 15. 

    Ramesh walks 30 m towards south. Then turning to his right he walks 30m. Then turning to his left he walks 20m. Again turning to his left he walks 30m. How for is he from his staring position?

    • A.

      30m

    • B.

      20m

    • C.

      50m

    • D.

      None Of These

    Correct Answer
    C. 50m
  • 16. 

    Which letter will come exactly between the 10th letter from your left and the 7th letter from your right. Without changing any order in the original from the alphabet?

    • A.

      N

    • B.

      P

    • C.

      O

    • D.

      Q

    Correct Answer
    C. O
  • 17. 

    6 parallerl lines are intersected by 5 other parallel lines. The total number of parallelogram formed is

    • A.

      130

    • B.

      150

    • C.

      170

    • D.

      190

    Correct Answer
    B. 150
  • 18. 

    If it is possible to from a word with the first, fourth, seventh and eleventh letters in the word 'SPHERVLVODS' write the second letter of thet word. Otherwise, X is the answer.?

    • A.

      S

    • B.

      E

    • C.

      L

    • D.

      O

    Correct Answer
    B. E
  • 19. 

    Among five boys, Vamsi is taller than Manohar, but not as tall as Raju. Jayanth is taller Than Dutta, but shorter than Manohar. Who is the tallest in the group?

    • A.

      Raju

    • B.

      Manohar

    • C.

      Vamsi

    • D.

      Can’t be determined

    Correct Answer
    A. Raju
  • 20. 

    Find the number of ways in which one or more letter be selected from the letters AAAABBCCCDEF.

    • A.

      479

    • B.

      480

    • C.

      958

    • D.

      960

    Correct Answer
    A. 479
  • 21. 

    1. Consider the following program:import myLibrary.*;public class ShowSomeClass { // code for the class... }What is the name of the java file containing this program?

    • A.

      MyLibrary.java

    • B.

      ShowSomeClass.java

    • C.

      ShowSomeClass

    • D.

      ShowSomeClass.class 1.

    • E.

      Any file name with the java suffix will do

    Correct Answer
    B. ShowSomeClass.java
  • 22. 

    Which of the following is TRUE?

    • A.

      In java, an instance field declared public generates a compilation error

    • B.

      Int is the name of a class available in the package java.lang

    • C.

      Instance variable names may only contain letters and digits.

    • D.

      A class has always a constructor (possibly automatically supplied by the java compiler).

    • E.

      The more comments in a program, the faster the program runs.

    Correct Answer
    D. A class has always a constructor (possibly automatically supplied by the java compiler).
  • 23. 

    3. Consider the following code snippetString river = new String(“Columbia”);System.out.println(river.length());What is printed?

    • A.

      6

    • B.

      7

    • C.

      8

    • D.

      Columbia

    • E.

      River

    Correct Answer
    C. 8
  • 24. 

    A constructor

    • A.

      Must have the same name as the class it is declared within

    • B.

      Is used to create objects

    • C.

      May be declared private

    • D.

      A and B

    • E.

      A,B,C

    Correct Answer
    E. A,B,C
  • 25. 

    Which of the following may be part of a class definition?

    • A.

      Instance variables

    • B.

      Instance methods

    • C.

      Constructors

    • D.

      All of the above

    • E.

      None of the above

    Correct Answer
    D. All of the above
  • 26. 

    Which class is used when a program does not want to handle exception?

    • A.

      Throws

    • B.

      Try

    • C.

      Catch

    • D.

      Final

    Correct Answer
    A. Throws
  • 27. 

    Considerpublic class MyClass{public MyClass(){/*code*/} // more code... }To instantiate MyClass, you would write?

    • A.

      MyClass mc = new MyClass();

    • B.

      MyClass mc = MyClass();

    • C.

      MyClass mc = MyClass

    • D.

      MyClass mc = new MyClass;

    • E.

      . It can't be done. The constructor of MyClass should be defined as public void MyClass(){/*code*/}

    Correct Answer
    A. MyClass mc = new MyClass();
  • 28. 

    What is byte code in the context of Java?

    • A.

      The type of code generated by a Java compiler

    • B.

      The type of code generated by a Java Virtual Machine

    • C.

      It is another name for a Java source file

    • D.

      It is the code written within the instance methods of a class. 8. E. It is another name for comments written within a program.

    • E.

      None of the above

    Correct Answer
    A. The type of code generated by a Java compiler
  • 29. 

    What is garbage collection in the context of Java?

    • A.

      The operating system periodically deletes all of the java files available on the system.

    • B.

      Any package imported in a program and not used is automatically deleted.

    • C.

      . When all references to an object are gone, the memory used by the object is automatically reclaimed.

    • D.

      JVM checks the output of any Java program and deletes anything that doesn't make sense.

    • E.

      Janitors working for Sun MicroSystems are required to throw away any Microsoft documentation found in the

    Correct Answer
    C. . When all references to an object are gone, the memory used by the object is automatically reclaimed.
  • 30. 

    10. You read the following statement in a Java program that compiles and executes. submarine.dive(depth); What can you say for sure?

    • A.

      Depth must be an int

    • B.

      Dive must be a method.

    • C.

      Dive must be the name of an instance field

    • D.

      Submarine must be the name of a class

    • E.

      Submarine must be a method.

    Correct Answer
    B. Dive must be a method.
  • 31. 

    In order for a source code file, containing the public class test, to successfully compile, which of the following must be true?

    • A.

      It must have a package statement

    • B.

      It must be named test.java

    • C.

      It must import java.lang

    • D.

      It must declare a public class named test.

    Correct Answer
    B. It must be named test.java
  • 32. 

    The default value of a static integer variable of a class in Java is

    • A.

      1

    • B.

      Garbage Value

    • C.

      Null

    • D.

      -1

    Correct Answer
    C. Null
  • 33. 

    Which is nothing but a blueprint or a template for creating different objects which defines its properties and behaviours?

    • A.

      An Array

    • B.

      A Class

    • C.

      Interface

    • D.

      None of the above

    Correct Answer
    B. A Class
  • 34. 

    Which symbol Used to contain the values of automatically initialized arrays. Also used To define a block of code, for classes, methods, and local scopes?

    • A.

      Brackets

    • B.

      Braces

    • C.

      Parentheses

    • D.

      Semicolon

    Correct Answer
    B. Braces
  • 35. 

    Which variables are created when an object is created with the use of the keyword 'new' and destroyed when the object is destroyed?

    • A.

      Local variables

    • B.

      Instance variables

    • C.

      Class Variables

    • D.

      Static variables

    Correct Answer
    B. Instance variables
  • 36. 

    Public static void main(String args[]) {int x = 42;double y = 42.25;System.out.println("x mod 10 = " + x % 10);System.out.println("y mod 10 = " + y % 10);}}

    • A.

      A) x mod 10 = 2 y mod 10 = 2.25

    • B.

      B) x mod 10 = 4 y mod 10 = 2.50

    • C.

      C) x mod 10 = 6 y mod 10 = 3.25

    • D.

      D) x mod 10 = 2 y mod 10 = 4.25

    Correct Answer
    A. A) x mod 10 = 2 y mod 10 = 2.25
  • 37. 

    The data type int ranges from one of the following value?

    • A.

      –2,147,483,648 to 2,147,483,647

    • B.

      –2,147,483,647 to 2,147,483,648

    • C.

      –32,768 to 32,767

    • D.

      –32,767 to 32,768

    Correct Answer
    A. –2,147,483,648 to 2,147,483,647
  • 38. 

    Which allows you to migrate your implementations over time without breaking the code that depends on the public interface of your classes?

    • A.

      Polymorphism

    • B.

      Inheritance

    • C.

      Encapsulation

    • D.

      Both A & B

    Correct Answer
    C. Encapsulation
  • 39. 

    Which are used to produce a programming environment that supports the development of far more robust and scalable programs than does the process-oriented model?

    • A.

      Polymorphism, Encapsulation, and Inheritance

    • B.

      Encapsulation and Inheritance

    • C.

      Polymorphism and Encapsulation

    • D.

      Inheritance and Polymorphism

    Correct Answer
    A. Polymorphism, Encapsulation, and Inheritance
  • 40. 

    Which provides the mechanism to handle the runtime errors so that normal flow of the application can be maintained?

    • A.

      Exception Handling

    • B.

      String Handling

    • C.

      Event Handling

    • D.

      None of the above

    Correct Answer
    A. Exception Handling
  • 41. 

    Which of the following sorting methods would be most suitable for sorting a list which is almost sorted

    • A.

      Bubble Sort

    • B.

      Insertion Sort

    • C.

      Selection Sort

    • D.

      Quick Sort

    Correct Answer
    A. Bubble Sort
  • 42. 

    Which of the following sorting algorithm is stable

    • A.

      Insertion sort.

    • B.

      Bubble sort.

    • C.

      Quick sort.

    • D.

      Heap sort.

    Correct Answer
    D. Heap sort.
  • 43. 

    B Trees are generally

    • A.

      Very deep and narrow

    • B.

      Very wide and shallow

    • C.

      Very deep and very wide

    • D.

      Cannot say

    Correct Answer
    D. Cannot say
  • 44. 

    One can convert a binary tree into its mirror image by traversing it in

    • A.

      Inorder

    • B.

      Preorder

    • C.

      Postorder

    • D.

      Any order

    Correct Answer
    C. Postorder
  • 45. 

    One of the major drawback of B-Tree is the difficulty of traversing the keys sequentially.

    • A.

      True

    • B.

      False

    • C.

      None of the above

    Correct Answer
    A. True
  • 46. 

    The best average behavior is shown by

    • A.

      Quick Sort

    • B.

      Merge Sort

    • C.

      Insertion Sort

    • D.

      Heap Sort

    Correct Answer
    A. Quick Sort
  • 47. 

    A full binary tree with 2n+1 nodes contain

    • A.

      N leaf nodes

    • B.

      N non-leaf nodes

    • C.

      N-1 leaf nodes

    • D.

      N-1 non-leaf nodes

    Correct Answer
    B. N non-leaf nodes
  • 48. 

    The quick sort algorithm exploit _________ design technique

    • A.

      Greedy

    • B.

      Dynamic programming

    • C.

      Divide and Conquer

    • D.

      Backtracking

    Correct Answer
    C. Divide and Conquer
  • 49. 

    An adjacency matrix representation of a graph cannot contain information of 

    • A.

      Nodes

    • B.

      Edges

    • C.

      Direction of edges

    • D.

      Parallel edges

    Correct Answer
    D. Parallel edges
  • 50. 

    Identify the data structure which allows deletions at both ends of the list but insertion at only one end.

    • A.

      Input restricted dequeue

    • B.

      Output restricted qequeue

    • C.

      Priority queues

    • D.

      Stack

    Correct Answer
    A. Input restricted dequeue

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Jan 09, 2017
    Quiz Created by
    Mayank_bhargava
Back to Top Back to top
Advertisement