
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
PYTHON_CHAPTER 6
Quiz
•
University
10 questions
CS1010 Lab 02
Quiz
•
University
15 questions
Google Prof Cloud Network - pt 6
Quiz
•
University
9 questions
CHAPTER 5 ONLINE QUIZ
Quiz
•
University
15 questions
Digital Etiquette
Quiz
•
4th Grade - University
15 questions
Data Mining - Classification Mining
Quiz
•
University
10 questions
Quiz CodeIgniter 4
Quiz
•
University
15 questions
PROBLEM SOLVING USING R UNIT I MCQS
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
