wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Object-Oriented Concepts

Total questions: 8

Worksheet time: 4mins

Name
Class
Date
1.

Object-Oriented Programming හි ප්‍රධාන සංකල්පය කුමක්ද?

a)

Procedure Based Programming

b)

Top-Down Design approach

c)

Real World Objects

2.

වස්තු-නැඹුරු ක්‍රමලේඛනයට සහය නොදක්වන ක්‍රමලේඛන භාෂා මොනවාද?

a)

Python

b)

Pascal

c)

C++

d)

C#

3.

වස්තූන්ගේ ලක්ෂණ මොනවාද? (What are the features of Objects?)

a)

Attributes and Methods

b)

Variables and Functions

c)

Parameters and Arguments

d)

Classes and Objects

4.

වස්තු-නැඹුරු වැඩසටහන්කරණයේ පන්තියක් යනු කුමක්ද?

(What is a Class in Object-Oriented Programming?)

a)

වස්තු සමූහයකි

(A group of Objects)

b)

ගුණාංග සමූහයකි

(A set of Attributes)

c)

ක්‍රම එකතුවකි

(A collection of Methods)

d)

විචල්‍ය වර්ගයකි

(A type of Variable)

5.

වස්තූන් තුළ ඇති ගුණාංගවල අරමුණ කුමක්ද?

What is the purpose of Attributes in Objects?

a)

වස්තූන්ගේ හැසිරීම නිර්වචනය කිරීමට

To define the behavior of Objects

b)

Objects තුළ දත්ත ගබඩා කිරීමට

To store data in Objects

c)

වස්තූන් තුළ ක්‍රියා සිදු කිරීමට

To perform actions in Objects

d)

වස්තූන් අතර සම්බන්ධතා ඇති කිරීම

To create relationships between Objects

6.

වස්තු වල ක්‍රම වල කාර්යභාරය කුමක්ද?

What is the role of Methods in Objects?

a)

වස්තූන්ගේ ව්‍යුහය නිර්වචනය කිරීම

To define the structure of Objects

b)

වස්තූන්හි දත්ත හැසිරවීමට

To manipulate data in Objects

c)

වස්තූන්ගේ තත්වය නියෝජනය කිරීමට

To represent the state of Objects

d)

වස්තූන්ගේ අවස්ථා නිර්මාණය කිරීමට

To create instances of Objects

7.

පන්ති සහ වස්තු අතර සම්බන්ධය කුමක්ද?

What is the relationship between Classes and Objects?

a)

පන්ති යනු වස්තූන්ගේ අවස්ථා වේ

Classes are instances of Objects

b)

වස්තු යනු පන්තිවල අවස්ථා වේ

Objects are instances of Classes

c)

පන්ති සහ වස්තු සමාන වේ

Classes and Objects are the same

d)

පන්ති සහ වස්තූන් අතර සම්බන්ධයක් නොමැත

Classes and Objects have no relationship

8.

Object-Oriented Programming වල වැදගත්කම කුමක්ද?

What is the significance of Object-Oriented Programming?

a)

එය මොඩියුලර් සහ නැවත භාවිතා කළ හැකි කේතය සඳහා ඉඩ සලසයි

It allows for modular and reusable code

b)

එය සංවර්ධන ක්රියාවලිය සරල කරයි

It simplifies the development process

c)

එය කේත සංවිධානය සහ නඩත්තුව වැඩි දියුණු කරයි

It improves code organization and maintenance

d)

ඉහත සියල්ලම

All of the above