Quiz-O-Tech Final Round

Quiz
•
Computers
•
University
•
Medium
S D Keerthiga Devi
Used 1+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 20 pts
The following adjacency matrix represents a graph with vertices A, B, C, and D. Identify the correct edges in the graph:
A-B, A-C, B-C, C-D
A-B, A-C, B-D, C-D
A-B, A-D, B-C, B-D
A-B, B-C, C-D, A-D
2.
MULTIPLE CHOICE QUESTION
5 mins • 20 pts
Based on the adjacency matrix:
How many edges are present in the graph?
2
3
4
5
3.
MULTIPLE CHOICE QUESTION
5 mins • 20 pts
You are given a table Employees with the following structure:
Write a query to rank employees by their salary within each department.
SELECT
Name,
Salary,
DENSE_RANK() OVER (ORDER BY Salary DESC) AS Rank
FROM Employees;
SELECT Department, Name, Salary, RANK() OVER (PARTITION BY Department ORDER BY Salary DESC) AS RankFROM Employees;
SELECT Name, Salary, ROW_NUMBER() OVER (PARTITION BY Department ORDER BY Name) AS Rank FROMEmployees;
SELECT Name, Salary, ROW_NUMBER() OVER (PARTITION BY Department ORDER BY Name) AS Rank FROMEmployees;
4.
MULTIPLE CHOICE QUESTION
5 mins • 20 pts
When designing a social media platform, you need to manage user profiles, posts, comments, and likes. The system should handle millions of users, and it must allow users to view posts and like them efficiently.
Which design approach will best ensure scalability and performance for this system?
Use a relational database for storing all data
Use a NoSQL database to handle high-volume, unstructured data
Use an in-memory database for storing posts and likes
Use file storage for storing posts and comments
5.
MULTIPLE CHOICE QUESTION
5 mins • 20 pts
What is the role of a "Spike" in Agile development?
To allocate time for system testing
To complete user stories in a single sprint
To perform time-boxed research or investigation
To handle integration between different modules
6.
MULTIPLE CHOICE QUESTION
5 mins • 20 pts
You are given an array nums consisting of positive integers. Starting with score = 0, the following algorithm is applied:
Choose the smallest integer of the array that is not marked. If there is a tie, choose the one with the smallest index.
Add the value of the chosen integer to the score.
Mark the chosen element and its two adjacent elements if they exist.
Repeat until all the array elements are marked.
What is the final score for the given array nums after applying the above algorithm?
Example 1:
Input: nums = [2, 1, 3, 4, 5, 2]
Options:
a) 7
b) 8
c) 6
d) 9
Example 2:
Input: nums = [2, 3, 5, 1, 3, 2]
Options:
a) 6
b) 5
c) 7
d) 4
a) 7
b)5
b)8
c)7
a)7
a)6
None
7.
MULTIPLE CHOICE QUESTION
5 mins • 20 pts
Which of the following statements about CTEs (Common Table Expressions) is correct?
They are permanent tables used for storing data temporarily.
They are defined using the WITH keyword in SQL.
They replace the need for indexes in complex queries.
They are only used in distributed databases.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Array

Quiz
•
University
12 questions
Đạt Tin Học

Quiz
•
University
13 questions
Linear Algebra Basics

Quiz
•
University
15 questions
SQL with Python Quiz

Quiz
•
12th Grade - University
10 questions
SQL

Quiz
•
University
10 questions
Career Discussion Quiz

Quiz
•
University
13 questions
Ch 3 - Expl & val data - part 2

Quiz
•
University
18 questions
Cyber EOP - Security Policies By Mr. B

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University