Xi Class IP Mock Final Examination

54 Questions | Attempts: 100
Share

SettingsSettingsSettings
Class Quizzes & Trivia

Questions and Answers
  • 1. 

    A class has how many kinds of constructors?

    • A.

      1

    • B.

      2

    • C.

      3

    • D.

      4

    Correct Answer
    B. 2
  • 2. 

    A constructor which does not have any parameters is called?

    • A.

      Default Method

    • B.

      Default Constructor

    • C.

      Parameterized Constructor

    • D.

      Copy Constructor

    Correct Answer
    B. Default Constructor
  • 3. 

    A constructor has which of the following return types?

    • A.

      Void

    • B.

      Public

    • C.

      Int

    • D.

      None

    Correct Answer
    D. None
  • 4. 

    What is the purpose of constructors?

    • A.

      Destruction of values

    • B.

      Initialization of values

    • C.

      Both the above

    • D.

      None of the above

    Correct Answer
    B. Initialization of values
  • 5. 

    A object of class emp can be created as

    • A.

      Emp e1=new emp;

    • B.

      Emp e1;

    • C.

      Emp e1=emp();

    • D.

      Emp e1=new emp1();

    • E.

      Emp e1=new emp();

    Correct Answer
    E. Emp e1=new emp();
  • 6. 

    What is testing a software?

    • A.

      Remove errors

    • B.

      Check for functionality

    • C.

      Debugging

    • D.

      All of the above

    Correct Answer
    B. Check for functionality
  • 7. 

    What is the stage in which actual programs are written

    • A.

      Requirement analysis

    • B.

      Coding

    • C.

      Testing

    • D.

      Documentation

    Correct Answer
    B. Coding
  • 8. 

    Documentation helps in which of the following?

    • A.

      Record keeping

    • B.

      User training

    • C.

      Maintenance

    • D.

      All of the above

    Correct Answer
    D. All of the above
  • 9. 

    Which of the following is a valid variable in Java?

    • A.

      98A

    • B.

      _A98

    • C.

      .98

    • D.

      A_98

    Correct Answer
    D. A_98
  • 10. 

    Which of the followng is the most diffcult to debug?

    • A.

      Syntax error

    • B.

      Compilation error

    • C.

      Logical error

    • D.

      Run time error

    Correct Answer
    C. Logical error
  • 11. 

    A table has 3 rows and 5 columns, cardinality is __________________.

    Correct Answer
    3
    three
    THREE
    Three
  • 12. 

    A table has 3 rows and 5 columns , degree is _______.

    Correct Answer
    5
    five
    FIVE
    Five
  • 13. 

    Primary ke can be null.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 14. 

    Primary key can be duplicate?

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 15. 

    If AK is Alternate key, CK is candidate key, and PK is primary key, which of the foloiwing  holds good?

    • A.

      AK-PK=CK

    • B.

      CK-PK=AK

    • C.

      CK-AK=PK

    • D.

      3 and 4

    Correct Answer
    D. 3 and 4
  • 16. 

    A table has the following structure EMP( eno,ename,basic, socialsecurityno,Panno); How many candidate keys are present in the table?

    • A.

      2

    • B.

      3

    • C.

      4

    • D.

      5

    Correct Answer
    B. 3
  • 17. 

    What is the maximum no of primary key a table can have?

    • A.

      1

    • B.

      2

    • C.

      3

    • D.

      Any Number

    Correct Answer
    A. 1
  • 18. 

    Maintenance and update is which phase of Software Development?

    • A.

      First

    • B.

      Penultimate

    • C.

      Second

    • D.

      Last

    Correct Answer
    D. Last
  • 19. 

    Requrement analysis phase identifies?

    • A.

      Flow charts

    • B.

      Programs

    • C.

      Modules

    • D.

      Programming Goals

    Correct Answer
    D. Programming Goals
  • 20. 

    Which of the following is not a function of DBMS?

    • A.

      Creating Data

    • B.

      Deleting Data

    • C.

      Modifying data

    • D.

      Creating indexes

    • E.

      All are the functions of DBMS

    Correct Answer
    E. All are the functions of DBMS
  • 21. 

    Which of the following printers is the fastest?

    • A.

      Inkjet

    • B.

      Laser

    • C.

      Dot Matrix

    • D.

      Line Printer

    Correct Answer
    B. Laser
  • 22. 

    Ubuntu is an Operating System.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 23. 

    Which if the following is false about operating systems?

    • A.

      It makes computer Usable

    • B.

      It is an interface between hardware and application programs

    • C.

      It is a system software

    • D.

      It is a set of useful programs which contribute directly to user productivity

    Correct Answer
    D. It is a set of useful programs which contribute directly to user productivity
  • 24. 

    To group all the radio buttons we should,

    • A.

      Use a frame

    • B.

      Do nothing, radio buttons are grouped by default

    • C.

      Put them in a panel

    • D.

      Use a button group

    Correct Answer
    D. Use a button group
  • 25. 

    Which of the following is a utility?

    • A.

      Outlook Express

    • B.

      Ubuntu

    • C.

      Star Office

    • D.

      Browser

    Correct Answer
    D. Browser
  • 26. 

    What can be found in a table in mysql?

    • A.

      Index

    • B.

      Column constraint

    • C.

      Columns

    • D.

      All of the above

    Correct Answer
    D. All of the above
  • 27. 

    A tuple is the same as?

    • A.

      A table

    • B.

      A row

    • C.

      An attribute

    • D.

      A relationship

    Correct Answer
    B. A row
  • 28. 

    A relation is same as ?

    • A.

      A table

    • B.

      A row

    • C.

      A column

    • D.

      A relationship

    Correct Answer
    A. A table
  • 29. 

    Which of the following two data types are supported by a switch construct?

    • A.

      Integer

    • B.

      Boolean

    • C.

      Char

    • D.

      String

    Correct Answer(s)
    A. Integer
    C. Char
  • 30. 

    Which data type should be used to store a name in Java?

    • A.

      Char

    • B.

      String

    • C.

      Date

    • D.

      Varchar

    Correct Answer
    B. String
  • 31. 

    A class is a ?

    • A.

      Primitive data type

    • B.

      Abstract Data Type

    • C.

      Array Type

    • D.

      Interface Type

    Correct Answer
    B. Abstract Data Type
  • 32. 

    A method with the same name as class name is called a ?

    • A.

      Default method

    • B.

      Default constructor

    • C.

      Constructor

    • D.

      Parametrized constructor

    Correct Answer
    C. Constructor
  • 33. 

    Constructors can be overloaded ?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 34. 

    Class is a collection of similar objects?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 35. 

    A class is an instance of object?

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 36. 

    If U are designing a form which of the following controls should be used for Career Essay?

    • A.

      Text field

    • B.

      Text area

    • C.

      Canvas

    • D.

      Panel

    Correct Answer
    B. Text area
  • 37. 

    Which of the following methods are supported by Text Area. Select all that apply

    • A.

      SetText

    • B.

      GetText

    • C.

      Append

    • D.

      GetSelectedIndex

    Correct Answer(s)
    A. SetText
    B. GetText
    C. Append
  • 38. 

    If U are designing a form which of the following controls should be used for Student Qualification?

    • A.

      Text field

    • B.

      Text area

    • C.

      Checkbox

    • D.

      Radiobutton

    Correct Answer
    C. Checkbox
  • 39. 

    Which of the following are applicable to a method?

    • A.

      Signature

    • B.

      Return type

    • C.

      Body

    • D.

      Declaration

    • E.

      All of the above

    Correct Answer(s)
    A. Signature
    B. Return type
    C. Body
  • 40. 

    Mysql>select length("Hi There") What will be the output?

    • A.

      7

    • B.

      8

    • C.

      5

    • D.

      6

    Correct Answer
    B. 8
  • 41. 

    A byte is made up of ________bits?

    • A.

      8

    • B.

      64

    • C.

      16

    • D.

      4

    Correct Answer
    A. 8
  • 42. 

    1 GB ==_______KB

    • A.

      1000

    • B.

      1000000

    • C.

      100

    • D.

      10000

    Correct Answer
    B. 1000000
  • 43. 

    Which is the greatest storage unit?

    • A.

      Petabyte

    • B.

      Zettabytes

    • C.

      Terabytes

    • D.

      Exabyte

    Correct Answer
    B. Zettabytes
  • 44. 

    Windows OS is multitasking?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 45. 

    Calculator is a ?

    • A.

      Package

    • B.

      Utility

    • C.

      Customized software

    • D.

      Developer tool

    Correct Answer
    B. Utility
  • 46. 

    Antivirus is a ?

    • A.

      Package

    • B.

      Utility

    • C.

      Customized software

    • D.

      Developer tool

    Correct Answer
    B. Utility
  • 47. 

    Windows Firewall  is a ?

    • A.

      Package

    • B.

      Utility

    • C.

      Customized software

    • D.

      System utility

    Correct Answer
    D. System utility
  • 48. 

    Which of the following are examples of Cyber Crime?(Select all that apply)

    • A.

      Hacking

    • B.

      Stealing password

    • C.

      Blogging

    • D.

      Posting Pornography

    Correct Answer(s)
    A. Hacking
    B. Stealing password
    D. Posting Pornography
  • 49. 

    Name the cyber act of India?

    • A.

      Internet Protection Act 2008

    • B.

      Vulnerability Protection Task Force Act 2006

    • C.

      IT act 2005

    • D.

      None of the above

    Correct Answer
    C. IT act 2005
  • 50. 

    IDE uses GUI?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True

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
  • Nov 01, 2012
    Quiz Created by
    Myhemant72

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.