Object-Oriented Programming_LQ#1_AVW1

Object-Oriented Programming_LQ#1_AVW1

University

35 Qs

quiz-placeholder

Similar activities

Java Lab

Java Lab

University

30 Qs

JAVA PROGRAMMING

JAVA PROGRAMMING

University

30 Qs

CCP1102-Java Programming-Prelim

CCP1102-Java Programming-Prelim

University

30 Qs

Python Keywords

Python Keywords

University

33 Qs

Java Programming

Java Programming

University

40 Qs

C++ Basics

C++ Basics

University

31 Qs

GAME OF CODES

GAME OF CODES

University

30 Qs

CSS QUIZ DAW EWAN

CSS QUIZ DAW EWAN

University

31 Qs

Object-Oriented Programming_LQ#1_AVW1

Object-Oriented Programming_LQ#1_AVW1

Assessment

Quiz

Computers

University

Medium

Created by

Kim Palaran

Used 1+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A keyword that is used in the control statement to declare a loop. It can iterate a part of the program several times.

while

do

for

break

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In what operator type does this belong to?
"< > <= >= instanceof"

Assignment

Arithmetic

Shift

Relational

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is a variable declared inside the body of the method. You can use this variable only within that method and the other methods in the class aren't even aware that the variable exists.

Instance

Local

Static

Public

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is a keyword is used to declare a variable that can hold a 32-bit signed integer.

integer

int

interface

instanceof

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a unary operator under postfix?

* / %


++expr --expr

expr++ expr--


= +=

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A keyword is used to start a for loop. It is used to execute a set of instructions/functions repeatedly when some condition becomes true. If the number of iteration is fixed, it is recommended to use this keyword

if

while

for

do

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

keyword is used to indicate that a variable holds a constant value. It is used with a variable. It is used to restrict the user from updating the value of the variable.

const

finally

final

catch

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?