
Understanding C# Classes and Objects
Authored by Limor Tal
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
מה הסינטקס להגדיר מחלקה
define class ClassName() { }
ClassName class { }
class ClassName { }
class: ClassName { }
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
איך יוצרים אובייקט של מחלקה
MyClass obj = MyClass();
MyClass obj;
MyClass obj = new MyClass();
new MyClass obj = new();
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
מה המטרה של הבנאי במחלקה
למחוק אובייקט לאחר שהוא נוצר
לאתחל אובייקט כאשר הוא נוצר
להגדיר את הפעולות של המחלקה
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
מה ההבדל בין מחלקה לאובייקט
מחלקה היא תבנית ליצירת אובייקטים. אובייקט הוא מופע של מחלקה.
מחלקה ואובייקט הם אותו דבר. אין הבדלים ביניהם
מחלקה היא מופע ספציפי של אובייקט. אובייקט מגדיר את המחלקה
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
מה היתרון של שימוש בפעולות קובעות ומאחזרות
הן מאפשרות גישה ישירה למשתנים
הן מספקות אבטחת מידע על ידי הגבלת גישה למשתנים
הן מקטינות את כמות הקוד הנדרש
הן מבטלות את הצורך בבנאים
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
איך ניתן להגדיר פעולה מאחזרת עבור משתנה פרטי במחלקה
public int GetVariable() { return this.variable; }
private int GetVariable() { return variable; }
public void GetVariable() { Console.WriteLine(this.variable); }
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
10 questions
Latihan Interface
Quiz
•
9th - 12th Grade
10 questions
Email Etiquette
Quiz
•
9th - 12th Grade
10 questions
ATC Review
Quiz
•
9th - 12th Grade
11 questions
AP CSP Create Task Guidelines
Quiz
•
9th - 12th Grade
10 questions
PLTW 8th Grade Course Quiz
Quiz
•
8th Grade - University
10 questions
Google Drive
Quiz
•
KG - University
10 questions
Программирование C#
Quiz
•
1st - 10th Grade
10 questions
Managing Devices
Quiz
•
9th Grade - 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