II_III Years-Java, Python, and C Quiz

II_III Years-Java, Python, and C Quiz

Professional Development

50 Qs

quiz-placeholder

Similar activities

Final Exam Review pt.2

Final Exam Review pt.2

Professional Development

55 Qs

Test Training Product GD 825A-2

Test Training Product GD 825A-2

Professional Development

50 Qs

NPA 1130 - Unit 10

NPA 1130 - Unit 10

Professional Development

50 Qs

J103 & J104 (requires PT chart & Psychometrics graph)

J103 & J104 (requires PT chart & Psychometrics graph)

Professional Development

55 Qs

UQ/L-3/BK-2/Assessment/English

UQ/L-3/BK-2/Assessment/English

3rd Grade - Professional Development

53 Qs

SERTIFIKASI HR CABANG

SERTIFIKASI HR CABANG

Professional Development

50 Qs

KUIS HARI BUMI SMANDALAS

KUIS HARI BUMI SMANDALAS

10th Grade - Professional Development

50 Qs

II_III Years-Java, Python, and C Quiz

II_III Years-Java, Python, and C Quiz

Assessment

Quiz

Other

Professional Development

Practice Problem

Hard

Created by

SHANMUGAPRIYA.P MCE-LECT/IT

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a primitive data type in Java?

int

float

String

boolean

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which keyword is used to define a constant in Java?

const

final

static

constant

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of Java code System.out.println(5 + "5");?

10

55

5 + 5

Error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the purpose of the static keyword in Java?

To create a constant

To allow a method or variable to be accessed without creating an instance of the class

To prevent inheritance

To define a global variable

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is true about method overloading?

Methods must have the same name and return type

Methods must have different names

Methods must have the same name but different parameters

Methods must have the same name and parameters

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the default value of an int variable in Java?

0

1

null

undefined

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a valid access modifier in Java?

public

private

protected

global

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

Already have an account?