
Encapsulation
Authored by Asmaa Ahmed
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
54 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
class person {public int stuAge;private string StuName;public void setname(string name){StuName = name;}
A. Object from class person can access stuAge and StuName
B. Object from class person can access stuAge only
C. Object from class person can access stuAge and setname
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The process of aggregating all fields, properties, and methods into one unit is known as
A. Encapsulation
B. polymorphism
C. Inheritance
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The concept of linking both data and functionality together to keep it safe from unauthorized access is
A. Encapsulation
B. polymorphism
C. Inheritance
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When hiding fields, properties, and methods within a single envelope, they can be accessed via
A. Form
B. Object
C. Project
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If we want to make the member available to all parts of the project, we use....... in Visual Basic
A. Protected
B. Friend
C. internal
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If we want to make the member available to all parts of the project we use....... in C#.
A. Protected
B. Friend
C. internal
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you control what appears to the user of class ( fields, properties, and methods) and what does not appear, this is known as
A. Protected
B. Encapsulation
C. polymorphism
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
50 questions
KUIS Jaringan Komputer dan Internet
Quiz
•
7th Grade - University
50 questions
Test
Quiz
•
8th Grade - University
55 questions
NETWORK HARDWARE
Quiz
•
University - Professi...
50 questions
Grade 5 IT Quiz
Quiz
•
5th Grade - University
55 questions
SAINS KOMPUTER TINGKATAN 4
Quiz
•
12th Grade - University
50 questions
DG Muda (2)
Quiz
•
KG - Professional Dev...
50 questions
TIN HỌC 6 - ÔN TẬP GK1 2425
Quiz
•
6th Grade - University
50 questions
Power BI Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade