
Lab12
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
bme programming
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the fundamental unit of Object-Oriented Programming?
Variable
Function
Class
Method
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does encapsulation achieve in OOP?
Hides implementation details
Allows global access to variables
Increases code redundancy
Makes methods static
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define a class in C#?
class
struct
object
namespace
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default access modifier for class members in C#?
public
private
protected
internal
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following defines a method inside a class?
public void Show() { }
method Show() { }
def Show():
func Show() { }
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the this keyword refer to in a C# class?
The parent class
The current instance of the class
The static members of the class
The global namespace
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is this commonly used for in constructors?
To define a new class
To refer to another class
To distinguish instance variables from parameters
To create static variables
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
Dart
Quiz
•
University
10 questions
QUIZ GAME
Quiz
•
University
10 questions
computer Networks
Quiz
•
University
10 questions
Industry 4.0 Unit 1
Quiz
•
University
10 questions
Scratch
Quiz
•
KG - Professional Dev...
11 questions
HTML Postest
Quiz
•
University
9 questions
Structured/Traditional SDM
Quiz
•
University
15 questions
Object Oriented Programming Assessment 1
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
