Object-Oriented Programming_LQ#1_AVW1

Object-Oriented Programming_LQ#1_AVW1

University

35 Qs

quiz-placeholder

Similar activities

3.2 Data Type, Operator & Expression in Java (part 1)

3.2 Data Type, Operator & Expression in Java (part 1)

University

35 Qs

Access Modifiers, Inheritance & Polymorphism

Access Modifiers, Inheritance & Polymorphism

University

39 Qs

function in Python

function in Python

University

37 Qs

IT 121- Formative Assessment # 2

IT 121- Formative Assessment # 2

University

40 Qs

BASIC PYTHON

BASIC PYTHON

University

30 Qs

Java Programming - Second Internal Examination

Java Programming - Second Internal Examination

University

30 Qs

Python Quiz

Python Quiz

University

30 Qs

ROUND-1

ROUND-1

University

30 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?