String
Quiz
•
Computers
•
1st - 3rd Grade
•
Practice Problem
•
Medium
ANIS (PBU)
Used 1+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
String is an ................
array of integers
array of characters
array of class
array of data type
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Example 1
String s = new String( );
Syntax
String stringobject = new String( );
Creating String Object : Empty Object
Creating String Object : Not Empty Object
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Example 4
String s = "I have to study for my exams";
Syntax
String stringobject = <string value>;
Creating String Object : Empty Object
Creating String Object : Not Empty Object
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
String country = "Malaysia";
int i = country.length( );
value of i is 10
value of i is 6
value of i is 8
value of i is 4
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
String firststring = "Welcome to ";
String secondstring = "Malaysia";
String thirdstring = firststring.concat(secondstring);
System.out.println(thirdstring);
Malaysia
Malaysia Welcome to
Welcome to Malaysia
Welcome to
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Identify are they the method of String Class ?
charAt()
equals()
indexOf()
replace()
trim()
True.
All of them are method of String Class
False.
All of them are not method of String Classlse
Similar Resources on Wayground
10 questions
ASAS SAINS KOMPUTER
Quiz
•
2nd Grade
10 questions
YEAR 1 TEST ONE
Quiz
•
1st Grade
10 questions
2nd Grade Envisions Topic 2: Work with Equal Groups
Quiz
•
2nd Grade
10 questions
Review materi Ms Word Grade 3
Quiz
•
3rd Grade
10 questions
Animating Objects
Quiz
•
2nd Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
10 questions
Digital Vocabulary
Quiz
•
3rd - 5th Grade
10 questions
P3 T2 Quiz
Quiz
•
3rd Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
10 questions
Area
Quiz
•
3rd Grade
8 questions
Predictions
Quiz
•
2nd - 4th Grade
17 questions
Multiplication facts
Quiz
•
3rd Grade
10 questions
Fractions
Quiz
•
3rd Grade
20 questions
Division Facts
Quiz
•
3rd Grade
25 questions
Division Facts
Quiz
•
3rd Grade
