Grade 10 - Final Exam practice quiz

Quiz
•
Computers
•
10th Grade
•
Easy

Roshni Misar
Used 6+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to create a class in Java?
define
struct
class
object
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What prints out "I love Java" successfully?
Systemoutprintln("I love Java);
System.out.println("I love" + " Java");
System.out.println(I love Java);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a primitive data type in Java?
String
double
boolean
int
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which access specifier allows the most restricted access?
protected
public
private
internal
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function declaration is correct in Java?
public int add() {}
static add() {}
add() public int {}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of inheritance is supported in Java by using classes?
Single and multilevel inheritance
Hybrid inheritance
Super inheritance
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of a double data type in Java?
2 bytes
8 bytes
4 bytes
16 bytes
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
APCSA Arrays

Quiz
•
9th - 12th Grade
20 questions
Java Values and datatypes

Quiz
•
9th - 12th Grade
20 questions
COMPUTER

Quiz
•
9th - 10th Grade
20 questions
Java Casting & Booleans

Quiz
•
10th - 12th Grade
25 questions
Library Classes

Quiz
•
10th Grade
20 questions
Debugging

Quiz
•
10th Grade
20 questions
AQA GCSE Computer Science - 3.2.1 Data types

Quiz
•
8th - 10th Grade
20 questions
AP Computer Science A Final Review

Quiz
•
10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade