Grade11_COMPROG2_Q4_Quiz#2

Grade11_COMPROG2_Q4_Quiz#2

11th Grade

15 Qs

quiz-placeholder

Similar activities

ELEMEN INFORMATIKA

ELEMEN INFORMATIKA

9th - 12th Grade

20 Qs

PENCEGAHAN DAN PENANGANAN MALWARE

PENCEGAHAN DAN PENANGANAN MALWARE

9th Grade - University

20 Qs

Kelas 8 - Halaman 10 (UH Bab 1)

Kelas 8 - Halaman 10 (UH Bab 1)

8th Grade - University

20 Qs

Recap Handout 3 & 4

Recap Handout 3 & 4

6th Grade - University

15 Qs

Table,Image formatting

Table,Image formatting

5th Grade - University

15 Qs

Fundamentos de Bases de Datos

Fundamentos de Bases de Datos

10th Grade - University

15 Qs

Kelas 7 - Halaman 12 (UH Bab 1)

Kelas 7 - Halaman 12 (UH Bab 1)

7th Grade - University

15 Qs

Parcial 1 Reparación y Soporte- 5to BACO - I Unidad Forma B

Parcial 1 Reparación y Soporte- 5to BACO - I Unidad Forma B

10th Grade - University

13 Qs

Grade11_COMPROG2_Q4_Quiz#2

Grade11_COMPROG2_Q4_Quiz#2

Assessment

Quiz

Information Technology (IT)

11th Grade

Medium

Created by

Arjay Establecida

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a function in programming?

A large program that does multiple tasks.

A self-contained block of code that performs a specific task.

A variable used to store values.

A random set of statements with no clear purpose.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Java, functions are called:

procedures

methods

subroutines

commands

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a characteristic of functions?

Reusability

Encapsulation

Modularity

Random Execution

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main advantage of using methods in Java?

Makes the code more complex.

Reduces code reusability.

Organizes and simplifies code.

Increases redundancy.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a built-in method in Java?

A method defined by the user.

A method provided by Java form common tasks.

A method that requires a return type.

A method that does not accept parameters.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is an example of a built-in method in Java?

userDefinedMethod()

Math.sqrt(25)

myFunction()

computeSomething()

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you call a method in Java?

By defining it inside main().

By using its name followed by parentheses.

By writing its return type only.

By declaring it without paremeters.

Create a free account and access millions of resources

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

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

Already have an account?