Java & Internet Programming

25 Questions | Total Attempts: 233

SettingsSettingsSettings
Java Programming Quizzes & Trivia

MSC. CS 3rd Sem Pre University Examination Dec 2011


Questions and Answers
  • 1. 
    What Is Encapulation Explain In Maximum 300 characters?
  • 2. 
    Internet s a ____________of networks.
  • 3. 
    HTML stands for Hypertext ___________ Language.  
  • 4. 
    ______________ Tag is used to give title to the document.
  • 5. 
    Java is a programming language developed by ____________________  
  • 6. 
    First Web Browser Hot Java was developed in_____________
  • 7. 
    Keywords are the ______________ words that have special significance in any language.
    • A. 

      Pre defined

    • B. 

      Library

    • C. 

      Defined

    • D. 

      Special

  • 8. 
    The keywords ___________ and ___________ are reserved words but they are not used.
    • A. 

      Cont,goto

    • B. 

      Goto,short

    • C. 

      Super,for

    • D. 

      Int,char

  • 9. 
    System.out.println();
    • A. 

      True

    • B. 

      False

  • 10. 
    System.println.out();
    • A. 

      True

    • B. 

      False

  • 11. 
    Public static void main(string args[ ])
    • A. 

      True

    • B. 

      False

  • 12. 
    The return type of a constructor is
    • A. 

      Void

    • B. 

      Int

    • C. 

      Float

    • D. 

      None

  • 13. 
    Strings are always specified in
    • A. 

      Braces

    • B. 

      Single quotes

    • C. 

      Double quotes

    • D. 

      Square brackets

  • 14. 
    The vector class contained in
    • A. 

      Java.lang

    • B. 

      Java.awt

    • C. 

      Java.util

    • D. 

      Java.swing

  • 15. 
    The java package provides classes to support input and output operations
    • A. 

      Java.io

    • B. 

      Java.lang

    • C. 

      Stdio.h

    • D. 

      Java.sql

  • 16. 
    Java exception handling is governed by the following five keywords
    • A. 

      Try

    • B. 

      Catch

    • C. 

      Finally

    • D. 

      Throw

    • E. 

      Throws

    • F. 

      Syntax

    • G. 

      Semantic

  • 17. 
    The Life Cycle of an applet begins when it is first loaded and the _________ method is invoked.
    • A. 

      Init()

    • B. 

      Int()

    • C. 

      Initialize()

    • D. 

      Start()

  • 18. 
    The_______________ is a collection of linked documents or pages,stored  on millions of computers and distributed accross the internet.
    • A. 

      Home Page

    • B. 

      Index

    • C. 

      Internet

    • D. 

      Ethernet

  • 19. 
    Which of the following is a software application that helps to view and navigate information on the web.
    • A. 

      Web page

    • B. 

      Web portal

    • C. 

      Web browser

    • D. 

      Web server

  • 20. 
    ISP Means?
    • A. 

      Internet system protocol

    • B. 

      Internet system provider

    • C. 

      Intenal system protector

    • D. 

      Internet service provider

  • 21. 
    ARPANET Means
  • 22. 
    URL Means?
  • 23. 
    Java was developed by a team headed by ______________
    • A. 

      Ken thompson

    • B. 

      James bond

    • C. 

      James gosling

    • D. 

      James tingling

  • 24. 
    ___________________method replaces destructor function in java.
    • A. 

      Finalize

    • B. 

      Final

    • C. 

      Start

    • D. 

      New

  • 25. 
    ______________command converts the source code to internediate bytecode.
    • A. 

      Javac

    • B. 

      Java

    • C. 

      Appletviewer

    • D. 

      Javah

Back to Top Back to top