
Java Inntro and Variables
Authored by ihsan akcair
Information Technology (IT)
Professional Development
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Identify the INCORRECT statement about compilation and execution of Java programs.
a) Javac helps in compiling the java program and creates the .class files
b) Java runs the programs using the bytecode in .class files
c) Java runs the programs using the source code in .java files
d) Javac is in the JDK package and java is in the JRE package
a
b
c
d
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which component is responsible for converting byte code into machine specific code?
a) JIT
b) JDK
c) JVM
d) JRE
a
b
c
d
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which statement is TRUE about Java?
a) Platform independent programming language
b) Code dependent programming language
c) Sequence dependent programming language
d) Code dependent programming language
a
b
c
d
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will be the output of the following program?
Compilation error since "Hello Wrold" has spelling mistake, it should be "Hello World"
Compilation error since the class name does not contain at least one capital letter. It works fine if the class name was HelloWorld
Compilation error for some other reason
Hello Wrold
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the extension of source code files?
a) .class
b) .java
c) .txt
d) .js
a
b
c
d
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Identify the invalid java keyword in the below list.
a) integer
b) float
c) char
d) case
a
b
c
d
7.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which data type is used to create a variable that should store sequence of characters?
a) Txt
b) String
c) char
d) string
a
b
c
d
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Exploring Computer Networks & The Internet
Quiz
•
Professional Development
20 questions
V50e Pre-Refresher Quiz
Quiz
•
Professional Development
20 questions
Quiz de Visualización de Datos con Matplotlib y Seaborn
Quiz
•
Professional Development
16 questions
Tiandy 17 сентября
Quiz
•
Professional Development
15 questions
AI Terms Quiz
Quiz
•
Professional Development
17 questions
Quiz MIAI Meeting 16 décembre
Quiz
•
Professional Development
15 questions
SENAI 2024 | REDES 4
Quiz
•
Professional Development
20 questions
Soal PPPK Pengelola Layanan Operasional 2024
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...