Week 4: Recap Java Programming

Quiz
•
Computers
•
University
•
Medium
Used 16+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to write a class signature? (The line of code to create an application)
public class NameOfApplication{
public class NameOfApplication
public NameOfApplication{
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to declare a variable to store an integer value named num1?
double num1;
int num1;
int double num1;
final int num1;
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Fill in the missing blank:
keyboard=________ Scanner(System.in);
space
new
in
keyboard
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct naming convention for naming an application?
newApplication
NewApplication
newapplication
NEWAPPLICATION
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct naming convention for naming a constant?
constantName
Constantname
ConstantName
CONSTANTNAME
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct naming convention for naming a variable?
VariableName
variableName
VARIABLENAME
variablename
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the missing blank?
num1=__________________________.nextInt();
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Parts of a Computer Quiz

Quiz
•
University
10 questions
Programming Quiz

Quiz
•
University
15 questions
Integrative Programming PRELIM

Quiz
•
University
7 questions
Clean Code

Quiz
•
University
15 questions
Round 4 - Harvest

Quiz
•
University
10 questions
CIS1101-programming practice2

Quiz
•
University
10 questions
Pengenalan Perangkat Keras Komputer

Quiz
•
7th Grade - University
11 questions
Input and Output devices

Quiz
•
KG - 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 Computers
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