General Arithmetic Quiz

168 Questions | Attempts: 245
Share

SettingsSettingsSettings
Arithmetic Quizzes & Trivia

.


Questions and Answers
  • 1. 

    1)Compiler generates ___ file.

    • A.

      Executable code

    • B.

      Object code

    • C.

      Assembly code

    • D.

      None of the above

    Correct Answer
    B. Object code
  • 2. 

     Identify the C compiler of UNIX.

    • A.

      Gcc

    • B.

      Cc

    • C.

      Borland

    • D.

      Vc++

    Correct Answer
    B. Cc
  • 3. 

     A macro can execute faster than a function.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 4. 

    Choose the correct unary operators in C – a) !, b) ~, c) ^&, d) ++

    • A.

      A,b,d

    • B.

      A,b,c

    • C.

      B,c,d

    • D.

      C,d,a

    Correct Answer
    A. A,b,d
  • 5. 

    Which library functions help users to dynamically allocate memory?

    • A.

      Memalloc()and alloc()

    • B.

      Malloc() and memalloc()

    • C.

      Malloc() and calloc()

    • D.

      Memalloc() and calloc()

    Correct Answer
    C. Malloc() and calloc()
  • 6. 

    What is the size of ‘int’?

    • A.

      2

    • B.

      4

    • C.

      8

    • D.

      Compiler dependent

    Correct Answer
    D. Compiler dependent
  • 7. 

    C is the successor of ___ programming language.

    • A.

      C++

    • B.

      B++

    • C.

      B

    • D.

      Mini c

    Correct Answer
    C. B
  • 8. 

    The binary equivalent of 50 is,

    • A.

      110010

    • B.

      1010110

    • C.

      101

    • D.

      101.011.00.

    Correct Answer
    A. 110010
  • 9. 

    In the standard library of C programming language, which of the following header file is designed for basic mathematical operations?

    • A.

      Math.h

    • B.

      Conio.h

    • C.

      Dos.h

    • D.

      Stdio.h

    Correct Answer
    A. Math.h
  • 10. 

    Which of the following operator can be used to access value at address stored in a pointer variable?

    • A.

      *

    • B.

      #

    • C.

      &&

    • D.

      @

    Correct Answer
    A. *
  • 11. 

    In C, what is the correct hierarchy of arithmetic operations?

    • A.

      */ + -

    • B.

      * +- /

    • C.

      / *+ -

    • D.

      + - / *

    Correct Answer
    C. / *+ -
  • 12. 

    What is the output of the following program?#include<stdio.h>main(){       fprintf(stdout,"Hello, World!");}

    • A.

      Hello, World!

    • B.

      No output

    • C.

      Compiler error

    • D.

      Runtime error

    Correct Answer
    A. Hello, World!
  • 13. 

    Which of the following is a logical AND operator?

    • A.

      !

    • B.

      &&

    • C.

      | |

    • D.

      &

    Correct Answer
    B. &&
  • 14. 

    Which statement can print \n on the screen?

    • A.

      Printf("\\n");

    • B.

      Printf("n\");

    • C.

      Printf("n");

    • D.

      Printf('\n');

    Correct Answer
    A. Printf("\\n");
  • 15. 

    How many types of polymorphisms is supported by C++?

    • A.

      4

    • B.

      2

    • C.

      0

    • D.

      1

    Correct Answer
    B. 2
  • 16. 

    Which of the following is an abstract data type?

    • A.

      Class

    • B.

      Int

    • C.

      String

    • D.

      Double

    Correct Answer
    A. Class
  • 17. 

    Which of the following approach is adopted in  C++?

    • A.

      Top-down

    • B.

      Bottom-up

    • C.

      Right-left

    • D.

      None

    Correct Answer
    B. Bottom-up
  • 18. 

    Which of the following  cannot be used as with the keyword virtual?

    • A.

      Class

    • B.

      Member functions

    • C.

      Constructor

    • D.

      Destructor

    Correct Answer
    C. Constructor
  • 19. 

    Which of the following is not a type of inheritance?

    • A.

      Multilevel

    • B.

      Multiple

    • C.

      Distributive

    • D.

      Hierarchial

    Correct Answer
    C. Distributive
  • 20. 

    Which of the following operators cannot be overloaded?

    • A.

      [ ]

    • B.

      ->

    • C.

      ?:

    • D.

      *

    Correct Answer
    C. ?:
  • 21. 

    Which of the following statements is correct in C++?

    • A.

      Classes cannot have data as protected members.

    • B.

      Structures can have functions as members.

    • C.

      Class members are public by default.

    • D.

      Structure members are private by default.

    Correct Answer
    B. Structures can have functions as members.
  • 22. 

    Which of the following statement is correct?

    • A.

      Class is an instance of object.

    • B.

      Object is an instance of a class.

    • C.

      Class is an instance of data type.

    • D.

      Object is an instance of data type.

    Correct Answer
    B. Object is an instance of a class.
  • 23. 

    Which of the following functions are performed by a constructor?

    • A.

      Construct a new class

    • B.

      Construct a new object

    • C.

      Construct a new function

    • D.

      Initialize objects

    Correct Answer
    D. Initialize objects
  • 24. 

    Which of the following problem causes an exception?

    • A.

      Missing semicolon in statement in main()

    • B.

      A problem in calling function.

    • C.

      A syntax error

    • D.

      A run-time error

    Correct Answer
    D. A run-time error
  • 25. 

    Can you analyse what is the probability of meeting someone in your lifetime who is having an above average number of arms?

    • A.

      Impossible

    • B.

      Unlikely

    • C.

      Fifty Fifty

    • D.

      Fairly Likely

    • E.

      Certain

    Correct Answer
    E. Certain
  • 26. 

    What are the next three numbers in this series?4, 6, 12, 18, 30, 42, 60, 72, 102, 108, ?, ?, ?

    • A.

      138,150,180

    • B.

      114,120,132

    • C.

      120,132,150

    • D.

      132,138,150

    Correct Answer
    A. 138,150,180
  • 27. 

    Can you find the next letter in the series ?S - T - I - L - N - T - F - Y - ?

    • A.

      C

    • B.

      E

    • C.

      S

    • D.

      U

    Correct Answer
    A. C
  • 28. 

    Find The Odd One Out ?

    • A.

      FLOW

    • B.

      SNIP

    • C.

      TRAP

    • D.

      DRAW

    • E.

      BACK

    Correct Answer
    E. BACK
  • 29. 

    Replace the # symbols with mathematical operations (add, less, multiply or divide) such that the following becomes correct:9 # 8 # 7 # 6 # 5 # 4 = 91

    • A.

      *,-,+,*,-

    • B.

      *,+,+,-,*

    • C.

      +,*,-,*,+

    • D.

      +,*,+,*,-

    Correct Answer
    A. *,-,+,*,-
  • 30. 

    Father is aged three times more than his son Ronit. After 8 years, he would be two and a half times of Ronit's age. After further 8 years, how many times would he be of Ronit's age?

    • A.

      2 times

    • B.

      2 1/2 times

    • C.

      2 3/4 times

    • D.

      4 times

    Correct Answer
    A. 2 times
  • 31. 

    A batsman scored 110 runs which included 3 boundaries and 8 sixes. What percent of his total score did he make by running between the wickets?

    • A.

      45%

    • B.

      45 5/11%

    • C.

      55 6/11%

    • D.

      55%

    Correct Answer
    C. 55 6/11%
  • 32. 

       Two trains running in opposite directions cross a man standing on the platform in 27 seconds and 17 seconds respectively and they cross each other in 23 seconds. The ratio of their speeds is:

    • A.

      1:3

    • B.

      3:2

    • C.

      3:4

    • D.

      None of the above

    Correct Answer
    B. 3:2
  • 33. 

      What was the day of the week on 28th May, 2006?

    • A.

      Thursday

    • B.

      Friday

    • C.

      Saturday

    • D.

      Sunday

    Correct Answer
    D. Sunday
  • 34. 

    39 persons can repair a road in 12 days, working 5 hours a day. In how many days will 30 persons, working 6 hours a day, complete the work?

    • A.

      10

    • B.

      13

    • C.

      14

    • D.

      15

    Correct Answer
    B. 13
  • 35. 

    Two trains are running at 40 km/hr and 20 km/hr respectively in the same direction. Fast train completely passes a man sitting in the slower train in 5 seconds. What is the length of the fast train?

    • A.

      23m

    • B.

      23 2/9m

    • C.

      27 7/9m

    • D.

      29m

    Correct Answer
    C. 27 7/9m
  • 36. 

    A jogger running at 9 kmph alongside a railway track in 240 metres ahead of the engine of a 120 metres long train running at 45 kmph in the same direction. In how much time will the train pass the jogger?

    • A.

      3.6sec

    • B.

      18sec

    • C.

      36sec

    • D.

      72sec

    Correct Answer
    C. 36sec
  • 37. 

    Two, trains, one from Howrah to Patna and the other from Patna to Howrah, start simultaneously. After they meet, the trains reach their destinations after 9 hours and 16 hours respectively. The ratio of their speeds is:

    • A.

      2:3

    • B.

      4:3

    • C.

      6:7

    • D.

      9:16

    Correct Answer
    B. 4:3
  • 38. 

    Two trains 140 m and 160 m long run at the speed of 60 km/hr and 40 km/hr respectively in opposite directions on parallel tracks. The time (in seconds) which they take to cross each other, is:

    • A.

      9

    • B.

      9.6

    • C.

      10

    • D.

      10.8

    Correct Answer
    D. 10.8
  • 39. 

    Odd one out :331, 482, 551, 263, 383, 362, 284

    • A.

      263

    • B.

      383

    • C.

      331

    • D.

      551

    Correct Answer
    B. 383
  • 40. 

    Odd one out:  16, 25, 36, 72, 144, 196, 225

    • A.

      36

    • B.

      72

    • C.

      196

    • D.

      225

    Correct Answer
    B. 72
  • 41. 

    Insert the missing number: 4, -8, 16, -32, 64, (....)

    • A.

      128

    • B.

      -128

    • C.

      192

    • D.

      -192

    Correct Answer
    B. -128
  • 42. 

    Insert the missing number: 15, 31, 63, 127, 255, (....)

    • A.

      513

    • B.

      511

    • C.

      517

    • D.

      523

    Correct Answer
    B. 511
  • 43. 

    Insert missing number: 10, 5, 13, 10, 16, 20, 19, (....)

    • A.

      22

    • B.

      40

    • C.

      38

    • D.

      23

    Correct Answer
    B. 40
  • 44. 

    Two numbers are respectively 20% and 50% more than a third number. The ratio of the two numbers is:

    • A.

      2:5

    • B.

      3:5

    • C.

      4:5

    • D.

      6:7

    Correct Answer
    C. 4:5
  • 45. 

    In a mixture 60 litres, the ratio of milk and water 2 : 1. If this ratio is to be 1 : 2,   then the quanity of water to be further added is:

    • A.

      20 litres

    • B.

      30 litres

    • C.

      40 litres

    • D.

      60 litres

    Correct Answer
    D. 60 litres
  • 46. 

    Seats for Mathematics, Physics and Biology in a school are in the ratio 5 : 7 : 8. There is a proposal to increase these seats by 40%, 50% and 75% respectively. What will be the ratio of increased seats?

    • A.

      2:3:4

    • B.

      6:7:8

    • C.

      6:8:9

    • D.

      None of these

    Correct Answer
    A. 2:3:4
  • 47. 

    If Rs. 782 be divided into three parts, proportional to 1/2 : 2/3 : 3/4, then the first part is:

    • A.

      Rs.182

    • B.

      Rs.190

    • C.

      Rs.196

    • D.

      Rs.204

    Correct Answer
    D. Rs.204
  • 48. 

    The ratio of the number of boys and girls in a college is 7 : 8. If the percentage increase in the number of boys and girls be 20% and 10% respectively, what will be the new ratio?

    • A.

      8:9

    • B.

      17:18

    • C.

      21:22

    • D.

      Cannot be determined

    Correct Answer
    C. 21:22
  • 49. 

    In a bag, there are coins of 25 p, 10 p and 5 p in the ratio of 1 : 2 : 3. If there is Rs. 30 in all, how many 5 p coins are there?

    • A.

      50

    • B.

      100

    • C.

      150

    • D.

      200

    Correct Answer
    C. 150
  • 50. 

    Three pipes A, B and C can fill a tank from empty to full in 30 minutes, 20 minutes, and 10 minutes respectively. When the tank is empty, all the three pipes are opened. A, B and C discharge chemical solutions P,Q and R respectively. What is the proportion of the solution R in the liquid in the tank after 3 minutes?

    • A.

      5/11

    • B.

      6/11

    • C.

      7/11

    • D.

      8/11

    Correct Answer
    B. 6/11

Quiz Review Timeline +

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

  • Current Version
  • Apr 01, 2016
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 16, 2016
    Quiz Created by
    Pinkyneha
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.