
String Function Revision

Quiz
•
Computers
•
10th Grade
•
Medium
Ruchita Dave
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String str = "Information Technology";
int p;
p = str.indexOf('n');
System.out.println(p);
p
n
1
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String str1 = "Information Technology";
String str2 = "information technology";
boolean p = str1.equalsIgnoreCase(str2);
System.out.println("The result is " + p);
The result is true
The result is false
The result is 0
The result is 1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String x = "Vision";
String y = "2020";
System.out.println(x + y);
Vision 2020
2020
Vision2020
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String S1 = "Computer World";
String S2 = "COMPUTER WORLD";
System.out.println(S1 + " equalsIgnoreCase "+ S2 + " " + S1.equalsIgnoreCase(S2));
Computer World
COMPUTER WORLD
Computer World
equalsIgnoreCase
COMPUTER WORLD
true
Computer World
equalsIgnoreCase
Computer World
false
true
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String n = "Computer Knowledge";
System.out.println(n.substring(2,5));
omput
mput
mputer Knowledge
mpu
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String n = "Computer Applications";
System.out.println(n.endsWith("e"));
true
false
0
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String x[] = {"SAMSUNG", "NOKIA", "SONY", "MICROMAX", "BLACKBERRY"};
System.out.println(x[3].length());
8
4
7
5
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"ACHIEVEMENT".replace('E', 'A')
ACHIAVAMANT
ACHIAVEMANT
ACHIAVAMNT
ACHIEVAMANT
Similar Resources on Wayground
10 questions
IT and ITes

Quiz
•
8th - 10th Grade
13 questions
String Manipulation

Quiz
•
9th - 11th Grade
10 questions
Java Code Tracing Practice A

Quiz
•
9th - 12th Grade
9 questions
Java For Loops

Quiz
•
9th - 12th Grade
10 questions
Python Quiz for 10s

Quiz
•
10th Grade
11 questions
Python Data Types Quiz

Quiz
•
10th Grade - University
10 questions
Programming - Basic String Manipulation

Quiz
•
2nd - 10th Grade
10 questions
J277 - 2.2 - Understanding Data Types in Programming

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade