
APSCA unit 3 practice questions set 3
Authored by Caleb Kim
Computers
9th - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the below code?
String s= "tedd";
String t = s;
s+= " smith";
System.out.println(s);
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the below code?
String full = "The full text";
System.out.println(full.substring(5));
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the below code?
String full = "The full text";
System.out.println(full.substring(1,7));
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the below code?
String text1 = "apples";
String text2 = "apples";
System.out.println(text1.compareTo(text2));
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the below code?
String text1 = "apples";
String text2 = "ask";
System.out.println(text1.compareTo(text2));
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the below code?
String name = "Jane Smith";
System.out.println(name.substring(1).toUpperCase());
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the below code?
String text1 = "drink";
String text2 = "drain";
System.out.println(text1.compareTo(text2));
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?