Grade 12 Computers Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Youssef ID-BENSALAH
Used 5+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the difference between an abstract class and an interface in Java?
An abstract class cannot have any methods, while an interface can have both abstract and non-abstract methods.
An abstract class and an interface are the same thing in Java.
The main difference is that an abstract class can have both abstract and non-abstract methods, while an interface can only have abstract methods.
An abstract class can only have abstract methods, while an interface can have both abstract and non-abstract methods.
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Explain the concept of method overloading in Java.
Method overloading is a feature that allows a method to have different return types.
Method overloading allows a class to have more than one method having the same name and same parameter list.
Method overloading allows a class to have more than one method having the same name if their parameter lists are different.
Method overloading is not supported in Java.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of JSP in web development?
To manage databases in web development.
To create dynamic web pages with Java technology.
To design static web pages with HTML technology.
To create interactive web pages with Python technology.
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you include a JSP page in another JSP page?
<% import file='includedPage.jsp' %>
<% include file='includedPage.jsp' %>
<%@ import file='includedPage.jsp' %>
<%@ include file="includedPage.jsp" %>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the key features of the Spring framework?
Java, C++, and Python
Frontend, Backend, and Fullstack development
Object-Oriented Programming (OOP), Functional Programming, and Procedural Programming
Inversion of Control (IoC), Aspect-Oriented Programming (AOP), and Spring MVC are key features of the Spring framework.
6.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
Explain the concept of dependency injection in Spring.
Dependency injection is a design pattern in which a class receives its dependencies from external sources rather than creating them itself.
Dependency injection is a design pattern in which a class only receives dependencies from internal sources.
Dependency injection is a design pattern in which a class creates its own dependencies.
Dependency injection is a design pattern in which a class does not use any dependencies.
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Write a SQL query to retrieve all the records from a table named 'employees'.
DISPLAY employees_data;
SELECT * FROM employees;
SHOW employees;
SELECT * FROM employee_table;
Create a free account and access millions of resources
Similar Resources on Wayground
32 questions
1102 Practice Quiz

Quiz
•
12th Grade
30 questions
Game Development Quiz

Quiz
•
12th Grade
25 questions
Practical Research2 Assessment(5-7)

Quiz
•
12th Grade
30 questions
Week 6 Empowerment Technology

Quiz
•
12th Grade
30 questions
OOP Revision (Topic 6,7,8)

Quiz
•
12th Grade
30 questions
IT and Tech Quiz

Quiz
•
12th Grade
30 questions
องค์ประกอบศิลป์

Quiz
•
9th - 12th Grade
30 questions
Python Quiz

Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade