Search Header Logo

.NET & C# Basics

Authored by Long Trần

Computers

University

Used 14+ times

.NET & C# Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes object-oriented programming (OOP)?

A type of programming that focuses on functions

A programming paradigm that focuses on objects containing attributes and methods

A method to perform mathematical calculations

A programming style that does not involve classes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are attributes in object-oriented programming?

Methods used to perform tasks

Variables that describe the state of an object

Functions that process data

Commands to execute the program

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of creating an object from a class called?

Inheritance

Encapsulation

Instantiation

Abstraction

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the concept of "inheritance" allow in object-oriented programming?

Reusing code by creating new classes based on existing ones

Hiding the attributes and methods of an object

Sending messages to other objects

Dividing a program into functions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a method in a class?

An object's color

A car's ability to accelerate

The size of a database

A computer's memory capacity

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Unified Modeling Language (UML) used for?

Writing C# code

Communicating the results of object-oriented analysis and design

Managing memory in C#

Debugging object-oriented programs

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of encapsulation in object-oriented programming?

To modify the behavior of objects

To wrap attributes and methods inside an object and hide implementation details

To simplify variable declarations

To create new classes based on existing ones

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?