Search Header Logo

ITECA0 Quiz 1 - Basic C#

Authored by Raymond Radebe

Computers

University

Used 1+ times

ITECA0 Quiz 1 - Basic C#
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a principle of Object-Oriented Programming (OOP)?

Encapsulation

Polymorphism

Abstraction

Compilation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of hiding the internal details of an object and only exposing necessary information called?

Inheritance

Encapsulation

Abstraction

Polymorphism

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which OOP principle allows a derived class to extend or modify the behavior of a base class?

Inheritance

Encapsulation

Polymorphism

Abstraction

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which OOP principle allows one interface to be used for a general class of actions?

Abstraction

Encapsulation

Polymorphism

Inheritance

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C#, a class can inherit from how many base classes?

One

Two

Unlimited

Zero

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop is guaranteed to execute at least once in C#?

for loop

while loop

do-while loop

foreach loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times will the following loop execute?

0

4

5

infinite

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?