Computer MCQs (page 48 of 48)

Computer basics, hardware, software, networking, the internet, file formats, shortcuts and the people behind modern computing.

954 questions. Select an option to check your answer, or open "Show answer". Showing 941–954.

  1. 941.

    A file with the extension .c is usually:

    Show answer

    Answer: C. C source code

    The .c extension is used for C source code.

  2. 942.

    A file with the extension .js is usually:

    Show answer

    Answer: B. JavaScript code

    The .js extension is used for JavaScript code.

  3. 943.

    A file with the extension .css is usually:

    Show answer

    Answer: A. a style sheet for web pages

    The .css extension is used for a style sheet for web pages.

  4. 944.

    A file with the extension .apk is usually:

    Show answer

    Answer: A. an Android app package

    The .apk extension is used for an Android app package.

  5. 945.

    A file with the extension .iso is usually:

    Show answer

    Answer: D. a disk image

    The .iso extension is used for a disk image.

  6. 946.

    A file with the extension .epub is usually:

    Show answer

    Answer: C. an e-book

    The .epub extension is used for an e-book.

  7. 947.

    A file with the extension .txt is usually:

    Show answer

    Answer: D. a plain text file

    The .txt extension is used for a plain text file.

  8. 948.

    A file with the extension .csv is usually:

    Show answer

    Answer: D. comma-separated values data

    The .csv extension is used for comma-separated values data.

  9. 949.

    Which logic gate gives 1 only when all inputs are 1?

    Show answer

    Answer: B. AND

    The AND gate gives 1 only when all inputs are 1.

  10. 950.

    Which logic gate gives 1 when at least one input is 1?

    Show answer

    Answer: C. OR

    The OR gate gives 1 when at least one input is 1.

  11. 951.

    Which logic gate reverses (inverts) its single input?

    Show answer

    Answer: D. NOT

    The NOT gate reverses (inverts) its single input.

  12. 952.

    Which logic gate gives 0 only when all inputs are 1?

    Show answer

    Answer: C. NAND

    The NAND gate gives 0 only when all inputs are 1.

  13. 953.

    Which logic gate gives 1 only when all inputs are 0?

    Show answer

    Answer: B. NOR

    The NOR gate gives 1 only when all inputs are 0.

  14. 954.

    Which logic gate gives 1 when the inputs are different?

    Show answer

    Answer: B. XOR

    The XOR gate gives 1 when the inputs are different.