AverageRound
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
Dahlia Mesa
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which programming concept allows an object to take on many forms, such as an object of a subclass being treated as an object of its superclass?
Encapsulation
Abstraction
Polymorphism
Inheritance
Answer explanation
Polymorphism means 'many forms'. In OOP, it refers to the ability of an object to take on many forms, allowing a single interface to be used for general class of actions.
2.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which of the following best describes 'method overloading' in object-oriented programming?
Defining multiple methods in the same class with the same name but different parameter lists.
Defining a method in a subclass with the same signature (name and parameters) as a method in its superclass.
Calling a method from within the same method, creating a recursive call.
Making a method private so it can only be accessed from within its own class.
Answer explanation
Method overloading allows a class to have multiple methods with the same name, as long as their parameter types or number of parameters differ.
3.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is the primary benefit of using version control systems (like Git) in programming projects?
To deploy web applications to a server.
To compile source code into executable programs.
To track changes, collaborate effectively, and revert to previous versions of code.
To automatically optimize code for faster execution.
Answer explanation
Version control systems are essential for managing revisions, merging contributions, and maintaining a history of a codebase.
4.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Consider two tables: `Orders` (OrderID, CustomerID, OrderDate) and `Customers` (CustomerID, CustomerName). Which type of SQL JOIN would return only the orders that have a matching customer?
FULL OUTER JOIN
INNER JOIN
LEFT JOIN
RIGHT JOIN
Answer explanation
INNER JOIN returns only the rows that have matching values in both tables.
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which SQL aggregate function is used to calculate the number of rows in a table?
COUNT()
MAX()
SUM()
AVG()
Answer explanation
COUNT() is used to count the number of rows that match a specified criterion.
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
An algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order, is known as a:
Binary Search
Bubble Sort
Merge Sort
Quick Sort
Answer explanation
Bubble Sort performs repeated passes over the list, comparing and swapping adjacent elements, causing larger elements to 'bubble' to the end.
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
An algorithm with a time complexity of O(log n) means its execution time:
Remains constant regardless of the input size.
Grows exponentially with the input size.
Grows very slowly, often halving the search space with each step.
Grows linearly with the input size.
Answer explanation
Logarithmic complexity indicates that the time required increases very little as the input size grows significantly, common in binary search or tree operations.
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
12 questions
Borders and Shades in Word 2010 Quiz
Quiz
•
10th Grade - University
15 questions
QUIZ PENGEMBANGAN PERANGKAT LUNAK DAN GIM
Quiz
•
10th Grade - University
10 questions
ASSESSING HARDWARE
Quiz
•
University
12 questions
Transformação Digital
Quiz
•
University
15 questions
Data Literacy Quizizz
Quiz
•
6th Grade - University
10 questions
Asesmen Harian 1
Quiz
•
11th Grade - University
15 questions
PPL 223 - (QUIZ 3) Data Types and Structures
Quiz
•
University
15 questions
Exam Entornos Virtuales de Aprendizaje
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
