Understanding Strings and Arrays

Quiz
•
Other
•
University
•
Hard
Rod Puyat
Used 19+ times
FREE Resource
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the process of combining more than one string together known as?
Concatenation
Separation
Division
Multiplication
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the algorithm to concatenate two strings without using any inbuilt methods?
CONCATENATE (STR1, STR2, STR3)
JOIN (STR1, STR2)
MERGE (STR1, STR2)
LINK (STR1, STR2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a multidimensional array?
An array of arrays
A single-dimensional array
A string array
An object array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a two-dimensional array in Java?
data_type[1st dimension][2nd dimension][]..[Nth dimension] array_name = new data_type[size1][size2]....[sizeN];
data_type[array_name][size];
array_name[data_type][size];
data_type[size][array_name];
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a two-dimensional array represent?
A table with rows and columns
A single list of items
A string of characters
A collection of objects
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of a 2D array specified by?
rows and columns
length and width
height and depth
size and capacity
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access an element in a two-dimensional array in Java?
array_name[row_index][column_index];
array_name[column_index];
array_name[column_index][row_index];
array_name[row_index];
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Java Quiz

Quiz
•
University - Professi...
30 questions
Quiz PHP dan Tipe Data

Quiz
•
1st Grade - University
30 questions
Quiz_2_Skill_Lab_Python_Programming

Quiz
•
University
31 questions
GRAPHICSfa3-4

Quiz
•
University
27 questions
Array Basics Quiz

Quiz
•
University
30 questions
Landscape design and history

Quiz
•
University
30 questions
CODE4KITSW

Quiz
•
University
30 questions
Quiz Pra UAS Sistem Basis Data

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University