General Awareness: Computer Language Quiz

15 Questions | Total Attempts: 1316

SettingsSettingsSettings
General Awareness Quizzes & Trivia

This quiz is based on Computer languages created on Aug-19-2011


Questions and Answers
  • 1. 
    The DBMS acts as an interface between what two components of an enterprise-class database system?
    • A. 

      Database application and the database

    • B. 

      Data and the database

    • C. 

      The user and the database application

    • D. 

      Database application and SQL

  • 2. 
    Which of the following projects illustrates a database being designed from existing data?
    • A. 

      A database using the Production Department's spreadsheets

    • B. 

      A database designed to produce production reports for a new Production Department manufacturing process

    • C. 

      A database that will combine two databases currently used by the Production Department

    • D. 

      None of the above is correct.

  • 3. 
    Which of the following projects illustrates a database being designed as a new systems development project?
    • A. 

      A database using the Production Department's spreadsheets

    • B. 

      A database designed to produce production reports for a new Production Department manufacturing process

    • C. 

      A database that will combine two databases currently used by the Production Department

    • D. 

      None of the above is correct.

  • 4. 
    Which of the following products was an early implementation of the relational model developed by E.F. Codd of IBM?
    • A. 

      IDMS

    • B. 

      DB2

    • C. 

      DBase-II

    • D. 

      R:base

  • 5. 
    The following are components of a database except ________ .
    • A. 

      User data

    • B. 

      Metadata

    • C. 

      Reports

    • D. 

      Indexes

  • 6. 
    Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?
    • A. 

      Rem = 3.14 % 2.1;

    • B. 

      Rem = modf(3.14, 2.1);

    • C. 

      Rem = fmod(3.14, 2.1);

    • D. 

      Remainder cannot be obtain in floating point division.

  • 7. 
    What are the types of linkages?
    • A. 

      Internal and External

    • B. 

      External, Internal and None

    • C. 

      External and None

    • D. 

      Internal

  • 8. 
    Which of the following special symbol allowed in a variable name?
    • A. 

      * (asterisk)

    • B. 

      | (pipeline)

    • C. 

      - (hyphen)

    • D. 

      _ (underscore)

  • 9. 
    Is there any difference between following declarations? 1 : extern int fun(); 2 : int fun();
    • A. 

      Both are identical

    • B. 

      No difference, except extern int fun(); is probably in another file

    • C. 

      Int fun(); is overrided with extern int fun();

    • D. 

      None of these

  • 10. 
    How would you round off a value from 1.66 to 2.0?
    • A. 

      Ceil(1.66)

    • B. 

      Floor(1.66)

    • C. 

      Roundup(1.66)

    • D. 

      Roundto(1.66)

  • 11. 
    Which of the following can be facilitated by the Inheritance mechanism?
    1. Use the existing functionality of base class.
    2. Overrride the existing functionality of base class.
    3. Implement new functionality in the derived class.
    4. Implement polymorphic behaviour.
    5. Implement containership. 
    • A. 

      1, 2, 3

    • B. 

      3, 4

    • C. 

      2, 4, 5

    • D. 

      3, 5

  • 12. 
    Which of the following is NOT an Integer?
    • A. 

      Char

    • B. 

      Byte

    • C. 

      Integer

    • D. 

      Short

  • 13. 
    A property can be declared inside a class, struct, Interface.
    • A. 

      True

    • B. 

      False

    • C. 

      Both are correct.

  • 14. 
    Which of the following statements is correct about properties used in C#.NET?
    • A. 

      A property can simultaneously be read only or write only.

    • B. 

      A property can be either read only or write only.

    • C. 

      A write only property will have only get accessor.

    • D. 

      A write only property will always return a value.

  • 15. 
    The keyword used to transfer control from a function back to the calling function is
    • A. 

      Switch

    • B. 

      Goto

    • C. 

      Go back

    • D. 

      Return

Back to Top Back to top