Java Flashcard-1

Java Flashcard-1

Assessment

Flashcard

Professional Development

Medium

Created by

Praveen Kumar

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

21 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the default value of a student's attendance in a new semester?

Back

0.0

2.

FLASHCARD QUESTION

Front

Which keyword is used to define a constant in a programming language?

Back

final

3.

FLASHCARD QUESTION

Front

Shreya has 5 apples. If Shreya gives away more than 10 apples, what will happen? Will Shreya have any apples left?

Back

Shreya will have less than 10 apples left

4.

FLASHCARD QUESTION

Front

What is the purpose of the "break" statement in a coding competition?

Back

To exit a coding challenge or switch statement

5.

FLASHCARD QUESTION

Front

Datatype used to store a single character in a student's personal information form?

Back

char

6.

FLASHCARD QUESTION

Front

int num = 10; System.out.println((num++ + ++num));

Back

22

7.

FLASHCARD QUESTION

Front

What is the output of the following code snippet? int x = 5; int y = 3; System.out.println(x % y);

Back

2

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?