OOP-LQ-MONDAY

OOP-LQ-MONDAY

University

15 Qs

quiz-placeholder

Similar activities

Bridge course with C

Bridge course with C

University

20 Qs

 QUIZ  MS Core Java Quiz-3 2023

QUIZ MS Core Java Quiz-3 2023

University

11 Qs

Analysis of Algorithms

Analysis of Algorithms

University

10 Qs

BS TEST2

BS TEST2

University

20 Qs

DAA Quiz 1

DAA Quiz 1

University

10 Qs

FIND THE KEY

FIND THE KEY

University

10 Qs

JavaScript

JavaScript

University

14 Qs

C BOOTCAMP DAY 2

C BOOTCAMP DAY 2

University

20 Qs

OOP-LQ-MONDAY

OOP-LQ-MONDAY

Assessment

Quiz

Computers

University

Medium

Created by

JOMARISS PLAN

Used 3+ times

FREE Resource

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);

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?