
Final Exam Information
Authored by Folarin Omisakin
Science
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
36 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What must be included at the top of a Java program to use a Scanner for user input?
import java.util.Scanner;
package java.util.Scanner;
include java.util.Scanner;
using java.util.Scanner;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which package in Java contains the Scanner class?
java.lang
java.util
java.io
java.net
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the Java code 'Scanner input = new Scanner(System.in);'?
To create a file
To print a message to the console
To read input from the user
To close a program
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to read a double value from the user in Java?
nextLine()
nextDouble()
nextInt()
nextBoolean()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be if the user enters '5.5' after the statement 'System.out.println("Enter the radius: ");' is executed?
Enter the radius: 5.5
Error
5.5
Enter the radius:
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the "+=" operator do in programming?
Multiplies and assigns the value
Divides and assigns the value
Adds and assigns the value
Subtracts and assigns the value
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for division assignment?
%=
*=
-=
/=
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
History of Earth
Quiz
•
6th Grade - University
39 questions
States of Matter Test Mosa Mack
Quiz
•
7th Grade - University
31 questions
8th Unit 4: OAC Test Review
Quiz
•
8th Grade - University
40 questions
Force & Motion Unit 3 REVIEW
Quiz
•
6th Grade - University
37 questions
Unit 8 Sustainability Review
Quiz
•
9th Grade - University
31 questions
Ecosystems Summative Review
Quiz
•
7th Grade - University
34 questions
Rock Cycle & Earthquakes/Tsunamis Assessment Practice
Quiz
•
8th Grade - University
32 questions
Good life
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Science
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University