CIS 283 Java I Quiz 1

13 Questions | Total Attempts: 94

SettingsSettingsSettings
CIS Quizzes & Trivia

The quiz covers chap 1 and chap 2. The quiz consists of 16 questions, and you will have 16 minutes to complete the quiz. You are allowed to take the quiz only ONCE. Multiple attempts will result in the lowest grade being taken as the grade for your quiz. NOTE: You cannot go back to previous questions.


Questions and Answers
  • 1. 
    Which of the following is NOT a strength of Java language?
    • A. 

      Portable

    • B. 

      Cheap

    • C. 

      Relatively Simple

    • D. 

      High Speed Execution

  • 2. 
    Java is NOT completely object-oriented because __________
    • A. 

      Java support primitive data types such as int, float...

    • B. 

      Java support class

    • C. 

      Java support user defined class

    • D. 

      Java support inheritance

  • 3. 
    Which of the following is NOT a Java program?
    • A. 

      Applets

    • B. 

      Servlets

    • C. 

      Javascript

    • D. 

      JavaBeans

  • 4. 
    What is the file extension of your Java source file?
    • A. 

      .class

    • B. 

      .java

    • C. 

      .jar

    • D. 

      .out

  • 5. 
    The Java compiler translate the Java code into ______
    • A. 

      Bitcode

    • B. 

      Bitecode

    • C. 

      Bytecode

    • D. 

      Bycode

  • 6. 
    In order to execute a Java application, you need to have ______ on your computer
    • A. 

      Java Virtual Machine

    • B. 

      Java Real Machine

    • C. 

      Java Running Machine

    • D. 

      Java Verbal Machine

  • 7. 
    Which of following is NOT basic control structures?
    • A. 

      Sequence

    • B. 

      Decision

    • C. 

      Iteration

    • D. 

      None of above

  • 8. 
    Which of following is NOT one of the steps of program development life cycle discussed in the class?
    • A. 

      Define the problem

    • B. 

      Code the program

    • C. 

      Install the program

    • D. 

      Test and debug the program

  • 9. 
    Assembly language has one-to-one mapping to the machine language code
    • A. 

      True

    • B. 

      False

  • 10. 
    Documentation takes place only after testing and debugging the program
    • A. 

      True

    • B. 

      False

  • 11. 
    A program that can be compiled successfully will not have any syntax errors.
    • A. 

      True

    • B. 

      False

  • 12. 
    Which of the following Java programs can only be run using Web browser?
    • A. 

      Servlet

    • B. 

      Applet

    • C. 

      JavaBeans

    • D. 

      EJB

  • 13. 
    CPU from different manufacturers have the same machine code for each operation.
    • A. 

      True

    • B. 

      False

Back to Top Back to top