Search Header Logo

OOP-LQ-MONDAY

Authored by JOMARISS PLAN

Computers

University

Used 3+ times

OOP-LQ-MONDAY
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 3 pts

What is the correct syntax in using for loop?

for (condition, initialization, action);

for (initialization; condition; action);

for (initialization, condition, action);

for (condition; action; initialization);

2.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

What do you call this Object-Oriented Programming concept by which objects can acquire the properties of objects from another class?

interfaces

abstraction

encapsulation

inheritance

3.

MULTIPLE CHOICE QUESTION

45 sec • 3 pts

Which of the following methods obtains the next key pressed by user and usually used to hold the screen until the user presses a key?

Read

ReadKey

ReadLine

WriteLine

4.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which of the following symbols is an example of Assignment Operator?

&&

==

>=

+=

5.

MULTIPLE CHOICE QUESTION

45 sec • 3 pts

What is the keyword used to define object reference and allot space for the object in the main memory?

this

new

static

void

6.

MULTIPLE CHOICE QUESTION

45 sec • 3 pts

What is the correct statement in converting string input to integer value?

Integer.parseInt()

Convert.Integer()

Convert.ToInt32()

Integer.Convert32()

7.

MULTIPLE CHOICE QUESTION

45 sec • 3 pts

What is the correct syntax to call a method Sum() with one integer parameter using object reference obj?

Sum(a);

obj.Sum(5);

obj.Sum(5, 3);

obj.Sum(x,y);

Access all questions and much more by creating a free account

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?