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 (B)</p> Signup and view all the answers

Who developed Java?

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

What is the Java Virtual Machine (JVM)?

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

What is one of the advantages of Java?

<p>It has automatic memory management (D)</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 (C)</p> Signup and view all the answers

What is the Java Development Kit (JDK)?

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

What is one of the applications of Java?

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

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

<p>JDK (D)</p> Signup and view all the answers

What is the purpose of the JVM in Java?

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

Which component of Java is platform-independent?

<p>JDK (C)</p> Signup and view all the answers

What is the primary compiler included in the JDK?

<p>Javac (D)</p> Signup and view all the answers

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

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

What is the purpose of the JRE in Java?

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

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

<p>Javac (C)</p> Signup and view all the answers

What is the purpose of the JDK in Java?

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

Which component of Java is platform-dependent?

<p>JVM (C)</p> Signup and view all the answers

What is the purpose of the JVM in Java?

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

Which principle is Java known to follow?

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

What is the main focus of object-oriented programming?

<p>Objects (C)</p> Signup and view all the answers

What makes Java a simple language to learn and use?

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

How does Java ensure security in its programs?

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

What makes Java highly portable?

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

What makes Java a robust language?

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

What approach does Java use for compiling and executing code?

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

What feature of Java enables maximum utilization of the CPU?

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

What does the garbage collector in Java do?

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

What makes Java an open-source language?

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

More Like This

Use Quizgecko on...
Browser
Browser