Programming Fundamentals in java

Programming Fundamentals in java

University

18 Qs

quiz-placeholder

Similar activities

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

AP Computer Science A Post Unit 2 Check

AP Computer Science A Post Unit 2 Check

10th Grade - University

18 Qs

oops using java quiz

oops using java quiz

University

15 Qs

Computational Thinking in Python[Quiz 2]

Computational Thinking in Python[Quiz 2]

University

15 Qs

JAVA FINAL QUIZ FOR ASSESSMENT

JAVA FINAL QUIZ FOR ASSESSMENT

University

15 Qs

การเขียนโปรแกรมด้วย Python

การเขียนโปรแกรมด้วย Python

University

20 Qs

Java

Java

University

15 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Programming Fundamentals in java

Programming Fundamentals in java

Assessment

Quiz

Computers

University

Medium

Created by

Firas Almukhtar

Used 1+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT a common application area for Java?
Mobile applications
Desktop applications
Hardware programming
Cloud computing

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In Java, the correct way to output text to the console is:
print.console("Hello")
System.println("Hello")
System.out.println("Hello")
console.out("Hello")

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which data type would you use to store the value 3.14?
String
integer
boolean
double

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The basic structure of a Java program must include:
A main method
Multiple classes
Global variables
Input methods

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In Java, the correct way to declare and initialize a String variable is:
String = message
message String = "Hello"
String message = "Hello"
var message = String

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which operator is used for String concatenation in Java?
&
+
*
.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The correct order of operations in Java is:
Addition, multiplication, parentheses
Multiplication, parentheses, division
Parentheses, multiplication/division, addition/subtraction
Division, addition, multiplication

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?