
Unit 1 Test Review
Quiz by JPatterson
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
10 questions
Show answers
- Q1Valid or Invalid? int x =0; x =9.523;invalidvalid30s
- Q2The formal parameters are in the method heading shown below public static double convertMilesToYards(double miles) { return 1760 * miles; }falsetrue30s
- Q3The actual parameter is inches: inches = convertFeetToInches(feet);falsetrue30s
- Q4Which of the following lines correctly defines an integer variable?i = 0;int i = 0int i = 0;integer i = 0;30s
- Q5What is output by the code below? System.out.println( Math.pow(5,2) );25.052251030s
- Q6Based on standard naming conventions in java, totalCost would be a valid _____________.finalfilevariablemethod30s
- Q7Based on standard naming conventions in java, NORTH would be a valid _____________.methodfilefinalvariable30s
- Q8Based on standard naming conventions in java, ArrayList would be a valid _____________.variablefile / classfinalmethod30s
- Q9Based on standard naming conventions in java, toString() would be a valid _____________.variablefinalfilemethod30s
- Q10int cost = 40; cost = 50; cost += 5; cost = 15 - 2; cost = cost + 3; System.out.println("The cost is " + cost);1514401630s