Java Intro ( medium )
30 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which company acquired Java?

  • Sun Microsystems
  • Microsoft
  • IBM
  • Oracle Corporation (correct)
  • When was the first publicly available version of Java released?

  • 2000
  • 1991
  • 1995 (correct)
  • 1985
  • What is one of the key features of Java?

  • Difficult to learn
  • Portable (correct)
  • Not object-oriented
  • Platform dependent
  • What is the purpose of Java?

    <p>To become a machine-independent web technology</p> Signup and view all the answers

    Who developed Java?

    <p>James Gosling</p> Signup and view all the answers

    What is the Java Virtual Machine (JVM)?

    <p>A virtual machine that executes Java bytecode</p> Signup and view all the answers

    What is one of the advantages of Java?

    <p>It has automatic memory management</p> Signup and view all the answers

    What is one of the characteristics of Java?

    <p>It is an open-source and free programming language</p> Signup and view all the answers

    What is the Java Development Kit (JDK)?

    <p>A software development tool for Java</p> Signup and view all the answers

    What is one of the applications of Java?

    <p>Building mobile apps</p> Signup and view all the answers

    Which of the following is NOT a component of the Java-Runtime-Environment (JRE)?

    <p>JDK</p> Signup and view all the answers

    What is the purpose of the JVM in Java?

    <p>To execute Java programs</p> Signup and view all the answers

    Which component of Java is platform-independent?

    <p>JDK</p> Signup and view all the answers

    What is the primary compiler included in the JDK?

    <p>Javac</p> Signup and view all the answers

    Which of the following is NOT an application domain of Java?

    <p>Database Management</p> Signup and view all the answers

    What is the purpose of the JRE in Java?

    <p>To execute Java programs</p> Signup and view all the answers

    Which component of Java is responsible for converting source code to bytecode?

    <p>Javac</p> Signup and view all the answers

    What is the purpose of the JDK in Java?

    <p>To develop Java programs</p> Signup and view all the answers

    Which component of Java is platform-dependent?

    <p>JVM</p> Signup and view all the answers

    What is the purpose of the JVM in Java?

    <p>To execute Java programs</p> Signup and view all the answers

    Which principle is Java known to follow?

    <p>Write Once, Run Anywhere</p> Signup and view all the answers

    What is the main focus of object-oriented programming?

    <p>Objects</p> Signup and view all the answers

    What makes Java a simple language to learn and use?

    <p>Lack of complex features</p> Signup and view all the answers

    How does Java ensure security in its programs?

    <p>Use of bytecode verifier</p> Signup and view all the answers

    What makes Java highly portable?

    <p>Use of Java Virtual Machine (JVM)</p> Signup and view all the answers

    What makes Java a robust language?

    <p>Early checking and elimination of errors</p> Signup and view all the answers

    What approach does Java use for compiling and executing code?

    <p>Just-In-Time (JIT)</p> Signup and view all the answers

    What feature of Java enables maximum utilization of the CPU?

    <p>Support for multi-threading</p> Signup and view all the answers

    What does the garbage collector in Java do?

    <p>Deletes memory occupied by objects</p> Signup and view all the answers

    What makes Java an open-source language?

    <p>Freely available source code</p> Signup and view all the answers

    More Like This

    Use Quizgecko on...
    Browser
    Browser