Grade11_COMPROG2_Q4_Quiz#2
Quiz
•
Information Technology (IT)
•
11th Grade
•
Medium
Arjay Establecida
Used 2+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Literasi Digital " Mesin Pencari"
Quiz
•
11th Grade
15 questions
Quiz sobre la Historia de la Computadora
Quiz
•
9th Grade - University
13 questions
HTML QUIZ
Quiz
•
6th Grade - University
17 questions
Pensamiento Computacional
Quiz
•
9th - 12th Grade
10 questions
มัลติมีเดีย 2
Quiz
•
6th Grade - University
10 questions
高二資訊課補考題目
Quiz
•
11th Grade - University
11 questions
CBTIS SQL Queries basicos
Quiz
•
11th Grade
15 questions
CSS Image Manipulation Quiz
Quiz
•
9th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
13 questions
Halloween Movie Trivia
Quiz
•
9th - 12th Grade
7 questions
Halloween - Myths & Legends
Interactive video
•
10th - 12th Grade
