.NET & C# Basics

.NET & C# Basics

University

20 Qs

quiz-placeholder

Similar activities

Types of Programming Languages - Quiz

Types of Programming Languages - Quiz

University

20 Qs

JS-KT2 (Sub)

JS-KT2 (Sub)

University

20 Qs

Intro to Programming

Intro to Programming

12th Grade - University

25 Qs

Compiler

Compiler

University

15 Qs

Quiz -3: JavaScript & PHP (AIML)/CC/1st Year

Quiz -3: JavaScript & PHP (AIML)/CC/1st Year

University

15 Qs

2.1.4 Thinking Logically

2.1.4 Thinking Logically

University

20 Qs

HTML,CSS,SCRIPT QUIZZ

HTML,CSS,SCRIPT QUIZZ

University

18 Qs

JAVA Basics Quiz

JAVA Basics Quiz

University

20 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?