
Grade11_COMPROG2_Q4_Quiz#2
Authored by Arjay Establecida
Information Technology (IT)
11th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
STS Informatika Kelas 8 Semester 1
Quiz
•
8th Grade - University
10 questions
Quis code blocks
Quiz
•
11th Grade
15 questions
Data Base 24
Quiz
•
11th Grade
10 questions
Javascript DOM
Quiz
•
11th Grade
15 questions
Информационные технологии
Quiz
•
11th Grade
20 questions
ICT G 7 Chapter 2.1 Input and Output Devices
Quiz
•
7th Grade - University
10 questions
Informatika saat ini & di masa depan
Quiz
•
9th - 12th Grade
10 questions
Berpikir Kritis & Dampak Informatika
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
16 questions
ACT English - Grammar Practice #2
Quiz
•
11th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade