compsci

0.0(0)
Studied by 3 people
0%Exam Mastery
Build your Mastery score
multiple choiceAP Practice
Supplemental Materials
call kaiCall Kai
Card Sorting

1/11

flashcard set

Earn XP

Description and Tags

comp sci grade 11

Last updated 12:39 PM on 4/21/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards
for (int i = 0; i
format of a counted loop
2
New cards
Random rnd= new Random();
get random
3
New cards
int nums= rnd.nextInt(10)+1;
format of random statement
4
New cards
checks for uppercase charcaters
character.isUppercase(2)
5
New cards
finds the charcacter at a specific index
word.charAt(2);
6
New cards
Returns a substring of the string, which \n starts at the start position and extends to \n the end of the string.
word.substring(3);
7
New cards
Returns a substring of the string, which \n starts at the start position and ends one \n character before the end position
word.substring(0, 2);
8
New cards
Compares a string value to \n another string value. Returns \n true if the two strings are equal, \n otherwise returns false
if (guess.equals(password))
9
New cards
Compares a string value to \n another string value ignoring case \n considerations.
if (guess.equalsIgnoreCase(password))
10
New cards
int to string
String x = Integer.toString(num);
11
New cards
string to int or double or long
int x = Integer.parseInt(str);
12
New cards
public is access level, void is return type, and address is the method name.
public static void address()