Object-Oriented Programming_LQ#1_AVW1

Object-Oriented Programming_LQ#1_AVW1

University

35 Qs

quiz-placeholder

Similar activities

Programming in Python - Unit III

Programming in Python - Unit III

University

30 Qs

Web and Internet Lab Quiz

Web and Internet Lab Quiz

University

30 Qs

OOP - module

OOP - module

University

30 Qs

Python and ML Basics

Python and ML Basics

6th Grade - University

30 Qs

Introduction to Python Programming (BPCLK205B)

Introduction to Python Programming (BPCLK205B)

University

40 Qs

Midterm Exam - CTCC0323

Midterm Exam - CTCC0323

University

33 Qs

CS 112  -Fundamentals of Programming (Midterm)

CS 112 -Fundamentals of Programming (Midterm)

University

30 Qs

Python Programming Quiz

Python Programming Quiz

University

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