
Lab12_Quiz_section1

Quiz
•
Computers
•
University
•
Medium
bme programming
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Java Inheritance

Quiz
•
11th Grade - University
12 questions
C# Contextual keywords

Quiz
•
10th Grade - University
10 questions
Unit 1 - Classes and Objects

Quiz
•
University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
12 questions
javaquizvivek

Quiz
•
University
12 questions
Python Functions and Docstrings Quiz

Quiz
•
University
13 questions
Quiz #2 (Refer to Javatpoint in answering these question)

Quiz
•
University
15 questions
AWD - Midterm Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade