
Java G10 IT 1 - intro and conditionals
Authored by Julie Rapley
Computers
10th Grade
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is missing from the command: System.___.println("Hello World");
prt()
Sys
java
out
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many classes are required in a Java Program?
At least one.
None, you can run a basic program without a class.
Two, one for the main function and one for the function code.
None of the above.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which is the correct way to end a command statement in Java?
;
,
.
:
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the reserved words is missing in this line which is found in every Java program?
public _____ void main(String[] args) {
private
void
open
static
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which reserved word allows other classes to access your class in Java?
private
call
public
open
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is NOT a primitive datatype in Java?
float
int
String
char
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you wanted to store the value 2.5 in a variable what datatype would you need to use?
char
float
int
boolean
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?