stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
U:PASS ProgFund Flashcards | StudBud
Explore
/
U:PASS ProgFund
U:PASS ProgFund
17 terms
·
StudBud Administration
·
9 plays
Imported from external platform
Flashcards
17 cards
F
Practice quiz
P
Host live
L
Questions
17
Answers
1
This data type holds one character
character
Char
oneSingleCharacter
char
2
This mathematical operand returns the remainder of dividing two numbers.
/
&
\
%
3
A variable (in Java) should be . . .
a random word
a word that shares the initial with your favorite celebrity
a word that describes the data
a single letter
4
This data type can hold integers up to 127
int
short
byte
long
5
How many mathematical operands are there for integer math?
6
4
3
5
6
This can hold numbers up to approximately 2 Billion
byte
int
short
long
7
Which of these would add one to the variable k?
k++
t++
k+1
++k
8
Java follows correct mathematical precedence (Order of Operations)
False
True
9
Which is the output for System.out.println("100" + "200");
1200
400
300
100200
10
Which of these would change the num variable to num/10
num/10
num/=10
num *=10
num =/ 10
11
Multiline comments begin with this
**
//
/*
*/
12
Which of these correctly declares and initializes a String Variable?
String name = "Mr. Poore"
var name = "Mr. Poore"
string name = "Mr. Poore"
String name = 'Mr. Poore'
13
Which of these can hold data after the decimal point in a number.
short
long
int
double
14
Single line comments begin with this
*/
//
/*
<!--
15
This is the where we tell Java to treat a variable as a different data type.
Type Casting
Morphing
Evolving
Type Changing
16
These are words you can't use for your variables because Java uses them at it's core.
Reserved Words
Latin Verbs
Java Variable Identifiers
Java Keywords
17
Which character sequence would cause following text to be on the next line?
\l
\c
\r
\n