Lab12

Lab12

University

10 Qs

quiz-placeholder

Similar activities

استعني علي الشقا بالله

استعني علي الشقا بالله

University

10 Qs

PYTHON_CHAPTER 6

PYTHON_CHAPTER 6

University

10 Qs

CHAPTER 5 ONLINE QUIZ

CHAPTER 5 ONLINE QUIZ

University

9 Qs

The AI Shield

The AI Shield

University

15 Qs

Unit 28 - Quiz #1

Unit 28 - Quiz #1

University

15 Qs

Quiz CodeIgniter 4

Quiz CodeIgniter 4

University

10 Qs

PROBLEM SOLVING USING R  UNIT I  MCQS

PROBLEM SOLVING USING R UNIT I MCQS

University

15 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

Lab12

Lab12

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

bme programming

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers