Java Inntro and Variables

Java Inntro and Variables

Professional Development

20 Qs

quiz-placeholder

Similar activities

Aptitute_TCE

Aptitute_TCE

Professional Development

15 Qs

Java Fundamentals - Exame Final - Seção 4 (Java Básico)

Java Fundamentals - Exame Final - Seção 4 (Java Básico)

Professional Development

15 Qs

TCP  e UDP

TCP e UDP

Professional Development

15 Qs

Informática Forense

Informática Forense

Professional Development

15 Qs

Chapter-1- Introduction to Web Development

Chapter-1- Introduction to Web Development

Professional Development

25 Qs

Women-in-Tek 2025 Assessment

Women-in-Tek 2025 Assessment

Professional Development

20 Qs

ASESMEN AWAL SOSMED

ASESMEN AWAL SOSMED

Professional Development

25 Qs

Raciocínio Lógico

Raciocínio Lógico

Professional Development

23 Qs

Java Inntro and Variables

Java Inntro and Variables

Assessment

Quiz

Information Technology (IT)

Professional Development

Medium

Created by

ihsan akcair

Used 6+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?