Computer Science Xi

10 Questions | Attempts: 202
Share

SettingsSettingsSettings
Computer Science Quizzes & Trivia

A quiz for computer science.


Questions and Answers
  • 1. 

    Which of the following is not used in Octal Notation?

    • A.

      0

    • B.

      4

    • C.

      7

    • D.

      8

    Correct Answer
    D. 8
    Explanation
    Octal number system uses 0-7 for representing numbers.

    Rate this question:

  • 2. 

    Formatting  a disk creates ? Select two

    • A.

      Tracks

    • B.

      Cylinders

    • C.

      Sectors

    • D.

      Platters

    Correct Answer(s)
    A. Tracks
    C. Sectors
  • 3. 

    The most common input device used is __________.

    Correct Answer(s)
    keyboard
    mouse
  • 4. 

    The goto statement is used with?

    • A.

      While

    • B.

      For

    • C.

      Label

    • D.

      Continue

    Correct Answer
    C. Label
  • 5. 

    All elements of structure are by default?

    • A.

      Private

    • B.

      Protected

    • C.

      Public

    • D.

      1 & 2

    Correct Answer
    C. Public
  • 6. 

    The ternary operator consists of? select two

    • A.

      ?

    • B.

      :

    • C.

      |

    • D.

      !

    Correct Answer(s)
    A. ?
    B. :
  • 7. 

    Which is the output operator in c++?

    • A.

      >>

    • B.

    • C.

      Fout

    • D.

      Fin

    Correct Answer
    B.
  • 8. 

    Which if the following two are equivalent statements?

    • A.

      Goto

    • B.

      Switch

    • C.

      If elseif ---elseif

    • D.

      For

    Correct Answer(s)
    B. Switch
    C. If elseif ---elseif
  • 9. 

    A reference variable is nothing but a?

    • A.

      Pointer

    • B.

      Alias

    • C.

      Function

    • D.

      Variable

    Correct Answer
    B. Alias
  • 10. 

    How many keywords are there in c++?

    Correct Answer
    63

Quiz Review Timeline +

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

  • Current Version
  • Jan 09, 2013
    Quiz Edited by
    ProProfs Editorial Team
  • Jan 18, 2010
    Quiz Created by
    Myhemant72
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.