JAVA: Level-1

Quiz
•
Computers, Education
•
5th - 12th Grade
•
Hard
Amol Karpe
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose from below non-mandatory (not MUST) component of a Java Program.
Class name
main method
print method
All of the above
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose correct signature of main method.
public static int main(String[] args)
private static void main(String[] args)
public static void main(int[] args)
public static void main(String[] args)
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In Java Array, index starts from
1
0
-1
-2
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What will be output of following code -
public static void main(String[] args) {
System.out.print("Hello");
System.out.println("How are you?");
}
Error
Hello
How are you?
HelloHow are you?
How are you?Hello
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In Java, which of the following Loop executes at least once -
for Loop
while Loop
do...while Loop
None of the above
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What will be the output of following code -
public static void main(String[] args) {
byte b = 135;
System.out.println(b * 2);
}
135
270
135 * 2
Compilation Error
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
to assign a value as "2.5", which data type I can use
int
boolean
char
float
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Week 8

Quiz
•
12th Grade
11 questions
Java 1

Quiz
•
6th - 8th Grade
20 questions
APCSA Arrays

Quiz
•
9th - 12th Grade
19 questions
Unit 9 CSA

Quiz
•
11th Grade
10 questions
Computer Quiz(Java)(16-10-2020)

Quiz
•
9th Grade
15 questions
OOP in java(2)

Quiz
•
12th Grade
18 questions
AP Computer Science A Post Unit 2 Check

Quiz
•
10th Grade - University
10 questions
EPAM quiz

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade