
QUIZ
Authored by EDWIN V
Computers
University
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
1. You want to create a form in HTML. Which of the following tags is used to group together form controls such as inputs and labels?
<div>
<form>
<fieldset>
<section>
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which of the following conditions must hold true for a binary tree to be a valid Binary Search Tree (BST)?
1) The left subtree of a node contains values greater than the node
2) The right subtree of a node contains values less than the node
3) The left and right subtrees must be valid BSTs
Only 1
Only 3
Both 2 and 3
Both 1 and 3
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which sorting algorithm is best suited for sorting nearly sorted data (or data that is mostly sorted)?
Insertion Sort
QuickSort
MergeSort
HeapSort
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
What will be the output :
[0,3]
[0,1]
[2,0]
[1,6]
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
What is the correct syntax for including an external CSS file in an HTML document?
<css href="style.css">
<style src="style.css">
<stylesheet link="style.css">
<link rel="stylesheet" href="style.css">
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
When you append an element to a dynamic array and the array is already full, what is the time complexity of resizing the array?
O(1)
O(log n)
O(n)
O(n log n)
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which of the following algorithms is best suited for searching in a sorted array?
Binary Search
Jump Search
Linear Search
Fibonacci Search
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?