You are going to fill in the blanks.
You will complete the MarkSymbol class:
Code a program which will input a mark, then display a symbol for this mark according to this table.
public class _____
Java nested if program
Quiz
•
Computers
•
10th - 11th Grade
•
Hard
Claire Firman
Used 12+ times
FREE Resource
9 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
You are going to fill in the blanks.
You will complete the MarkSymbol class:
Code a program which will input a mark, then display a symbol for this mark according to this table.
public class _____
2.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
To input a mark (fill in missing code):
int mark = ______(JOptionPane.showInputDialog("Input number));
3.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
We need to declare a variable to store the symbol:
____ symbol = ' ';
4.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Complete the if:
if (mark __ 80)
{
symbol = 'A';
}
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
The next part of the laddered if:
else if (mark >= __ )
{
symbol = 'B';
}
6.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
The next part of the laddered if:
else if (mark >= 60 )
{
symbol = ___;
}
7.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
The next part of the laddered if:
else if (_____ >= 50 )
{
symbol = 'D';
}
8.
FILL IN THE BLANK QUESTION
1 min • 1 pt
To end off the laddered if,
(all other marks get an 'E'):
____
{
symbol = 'E';
}
9.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The Output at the end of the class:
System.out.println("Your symbol: " + ____ );
10 questions
Computer Hardware - The Need for Input&Output Devices
Quiz
•
3rd - 11th Grade
10 questions
Flow Charts (OCR GCSE)
Quiz
•
7th - 11th Grade
10 questions
Flowcharting
Quiz
•
6th - 11th Grade
10 questions
Input and Output Python
Quiz
•
10th Grade
10 questions
Fundamentals of Programming
Quiz
•
8th - 10th Grade
10 questions
Algo Kuis
Quiz
•
10th Grade
12 questions
Flowchart Symbols
Quiz
•
11th Grade
13 questions
ASSESMEN AKHIR SEMESTER INFORMATIKA
Quiz
•
10th Grade
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
12 questions
Multiplying Fractions
Quiz
•
6th Grade
30 questions
Biology Regents Review #1
Quiz
•
9th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology
Quiz
•
9th - 12th Grade
20 questions
Investing
Quiz
•
9th - 12th Grade