Vector University
Home
Certificates
About Us
Mock Tests
Test your knowledge with our practice exams.
Data Structures Mock Test
What is the time complexity of accessing an element in an array?
O(1)
O(n)
O(log n)
O(n^2)
Which data structure follows LIFO?
Queue
Stack
Array
Linked List
What is the worst-case time for quicksort?
O(n log n)
O(n^2)
O(n)
O(log n)
In a binary search tree, where is the smallest element?
Root
Leftmost leaf
Rightmost leaf
Any leaf
What does FIFO stand for?
First In First Out
First In Last Out
Last In First Out
Last In Last Out
Which is not a linear data structure?
Array
Tree
Queue
Stack
What is the space complexity of a graph with V vertices and E edges?
O(V + E)
O(V)
O(E)
O(V * E)
Which sorting algorithm is stable?
Quick Sort
Merge Sort
Heap Sort
Selection Sort
What is the best case for bubble sort?
O(n)
O(n log n)
O(n^2)
O(1)
Which data structure uses hashing?
Array
Hash Table
Stack
Queue
Submit
Web Development Mock Test
What does HTML stand for?
HyperText Markup Language
HighText Machine Language
HyperText Machine Language
HyperText Markup Link
Which CSS property changes text color?
font-size
color
background
margin
What is JavaScript used for?
Styling
Structure
Interactivity
Layout
Which tag is for the largest heading?
h1
h2
h3
h4
What does CSS stand for?
Computer Style Sheets
Cascading Style Sheets
Creative Style Sheets
Colorful Style Sheets
Which is a JavaScript framework?
HTML
React
CSS
SQL
What is responsive design?
Fast loading
Adapts to screen size
Uses images
No CSS
Which HTTP method sends data?
GET
POST
PUT
DELETE
What is an API?
Application Programming Interface
Application Program Index
Application Protocol Interface
Application Programming Index
Which is a backend language?
HTML
Node.js
CSS
JavaScript (client-side)
Submit
AI Fundamentals Mock Test
What is AI?
Artificial Intelligence
Automated Intelligence
Advanced Intelligence
Algorithmic Intelligence
Which is supervised learning?
Clustering
Classification with labels
Dimensionality reduction
Anomaly detection
What is overfitting?
Model too simple
Model too complex for data
No training data
Too much data
Which metric for classification?
Accuracy
Mean Squared Error
R-squared
Silhouette Score
What is a neural network?
Database
Inspired by brain
Sorting algorithm
Search tree
Which is unsupervised learning?
Regression
Clustering
Classification
Forecasting
What is bias in AI?
Model preference
Data imbalance
Overfitting
Underfitting
Which is a deep learning framework?
Pandas
TensorFlow
NumPy
Matplotlib
What is reinforcement learning?
Labeled data
Trial and error with rewards
Unlabeled data
Dimensionality reduction
Why is AI ethics important?
Faster processing
Fairness and safety
Cheaper costs
More accurate
Submit
Algorithms Mock Test
What is the time complexity of binary search?
O(1)
O(log n)
O(n)
O(n^2)
Which algorithm is used for finding the shortest path in a graph?
Dijkstra's
Kruskal's
Prim's
Floyd-Warshall
What does DFS stand for?
Depth First Search
Direct File System
Data Flow Structure
Dynamic Function Set
Which sorting algorithm has the best average case?
Bubble Sort
Quick Sort
Insertion Sort
Selection Sort
What is a greedy algorithm?
Always optimal
Makes locally optimal choices
Uses backtracking
For dynamic programming
Which algorithm is used for topological sorting?
Kahn's algorithm
Bellman-Ford
Floyd-Warshall
Kruskal's
What is the purpose of the Knuth-Morris-Pratt algorithm?
Sorting
String matching
Graph traversal
Number theory
Which algorithm paradigm uses memoization?
Greedy
Divide and Conquer
Dynamic Programming
Backtracking
What is the time complexity of the naive string matching algorithm?
O(n)
O(m*n)
O(log n)
O(n log n)
Which algorithm is used for finding minimum spanning tree?
Dijkstra's
Kruskal's
Bellman-Ford
Floyd-Warshall
Submit
Database Management Mock Test
What does SQL stand for?
Structured Query Language
Simple Query Language
Standard Query Language
Sequential Query Language
Which is a NoSQL database?
MySQL
MongoDB
PostgreSQL
Oracle
What is normalization in databases?
Reducing redundancy
Increasing redundancy
Adding indexes
Creating views
Which key uniquely identifies a record?
Foreign Key
Primary Key
Composite Key
Candidate Key
What is ACID in databases?
Atomicity, Consistency, Isolation, Durability
Accuracy, Completeness, Integrity, Durability
Atomicity, Completeness, Isolation, Durability
Accuracy, Consistency, Integrity, Durability
Which SQL command is used to retrieve data?
INSERT
UPDATE
SELECT
DELETE
What is a JOIN in SQL?
Combining tables
Sorting data
Filtering data
Grouping data
Which is a database management system?
HTML
CSS
MySQL
JavaScript
What is indexing in databases?
Slowing down queries
Speeding up queries
Storing data
Deleting data
Which normal form eliminates transitive dependencies?
1NF
2NF
3NF
BCNF
Submit