Kotlin - OOP & Functional Programming

Kotlin - OOP & Functional Programming

Professional Development

10 Qs

quiz-placeholder

Similar activities

C Programming

C Programming

Professional Development

10 Qs

Advance MS Excel Tips and Tricks

Advance MS Excel Tips and Tricks

Professional Development

10 Qs

G Suite

G Suite

4th Grade - Professional Development

13 Qs

Streams

Streams

Professional Development

10 Qs

Spreadsheet Exam

Spreadsheet Exam

Professional Development

10 Qs

Jetpack Compose

Jetpack Compose

Professional Development

10 Qs

Change Agent HC Wave 2 Quiz

Change Agent HC Wave 2 Quiz

Professional Development

11 Qs

Python-Quiz-Basic-Datatypes

Python-Quiz-Basic-Datatypes

12th Grade - Professional Development

10 Qs

Kotlin - OOP & Functional Programming

Kotlin - OOP & Functional Programming

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Arif Faizin

Used 41+ 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

By default functions in Kotlin are ...

Private

Internal

Protected

Public

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

According to code convention, what format used for the function name?

camelCase

PascalCase

snake_case

kebab-case

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to write correct parameters in Kotlin?

fun sum(Int: ValueA, Int: valueB)

fun sum(Int ValueA, Int valueB)

fun sum(valueA: Int, valueB: Int)

fun sum(valueA Int, valueB Int)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a function which can accepts a function as parameter or can returns a function is called ...

Extensions

Lambda

High-Order Function

Nullable Receiver

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function does not use a lambda receiver (this)?

let

run

with

apply

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

classes can be inherited from other classes using keyword...

colon ( : )

extend

implement

comma ( , )

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we need abstract class?

to inherited values from other classes

to avoid creating instances of the class

to not inherit values from other classes

to create an instance of the class

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?