.NET & C# Basics

.NET & C# Basics

University

20 Qs

quiz-placeholder

Similar activities

2.1.4 Thinking Logically

2.1.4 Thinking Logically

University

20 Qs

Introduction to Python

Introduction to Python

KG - University

25 Qs

C++ Quiz-1

C++ Quiz-1

University

15 Qs

Fundamental programming

Fundamental programming

University

20 Qs

POS - Prelim Examination

POS - Prelim Examination

University

20 Qs

OOPS-1

OOPS-1

University

20 Qs

Intro to Programming

Intro to Programming

12th Grade - University

25 Qs

programming language generation

programming language generation

University

15 Qs

.NET & C# Basics

.NET & C# Basics

Assessment

Quiz

Computers

University

Medium

Created by

Long Trần

Used 4+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?